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 solved the problem by using values for polymorphic types that start with capital letters This looks like a better solution Thanks If constantize doesn't convert the first char to upper case then what does it do?
Frederico Martins
unread,
Jun 28, 2017, 9:29:26 AM6/28/17
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
It only tries to find and return an available constant with the specified name. But the string needs to be already in camel case.