You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I'm trying to debug a gem for the first time This gem has attr_accessible methods in it's models so I replaced them with strong parameters but I get unknown method for in this case post_params even though post params is defined in the posts controller
kopf1988
unread,
Jan 24, 2018, 9:17:51 PM1/24/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
If you define a method such as post_params in the controller, it will only be accessible in the controller, and probably not in the gem. What gem is it, maybe this has been encountered before?