Thursday, March 1, 2012

Re: [Rails] HABTM forms problem. Select form tag

Hi, thanks for your reply.

I am indeed that a form_for. When I put an f. infrount i get an error. 
undefined method `merge' for [["1st Team", 1], ["2nd Team", 2]]:Array
Just to confirm. Without the f. the form loads however no Team data gets sent to the Params on the create. Sorry that is a bit vauge and probably the wrong way of saying it!

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/lreqcLm2FukJ.
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