ruby on rails - Using Authlogic with a User model that isn't called "User" -


i have application tracks people, people are, possibly, users of product. i'd rather have model called person (rather user), can't seem figure out how indicate authlogic i'm using person instead of user.

i'm sure it's somewhere obvious i'm not seeing, i've been pouring on things hours , i'm giving up. :-)

i think can add acts_as_authentic in person model, , should work fine. if face says user in documentation, change them person


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -