I am using the rails 3 fork but this maybe general. So I have an Offering that has any number of Log entries. I want to have an action_link for each Offering that lets you add a Log entry. While I can sort of fake it using some filters to get the offering and set in the created Log entry it breaks on on a :through entry that Log has. From the looks of it a new Log instance does not get created when the form is being created. Also it puts the log in the wrong location (at the top of the list of Offerings) when it is created. This makes me think that my current implementation is the wrong way to do it.
The reason to have the action_link for creating Log entries as a member action_link of the Offering is that it reduces the number of clicks and I am trying make it easy/quick to add to the log. Any thoughts. Offering has_many :log Log belongs_to Offering has_many :assignments has_many :customers , :through => assignments Customer has_many :assignments has_many :logs , :through => assignments -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.
