tagged_logger 0.5.1 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/README.markdown +9 -7
  2. data/lib/tagged_logger/railtie.rb +23 -13
  3. data/lib/tagged_logger/tagged_logger.rb +3 -5
  4. data/test/test_rails.rb +1 -2
  5. data/test/test_rails_app/Gemfile +12 -0
  6. data/test/test_rails_app/Gemfile.lock +115 -0
  7. data/test/test_rails_app/README +256 -0
  8. data/test/test_rails_app/Rakefile +7 -0
  9. data/test/test_rails_app/app/controllers/application_controller.rb +3 -0
  10. data/test/test_rails_app/app/controllers/users_controller.rb +8 -0
  11. data/test/test_rails_app/app/helpers/application_helper.rb +2 -0
  12. data/test/test_rails_app/app/helpers/users_helper.rb +2 -0
  13. data/test/test_rails_app/app/mailers/user_mailer.rb +6 -0
  14. data/test/test_rails_app/app/models/user.rb +6 -0
  15. data/test/test_rails_app/app/views/layouts/application.html.erb +14 -0
  16. data/test/test_rails_app/app/views/user_mailer/index_email.html.erb +2 -0
  17. data/test/test_rails_app/app/views/users/index.html.erb +1 -0
  18. data/test/test_rails_app/config/application.rb +42 -0
  19. data/test/test_rails_app/config/boot.rb +13 -0
  20. data/test/test_rails_app/config/database.yml +22 -0
  21. data/test/test_rails_app/config/environment.rb +5 -0
  22. data/test/test_rails_app/config/environments/development.rb +26 -0
  23. data/test/test_rails_app/config/environments/production.rb +49 -0
  24. data/test/test_rails_app/config/environments/test.rb +41 -0
  25. data/test/test_rails_app/config/initializers/backtrace_silencers.rb +7 -0
  26. data/test/test_rails_app/config/initializers/generators.rb +2 -0
  27. data/test/test_rails_app/config/initializers/inflections.rb +10 -0
  28. data/test/test_rails_app/config/initializers/mime_types.rb +5 -0
  29. data/test/test_rails_app/config/initializers/secret_token.rb +7 -0
  30. data/test/test_rails_app/config/initializers/session_store.rb +8 -0
  31. data/test/test_rails_app/config/initializers/tagged_logger.rb +11 -0
  32. data/test/test_rails_app/config/locales/en.yml +5 -0
  33. data/test/test_rails_app/config/routes.rb +60 -0
  34. data/test/test_rails_app/config.ru +4 -0
  35. data/test/test_rails_app/db/development.sqlite3 +0 -0
  36. data/test/test_rails_app/db/migrate/20101031213200_create_users.rb +12 -0
  37. data/test/test_rails_app/db/schema.rb +20 -0
  38. data/test/test_rails_app/db/seeds.rb +7 -0
  39. data/test/test_rails_app/db/test.sqlite3 +0 -0
  40. data/test/test_rails_app/doc/README_FOR_APP +2 -0
  41. data/test/test_rails_app/lib/test_logger.rb +14 -0
  42. data/test/test_rails_app/log/development.log +69 -0
  43. data/test/test_rails_app/log/production.log +0 -0
  44. data/test/test_rails_app/log/server.log +0 -0
  45. data/test/test_rails_app/log/test.log +105 -0
  46. data/test/test_rails_app/public/404.html +26 -0
  47. data/test/test_rails_app/public/422.html +26 -0
  48. data/test/test_rails_app/public/500.html +26 -0
  49. data/test/test_rails_app/public/favicon.ico +0 -0
  50. data/test/test_rails_app/public/images/rails.png +0 -0
  51. data/test/test_rails_app/public/index.html +239 -0
  52. data/test/test_rails_app/public/javascripts/application.js +2 -0
  53. data/test/test_rails_app/public/javascripts/controls.js +965 -0
  54. data/test/test_rails_app/public/javascripts/dragdrop.js +974 -0
  55. data/test/test_rails_app/public/javascripts/effects.js +1123 -0
  56. data/test/test_rails_app/public/javascripts/prototype.js +6001 -0
  57. data/test/test_rails_app/public/javascripts/rails.js +175 -0
  58. data/test/test_rails_app/public/robots.txt +5 -0
  59. data/test/test_rails_app/script/rails +6 -0
  60. data/test/test_rails_app/test/integration/logging_test.rb +63 -0
  61. data/test/test_rails_app/test/performance/browsing_test.rb +9 -0
  62. data/test/test_rails_app/test/test_helper.rb +6 -0
  63. data/test/test_rails_app/tmp/capybara/capybara-20101031161745.html +239 -0
  64. data/test/test_rails_app/tmp/capybara/capybara-20101031162015.html +239 -0
  65. metadata +67 -7
@@ -0,0 +1,22 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3-ruby (not necessary on OS X Leopard)
3
+ development:
4
+ adapter: sqlite3
5
+ database: db/development.sqlite3
6
+ pool: 5
7
+ timeout: 5000
8
+
9
+ # Warning: The database defined as "test" will be erased and
10
+ # re-generated from your development database when you run "rake".
11
+ # Do not set this db to the same as development or production.
12
+ test:
13
+ adapter: sqlite3
14
+ database: db/test.sqlite3
15
+ pool: 5
16
+ timeout: 5000
17
+
18
+ production:
19
+ adapter: sqlite3
20
+ database: db/production.sqlite3
21
+ pool: 5
22
+ timeout: 5000
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ TestRailsApp::Application.initialize!
@@ -0,0 +1,26 @@
1
+ TestRailsApp::Application.configure do
2
+ # Settings specified here will take precedence over those in config/environment.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the webserver when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_view.debug_rjs = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Don't care if the mailer can't send
18
+ config.action_mailer.raise_delivery_errors = false
19
+
20
+ # Print deprecation notices to the Rails logger
21
+ config.active_support.deprecation = :log
22
+
23
+ # Only use best-standards-support built into browsers
24
+ config.action_dispatch.best_standards_support = :builtin
25
+ end
26
+
@@ -0,0 +1,49 @@
1
+ TestRailsApp::Application.configure do
2
+ # Settings specified here will take precedence over those in config/environment.rb
3
+
4
+ # The production environment is meant for finished, "live" apps.
5
+ # Code is not reloaded between requests
6
+ config.cache_classes = true
7
+
8
+ # Full error reports are disabled and caching is turned on
9
+ config.consider_all_requests_local = false
10
+ config.action_controller.perform_caching = true
11
+
12
+ # Specifies the header that your server uses for sending files
13
+ config.action_dispatch.x_sendfile_header = "X-Sendfile"
14
+
15
+ # For nginx:
16
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
17
+
18
+ # If you have no front-end server that supports something like X-Sendfile,
19
+ # just comment this out and Rails will serve the files
20
+
21
+ # See everything in the log (default is :info)
22
+ # config.log_level = :debug
23
+
24
+ # Use a different logger for distributed setups
25
+ # config.logger = SyslogLogger.new
26
+
27
+ # Use a different cache store in production
28
+ # config.cache_store = :mem_cache_store
29
+
30
+ # Disable Rails's static asset server
31
+ # In production, Apache or nginx will already do this
32
+ config.serve_static_assets = false
33
+
34
+ # Enable serving of images, stylesheets, and javascripts from an asset server
35
+ # config.action_controller.asset_host = "http://assets.example.com"
36
+
37
+ # Disable delivery errors, bad email addresses will be ignored
38
+ # config.action_mailer.raise_delivery_errors = false
39
+
40
+ # Enable threaded mode
41
+ # config.threadsafe!
42
+
43
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
44
+ # the I18n.default_locale when a translation can not be found)
45
+ config.i18n.fallbacks = true
46
+
47
+ # Send deprecation notices to registered listeners
48
+ config.active_support.deprecation = :notify
49
+ end
@@ -0,0 +1,41 @@
1
+ require 'test_logger'
2
+
3
+ TestRailsApp::Application.configure do
4
+ # Settings specified here will take precedence over those in config/environment.rb
5
+
6
+ # The test environment is used exclusively to run your application's
7
+ # test suite. You never need to work with it otherwise. Remember that
8
+ # your test database is "scratch space" for the test suite and is wiped
9
+ # and recreated between test runs. Don't rely on the data there!
10
+ config.cache_classes = true
11
+
12
+ # Log error messages when you accidentally call methods on nil.
13
+ config.whiny_nils = true
14
+
15
+ # Show full error reports and disable caching
16
+ config.consider_all_requests_local = true
17
+ config.action_controller.perform_caching = false
18
+
19
+ # Raise exceptions instead of rendering exception templates
20
+ config.action_dispatch.show_exceptions = false
21
+
22
+ # Disable request forgery protection in test environment
23
+ config.action_controller.allow_forgery_protection = false
24
+
25
+ # Tell Action Mailer not to deliver emails to the real world.
26
+ # The :test delivery method accumulates sent emails in the
27
+ # ActionMailer::Base.deliveries array.
28
+ config.action_mailer.delivery_method = :test
29
+
30
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
31
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
32
+ # like if you have constraints or database-specific column types
33
+ # config.active_record.schema_format = :sql
34
+
35
+ # Print deprecation notices to the stderr
36
+ config.active_support.deprecation = :stderr
37
+ config.colorize_logging = false
38
+ config.logger = TestLogger.instance
39
+
40
+ TaggedLogger.config(:replace_existing_logger => true)
41
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,2 @@
1
+ Rails.application.config.generators do |g|
2
+ end
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ TestRailsApp::Application.config.secret_token = '84198d9ba8d271b3d95d252b17601cb0f4b18b5a790d0c1d9bcce95e1c03d9d6f615b21b66986a2bf2ea9b5e850e30f09dfbfa9ffa2586b8ce1f5f1a2e4a460d'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ TestRailsApp::Application.config.session_store :cookie_store, :key => '_test_rails_app_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rake db:sessions:create")
8
+ # TestRailsApp::Application.config.session_store :active_record_store
@@ -0,0 +1,11 @@
1
+ if Rails.env == "test"
2
+
3
+ require 'test_logger'
4
+
5
+ TaggedLogger.rules do
6
+ debug /.*(\.logsubscriber|Controller|User)$/ do |level, tag, msg|
7
+ TestLogger.instance.send(level, "#{tag}>>> #{msg}")
8
+ end
9
+ end
10
+
11
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,60 @@
1
+ TestRailsApp::Application.routes.draw do
2
+ resources :users
3
+
4
+ # The priority is based upon order of creation:
5
+ # first created -> highest priority.
6
+
7
+ # Sample of regular route:
8
+ # match 'products/:id' => 'catalog#view'
9
+ # Keep in mind you can assign values other than :controller and :action
10
+
11
+ # Sample of named route:
12
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
13
+ # This route can be invoked with purchase_url(:id => product.id)
14
+
15
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
16
+ # resources :products
17
+
18
+ # Sample resource route with options:
19
+ # resources :products do
20
+ # member do
21
+ # get 'short'
22
+ # post 'toggle'
23
+ # end
24
+ #
25
+ # collection do
26
+ # get 'sold'
27
+ # end
28
+ # end
29
+
30
+ # Sample resource route with sub-resources:
31
+ # resources :products do
32
+ # resources :comments, :sales
33
+ # resource :seller
34
+ # end
35
+
36
+ # Sample resource route with more complex sub-resources
37
+ # resources :products do
38
+ # resources :comments
39
+ # resources :sales do
40
+ # get 'recent', :on => :collection
41
+ # end
42
+ # end
43
+
44
+ # Sample resource route within a namespace:
45
+ # namespace :admin do
46
+ # # Directs /admin/products/* to Admin::ProductsController
47
+ # # (app/controllers/admin/products_controller.rb)
48
+ # resources :products
49
+ # end
50
+
51
+ # You can have the root of your site routed with "root"
52
+ # just remember to delete public/index.html.
53
+ # root :to => "welcome#index"
54
+
55
+ # See how all your routes lay out with "rake routes"
56
+
57
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
58
+ # Note: This route will make all actions in every controller accessible via GET requests.
59
+ # match ':controller(/:action(/:id(.:format)))'
60
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run TestRailsApp::Application
@@ -0,0 +1,12 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :users do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+
9
+ def self.down
10
+ drop_table :users
11
+ end
12
+ end
@@ -0,0 +1,20 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended to check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(:version => 20101031213200) do
14
+
15
+ create_table "users", :force => true do |t|
16
+ t.datetime "created_at"
17
+ t.datetime "updated_at"
18
+ end
19
+
20
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Mayor.create(:name => 'Daley', :city => cities.first)
Binary file
@@ -0,0 +1,2 @@
1
+ Use this README file to introduce your application and point to useful places in the API for learning more.
2
+ Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
@@ -0,0 +1,14 @@
1
+ require 'logger'
2
+ require 'delegate'
3
+
4
+ class TestLogger < DelegateClass(Logger)
5
+ include Singleton
6
+ def initialize
7
+ super nil
8
+ end
9
+ class <<self
10
+ def reset(output)
11
+ instance.__setobj__(output)
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,69 @@
1
+ SQL (0.6ms)  SELECT name
2
+ FROM sqlite_master
3
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
+ 
5
+ SQL (0.1ms) select sqlite_version(*)
6
+ SQL (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
8
+ SQL (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+ SQL (0.2ms) SELECT name
10
+ FROM sqlite_master
11
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
12
+ SQL (0.2ms)  SELECT name
13
+ FROM sqlite_master
14
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
15
+ 
16
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
17
+ Migrating to CreateUsers (20101031213200)
18
+ SQL (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
19
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101031213200')
20
+ SQL (0.2ms)  SELECT name
21
+ FROM sqlite_master
22
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
23
+ 
24
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
25
+ SQL (0.1ms)  SELECT name
26
+ FROM sqlite_master
27
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
28
+ 
29
+ SQL (0.0ms) PRAGMA index_list("users")
30
+ SQL (0.6ms)  SELECT name
31
+ FROM sqlite_master
32
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
33
+ 
34
+ SQL (0.1ms) select sqlite_version(*)
35
+ SQL (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
36
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
37
+ SQL (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
38
+ SQL (0.9ms) SELECT name
39
+ FROM sqlite_master
40
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
41
+ SQL (0.2ms)  SELECT name
42
+ FROM sqlite_master
43
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
44
+ 
45
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
46
+ Migrating to CreateUsers (20101031213200)
47
+ SQL (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
48
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101031213200')
49
+ SQL (0.2ms)  SELECT name
50
+ FROM sqlite_master
51
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
52
+ 
53
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
54
+ SQL (0.1ms)  SELECT name
55
+ FROM sqlite_master
56
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
57
+ 
58
+ SQL (0.0ms) PRAGMA index_list("users")
59
+
60
+
61
+ Started GET "/users" for 127.0.0.1 at Sun Oct 31 18:33:56 -0500 2010
62
+ Processing by UsersController#index as HTML
63
+ SQL (0.8ms)  SELECT name
64
+ FROM sqlite_master
65
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
66
+ 
67
+ User Load (0.1ms) SELECT "users".* FROM "users"
68
+ Rendered users/index.html.erb within layouts/application (1.9ms)
69
+ Completed 200 OK in 36ms (Views: 9.0ms | ActiveRecord: 0.9ms)
File without changes
File without changes
@@ -0,0 +1,105 @@
1
+
2
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
3
+
4
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
5
+
6
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
7
+
8
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
9
+
10
+ ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
11
+ SQL (0.7ms)  SELECT name
12
+ FROM sqlite_master
13
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
14
+ 
15
+ User Load (0.3ms) SELECT "users".* FROM "users"
16
+ SQLite3::SQLException: no such table: users: SELECT "users".* FROM "users"
17
+ SQL (0.6ms)  SELECT name
18
+ FROM sqlite_master
19
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
20
+ 
21
+ SQL (0.1ms) select sqlite_version(*)
22
+ SQL (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
24
+ SQL (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
25
+ SQL (0.1ms) SELECT name
26
+ FROM sqlite_master
27
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
28
+ SQL (0.1ms)  SELECT name
29
+ FROM sqlite_master
30
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
31
+ 
32
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
33
+ Migrating to CreateUsers (20101031213200)
34
+ SQL (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
35
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101031213200')
36
+ SQL (0.2ms)  SELECT name
37
+ FROM sqlite_master
38
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
39
+ 
40
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
41
+ SQL (0.1ms)  SELECT name
42
+ FROM sqlite_master
43
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
44
+ 
45
+ SQL (0.0ms) PRAGMA index_list("users")
46
+ SQL (0.7ms)  SELECT name
47
+ FROM sqlite_master
48
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
49
+ 
50
+ User Load (0.1ms) SELECT "users".* FROM "users"
51
+ SQL (0.7ms)  SELECT name
52
+ FROM sqlite_master
53
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
54
+ 
55
+ User Load (0.1ms) SELECT "users".* FROM "users"
56
+ SQL (0.8ms)  SELECT name
57
+ FROM sqlite_master
58
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
59
+ 
60
+ User Load (0.1ms) SELECT "users".* FROM "users"
61
+ SQL (0.7ms)  SELECT name
62
+ FROM sqlite_master
63
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
64
+ 
65
+ User Load (0.1ms) SELECT "users".* FROM "users"
66
+ SQL (0.6ms)  SELECT name
67
+ FROM sqlite_master
68
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
69
+ 
70
+ User Load (0.1ms) SELECT "users".* FROM "users"
71
+ SQL (0.8ms)  SELECT name
72
+ FROM sqlite_master
73
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
74
+ 
75
+ User Load (0.1ms) SELECT "users".* FROM "users"
76
+ SQL (0.7ms)  SELECT name
77
+ FROM sqlite_master
78
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
79
+ 
80
+ User Load (0.1ms) SELECT "users".* FROM "users"
81
+ SQL (0.8ms)  SELECT name
82
+ FROM sqlite_master
83
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
84
+ 
85
+ User Load (0.1ms) SELECT "users".* FROM "users"
86
+
87
+
88
+ Started GET "/users" for 127.0.0.1 at Sun Oct 31 19:06:11 -0500 2010
89
+ SQL (0.7ms)  SELECT name
90
+ FROM sqlite_master
91
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
92
+ 
93
+ User Load (0.1ms) SELECT "users".* FROM "users"
94
+
95
+
96
+ Started GET "/users" for 127.0.0.1 at Mon Nov 01 19:46:41 -0500 2010
97
+ User Load (0.1ms) SELECT "users".* FROM "users"
98
+
99
+
100
+ Started GET "/users" for 127.0.0.1 at Mon Nov 01 19:48:36 -0500 2010
101
+ SQL (0.6ms)  SELECT name
102
+ FROM sqlite_master
103
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
104
+ 
105
+ User Load (0.1ms) SELECT "users".* FROM "users"
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
+ </div>
25
+ </body>
26
+ </html>
File without changes