> ActionView::TemplateError (Called id for nil, which would mistakenly be > 4 -- if you really wanted the id of nil, use object_id) on line #1 of > app/views/lists/import.js.rjs: > 1: id = dom_id(@list)
Will need to see some code - however the simple answer from your error is that @list is nil. Perhaps you are missing a: @list = List.find(params[:id]) before this line 1? Kind Regards Luke -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.