Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Show parent name in child view
- @contacts = Contact.paginate :page => params[:page],
- :include => :relations,
- :per_page => 10,
- :order => "last_name"
- <%= contact.relation.name %>
- <%= contact.relation.name rescue "MISSING NAME" %>
Add Comment
Please, Sign In to add comment