#if forum /* May 21, 01:50 */
exactly? I’m quite confused… :-/
Thanks for explanation of this topic.
#endif /* email@example.com */
if i understand you correctly, you want to augment the User model with
some extra relationships? If thats the case, then something like the
following might help you:
I have a model called “Person”, that looks something like this:
class Person < User
has_many :settings, :class_name => “UserSetting” do
acl_name = find_by_property(“DefaultACL”).value
The “User” class comes from
Then, whenever i want to use my extra functionality to the User model i
just go via People instead:
p = Person.find_by_login(“admin”)
p = Person.find(1)
This way, i can let user/login engine do all its clever stuff, but i
dont have to make any changes to that code base
does that help?
P.S. dont be offended by the quote, its randomly generated
There are only two truly infinite things, the universe and stupidity.
And I am unsure about the universe.
– Albert Einstein