Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Prefer %w to the literal array syntax when you need an array of strings. #64

Merged
merged 1 commit into from

2 participants

This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -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
Something went wrong with that request. Please try again.