diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-03-29 12:47:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 12:47:14 -0400 |
commit | 098e94caf6515c92334b03af4c8358e39a4201a5 (patch) | |
tree | af0fda5d58500b43d87cd3897938e73e22514174 | |
parent | 9f91243ab35cacb3d8bde80f01c7ad503a33577c (diff) | |
parent | bc76ecf6550375176e46f3ea296607744d12bbfe (diff) | |
download | rails-098e94caf6515c92334b03af4c8358e39a4201a5.tar.gz rails-098e94caf6515c92334b03af4c8358e39a4201a5.tar.bz2 rails-098e94caf6515c92334b03af4c8358e39a4201a5.zip |
Merge pull request #28602 from tricknotes/fix-rails-groups-example
Fix the example code for `Rails.groups` [ci skip]
-rw-r--r-- | railties/lib/rails.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails.rb b/railties/lib/rails.rb index 00add5829d..6d8bf28943 100644 --- a/railties/lib/rails.rb +++ b/railties/lib/rails.rb @@ -87,8 +87,8 @@ module Rails # groups assets: [:development, :test] # # # Returns - # # => [:default, :development, :assets] for Rails.env == "development" - # # => [:default, :production] for Rails.env == "production" + # # => [:default, "development", :assets] for Rails.env == "development" + # # => [:default, "production"] for Rails.env == "production" def groups(*groups) hash = groups.extract_options! env = Rails.env |