Displaying 1 result from an estimated 1 matches for "pricing_survey".
2006 May 15
2
collection_select and validation problems
...39;'t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.inject
Extracted source (around line #22):
19: <td>Vendor</td>
20: <td>
21: <!-- vendors -->
22: <%= collection_select("pricing_survey", "vendor_id",
@vendors, :id, :vendor_name, { :prompt => true } ) %></td>
23: </tr>
24: <tr>
25: <td>Retailer</td>
Does anybody have any ideas? I assume that rails is not querying the
DB for the collection for my drop downs wh...