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!

> And it really should be SharedTab.

I noticed your comment in the last thread and will definitely change
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.

No comments:

Post a Comment