Groups
Groups
Sign in
Groups
Groups
luvfoo
Conversations
About
Send feedback
Help
object nil???? icon error?
0 views
Skip to first unread message
urdabum
unread,
Mar 17, 2009, 3:54:59 AM
3/17/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to luvfoo
can any one help me with this error?
NoMethodError in Users#show
Showing users/_status_update.html.erb where line #5 raised:
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.+
Extracted source (around line #5):
2: <% remote_form_for(:status_update, :url =>
user_status_updates_path(@user), :html => {:id =>
'status_update_form'} ) do |f| -%>
3: <table>
4: <tr>
5: <td rowspan="2"><%= icon @user %></td>
6: <td id="current-status">
7: <%= render :partial => 'users/current_status', :locals =>
{:user => @user} %>
8: </td>
Trace of template inclusion: /users/show.html.erb
Reply all
Reply to author
Forward
0 new messages