On Apr 18, 12:45 am, Guru_101011
<jagm...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.