aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAndrey Molchanov <neodelf@gmail.com>2016-09-17 22:36:13 +0300
committerAndrey Molchanov <neodelf@gmail.com>2016-09-17 22:36:13 +0300
commite1252e073a6be072d82f0984332e851190323ef6 (patch)
tree24673c0ec04a961f768839996140d6e521d6c9b5 /railties
parent2003381bbbea8e0436d54111d67e8e118601ae80 (diff)
downloadrails-e1252e073a6be072d82f0984332e851190323ef6.tar.gz
rails-e1252e073a6be072d82f0984332e851190323ef6.tar.bz2
rails-e1252e073a6be072d82f0984332e851190323ef6.zip
[ci skip] Fixed commas according to Oxford comma in rdoc and guides
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/engine.rb2
-rw-r--r--railties/lib/rails/paths.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/engine.rb b/railties/lib/rails/engine.rb
index 86d66afddb..90e7c04d7c 100644
--- a/railties/lib/rails/engine.rb
+++ b/railties/lib/rails/engine.rb
@@ -337,7 +337,7 @@ module Rails
# == Loading priority
#
# In order to change engine's priority you can use +config.railties_order+ in the main application.
- # It will affect the priority of loading views, helpers, assets and all the other files
+ # It will affect the priority of loading views, helpers, assets, and all the other files
# related to engine or application.
#
# # load Blog::Engine with highest priority, followed by application and other railties
diff --git a/railties/lib/rails/paths.rb b/railties/lib/rails/paths.rb
index 88ec2ba85b..1c1810dde6 100644
--- a/railties/lib/rails/paths.rb
+++ b/railties/lib/rails/paths.rb
@@ -30,7 +30,7 @@ module Rails
# root["config/routes"].inspect # => ["config/routes.rb"]
#
# The +add+ method accepts the following options as arguments:
- # eager_load, autoload, autoload_once and glob.
+ # eager_load, autoload, autoload_once, and glob.
#
# Finally, the +Path+ object also provides a few helpers:
#