Displaying 2 results from an estimated 2 matches for "paid_on".
Did you mean:
fail_on
2006 May 29
1
validation in a "subform"
...he "parent" @account rendered, then iterates throught
@account.expenses to display the existing accounts, then has a form.
<%= start_form_tag :action => ''record'', :id => @account %>
<p>
On <%= date_select ''expense'', ''paid_on'', :order => [:month, :day, :year] %>
to <%= text_field ''expense'', ''payable_to'', :size => 25 %>
in the amount of $<%= text_field ''expense'', ''amount'', :size => 9 %>
</p>
<%= s...
2006 Apr 07
6
Foreign Key naming convention override
I am working with an existing database and have to keep all table and
field names as they are. ''tblcustomers'' and ''tblitems'' are linked by the
''tblcustomers'' id field ''tblcustomersid''. In ''tblitems'', the foreign key
is called ''txtcustomerid''.
I have already set the customers model to