Ruby on Rails Sunday, May 27, 2012

On Sun, May 27, 2012 at 1:34 PM, brent brent <lists@ruby-forum.com> wrote:
> Folks
>  Can a model just have a belongs_to only? or do you have to have a
> belongs_to and a has_many or has_one on the other model?
>
> --

http://guides.rubyonrails.org/association_basics.html#the-belongs_to-association

--
Greg Akins
http://twitter.com/akinsgre

--
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