Displaying 1 result from an estimated 1 matches for "pay_id".
Did you mean:
day_id
2006 Sep 09
1
options_from_collection_for_select
I''ve looked at the API on this but can''t quite see what I''m missing from my call
<select id="pay[pay_id] name="pay[pay_id]">
<%= options_from_collection_for_select(
Pay.find_all_by_name, "id", "name") %> #<- line 5
</select>
is returning -
Showing app/views/kr/index.rhtml where line #5 raised:
wrong number of bind variables (0 for 1) in: pays.`n...