Suppose that in legacy schema,that you are working on getting
ActiveRecord to work with, you aren't keeping all the information about
user, with the user's main information in the users table, but in a
separate table.

For example:

<<table users>>
 user_id
 firstname
 lastname

<<table auth_info>>
 user_id <<PK>><<FK>>
 username,
 password

In my domain I wish to have User model with username,password properties
without create class model related to auth_info table and relative
association. Is there a way to do this with ActiveRecord ?

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to