Hi
I have two models .
Dbase
--------
name
vendor
type
port
defuser - default user name

Users
-------
username
password
email

I need to build an association between these two in that the dbase
model's defuser needs to be present in the users table. I am from a
relational database background so am trying hard to understand rails
associations.
What should I do to associate the dbase's defuser - > users.username?
I read the documents and everything was based on the column 'id'.

Any help is appreciated.

-- 
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