Skip to content

Automatically convert Rails 3 attr_accessible to Rails 4 Strong Parameter

License

Notifications You must be signed in to change notification settings

Eric-Guo/attr_accessible2strong_params

Repository files navigation

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?)

About

Automatically convert Rails 3 attr_accessible to Rails 4 Strong Parameter

Resources

License

Stars

Watchers

Forks

Packages

No packages published