Displaying 1 result from an estimated 1 matches for "fac_log_test_count".
Did you mean:
fac_log_test_counter
2006 Mar 16
32
iterating a partial with :collection
...ticle from the collection-the variable is named after the template. In addition, the variable article counter will be set to the index of the current article in the collection.
According to my admittedly incomplete understanding, this should work, but it doesn''t...
<%=h (fac_log_test[:fac_log_test_counter][:facility][:name]) %>
;-(
what is the proper usage?
Craig
NoMethodError in #
Showing app/views/reports/_fac_log_test.rhtml where line #28 raised:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating ni...