Displaying 1 result from an estimated 1 matches for "feeds_feeds".
2006 Nov 30
1
Rails validation - newbie
...ou didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
Extracted source (around line #39):
36: <fieldset>
37: <legend>Feed subscriptions</legend>
38: <p><select name="feeds[feeds][]" id="feeds_feeds[]"
multiple="multiple" size="5">
39: <% @feeds.each do |feed| %>
40: <option value="<%= feed.id %>" <% if
(@user.subscriptions.find(:all, :conditions => "FeedIdentity =
#{feed.id}").length != 0) %>selected="selected&qu...