Displaying 1 result from an estimated 1 matches for "my_password_field".
2006 Jan 26
1
Why no login modules?
...engines approaches are the way to go.
I assume this mentality is due to the desire to include login pages,
password recovery pages, etc. But what if a plugin usage looked like
this:
class MyUser < ActiveRecord::Base
acts_as_user :login => "username_field", :password => "my_password_field"
use_acl :roles
end
The plugin has no ambitions of handling views, but only doing model
tasks, such as salting the password, and possibly providing access to
roles. Its easy to update (no generated code), and easy to apply
because it doesn''t place any requirements on the schema or...