Skip to content

Instantly share code, notes, and snippets.

@DBA
Created July 6, 2010 15:58
Show Gist options
  • Save DBA/465562 to your computer and use it in GitHub Desktop.
Save DBA/465562 to your computer and use it in GitHub Desktop.
Rails.configuration
(rdb:4) pp Rails.configuration
#<Rails::Application::Configuration:0x00000100920e90
@allow_concurrency=false,
@cache_classes=false,
@cache_store=
[:file_store,
"/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example/tmp/cache/"],
@consider_all_requests_local=true,
@dependency_loading=true,
@encoding="utf-8",
@filter_parameters=[:secret, :client_secret],
@load_once_paths=[],
@load_paths=
["/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example/app/controllers",
"/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example/app/helpers",
"/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example/app/models",
"/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example/lib",
"/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example/vendor"],
@log_level=:debug,
@middleware=
[ActionDispatch::Static,
Rack::Lock,
ActiveSupport::Cache::Strategy::LocalCache,
Rack::Runtime,
Rails::Rack::Logger,
ActionDispatch::ShowExceptions,
ActionDispatch::RemoteIp,
Rack::Sendfile,
ActionDispatch::Callbacks,
ActiveRecord::ConnectionAdapters::ConnectionManagement,
ActiveRecord::QueryCache,
ActionDispatch::Cookies,
ActionDispatch::Session::CookieStore,
ActionDispatch::Flash,
ActionDispatch::ParamsParser,
Rack::MethodOverride,
ActionDispatch::Head],
@paths=
#<Rails::Paths::Root:0x00000103190510
@all_paths=
[#<Rails::Paths::Path:0x00000103190358
@children=
{"controllers"=>
#<Rails::Paths::Path:0x000001031900b0
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=
["app/controllers",
"/Users/dba/.rvm/gems/ruby-1.9.2-preview3/gems/railties-3.0.0.beta4/lib/rails/application/info_routes"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"helpers"=>
#<Rails::Paths::Path:0x0000010318fe08
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/helpers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"models"=>
#<Rails::Paths::Path:0x0000010318fb38
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/models"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"mailers"=>
#<Rails::Paths::Path:0x0000010318f840
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/mailers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"views"=>
#<Rails::Paths::Path:0x0000010318f570
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["app/views"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=true,
@glob="*",
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x000001031900b0
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=
["app/controllers",
"/Users/dba/.rvm/gems/ruby-1.9.2-preview3/gems/railties-3.0.0.beta4/lib/rails/application/info_routes"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318fe08
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/helpers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318fb38
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/models"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318f840
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/mailers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318f570
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["app/views"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318f318
@children=
{"tasks"=>
#<Rails::Paths::Path:0x0000010318efd0
@children={},
@eager_load=nil,
@glob="**/*.rake",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["lib/tasks"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"templates"=>
#<Rails::Paths::Path:0x0000010318ab60
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["lib/templates"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:load_path=>true},
@paths=["lib"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318efd0
@children={},
@eager_load=nil,
@glob="**/*.rake",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["lib/tasks"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318edc8
@children=
{"initializers"=>
#<Rails::Paths::Path:0x0000010318ea30
@children={},
@eager_load=nil,
@glob="**/*.rb",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/initializers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"locales"=>
#<Rails::Paths::Path:0x0000010318e648
@children={},
@eager_load=nil,
@glob="*.{rb,yml}",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/locales"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"routes"=>
#<Rails::Paths::Path:0x0000010318e2d8
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/routes.rb"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"database"=>
#<Rails::Paths::Path:0x0000010318b448
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/database.yml"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"environment"=>
#<Rails::Paths::Path:0x0000010318b178
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/environment.rb"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"environments"=>
#<Rails::Paths::Path:0x0000010318ae08
@children={},
@eager_load=nil,
@glob="development.rb",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/environments"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318ea30
@children={},
@eager_load=nil,
@glob="**/*.rb",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/initializers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318e648
@children={},
@eager_load=nil,
@glob="*.{rb,yml}",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/locales"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318e2d8
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/routes.rb"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318e0a8
@children=
{"javascripts"=>
#<Rails::Paths::Path:0x0000010318bf10
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public/javascripts"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"stylesheets"=>
#<Rails::Paths::Path:0x0000010318bbf0
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public/stylesheets"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318bf10
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public/javascripts"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318bbf0
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public/stylesheets"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318b448
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/database.yml"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318b178
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/environment.rb"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318ae08
@children={},
@eager_load=nil,
@glob="development.rb",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/environments"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318ab60
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["lib/templates"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318a8b8
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["log/development.log"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318a688
@children=
{"cache"=>
#<Rails::Paths::Path:0x0000010318a368
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["tmp/cache"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["tmp"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318a368
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["tmp/cache"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x0000010318a110
@children=
{"plugins"=>
#<Rails::Paths::Path:0x00000103189e18
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["vendor/plugins"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:load_path=>true},
@paths=["vendor"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
#<Rails::Paths::Path:0x00000103189e18
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["vendor/plugins"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>],
@children=
{"app"=>
#<Rails::Paths::Path:0x00000103190358
@children=
{"controllers"=>
#<Rails::Paths::Path:0x000001031900b0
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=
["app/controllers",
"/Users/dba/.rvm/gems/ruby-1.9.2-preview3/gems/railties-3.0.0.beta4/lib/rails/application/info_routes"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"helpers"=>
#<Rails::Paths::Path:0x0000010318fe08
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/helpers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"models"=>
#<Rails::Paths::Path:0x0000010318fb38
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/models"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"mailers"=>
#<Rails::Paths::Path:0x0000010318f840
@children={},
@eager_load=true,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app/mailers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"views"=>
#<Rails::Paths::Path:0x0000010318f570
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["app/views"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=true,
@glob="*",
@load_once=nil,
@load_path=true,
@options={:eager_load=>true},
@paths=["app"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"lib"=>
#<Rails::Paths::Path:0x0000010318f318
@children=
{"tasks"=>
#<Rails::Paths::Path:0x0000010318efd0
@children={},
@eager_load=nil,
@glob="**/*.rake",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["lib/tasks"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"templates"=>
#<Rails::Paths::Path:0x0000010318ab60
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["lib/templates"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:load_path=>true},
@paths=["lib"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"config"=>
#<Rails::Paths::Path:0x0000010318edc8
@children=
{"initializers"=>
#<Rails::Paths::Path:0x0000010318ea30
@children={},
@eager_load=nil,
@glob="**/*.rb",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/initializers"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"locales"=>
#<Rails::Paths::Path:0x0000010318e648
@children={},
@eager_load=nil,
@glob="*.{rb,yml}",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/locales"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"routes"=>
#<Rails::Paths::Path:0x0000010318e2d8
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/routes.rb"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"database"=>
#<Rails::Paths::Path:0x0000010318b448
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/database.yml"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"environment"=>
#<Rails::Paths::Path:0x0000010318b178
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/environment.rb"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"environments"=>
#<Rails::Paths::Path:0x0000010318ae08
@children={},
@eager_load=nil,
@glob="development.rb",
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config/environments"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["config"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"public"=>
#<Rails::Paths::Path:0x0000010318e0a8
@children=
{"javascripts"=>
#<Rails::Paths::Path:0x0000010318bf10
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public/javascripts"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"stylesheets"=>
#<Rails::Paths::Path:0x0000010318bbf0
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public/stylesheets"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["public"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"log"=>
#<Rails::Paths::Path:0x0000010318a8b8
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["log/development.log"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"tmp"=>
#<Rails::Paths::Path:0x0000010318a688
@children=
{"cache"=>
#<Rails::Paths::Path:0x0000010318a368
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["tmp/cache"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["tmp"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
"vendor"=>
#<Rails::Paths::Path:0x0000010318a110
@children=
{"plugins"=>
#<Rails::Paths::Path:0x00000103189e18
@children={},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=nil,
@options={},
@paths=["vendor/plugins"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@eager_load=nil,
@glob=nil,
@load_once=nil,
@load_path=true,
@options={:load_path=>true},
@paths=["vendor"],
@root=#<Rails::Paths::Root:0x00000103190510 ...>>},
@path=
#<Pathname:/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example>,
@root=#<Rails::Paths::Root:0x00000103190510 ...>>,
@root=
#<Pathname:/Users/dba/work/gnomeslab.com/programming/oauth2-ruby-server-rails-example>,
@secret_token=
"a979478db317b0dba990e4918c7d1fe6676cf2db38bd6aabb9d234efda6ced570cef33473725c3914f90eeac175bb2b2af6011a8a31e43392d50592c8dc5819c",
@serve_static_assets=true,
@session_options={:key=>"_oauth2-rails-server_session", :cookie_only=>true},
@session_store=:cookie_store,
@time_zone="UTC",
@whiny_nils=true>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment