RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: Shubzee-Malone
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
7: <%= button_to 'New Email', new_email_path, method: 'get', :class => "btnNew1" %>
9: <%= nested_emails render @emails %>