Sunday, February 26, 2012

[Rails] Re: Re: Getting error, 'NoMethodError in PostsController#create' , manytomany relation

Colin Law wrote in post #1048610:
> I can't see where you have added the model code. Do you have post
> has_many tags, or has_and_belongs_to_many tags? If so then the
> problem may be that you are passing a string for tags instead of an
> array. Just a guess as you have not shown us the model relationships.
>
> Colin
See the original post.

--
Posted via http://www.ruby-forum.com/.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate