On Apr 18, 12:45 am, Guru_101011 <[email protected]> wrote:
> HI everyone, require some help! cannot figure out this error and how
> to fix it!
>
> Showing user/index.html.erb where line #59 raised:
>

At a guess it would seem that @blog is nil

Fred
> You have a nil object when you didn't expect it!
> The error occurred while evaluating nil.to_sym
>
> Extracted source (around line #59):
>
> 56: <% end %>
> 57: </ol>
> 58:
> 59: <div id="hub">Blog: <%= link_to "(manage)", posts_path(@blog) %></
> div>
> 60: <div id="hubtwo"><%= render :partial => "user/blog" %></div>
> 61:
> 62:
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to