README.rdoc in enumerate_it-0.7.2 vs README.rdoc in enumerate_it-0.7.3
- old
+ new
@@ -171,9 +171,13 @@
p.relationship_status_humanize # => 'Single' => nonexistent key
p.relationship_status = RelationshipStatus::DIVORCED
p.relationship_status_humanize # => 'He's divorced' => uses the provided string
+You can also translate specific values:
+
+ RelationshipStatis.t(1) # => 'Casado'
+
== Installation
gem install enumerate_it
== Using with Rails