Hassan Schroeder wrote in post #1074840: > On Wed, Sep 5, 2012 at 1:00 PM, Sa S. <li...@ruby-forum.com> wrote: >> Well that's kind of what I need help with, I'm not sure where it needs >> to be defined in a many-to-many relationship. I've already created the >> join table that contains both ids. > > The point is that your example makes no sense; you've defined this > as a "to-many" relationship -- which Model_1 are you looking for? > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > http://about.me/hassanschroeder > twitter: @hassan
Sorry, I should clarify. In my Model_2 view, I'm trying to simply have a table that iterates through all the model_1's and calculates that method above using the model_1's attribute that I need -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.