Home

Awesome

Attr Accessible TO Strong Params

Gem Version Dependency Status Travis CI tests Coverage Status Code Climate

Automatically convert Rails 3 attr_accessible to Rails 4 Strong Parameter

Installation

$ gem install attr_accessible2strong_params

Usage

$ aa2sp [filename OR dirname OR .]

Run aa2sp . in your rails root folder and program will do auto convert. Ensure the Git repository is clean. (You don't want to mix up your changes and auto convert changes, right?)