Permalink
Browse files

Merge pull request #64 from kbighorse/master

Prefer %w to the literal array syntax when you need an array of strings.
  • Loading branch information...
2 parents 1a77446 + 9feb51b commit a968e3e0cc131ce7c803ad615e2c842563cf67c4 @bbatsov committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -216,7 +216,7 @@ abbreviations.
default_scope { where(active: true) }
# constants come up next
- GENDERS = ['male', 'female']
+ GENDERS = %w(male female)
# afterwards we put attr related macros
attr_accessor :formatted_date_of_birth

0 comments on commit a968e3e

Please sign in to comment.