Frederick Cheung wrote: > On May 31, 10:45�pm, Jay Covington <rails-mailing-l...@andreas-s.net> > wrote: >> (127.0.0.1:3000/user, >> >> I receive the error below: >> >> --------------------------------------------------------------------------- >> -- >> ActionController::RoutingError in User#index >> >> edit_listhub_url failed to generate from {:action=>"edit", >> :controller=>"listhubs", :id=>nil}, expected: {:action=>"edit", >> :controller=>"listhubs"}, diff: {:id=>nil} > > This looks suspicious - is @listhub non nil in the case where you are > rendering this partial ? > > Fred
Yea, for some reason I erroneously added "@" to @listhub and was too tired to see it. The removal of this worked fine. Thanks! -- 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-talk@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 -~----------~----~----~----~------~----~------~--~---