README.rdoc in enumerate_it-0.3.0 vs README.rdoc in enumerate_it-0.4.0
- old
+ new
@@ -80,9 +80,11 @@
attr_accessor :relationship_status
has_enumeration_for :relationship_status, :with => RelationshipStatus
end
+The :with option is not required. If you ommit it, EnumerateIt will try to load an enumeration class based on the camelized attribute name.
+
This will create:
* A humanized description for the values of the enumerated attribute:
p = Person.new