I explicitly turn off mass-assignment in ActiveRecord via this
initializer:
ActiveRecord::Base.send(:attr_accessible, nil)
This requires that I define the allowable attributes to be mass-
assigned in any ActiveRecord object. DJ uses mass-assignment for the
following attributes :priority, :payload_object, :run_at. I've added
the following line to lib/delayed/backend/active_record.rb to get it
to work for me:
attr_accessible :priority, :payload_object, :run_at
Is there a way for me to extend the DJ ActiveRecord object so I can do
this outside of the core DJ code? Or, would it be possible to add this
to core DJ for people like me that disable mass-assignment?
Thanks,
Bryce
--
Subscription settings:
http://groups.google.com/group/delayed_job/subscribe?hl=en