Permalink
Browse files

revised font of constants in Railties

  • Loading branch information...
1 parent fb1858d commit 08cac396ccecc60026d0bb7b4a179cb99e06ff41 @fxn fxn committed May 21, 2008
Showing with 4 additions and 4 deletions.
  1. +3 −3 railties/lib/initializer.rb
  2. +1 −1 railties/lib/rails_generator/base.rb
@@ -326,7 +326,7 @@ def initialize_framework_caches
end
end
- # If the +RAILS_DEFAULT_LOGGER+ constant is already set, this initialization
+ # If the RAILS_DEFAULT_LOGGER constant is already set, this initialization
# routine does nothing. If the constant is not set, and Configuration#logger
# is not +nil+, this also does nothing. Otherwise, a new logger instance
# is created at Configuration#log_path, with a default log level of
@@ -362,7 +362,7 @@ def initialize_logger
# Sets the logger for ActiveRecord, ActionController, and ActionMailer
# (but only for those frameworks that are to be loaded). If the framework's
# logger is already set, it is not changed, otherwise it is set to use
- # +RAILS_DEFAULT_LOGGER+.
+ # RAILS_DEFAULT_LOGGER.
def initialize_framework_logging
for framework in ([ :active_record, :action_controller, :action_mailer ] & configuration.frameworks)
framework.to_s.camelize.constantize.const_get("Base").logger ||= RAILS_DEFAULT_LOGGER
@@ -685,7 +685,7 @@ def environment_path
end
# Return the currently selected environment. By default, it returns the
- # value of the +RAILS_ENV+ constant.
+ # value of the RAILS_ENV constant.
def environment
::RAILS_ENV
end
@@ -36,7 +36,7 @@ module Rails
# view.html.erb
#
# The directory name (+controller+) matches the name of the generator file
- # (controller_generator.rb) and class (+ControllerGenerator+). The files
+ # (controller_generator.rb) and class (ControllerGenerator). The files
# that will be copied or used as templates are stored in the +templates+
# directory.
#

0 comments on commit 08cac39

Please sign in to comment.