Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActionView::Template::Error (undefined method `name' for nil:NilClass):
- 1: <% current_user.moderators.each do |mod| %>
- 2: <div id="invisible-on-<%= mod.channel_id %>" class="invisible-moderator <%= "enabled" if mod.invisible %>" ><%= mod.channel.name %></div>
- 3: <% end %>
- 4: <div id="channel-tabs">
- 5: <ul>
- app/views/home/_chat.html.erb:2:in `_app_views_home__chat_html_erb___1069163833__757030858_1332958'
- app/views/home/_chat.html.erb:1:in `_app_views_home__chat_html_erb___1069163833__757030858_1332958'
- app/views/home/chat.js.erb:2:in `_app_views_home_chat_js_erb__4647173__757000268_0'
- app/controllers/home_controller.rb:5:in `chat'
Add Comment
Please, Sign In to add comment