Displaying 1 result from an estimated 1 matches for "primary_date_of_birth".
2006 Mar 15
1
Strange behaviour of dates
...p.find(params[:id],
:joins => "LEFT OUTER JOIN contacts ON
apps.primary_id=contacts.id LEFT OUTER JOIN contacts AS secondary ON
apps.secondary_id=secondary_id",
:select => "apps.id, contacts.name as primary_name,
contacts.date_of_birth as primary_date_of_birth, secondary.name as
secondary_name, secondary.date_of_birth as secondary_date_of_birth")
end
This line in my _edit.rhtml:
<label for="app_primary_date_of_birth"><b>Date of birth: </b></label><br>
<%= date_select ''app'', ''...