When using rails 3.2, the generator adds 'attr_accessible' to the model. Fixes #2515
Merge pull request #2522 from jcoyne/attr_accessible

When using rails 3.2, the generator adds 'attr_accessible' to the model....