List Info

Thread: adding an association to the logine_engine user model




adding an association to the logine_engine user model
user name
2006-09-02 14:32:45
How do you add associations to the User model when using the login_engine??

I have found that if I use my own User class in models/user.rb I will have to overwrite all the functions in the login_engines model

this seems a redundat waste...

but I need to add a has_one association to my User like so:

class User < ActiveRecord::Base
&nbsp; has_one :tile_stat, :dependent => :destroy
end

any tips?

cheers

dion

--

www.blogsaic.com
search, post, blog
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )