Created
August 22, 2008 03:05
-
-
Save zeke/6728 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL (0.001366) SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull | |
FROM pg_attribute a LEFT JOIN pg_attrdef d | |
ON a.attrelid = d.adrelid AND a.attnum = d.adnum | |
WHERE a.attrelid = 'supported_languages'::regclass | |
AND a.attnum > 0 AND NOT a.attisdropped | |
ORDER BY a.attnum | |
SupportedLanguage Load Including Associations (0.001027) SELECT supported_languages."id" AS t0_r0, supported_languages."globalize_language_id" AS t0_r1, supported_languages."disable" AS t0_r2, supported_languages."position" AS t0_r3, supported_languages."popularity" AS t0_r4, supported_languages."is_popular" AS t0_r5, supported_languages."default_category_id" AS t0_r6, globalize_languages."id" AS t1_r0, globalize_languages."iso_639_1" AS t1_r1, globalize_languages."iso_639_2" AS t1_r2, globalize_languages."iso_639_3" AS t1_r3, globalize_languages."rfc_3066" AS t1_r4, globalize_languages."english_name" AS t1_r5, globalize_languages."english_name_locale" AS t1_r6, globalize_languages."english_name_modifier" AS t1_r7, globalize_languages."native_name" AS t1_r8, globalize_languages."native_name_locale" AS t1_r9, globalize_languages."native_name_modifier" AS t1_r10, globalize_languages."macro_language" AS t1_r11, globalize_languages."direction" AS t1_r12, globalize_languages."pluralization" AS t1_r13, globalize_languages."scope" AS t1_r14 FROM supported_languages LEFT OUTER JOIN globalize_languages ON globalize_languages.id = supported_languages.globalize_language_id WHERE (supported_languages."disable" = 'f') ORDER BY position | |
SQL (0.002453) SELECT tablename | |
FROM pg_tables | |
WHERE schemaname IN (E'"$user"',E'public') | |
SQL (0.001176) SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull | |
FROM pg_attribute a LEFT JOIN pg_attrdef d | |
ON a.attrelid = d.adrelid AND a.attnum = d.adnum | |
WHERE a.attrelid = 'users'::regclass | |
AND a.attnum > 0 AND NOT a.attisdropped | |
ORDER BY a.attnum | |
SQL (0.012575) SELECT tablename | |
FROM pg_tables | |
WHERE schemaname IN (E'"$user"',E'public') | |
SQL (0.005697) SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull | |
FROM pg_attribute a LEFT JOIN pg_attrdef d | |
ON a.attrelid = d.adrelid AND a.attnum = d.adnum | |
WHERE a.attrelid = 'forums'::regclass | |
AND a.attnum > 0 AND NOT a.attisdropped | |
ORDER BY a.attnum | |
Processing LandingController#index (for 127.0.0.1 at 2008-08-21 21:05:42) [GET] | |
Session ID: BAh7BzoNbGFuZ3VhZ2UiCmVuLXVzIgpmbGFzaElDOidBY3Rpb25Db250cm9s%0AbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--2301908d26caa73b7bf8bb04a346753dd9cd6dcd | |
Parameters: {"action"=>"index", "controller"=>"landing"} | |
SQL (0.001311) SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull | |
FROM pg_attribute a LEFT JOIN pg_attrdef d | |
ON a.attrelid = d.adrelid AND a.attnum = d.adnum | |
WHERE a.attrelid = 'sites'::regclass | |
AND a.attnum > 0 AND NOT a.attisdropped | |
ORDER BY a.attnum | |
Site Load (0.000443) SELECT * FROM sites WHERE (sites."url" = E'localhost') LIMIT 1 | |
SQL (0.000198) BEGIN | |
Site Update (0.000505) UPDATE sites SET "created_at" = '2008-08-22 02:40:57.459962', "supported_language_id" = NULL, "visits" = 9, "url" = E'localhost', "name" = NULL, "landing_page_id" = NULL, "updated_at" = '2008-08-22 03:05:42.167515' WHERE "id" = 1 | |
SQL (0.000698) COMMIT | |
Globalize::Language Load (0.000549) SELECT * FROM globalize_languages WHERE (globalize_languages."english_name" = E'English') LIMIT 1 | |
RuntimeError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id): | |
/app/controllers/application.rb:132:in `set_language' | |
/vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `send!' | |
/vendor/rails/actionpack/lib/action_controller/filters.rb:469:in `call' | |
/vendor/rails/actionpack/lib/action_controller/filters.rb:441:in `run' | |
/vendor/rails/actionpack/lib/action_controller/filters.rb:716:in `run_before_filters' | |
/vendor/rails/actionpack/lib/action_controller/filters.rb:695:in `call_filters' | |
/vendor/rails/actionpack/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark' | |
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in `perform_action_without_caching' | |
/vendor/rails/actionpack/lib/action_controller/caching.rb:678:in `perform_action' | |
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache' | |
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache' | |
/vendor/rails/actionpack/lib/action_controller/caching.rb:677:in `perform_action' | |
/vendor/rails/actionpack/lib/action_controller/base.rb:524:in `send' | |
/vendor/rails/actionpack/lib/action_controller/base.rb:524:in `process_without_filters' | |
/vendor/rails/actionpack/lib/action_controller/filters.rb:685:in `process_without_session_management_support' | |
/vendor/rails/actionpack/lib/action_controller/session_management.rb:123:in `sass_old_process' | |
/usr/local/lib/ruby/gems/1.8/gems/haml-2.0.2/lib/sass/plugin/rails.rb:19:in `process' | |
/vendor/rails/actionpack/lib/action_controller/base.rb:388:in `process' | |
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:171:in `handle_request' | |
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch' | |
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi' | |
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `orig_process_client' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `orig_process_client' | |
/vendor/plugins/spawn/lib/patches.rb:53:in `process_client' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' | |
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 | |
/vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load' | |
/vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load' | |
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' | |
/vendor/rails/activesupport/lib/active_support/dependencies.rb:489:in `load' | |
/vendor/rails/railties/lib/commands/servers/mongrel.rb:64 | |
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' | |
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' | |
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' | |
/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' | |
/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' | |
/vendor/rails/railties/lib/commands/server.rb:39 | |
script/server:3:in `require' | |
script/server:3 | |
Rendering /Users/zeke/Projects/elc/lang/trunk/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb (internal_server_error) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment