search for: primary_nam

Displaying 1 result from an estimated 1 matches for "primary_nam".

Did you mean: primary_name
2006 Mar 15
1
Strange behaviour of dates
...oks like this: def edit @app = App.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> <...