Displaying 3 results from an estimated 3 matches for "resource_focus_id".
2006 Feb 21
7
Validation issues
...error (which seems weird because I am not validating against
that):
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
Extracted source (around line #18):
15: <p><label for="resource_focus_id">Focus</label><br/>
16: <select name="resource[focus_id]" id="resource_focus_id">
17: <option value="" selected="selected"></option>
18: <% for @focus in @focuses %>
19: <option value=&quo...
2006 Mar 02
0
Help with this comparison and loop
I am sending this information:
<%= observe_field "resource_focus_id",
:frequency => 0.25,
:url => { :action => :add_sub_focus},
:with => "''focus_id=''+ value +
''&sf_id=#{@resource.sub_focus_id}''",
:update => "resource_sub_focus_id" %>
Which...
2006 Feb 21
4
Select error
...t;legend>Resource General</legend>
4:
5: <p><label for="resource_type">Type</label><br/>
6: <%= select(:resource, :type, %w{ Web Data }, { :include_blank
=> true }) %>
7: </p>
8:
9: <p><label for="resource_focus_id">Focus</label><br/>
I took it straight out of the Agile Web Development book (except the
:include_blank)
Seth Buntin
Web Resources Coordinator
Kentucky Academy of Technology Education
Murray State University
-------------- next part --------------
An HTML attac...