Displaying 1 result from an estimated 1 matches for "save_without_session_mainten".
2009 Nov 01
0
Change authlogic config at runtime
Hi,
I''m trying to change my authlogic configuration at runtime like follows:
def save_without_session_maintenance_and_allow_blank_password
return false if facebook_uid.blank?
object = Mutex.new
tmp = nil
object.synchronize do
User.validate_password_field false
tmp = save_without_session_maintenance
User.validate_password_field=true
end
tmp
end
This does not wor...