I have two models .
defuser - default user name
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
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.