Strong attributes

Switched from using attr_accessible to strong_attributes. This is the last step of migrating from Rails 3 to Rails 4.