search for: create_curriculum

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

2005 Jun 13
3
validations not working with collection population droplists
I have an ADD form with foreign key field values selectable via select list ( collection_select (...)). When I add validates_presence_of :someotherfield to my model for error trapping, I get the following error for each droplist: NoMethodError in Reviews#create_curriculum Showing /reviews/_form.rhtml where line #16 raised: undefined method `inject'' for nil:NilClass Extracted source (around line #16): 13: <tr> 14: <td class="menutitle">Who published it?:</td> 15: <td> 16: <%= collection_select ''re...