Closed
Description
DEPRECATION WARNING: save(false) is deprecated, please give save(:validate => false) instead. (called from save at /Users/rab/.rvm/gems/ruby-1.9.2-r28283/gems/activerecord-3.0.0.rc/lib/active_record/validations.rb:43)
Digging in the call stack, the source of the save is in
authlogic-2.1.5/lib/authlogic/session/callbacks.rb at line 95
http://github.com/binarylogic/authlogic/blob/master/lib/authlogic/session/callbacks.rb#L95
The corrected call should replace false with :validate => false
def save_record(alternate_record = nil)
r = alternate_record || record
r.save_without_session_maintenance(:validate => false) if r && r.changed? && !r.readonly?
end
Metadata
Metadata
Assignees
Labels
No labels