1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

revised a few of filenames

This commit is contained in:
Xavier Noria 2008-05-07 02:16:19 +02:00
parent 8031ba1aee
commit f168db4cc1

View file

@ -572,11 +572,13 @@ module Rails
attr_accessor :plugin_loader attr_accessor :plugin_loader
# Enables or disables plugin reloading. You can get around this setting per plugin. # Enables or disables plugin reloading. You can get around this setting per plugin.
# If <tt>reload_plugins?</tt> is false, add this to your plugin's init.rb to make it reloadable: # If <tt>reload_plugins?</tt> is false, add this to your plugin's <tt>init.rb</tt>
# to make it reloadable:
# #
# Dependencies.load_once_paths.delete lib_path # Dependencies.load_once_paths.delete lib_path
# #
# If <tt>reload_plugins?</tt> is true, add this to your plugin's init.rb to only load it once: # If <tt>reload_plugins?</tt> is true, add this to your plugin's <tt>init.rb</tt>
# to only load it once:
# #
# Dependencies.load_once_paths << lib_path # Dependencies.load_once_paths << lib_path
# #
@ -676,7 +678,7 @@ module Rails
YAML::load(ERB.new(IO.read(database_configuration_file)).result) YAML::load(ERB.new(IO.read(database_configuration_file)).result)
end end
# The path to the current environment's file (development.rb, etc.). By # The path to the current environment's file (<tt>development</tt>.rb, etc.). By
# default the file is at <tt>config/environments/#{environment}.rb</tt>. # default the file is at <tt>config/environments/#{environment}.rb</tt>.
def environment_path def environment_path
"#{root_path}/config/environments/#{environment}.rb" "#{root_path}/config/environments/#{environment}.rb"