All working, no code required in controller
( other than code mentioned in RailsCasts HABTM
http://railscasts.com/episodes/17-habtm-checkboxes   )

I had the naming wrong for the brands_categories table !

cheers, Dave


On Oct 13, 1:28 pm, Pokkai Dokkai <[EMAIL PROTECTED]>
wrote:
> Pokkai Dokkai wrote:
> > Davo wrote:
>
> >> [EMAIL PROTECTED] = brand.find(@params[:categories][:brand_ids]) if 
> >> @params[:categories][:brand_ids]
>
> > check this
>
> --
> Posted viahttp://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to