Temporarily comment out attr_accessible calls, those do not work with Rails 4. Will do proper solution later