Configuration for the magic states feature.
Set this to true if you want to disable the checking of active?, approved?, and confirmed? on your record. This is more or less of a convenience feature, since 99% of the time if those methods exist and return false you will not want the user logging in. You could easily accomplish this same thing with a before_validation method or other callbacks.
Default: false
Accepts: Boolean
# File lib/authlogic/session/magic_states.rb, line 33 def disable_magic_states(value = nil) rw_config(:disable_magic_states, value, false) end
Generated with the Darkfish Rdoc Generator 2.