{"action":"closed","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4181","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4181/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4181/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/4181/events","html_url":"https://github.com/activeadmin/activeadmin/issues/4181","id":114672416,"number":4181,"title":"Troubleshooting strong parameters with ActsAsTaggableOn and Globalize","user":{"login":"romiras","id":298544,"avatar_url":"https://avatars.githubusercontent.com/u/298544?v=3","gravatar_id":"","url":"https://api.github.com/users/romiras","html_url":"https://github.com/romiras","followers_url":"https://api.github.com/users/romiras/followers","following_url":"https://api.github.com/users/romiras/following{/other_user}","gists_url":"https://api.github.com/users/romiras/gists{/gist_id}","starred_url":"https://api.github.com/users/romiras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romiras/subscriptions","organizations_url":"https://api.github.com/users/romiras/orgs","repos_url":"https://api.github.com/users/romiras/repos","events_url":"https://api.github.com/users/romiras/events{/privacy}","received_events_url":"https://api.github.com/users/romiras/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-02T19:59:08Z","updated_at":"2015-11-03T08:31:23Z","closed_at":"2015-11-03T08:31:22Z","body":"I'm trying to figure out how to configure `ActsAsTaggableOn::Tag::Translation` to allow updates of model.\r\n\r\nFor correct usage of strong parameters I followed manual [Setting up Strong Parameters](https://github.com/activeadmin/activeadmin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters) which states\r\n\r\n```ruby\r\nActiveAdmin.register Post do\r\n  permit_params :title, :content, :publisher_id\r\nend\r\n```\r\n\r\nTag names should be translatable.\r\nI've tried different ways for `ActsAsTaggableOn::Tag::Translation` and all of them doesn't allow to update parameters.\r\n\r\nThis:\r\n```ruby\r\nActiveAdmin.register ActsAsTaggableOn::Tag::Translation, :as => \"TagTranslation\" do\r\n  permit_params :name, :tag_id, :locale\r\nend\r\n```\r\n\r\nAnd this:\r\n```ruby\r\nActiveAdmin.register ActsAsTaggableOn::Tag::Translation, :as => \"TagTranslation\" do\r\n  permit_params acts_as_taggable_on_tag_translation: [:name, :tag_id, :locale]\r\nend\r\n```\r\n\r\nAnd even this:\r\n```ruby\r\nActiveAdmin.register ActsAsTaggableOn::Tag::Translation, :as => \"TagTranslation\" do\r\n  controller do\r\n    def permit_params\r\n      params.permit! # allow all parameters\r\n#      params.permit acts_as_taggable_on_tag_translation: [:name, :tag_id, :locale]\r\n#      params.require(:acts_as_taggable_on_tag_translation).permit(:name, :tag_id, :locale)\r\n    end\r\n  end\r\nend\r\n```\r\n\r\nI get message\r\nWARNING: Can't mass-assign protected attributes for ActsAsTaggableOn::Tag::Translation: tag_id, locale, name\r\n\r\nWhat I'm doing wrong?"}}