search for: admin_content_row

Displaying 2 results from an estimated 2 matches for "admin_content_row".

2006 May 31
3
instance variable problem
...age.save redirect_to :action => ''list'' flash[:notice] = ''Image was successfully uploaded.'' else render :action => ''new'' end end end And this code in the view gets the error: <div class="admin_content_row"> <h2>Add Image to the Following Categories</h2> <% for category in @categories %> <input type="checkbox" id="<%= category.id %>" name="category_ids[]" value="<%=category.id%>" /> &nbsp;<%=catego...
2006 Jun 13
7
help with ''error_messages_for''
...rror_messages_for works. I get a pretty standard looking error: " You have a nil object when you didn''t expect it! You might have expected an instance of ActiveRecord::Base. The error occured while evaluating nil.errors Extracted source (around line #7): 4: 5: <div class="admin_content_row"> 6: <% @title = ''Upload New Image'' %> 7: <%= error_messages_for(''image'') %> " the production box is apache fastcgi linux, my dev box is windows webrick. This seems odd to me because I''ve never had to instantiate a class,...