Fixed issue with active admin resource_name not being a string to pluralize
Now using permitted params
Merge pull request #1 from pollingj/master

Fixes for Rails 4