RailsCasts Pro episodes are now free!

Learn more or hide this

Shubzee-Malone's Profile

GitHub User: Shubzee-Malone

Comments by

Avatar

I have a problem i have got the ancestry working but i cannot get the nested_messages helper to work as i keep getting the following error

undefined method `map' for #ActiveSupport::SafeBuffer:0x37c4c28
NoMethodError in Emails#index

6:
7: <%= button_to 'New Email', new_email_path, method: 'get', :class => "btnNew1" %>
8:
9: <%= nested_emails render @emails %>
10:
11:
12: