Displaying 1 result from an estimated 1 matches for "free_frog".
2011 May 17
1
rails render_to_string problem
...#39;, :id => @user.id, :user => {:username =>
username+"abc"}, :format => :json ActionView::Template::Error: You
have a nil object when you didn''t expect it! You might have expected
an instance of Array. The error occurred while evaluating nil.[] # C:/
Users/makaroni4/free_frog/ffapi/app/views/users/_show.tokamak:1:in
_app_views_users__show_tokamak___509498818 _32151168_368311673'' # C:/
Users/makaroni4/XXX/XXX/app/controllers/users_controller.rb:22:in
update'' # ./users_controller_spec.rb:34:in `block (4 levels) in ''
So may be I call render_to_s...