README.md in classy_enum-3.5.0.beta vs README.md in classy_enum-3.5.0.beta2
- old
+ new
@@ -132,10 +132,10 @@
The enum field works like any other model attribute. It can be mass-assigned using `#update_attributes`.
#### What if your enum class name is not the same as your model's attribute name?
-Just provide an optional `enum` argument to declare the attribute name. In this case, the model's attribute is called *alarm_priority*.
+Just provide an optional `enum` or `class_name` argument to declare the attribute name. In this case, the model's attribute is called *alarm_priority*.
```ruby
class Alarm < ActiveRecord::Base
classy_enum_attr :alarm_priority, enum: 'Priority'
end