If you get attr_accesible’s bug, like

1
Undefined method 'attr_accessible'

You can forget write gem about this attributes, open your Gemfile in project

1
gem 'protected-attributes'

Save and open terminal run,

bundle

that’s fix your bug.

Comments