method
new
v1.1.6 -
Show latest stable
- Class:
Rails::Configuration
new()public
Create a new Configuration instance, initialized with the default values.
# File railties/lib/initializer.rb, line 437
def initialize
self.frameworks = default_frameworks
self.load_paths = default_load_paths
self.log_path = default_log_path
self.log_level = default_log_level
self.view_path = default_view_path
self.controller_paths = default_controller_paths
self.cache_classes = default_cache_classes
self.breakpoint_server = default_breakpoint_server
self.whiny_nils = default_whiny_nils
self.plugin_paths = default_plugin_paths
self.database_configuration_file = default_database_configuration_file
for framework in default_frameworks
self.send("#{framework}=", OrderedOptions.new)
end
end Related methods
- Instance methods
- after_initialize
- after_initialize_block
- database_configuration
- environment
- environment_path
- Class methods
- new
- Private methods
-
default_breakpoint_server -
default_cache_classes -
default_controller_paths -
default_database_configuration_file -
default_dependency_mechanism -
default_frameworks -
default_load_paths -
default_log_level -
default_log_path -
default_plugin_paths -
default_view_path -
default_whiny_nils -
framework_root_path -
root_path