serializer 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +23 -0
- data/lib/serializer.rb +4 -4
- data/lib/serializer/version.rb +1 -1
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +3 -0
- data/test/dummy/app/assets/javascripts/main.js +0 -0
- data/test/dummy/app/assets/javascripts/users.js +0 -0
- data/test/dummy/app/assets/stylesheets/application.css +16 -0
- data/test/dummy/app/assets/stylesheets/main.css +4 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/assets/stylesheets/users.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/main_controller.rb +10 -0
- data/test/dummy/app/controllers/users_controller.rb +57 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/main_helper.rb +2 -0
- data/test/dummy/app/helpers/users_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +8 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/main/index.html.erb +5 -0
- data/test/dummy/app/views/users/_form.html.erb +36 -0
- data/test/dummy/app/views/users/edit.html.erb +6 -0
- data/test/dummy/app/views/users/index.html.erb +25 -0
- data/test/dummy/app/views/users/new.html.erb +5 -0
- data/test/dummy/app/views/users/show.html.erb +24 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +17 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/other.rb +2 -0
- data/test/dummy/config/locales/en.yml +1 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20110927222742_create_users.rb +11 -0
- data/test/dummy/db/schema.rb +24 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +24 -0
- data/test/dummy/log/test.log +825 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/users.yml +11 -0
- data/test/dummy/test/functional/main_controller_test.rb +10 -0
- data/test/dummy/test/functional/users_controller_test.rb +52 -0
- data/test/dummy/test/integration/user_create_test.rb +17 -0
- data/test/dummy/test/integration/user_update_test.rb +17 -0
- data/test/dummy/test/unit/helpers/main_helper_test.rb +4 -0
- data/test/dummy/test/unit/helpers/users_helper_test.rb +4 -0
- data/test/dummy/test/unit/user_test.rb +55 -0
- data/test/serializer_test.rb +7 -0
- data/test/test_helper.rb +8 -0
- metadata +135 -6
- data/Gemfile +0 -3
@@ -0,0 +1,17 @@
|
|
1
|
+
development:
|
2
|
+
adapter: sqlite3
|
3
|
+
database: db/development.sqlite3
|
4
|
+
pool: 5
|
5
|
+
timeout: 5000
|
6
|
+
|
7
|
+
test:
|
8
|
+
adapter: sqlite3
|
9
|
+
database: db/test.sqlite3
|
10
|
+
pool: 5
|
11
|
+
timeout: 5000
|
12
|
+
|
13
|
+
production:
|
14
|
+
adapter: sqlite3
|
15
|
+
database: db/production.sqlite3
|
16
|
+
pool: 5
|
17
|
+
timeout: 5000
|
@@ -0,0 +1,30 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.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 web server 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_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Only use best-standards-support built into browsers
|
23
|
+
config.action_dispatch.best_standards_support = :builtin
|
24
|
+
|
25
|
+
# Do not compress assets
|
26
|
+
config.assets.compress = false
|
27
|
+
|
28
|
+
# Expands the lines which load the assets
|
29
|
+
config.assets.debug = true
|
30
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
+
config.serve_static_assets = false
|
13
|
+
|
14
|
+
# Compress JavaScripts and CSS
|
15
|
+
config.assets.compress = true
|
16
|
+
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
+
config.assets.compile = false
|
19
|
+
|
20
|
+
# Generate digests for assets URLs
|
21
|
+
config.assets.digest = true
|
22
|
+
|
23
|
+
# Defaults to Rails.root.join("public/assets")
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
25
|
+
|
26
|
+
# Specifies the header that your server uses for sending files
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
+
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
+
# config.force_ssl = true
|
32
|
+
|
33
|
+
# See everything in the log (default is :info)
|
34
|
+
# config.log_level = :debug
|
35
|
+
|
36
|
+
# Use a different logger for distributed setups
|
37
|
+
# config.logger = SyslogLogger.new
|
38
|
+
|
39
|
+
# Use a different cache store in production
|
40
|
+
# config.cache_store = :mem_cache_store
|
41
|
+
|
42
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
43
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
44
|
+
|
45
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
46
|
+
# config.assets.precompile += %w( search.js )
|
47
|
+
|
48
|
+
# Disable delivery errors, bad email addresses will be ignored
|
49
|
+
# config.action_mailer.raise_delivery_errors = false
|
50
|
+
|
51
|
+
# Enable threaded mode
|
52
|
+
# config.threadsafe!
|
53
|
+
|
54
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
55
|
+
# the I18n.default_locale when a translation can not be found)
|
56
|
+
config.i18n.fallbacks = true
|
57
|
+
|
58
|
+
# Send deprecation notices to registered listeners
|
59
|
+
config.active_support.deprecation = :notify
|
60
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
15
|
+
config.whiny_nils = true
|
16
|
+
|
17
|
+
# Show full error reports and disable caching
|
18
|
+
config.consider_all_requests_local = true
|
19
|
+
config.action_controller.perform_caching = false
|
20
|
+
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
22
|
+
config.action_dispatch.show_exceptions = false
|
23
|
+
|
24
|
+
# Disable request forgery protection in test environment
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
26
|
+
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
29
|
+
# ActionMailer::Base.deliveries array.
|
30
|
+
config.action_mailer.delivery_method = :test
|
31
|
+
|
32
|
+
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
33
|
+
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
34
|
+
# like if you have constraints or database-specific column types
|
35
|
+
# config.active_record.schema_format = :sql
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
en: {}
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20110927222742) do
|
15
|
+
|
16
|
+
create_table "users", :force => true do |t|
|
17
|
+
t.string "name"
|
18
|
+
t.string "email"
|
19
|
+
t.text "settings"
|
20
|
+
t.datetime "created_at"
|
21
|
+
t.datetime "updated_at"
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
[1m[36m (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (3.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreateUsers (20110927222742)
|
7
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')[0m
|
9
|
+
[1m[35m (1.0ms)[0m select sqlite_version(*)
|
10
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11
|
+
[1m[35m (1.0ms)[0m PRAGMA index_list("users")
|
12
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
13
|
+
Migrating to CreateUsers (20110927222742)
|
14
|
+
[1m[35m (1.0ms)[0m select sqlite_version(*)
|
15
|
+
[1m[36m (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
16
|
+
[1m[35m (1.0ms)[0m PRAGMA index_list("users")
|
17
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
18
|
+
[1m[35m (1.0ms)[0m select sqlite_version(*)
|
19
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
20
|
+
[1m[35m (7.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
21
|
+
[1m[36m (1.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
22
|
+
[1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
23
|
+
[1m[36m (2.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
24
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
|
@@ -0,0 +1,825 @@
|
|
1
|
+
Processing by MainController#index as HTML
|
2
|
+
Rendered main/index.html.erb within layouts/application (11.5ms)
|
3
|
+
Completed 200 OK in 46ms (Views: 45.5ms | ActiveRecord: 0.0ms)
|
4
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "users"[0m
|
5
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '---
|
6
|
+
:fb_share: true
|
7
|
+
:tw_share: true
|
8
|
+
', '2011-10-22 23:41:03', '2011-10-22 23:41:03', 593363170)
|
9
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '2011-10-22 23:41:03', '2011-10-22 23:41:03', 815823836)[0m
|
10
|
+
|
11
|
+
|
12
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-10-22 16:41:03 -0700
|
13
|
+
Processing by UsersController#new as HTML
|
14
|
+
Rendered users/_form.html.erb (9.5ms)
|
15
|
+
Completed 200 OK in 23ms (Views: 22.3ms | ActiveRecord: 0.0ms)
|
16
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
17
|
+
|
18
|
+
|
19
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 16:41:03 -0700
|
20
|
+
Processing by UsersController#create as HTML
|
21
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
22
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
23
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00]]
|
24
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
25
|
+
Redirected to http://www.example.com/users/815823837
|
26
|
+
Completed 302 Found in 67ms
|
27
|
+
|
28
|
+
|
29
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 16:41:03 -0700
|
30
|
+
Processing by UsersController#show as HTML
|
31
|
+
Parameters: {"id"=>"815823837"}
|
32
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
33
|
+
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
34
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
35
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00]]
|
36
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n"], ["updated_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00]]
|
39
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "updated_at" = '2011-10-22 23:41:03.782224', "settings" = '---
|
42
|
+
:fb_share: true
|
43
|
+
:tw_share: true
|
44
|
+
' WHERE "users"."id" = 815823837
|
45
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
47
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
48
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n"], ["updated_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00]]
|
49
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
50
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
51
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "updated_at" = '2011-10-22 23:41:03.787827', "settings" = '---
|
52
|
+
:fb_share: false
|
53
|
+
:tw_share: false
|
54
|
+
' WHERE "users"."id" = 815823837[0m
|
55
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
56
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
57
|
+
|
58
|
+
|
59
|
+
Started GET "/users/593363170/edit" for 127.0.0.1 at 2011-10-22 16:41:03 -0700
|
60
|
+
Processing by UsersController#edit as HTML
|
61
|
+
Parameters: {"id"=>"593363170"}
|
62
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
63
|
+
Rendered users/_form.html.erb (3.0ms)
|
64
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.1ms)
|
65
|
+
|
66
|
+
|
67
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 16:41:03 -0700
|
68
|
+
Processing by UsersController#create as HTML
|
69
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
70
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
71
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00]]
|
72
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
73
|
+
Redirected to http://www.example.com/users/815823837
|
74
|
+
Completed 302 Found in 4ms
|
75
|
+
|
76
|
+
|
77
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 16:41:03 -0700
|
78
|
+
Processing by UsersController#show as HTML
|
79
|
+
Parameters: {"id"=>"815823837"}
|
80
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
81
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.1ms)
|
82
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
83
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
84
|
+
Processing by UsersController#create as HTML
|
85
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-22 23:41:03 UTC", "updated_at"=>"2011-10-22 23:41:03 UTC"}}
|
86
|
+
WARNING: Can't mass-assign protected attributes: id
|
87
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00], ["email", "kevin@gmail.com"], ["name", "Kevin"], ["settings", "---\nfb_share: true\ntw_share: true\n"], ["updated_at", Sat, 22 Oct 2011 23:41:03 UTC +00:00]]
|
89
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
90
|
+
Redirected to http://test.host/users/815823837
|
91
|
+
Completed 302 Found in 9ms
|
92
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
93
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
94
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
95
|
+
Processing by UsersController#destroy as HTML
|
96
|
+
Parameters: {"id"=>"593363170"}
|
97
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
98
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
99
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
100
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
101
|
+
Redirected to http://test.host/users
|
102
|
+
Completed 302 Found in 4ms
|
103
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
104
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
105
|
+
Processing by UsersController#edit as HTML
|
106
|
+
Parameters: {"id"=>"593363170"}
|
107
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
108
|
+
Rendered users/_form.html.erb (2.7ms)
|
109
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
110
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
111
|
+
Processing by UsersController#index as HTML
|
112
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" [0m
|
113
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)
|
114
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
115
|
+
Processing by UsersController#new as HTML
|
116
|
+
Rendered users/_form.html.erb (3.1ms)
|
117
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
118
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
119
|
+
Processing by UsersController#show as HTML
|
120
|
+
Parameters: {"id"=>"593363170"}
|
121
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
122
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
123
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
124
|
+
Processing by UsersController#update as HTML
|
125
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-22 23:41:03 UTC", "updated_at"=>"2011-10-22 23:41:03 UTC"}, "id"=>"593363170"}
|
126
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
127
|
+
WARNING: Can't mass-assign protected attributes: id
|
128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
129
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "settings" = '---
|
130
|
+
fb_share: true
|
131
|
+
tw_share: true
|
132
|
+
', "updated_at" = '2011-10-22 23:41:03.884001' WHERE "users"."id" = 593363170
|
133
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
134
|
+
Redirected to http://test.host/users/593363170
|
135
|
+
Completed 302 Found in 6ms
|
136
|
+
Processing by MainController#index as HTML
|
137
|
+
Rendered main/index.html.erb within layouts/application (10.3ms)
|
138
|
+
Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.0ms)
|
139
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "users"[0m
|
140
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '---
|
141
|
+
:fb_share: true
|
142
|
+
:tw_share: true
|
143
|
+
', '2011-10-22 23:44:21', '2011-10-22 23:44:21', 593363170)
|
144
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '2011-10-22 23:44:21', '2011-10-22 23:44:21', 815823836)[0m
|
145
|
+
|
146
|
+
|
147
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-10-22 16:44:21 -0700
|
148
|
+
Processing by UsersController#new as HTML
|
149
|
+
Rendered users/_form.html.erb (8.7ms)
|
150
|
+
Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.0ms)
|
151
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
152
|
+
|
153
|
+
|
154
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 16:44:21 -0700
|
155
|
+
Processing by UsersController#create as HTML
|
156
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
158
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00]]
|
159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
160
|
+
Redirected to http://www.example.com/users/815823837
|
161
|
+
Completed 302 Found in 61ms
|
162
|
+
|
163
|
+
|
164
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 16:44:21 -0700
|
165
|
+
Processing by UsersController#show as HTML
|
166
|
+
Parameters: {"id"=>"815823837"}
|
167
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
168
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
170
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00]]
|
171
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
172
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
173
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n"], ["updated_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00]]
|
174
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
175
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
176
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "updated_at" = '2011-10-22 23:44:21.857090', "settings" = '---
|
177
|
+
:fb_share: true
|
178
|
+
:tw_share: true
|
179
|
+
' WHERE "users"."id" = 815823837
|
180
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
181
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
182
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
183
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n"], ["updated_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00]]
|
184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
186
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "updated_at" = '2011-10-22 23:44:21.861784', "settings" = '---
|
187
|
+
:fb_share: false
|
188
|
+
:tw_share: false
|
189
|
+
' WHERE "users"."id" = 815823837[0m
|
190
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
191
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
192
|
+
|
193
|
+
|
194
|
+
Started GET "/users/593363170/edit" for 127.0.0.1 at 2011-10-22 16:44:21 -0700
|
195
|
+
Processing by UsersController#edit as HTML
|
196
|
+
Parameters: {"id"=>"593363170"}
|
197
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
198
|
+
Rendered users/_form.html.erb (2.7ms)
|
199
|
+
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.1ms)
|
200
|
+
|
201
|
+
|
202
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 16:44:21 -0700
|
203
|
+
Processing by UsersController#create as HTML
|
204
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
205
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
206
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00]]
|
207
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
208
|
+
Redirected to http://www.example.com/users/815823837
|
209
|
+
Completed 302 Found in 4ms
|
210
|
+
|
211
|
+
|
212
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 16:44:21 -0700
|
213
|
+
Processing by UsersController#show as HTML
|
214
|
+
Parameters: {"id"=>"815823837"}
|
215
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
216
|
+
Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
|
217
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
218
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
219
|
+
Processing by UsersController#create as HTML
|
220
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-22 23:44:21 UTC", "updated_at"=>"2011-10-22 23:44:21 UTC"}}
|
221
|
+
WARNING: Can't mass-assign protected attributes: id
|
222
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
223
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00], ["email", "kevin@gmail.com"], ["name", "Kevin"], ["settings", "---\nfb_share: true\ntw_share: true\n"], ["updated_at", Sat, 22 Oct 2011 23:44:21 UTC +00:00]]
|
224
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
225
|
+
Redirected to http://test.host/users/815823837
|
226
|
+
Completed 302 Found in 6ms
|
227
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
228
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
229
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
230
|
+
Processing by UsersController#destroy as HTML
|
231
|
+
Parameters: {"id"=>"593363170"}
|
232
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
234
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
236
|
+
Redirected to http://test.host/users
|
237
|
+
Completed 302 Found in 6ms
|
238
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
239
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
240
|
+
Processing by UsersController#edit as HTML
|
241
|
+
Parameters: {"id"=>"593363170"}
|
242
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
243
|
+
Rendered users/_form.html.erb (2.4ms)
|
244
|
+
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms)
|
245
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
246
|
+
Processing by UsersController#index as HTML
|
247
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
248
|
+
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms)
|
249
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
250
|
+
Processing by UsersController#new as HTML
|
251
|
+
Rendered users/_form.html.erb (2.7ms)
|
252
|
+
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
253
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
254
|
+
Processing by UsersController#show as HTML
|
255
|
+
Parameters: {"id"=>"593363170"}
|
256
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
257
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
258
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
259
|
+
Processing by UsersController#update as HTML
|
260
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-22 23:44:21 UTC", "updated_at"=>"2011-10-22 23:44:21 UTC"}, "id"=>"593363170"}
|
261
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
262
|
+
WARNING: Can't mass-assign protected attributes: id
|
263
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
264
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "settings" = '---
|
265
|
+
fb_share: true
|
266
|
+
tw_share: true
|
267
|
+
', "updated_at" = '2011-10-22 23:44:21.956913' WHERE "users"."id" = 593363170
|
268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
269
|
+
Redirected to http://test.host/users/593363170
|
270
|
+
Completed 302 Found in 6ms
|
271
|
+
Processing by MainController#index as HTML
|
272
|
+
Rendered main/index.html.erb within layouts/application (16.9ms)
|
273
|
+
Completed 200 OK in 121ms (Views: 120.8ms | ActiveRecord: 0.0ms)
|
274
|
+
[1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "users"[0m
|
275
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '---
|
276
|
+
:fb_share: true
|
277
|
+
:tw_share: true
|
278
|
+
', '2011-10-23 00:02:36', '2011-10-23 00:02:36', 593363170)
|
279
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '2011-10-23 00:02:36', '2011-10-23 00:02:36', 815823836)[0m
|
280
|
+
|
281
|
+
|
282
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-10-22 17:02:36 -0700
|
283
|
+
Processing by UsersController#new as HTML
|
284
|
+
Rendered users/_form.html.erb (18.6ms)
|
285
|
+
Completed 200 OK in 57ms (Views: 51.2ms | ActiveRecord: 0.0ms)
|
286
|
+
[1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
287
|
+
|
288
|
+
|
289
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:02:36 -0700
|
290
|
+
Processing by UsersController#create as HTML
|
291
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
292
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
293
|
+
[1m[35mSQL (7.4ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00]]
|
294
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
295
|
+
Redirected to http://www.example.com/users/815823837
|
296
|
+
Completed 302 Found in 79ms
|
297
|
+
|
298
|
+
|
299
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:02:36 -0700
|
300
|
+
Processing by UsersController#show as HTML
|
301
|
+
Parameters: {"id"=>"815823837"}
|
302
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
303
|
+
Completed 200 OK in 11ms (Views: 5.9ms | ActiveRecord: 0.2ms)
|
304
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
305
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00]]
|
306
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
307
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
308
|
+
[1m[36mSQL (12.8ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n"], ["updated_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00]]
|
309
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
310
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
311
|
+
[1m[35m (9.1ms)[0m UPDATE "users" SET "updated_at" = '2011-10-23 00:02:36.853266', "settings" = '---
|
312
|
+
:fb_share: true
|
313
|
+
:tw_share: true
|
314
|
+
' WHERE "users"."id" = 815823837
|
315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
316
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
317
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
318
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00]]
|
319
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
321
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "users" SET "updated_at" = '2011-10-23 00:02:36.873446', "settings" = '---
|
322
|
+
:fb_share: false
|
323
|
+
:tw_share: false
|
324
|
+
' WHERE "users"."id" = 815823837[0m
|
325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
326
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
327
|
+
|
328
|
+
|
329
|
+
Started GET "/users/593363170/edit" for 127.0.0.1 at 2011-10-22 17:02:36 -0700
|
330
|
+
Processing by UsersController#edit as HTML
|
331
|
+
Parameters: {"id"=>"593363170"}
|
332
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
333
|
+
Rendered users/_form.html.erb (6.0ms)
|
334
|
+
Completed 200 OK in 16ms (Views: 12.1ms | ActiveRecord: 0.1ms)
|
335
|
+
|
336
|
+
|
337
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:02:36 -0700
|
338
|
+
Processing by UsersController#create as HTML
|
339
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
340
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
341
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00]]
|
342
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
343
|
+
Redirected to http://www.example.com/users/815823837
|
344
|
+
Completed 302 Found in 19ms
|
345
|
+
|
346
|
+
|
347
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:02:36 -0700
|
348
|
+
Processing by UsersController#show as HTML
|
349
|
+
Parameters: {"id"=>"815823837"}
|
350
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
351
|
+
Completed 200 OK in 12ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
352
|
+
[1m[36mUser Load (2.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
353
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
354
|
+
Processing by UsersController#create as HTML
|
355
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:02:36 UTC", "updated_at"=>"2011-10-23 00:02:36 UTC"}}
|
356
|
+
WARNING: Can't mass-assign protected attributes: id
|
357
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
358
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00], ["email", "kevin@gmail.com"], ["name", "Kevin"], ["settings", "---\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:02:36 UTC +00:00]]
|
359
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
360
|
+
Redirected to http://test.host/users/815823837
|
361
|
+
Completed 302 Found in 22ms
|
362
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
363
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
364
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
365
|
+
Processing by UsersController#destroy as HTML
|
366
|
+
Parameters: {"id"=>"593363170"}
|
367
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
368
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
369
|
+
[1m[36mSQL (0.7ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
370
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
371
|
+
Redirected to http://test.host/users
|
372
|
+
Completed 302 Found in 11ms
|
373
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
374
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
375
|
+
Processing by UsersController#edit as HTML
|
376
|
+
Parameters: {"id"=>"593363170"}
|
377
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
378
|
+
Rendered users/_form.html.erb (5.6ms)
|
379
|
+
Completed 200 OK in 129ms (Views: 126.6ms | ActiveRecord: 0.1ms)
|
380
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
381
|
+
Processing by UsersController#index as HTML
|
382
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
383
|
+
Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.2ms)
|
384
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
385
|
+
Processing by UsersController#new as HTML
|
386
|
+
Rendered users/_form.html.erb (4.6ms)
|
387
|
+
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
388
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
389
|
+
Processing by UsersController#show as HTML
|
390
|
+
Parameters: {"id"=>"593363170"}
|
391
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
392
|
+
Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.1ms)
|
393
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
394
|
+
Processing by UsersController#update as HTML
|
395
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:02:36 UTC", "updated_at"=>"2011-10-23 00:02:36 UTC"}, "id"=>"593363170"}
|
396
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
397
|
+
WARNING: Can't mass-assign protected attributes: id
|
398
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
399
|
+
[1m[35m (0.5ms)[0m UPDATE "users" SET "settings" = '---
|
400
|
+
fb_share: true
|
401
|
+
tw_share: true
|
402
|
+
', "updated_at" = '2011-10-23 00:02:37.235434' WHERE "users"."id" = 593363170
|
403
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
404
|
+
Redirected to http://test.host/users/593363170
|
405
|
+
Completed 302 Found in 23ms
|
406
|
+
Processing by MainController#index as HTML
|
407
|
+
Rendered main/index.html.erb within layouts/application (23.1ms)
|
408
|
+
Completed 200 OK in 92ms (Views: 90.5ms | ActiveRecord: 0.0ms)
|
409
|
+
[1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "users"[0m
|
410
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '---
|
411
|
+
:fb_share: true
|
412
|
+
:tw_share: true
|
413
|
+
', '2011-10-23 00:10:38', '2011-10-23 00:10:38', 593363170)
|
414
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'kevin@gmail.com', '2011-10-23 00:10:38', '2011-10-23 00:10:38', 815823836)[0m
|
415
|
+
|
416
|
+
|
417
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-10-22 17:10:38 -0700
|
418
|
+
Processing by UsersController#new as HTML
|
419
|
+
Rendered users/_form.html.erb (22.5ms)
|
420
|
+
Completed 200 OK in 58ms (Views: 56.1ms | ActiveRecord: 0.0ms)
|
421
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
422
|
+
|
423
|
+
|
424
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:10:38 -0700
|
425
|
+
Processing by UsersController#create as HTML
|
426
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
427
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
428
|
+
[1m[35mSQL (7.1ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:10:38 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:10:38 UTC +00:00]]
|
429
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
430
|
+
Redirected to http://www.example.com/users/815823837
|
431
|
+
Completed 302 Found in 172ms
|
432
|
+
|
433
|
+
|
434
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:10:38 -0700
|
435
|
+
Processing by UsersController#show as HTML
|
436
|
+
Parameters: {"id"=>"815823837"}
|
437
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
438
|
+
Completed 200 OK in 21ms (Views: 16.7ms | ActiveRecord: 0.2ms)
|
439
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
440
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:10:38 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:10:38 UTC +00:00]]
|
441
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
442
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
443
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 23 Oct 2011 00:10:39 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n"], ["updated_at", Sun, 23 Oct 2011 00:10:39 UTC +00:00]]
|
444
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
445
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
446
|
+
[1m[35m (0.9ms)[0m UPDATE "users" SET "updated_at" = '2011-10-23 00:10:39.029256', "settings" = '---
|
447
|
+
:fb_share: true
|
448
|
+
:tw_share: true
|
449
|
+
' WHERE "users"."id" = 815823837
|
450
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
451
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
453
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:10:39 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:10:39 UTC +00:00]]
|
454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
455
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
456
|
+
[1m[36m (0.8ms)[0m [1mUPDATE "users" SET "updated_at" = '2011-10-23 00:10:39.064732', "settings" = '---
|
457
|
+
:fb_share: false
|
458
|
+
:tw_share: false
|
459
|
+
' WHERE "users"."id" = 815823837[0m
|
460
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
461
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
462
|
+
|
463
|
+
|
464
|
+
Started GET "/users/593363170/edit" for 127.0.0.1 at 2011-10-22 17:10:39 -0700
|
465
|
+
Processing by UsersController#edit as HTML
|
466
|
+
Parameters: {"id"=>"593363170"}
|
467
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
468
|
+
Rendered users/_form.html.erb (10.8ms)
|
469
|
+
Completed 200 OK in 35ms (Views: 30.3ms | ActiveRecord: 0.2ms)
|
470
|
+
|
471
|
+
|
472
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:10:39 -0700
|
473
|
+
Processing by UsersController#create as HTML
|
474
|
+
Parameters: {"name"=>"Kevin", "email"=>"kevin@gmail.com", "fb_share"=>"0", "tw_share"=>"0"}
|
475
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
476
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:10:39 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:10:39 UTC +00:00]]
|
477
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
478
|
+
Redirected to http://www.example.com/users/815823837
|
479
|
+
Completed 302 Found in 10ms
|
480
|
+
|
481
|
+
|
482
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:10:39 -0700
|
483
|
+
Processing by UsersController#show as HTML
|
484
|
+
Parameters: {"id"=>"815823837"}
|
485
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
486
|
+
Completed 200 OK in 28ms (Views: 22.6ms | ActiveRecord: 0.1ms)
|
487
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
488
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
489
|
+
Processing by UsersController#create as HTML
|
490
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:10:38 UTC", "updated_at"=>"2011-10-23 00:10:38 UTC"}}
|
491
|
+
WARNING: Can't mass-assign protected attributes: id
|
492
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
493
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:10:38 UTC +00:00], ["email", "kevin@gmail.com"], ["name", "Kevin"], ["settings", "---\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:10:38 UTC +00:00]]
|
494
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
495
|
+
Redirected to http://test.host/users/815823837
|
496
|
+
Completed 302 Found in 13ms
|
497
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
498
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
499
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
500
|
+
Processing by UsersController#destroy as HTML
|
501
|
+
Parameters: {"id"=>"593363170"}
|
502
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
503
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
504
|
+
[1m[36mSQL (0.6ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
505
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
506
|
+
Redirected to http://test.host/users
|
507
|
+
Completed 302 Found in 8ms
|
508
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
509
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
510
|
+
Processing by UsersController#edit as HTML
|
511
|
+
Parameters: {"id"=>"593363170"}
|
512
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
513
|
+
Rendered users/_form.html.erb (8.5ms)
|
514
|
+
Completed 200 OK in 18ms (Views: 15.0ms | ActiveRecord: 0.1ms)
|
515
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
516
|
+
Processing by UsersController#index as HTML
|
517
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
518
|
+
Completed 200 OK in 16ms (Views: 12.5ms | ActiveRecord: 0.2ms)
|
519
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
520
|
+
Processing by UsersController#new as HTML
|
521
|
+
Rendered users/_form.html.erb (5.5ms)
|
522
|
+
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
523
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
524
|
+
Processing by UsersController#show as HTML
|
525
|
+
Parameters: {"id"=>"593363170"}
|
526
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
527
|
+
Completed 200 OK in 16ms (Views: 11.4ms | ActiveRecord: 0.1ms)
|
528
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
529
|
+
Processing by UsersController#update as HTML
|
530
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"kevin@gmail.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:10:38 UTC", "updated_at"=>"2011-10-23 00:10:38 UTC"}, "id"=>"593363170"}
|
531
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
532
|
+
WARNING: Can't mass-assign protected attributes: id
|
533
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
534
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "settings" = '---
|
535
|
+
fb_share: true
|
536
|
+
tw_share: true
|
537
|
+
', "updated_at" = '2011-10-23 00:10:39.538525' WHERE "users"."id" = 593363170
|
538
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
539
|
+
Redirected to http://test.host/users/593363170
|
540
|
+
Completed 302 Found in 12ms
|
541
|
+
Processing by MainController#index as HTML
|
542
|
+
Rendered main/index.html.erb within layouts/application (11.1ms)
|
543
|
+
Completed 200 OK in 52ms (Views: 51.0ms | ActiveRecord: 0.0ms)
|
544
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "users"[0m
|
545
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
|
546
|
+
:fb_share: true
|
547
|
+
:tw_share: true
|
548
|
+
', '2011-10-23 00:18:51', '2011-10-23 00:18:51', 593363170)
|
549
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2011-10-23 00:18:51', '2011-10-23 00:18:51', 815823836)[0m
|
550
|
+
|
551
|
+
|
552
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-10-22 17:18:51 -0700
|
553
|
+
Processing by UsersController#new as HTML
|
554
|
+
Rendered users/_form.html.erb (10.9ms)
|
555
|
+
Completed 200 OK in 29ms (Views: 27.7ms | ActiveRecord: 0.0ms)
|
556
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
557
|
+
|
558
|
+
|
559
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:18:51 -0700
|
560
|
+
Processing by UsersController#create as HTML
|
561
|
+
Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0"}
|
562
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
563
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00]]
|
564
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
565
|
+
Redirected to http://www.example.com/users/815823837
|
566
|
+
Completed 302 Found in 86ms
|
567
|
+
|
568
|
+
|
569
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:18:51 -0700
|
570
|
+
Processing by UsersController#show as HTML
|
571
|
+
Parameters: {"id"=>"815823837"}
|
572
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
573
|
+
Completed 200 OK in 19ms (Views: 16.5ms | ActiveRecord: 0.1ms)
|
574
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
575
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00]]
|
576
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
577
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
578
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n"], ["updated_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00]]
|
579
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
580
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
581
|
+
[1m[35m (0.5ms)[0m UPDATE "users" SET "updated_at" = '2011-10-23 00:18:51.835716', "settings" = '---
|
582
|
+
:fb_share: true
|
583
|
+
:tw_share: true
|
584
|
+
' WHERE "users"."id" = 815823837
|
585
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
586
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
587
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
588
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00]]
|
589
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
590
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
591
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "updated_at" = '2011-10-23 00:18:51.842600', "settings" = '---
|
592
|
+
:fb_share: false
|
593
|
+
:tw_share: false
|
594
|
+
' WHERE "users"."id" = 815823837[0m
|
595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
596
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
597
|
+
|
598
|
+
|
599
|
+
Started GET "/users/593363170/edit" for 127.0.0.1 at 2011-10-22 17:18:51 -0700
|
600
|
+
Processing by UsersController#edit as HTML
|
601
|
+
Parameters: {"id"=>"593363170"}
|
602
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
603
|
+
Rendered users/_form.html.erb (3.9ms)
|
604
|
+
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.1ms)
|
605
|
+
|
606
|
+
|
607
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:18:51 -0700
|
608
|
+
Processing by UsersController#create as HTML
|
609
|
+
Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0"}
|
610
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
611
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00]]
|
612
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
613
|
+
Redirected to http://www.example.com/users/815823837
|
614
|
+
Completed 302 Found in 6ms
|
615
|
+
|
616
|
+
|
617
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:18:51 -0700
|
618
|
+
Processing by UsersController#show as HTML
|
619
|
+
Parameters: {"id"=>"815823837"}
|
620
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
621
|
+
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.1ms)
|
622
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
623
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
624
|
+
Processing by UsersController#create as HTML
|
625
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:18:51 UTC", "updated_at"=>"2011-10-23 00:18:51 UTC"}}
|
626
|
+
WARNING: Can't mass-assign protected attributes: id
|
627
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
628
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "---\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:18:51 UTC +00:00]]
|
629
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
630
|
+
Redirected to http://test.host/users/815823837
|
631
|
+
Completed 302 Found in 10ms
|
632
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
633
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
634
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "users"
|
635
|
+
Processing by UsersController#destroy as HTML
|
636
|
+
Parameters: {"id"=>"593363170"}
|
637
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
638
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
639
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
640
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
641
|
+
Redirected to http://test.host/users
|
642
|
+
Completed 302 Found in 4ms
|
643
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
644
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
645
|
+
Processing by UsersController#edit as HTML
|
646
|
+
Parameters: {"id"=>"593363170"}
|
647
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
648
|
+
Rendered users/_form.html.erb (5.1ms)
|
649
|
+
Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.1ms)
|
650
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
651
|
+
Processing by UsersController#index as HTML
|
652
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
653
|
+
Completed 200 OK in 15ms (Views: 9.2ms | ActiveRecord: 0.2ms)
|
654
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
655
|
+
Processing by UsersController#new as HTML
|
656
|
+
Rendered users/_form.html.erb (3.3ms)
|
657
|
+
Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
658
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
659
|
+
Processing by UsersController#show as HTML
|
660
|
+
Parameters: {"id"=>"593363170"}
|
661
|
+
[1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
662
|
+
Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 1.0ms)
|
663
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
664
|
+
Processing by UsersController#update as HTML
|
665
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:18:51 UTC", "updated_at"=>"2011-10-23 00:18:51 UTC"}, "id"=>"593363170"}
|
666
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
667
|
+
WARNING: Can't mass-assign protected attributes: id
|
668
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
669
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "settings" = '---
|
670
|
+
fb_share: true
|
671
|
+
tw_share: true
|
672
|
+
', "updated_at" = '2011-10-23 00:18:51.990129' WHERE "users"."id" = 593363170
|
673
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
674
|
+
Redirected to http://test.host/users/593363170
|
675
|
+
Completed 302 Found in 10ms
|
676
|
+
Processing by MainController#index as HTML
|
677
|
+
Rendered main/index.html.erb within layouts/application (26.0ms)
|
678
|
+
Completed 200 OK in 128ms (Views: 116.0ms | ActiveRecord: 0.0ms)
|
679
|
+
Processing by MainController#index as HTML
|
680
|
+
Rendered main/index.html.erb within layouts/application (14.0ms)
|
681
|
+
Completed 200 OK in 106ms (Views: 96.0ms | ActiveRecord: 0.0ms)
|
682
|
+
Processing by MainController#index as HTML
|
683
|
+
Rendered main/index.html.erb within layouts/application (18.0ms)
|
684
|
+
Completed 200 OK in 103ms (Views: 90.0ms | ActiveRecord: 0.0ms)
|
685
|
+
Processing by MainController#index as HTML
|
686
|
+
Rendered main/index.html.erb within layouts/application (12.0ms)
|
687
|
+
Completed 200 OK in 100ms (Views: 77.0ms | ActiveRecord: 0.0ms)
|
688
|
+
Processing by MainController#index as HTML
|
689
|
+
Rendered main/index.html.erb within layouts/application (23.4ms)
|
690
|
+
Completed 200 OK in 165ms (Views: 164.3ms | ActiveRecord: 0.0ms)
|
691
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "users"[0m
|
692
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
|
693
|
+
:fb_share: true
|
694
|
+
:tw_share: true
|
695
|
+
', '2011-10-23 00:56:34', '2011-10-23 00:56:34', 593363170)
|
696
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2011-10-23 00:56:34', '2011-10-23 00:56:34', 815823836)[0m
|
697
|
+
|
698
|
+
|
699
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-10-22 17:56:34 -0700
|
700
|
+
Processing by UsersController#new as HTML
|
701
|
+
Rendered users/_form.html.erb (21.0ms)
|
702
|
+
Completed 200 OK in 84ms (Views: 79.8ms | ActiveRecord: 0.0ms)
|
703
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
704
|
+
|
705
|
+
|
706
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:56:34 -0700
|
707
|
+
Processing by UsersController#create as HTML
|
708
|
+
Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0"}
|
709
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
710
|
+
[1m[35mSQL (12.4ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:56:34 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:56:34 UTC +00:00]]
|
711
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
712
|
+
Redirected to http://www.example.com/users/815823837
|
713
|
+
Completed 302 Found in 105ms
|
714
|
+
|
715
|
+
|
716
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:56:35 -0700
|
717
|
+
Processing by UsersController#show as HTML
|
718
|
+
Parameters: {"id"=>"815823837"}
|
719
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
720
|
+
Completed 200 OK in 16ms (Views: 12.7ms | ActiveRecord: 0.1ms)
|
721
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
722
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00]]
|
723
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
724
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
725
|
+
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: false\n:tw_share: false\n"], ["updated_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00]]
|
726
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
727
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
728
|
+
[1m[35m (0.6ms)[0m UPDATE "users" SET "updated_at" = '2011-10-23 00:56:35.064703', "settings" = '---
|
729
|
+
:fb_share: true
|
730
|
+
:tw_share: true
|
731
|
+
' WHERE "users"."id" = 815823837
|
732
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
733
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 815823836]]
|
734
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
735
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00]]
|
736
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
737
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
738
|
+
[1m[36m (2.4ms)[0m [1mUPDATE "users" SET "updated_at" = '2011-10-23 00:56:35.082141', "settings" = '---
|
739
|
+
:fb_share: false
|
740
|
+
:tw_share: false
|
741
|
+
' WHERE "users"."id" = 815823837[0m
|
742
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
743
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
744
|
+
|
745
|
+
|
746
|
+
Started GET "/users/593363170/edit" for 127.0.0.1 at 2011-10-22 17:56:35 -0700
|
747
|
+
Processing by UsersController#edit as HTML
|
748
|
+
Parameters: {"id"=>"593363170"}
|
749
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
750
|
+
Rendered users/_form.html.erb (8.3ms)
|
751
|
+
Completed 200 OK in 24ms (Views: 18.5ms | ActiveRecord: 0.1ms)
|
752
|
+
|
753
|
+
|
754
|
+
Started POST "/users" for 127.0.0.1 at 2011-10-22 17:56:35 -0700
|
755
|
+
Processing by UsersController#create as HTML
|
756
|
+
Parameters: {"name"=>"Kevin", "email"=>"info@example.com", "fb_share"=>"0", "tw_share"=>"0"}
|
757
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
758
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00], ["email", nil], ["name", nil], ["settings", "--- {}\n"], ["updated_at", Sun, 23 Oct 2011 00:56:35 UTC +00:00]]
|
759
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
760
|
+
Redirected to http://www.example.com/users/815823837
|
761
|
+
Completed 302 Found in 8ms
|
762
|
+
|
763
|
+
|
764
|
+
Started GET "/users/815823837" for 127.0.0.1 at 2011-10-22 17:56:35 -0700
|
765
|
+
Processing by UsersController#show as HTML
|
766
|
+
Parameters: {"id"=>"815823837"}
|
767
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "815823837"]]
|
768
|
+
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.1ms)
|
769
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
770
|
+
[1m[35m (1.4ms)[0m SELECT COUNT(*) FROM "users"
|
771
|
+
Processing by UsersController#create as HTML
|
772
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:56:34 UTC", "updated_at"=>"2011-10-23 00:56:34 UTC"}}
|
773
|
+
WARNING: Can't mass-assign protected attributes: id
|
774
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
775
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 23 Oct 2011 00:56:34 UTC +00:00], ["email", "info@example.com"], ["name", "Kevin"], ["settings", "---\nfb_share: true\ntw_share: true\n"], ["updated_at", Sun, 23 Oct 2011 00:56:34 UTC +00:00]]
|
776
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
777
|
+
Redirected to http://test.host/users/815823837
|
778
|
+
Completed 302 Found in 24ms
|
779
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
780
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
781
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "users"
|
782
|
+
Processing by UsersController#destroy as HTML
|
783
|
+
Parameters: {"id"=>"593363170"}
|
784
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
785
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
786
|
+
[1m[36mSQL (1.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 593363170]]
|
787
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
788
|
+
Redirected to http://test.host/users
|
789
|
+
Completed 302 Found in 130ms
|
790
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "users" [0m
|
791
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
792
|
+
Processing by UsersController#edit as HTML
|
793
|
+
Parameters: {"id"=>"593363170"}
|
794
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", "593363170"]]
|
795
|
+
Rendered users/_form.html.erb (5.5ms)
|
796
|
+
Completed 200 OK in 15ms (Views: 11.5ms | ActiveRecord: 0.1ms)
|
797
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
798
|
+
Processing by UsersController#index as HTML
|
799
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" [0m
|
800
|
+
Completed 200 OK in 23ms (Views: 20.0ms | ActiveRecord: 0.2ms)
|
801
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 593363170]]
|
802
|
+
Processing by UsersController#new as HTML
|
803
|
+
Rendered users/_form.html.erb (7.1ms)
|
804
|
+
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms)
|
805
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
806
|
+
Processing by UsersController#show as HTML
|
807
|
+
Parameters: {"id"=>"593363170"}
|
808
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
809
|
+
Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 0.1ms)
|
810
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 593363170]]
|
811
|
+
Processing by UsersController#update as HTML
|
812
|
+
Parameters: {"user"=>{"id"=>"593363170", "name"=>"Kevin", "email"=>"info@example.com", "settings"=>{"fb_share"=>true, "tw_share"=>true}, "created_at"=>"2011-10-23 00:56:34 UTC", "updated_at"=>"2011-10-23 00:56:34 UTC"}, "id"=>"593363170"}
|
813
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "593363170"]]
|
814
|
+
WARNING: Can't mass-assign protected attributes: id
|
815
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
816
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "settings" = '---
|
817
|
+
fb_share: true
|
818
|
+
tw_share: true
|
819
|
+
', "updated_at" = '2011-10-23 00:56:35.463520' WHERE "users"."id" = 593363170
|
820
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
821
|
+
Redirected to http://test.host/users/593363170
|
822
|
+
Completed 302 Found in 10ms
|
823
|
+
Processing by MainController#index as HTML
|
824
|
+
Rendered main/index.html.erb within layouts/application (17.0ms)
|
825
|
+
Completed 200 OK in 114ms (Views: 99.0ms | ActiveRecord: 0.0ms)
|