I would reccomend putting debug/print statements inside of your helper method and see what your @record.purchase_item.quantity attribute contains ------Original Message------ From: Victor To: ActiveScaffold : Ruby on Rails plugin ReplyTo: [email protected] Subject: Re: Subform text_field override Sent: Dec 2, 2009 11:28 AM
I added quantity values to all rows but I'm still getting the same error. It made me think that I don't have a value defined in the helper method. I tried :value => @record.purchase_item.quantity (and a bunch of other variations) but the field does not get populated. How do I get the value to display? -- 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. Sent from my Verizon Wireless BlackBerry -- 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.
