If your model isn’t abstracting the DB in anyway, just don’t have it
inherent from ActiveRecord::Base… or perhaps I’m not understanding
part of your question?
If your model isn’t abstracting the DB in anyway, just don’t have it
inherent from ActiveRecord::Base…
Exactly. Also, I recommend that you (the OP, that is) take a look at
Authlogic, which uses a tableless model for user authentication; perhaps
it will do what you want.
On Tue, 2009-06-02 at 06:25 +0200, Marnen Laibow-Koser wrote:
pharrington wrote:
If your model isn’t abstracting the DB in anyway, just don’t have it
inherent from ActiveRecord::Base…
Exactly. Also, I recommend that you (the OP, that is) take a look at
Authlogic, which uses a tableless model for user authentication; perhaps
it will do what you want.
Authlogic too was overkill for my purposes and yes, I didn’t need a
ActiveRecord::Base at all, just an indexed hash was all I needed. I just
had to keep it simple.
Thanks
Craig
–
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.