Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix punctuation in config templates

  • Loading branch information...
commit bb05d99106097fd845f415c91c016ca4d9bff511 1 parent 6a5d1c7
@frodsan frodsan authored
View
2  railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -60,7 +60,7 @@ class Application < Rails::Application
config.assets.version = '1.0'
<% end -%>
- # Enable app-wide asynchronous ActionMailer
+ # Enable app-wide asynchronous ActionMailer.
# config.action_mailer.async = true
end
end
View
4 railties/lib/rails/generators/rails/app/templates/config/environment.rb
@@ -1,5 +1,5 @@
-# Load the rails application
+# Load the rails application.
require File.expand_path('../application', __FILE__)
-# Initialize the rails application
+# Initialize the rails application.
<%= app_const %>.initialize!
View
2  railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
@@ -39,6 +39,6 @@
config.assets.debug = true
<%- end -%>
- # In development, use an in-memory queue for queueing
+ # In development, use an in-memory queue for queueing.
config.queue = Rails::Queueing::Queue
end
View
4 railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
@@ -71,10 +71,10 @@
# Disable automatic flushing of the log to improve performance.
# config.autoflush_log = false
- # Use default logging formatter so that PID and timestamp are not suppressed
+ # Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
# Default the production mode queue to an in-memory queue. You will probably
- # want to replace this with an out-of-process queueing solution
+ # want to replace this with an out-of-process queueing solution.
config.queue = Rails::Queueing::Queue
end
View
2  railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt
@@ -34,6 +34,6 @@
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
- # Use the testing queue
+ # Use the testing queue.
config.queue = Rails::Queueing::TestQueue
end
View
2  railties/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt
@@ -4,5 +4,5 @@
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
-# (create the session table with "rails generate session_migration")
+# (create the session table with "rails generate session_migration").
# <%= app_const %>.config.session_store :active_record_store
View
8 railties/lib/rails/generators/rails/app/templates/config/routes.rb
@@ -8,11 +8,11 @@
# Sample of regular route:
# get 'products/:id' => 'catalog#view'
- # Keep in mind you can assign values other than :controller and :action
+ # Keep in mind you can assign values other than :controller and :action.
# Sample of named route:
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
- # This route can be invoked with purchase_url(id: product.id)
+ # This route can be invoked with purchase_url(id: product.id).
# Sample resource route (maps HTTP verbs to controller actions automatically):
# resources :products
@@ -35,7 +35,7 @@
# resource :seller
# end
- # Sample resource route with more complex sub-resources
+ # Sample resource route with more complex sub-resources:
# resources :products do
# resources :comments
# resources :sales do
@@ -51,5 +51,5 @@
# end
- # See how all your routes lay out with "rake routes"
+ # See how all your routes lay out with "rake routes".
end
Please sign in to comment.
Something went wrong with that request. Please try again.