On May 15, 6:47 pm, Branko Vukelic <bg.bra...@gmail.com> wrote:
> On May 15, 4:02 pm, Colin Law <clan...@googlemail.com> wrote:
>
> > I don't know whether this is part of the problem or just that your question
> > has several typos.
>
> > I think the class should be IngredientNutrient not IngredientsNutrient and
> > the controller should be ingredient_nutrients. You have them in various
> > combinations throughout the post.
>
> Thanks, Colin. I'll try IngredientNutrient. Could be that *that's* the
> reason it's not working.

It makes no difference, but then again, it's logical. No matter how
incredibly stupid a model's name is, if you use it consistently (which
I did in live code) it works the same way as a smart name. :P

I'm really not sure what's going on...
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to