Thanks for helping. The errors occurs during implementation
accepts_nested_attributes_for. I get ActionView::Template:Error
(undefined method ‘events’ for nil:class) & NoMethodError in app/views/
users/index.html.erb where line #12. See all files @
On Dec 3, 11:06am, brg [email protected] wrote:
Thanks for helping. The errors occurs during implementation
accepts_nested_attributes_for. I get ActionView::Template:Error
(undefined method ‘events’ for nil:class) & NoMethodError in app/views/
users/index.html.erb where line #12. See all files
@Server error log when running accepts_nested_attributes_for · GitHub
Doesn’t look like anything to do with accepts_nested_attributes_for -
doesn’t look like you’ve assigned anything to @user in the index
action.
Fred