Ruby on Rails
Thursday, December 30, 2010
> Right. You should just be able to do Sharedtab.create :user => @user,
> :tab => @tab...or @user.sharedtabs.create(:tab => @tab)...you get the
> idea.
Thank you so much!> :tab => @tab...or @user.sharedtabs.create(:tab => @tab)...you get the
> idea.
> And it really should be SharedTab.
that. Mine is Sharedtab, you propose SharedTab / Shared_Tab. What is
Rails convention for that, what about User_Tab? (remark: Sharedtab
has additional fields as owner, position, ...).
All the best for 2011! --
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment