Displaying 1 result from an estimated 1 matches for "ckjai".
Did you mean:
cibai
2011 Dec 01
2
Association problem
Hi all
I am using four models user, member, unit, society
I have linked member, unit and society through member_property table
user has one to one association with member while all other models
have many to many association.
How do I link user to member, and user to unit through member
i wanted something like
<%= @user.member.unit.unit_number %></p>
Can someone guide how to