we should set attr_accessible for :name parameter in Rails 3.2.3