[Rails] Re: Re: Associations and Math between Models

2012-09-05 Thread Sa S.
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

Re: [Rails] Re: Re: Associations and Math between Models

2012-09-05 Thread Hassan Schroeder
On Wed, Sep 5, 2012 at 1:14 PM, Sa S. li...@ruby-forum.com wrote: 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 But you're not showing us a view,