diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-06-15 13:27:38 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-06-15 18:16:40 +0200 |
commit | a023d5391ef4f70c56eff6f3c386da393eb44648 (patch) | |
tree | d0bbe9259a09685b7c5867e5ae24f8b9b19bae0a /activerecord | |
parent | ce882b17f4363ef9ce59cb11bf5460579d0b1f1f (diff) | |
download | rails-a023d5391ef4f70c56eff6f3c386da393eb44648.tar.gz rails-a023d5391ef4f70c56eff6f3c386da393eb44648.tar.bz2 rails-a023d5391ef4f70c56eff6f3c386da393eb44648.zip |
A few documentation edits [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/enum.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/enum.rb b/activerecord/lib/active_record/enum.rb index 84b05d9136..c0d9d9c1c8 100644 --- a/activerecord/lib/active_record/enum.rb +++ b/activerecord/lib/active_record/enum.rb @@ -75,8 +75,8 @@ module ActiveRecord # # Conversation.where("status <> ?", Conversation.statuses[:archived]) # - # You can use <tt>:enum_prefix</tt>/<tt>:enum_suffix</tt> option then you need - # to define multiple enums with same values. If option value is <tt>true</tt>, + # You can use the +:enum_prefix+ or +:enum_suffix+ options when you need + # to define multiple enums with same values. If the passed value is +true+, # the methods are prefixed/suffixed with the name of the enum. # # class Invoice < ActiveRecord::Base |