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

... Fixes #2515