Removed attr_accessible due to Rails 4 compatiblity