Obed Lorisson
Joined
10 Experience
0 Lessons Completed
0 Questions Solved
Activity
Posted in In-App Navbar Notifications Discussion
i'm having this error "undefined method `underscore' for nil:NilClass" , i can't quite figure it out , Error happen ,when rendering the json template
json.template render partial: "notifications/#{notification.notifiable_type.underscore.pluralize}/#{notification.action}", locals: {notification: notification}, formats: [:html]