Thanks. Figured it out:

def quantity_form_column(record, input_name)
    text_field :record, :quantity, :name => input_name, :size =>
10, :class => 'text-input', :value => @record.quantity
end

Apparently you don't need id and the @record object is the subform
object, not the form object.

--

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.


Reply via email to