serializer 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. data/LICENSE +1 -1
  2. data/README.rdoc +4 -2
  3. data/Rakefile +2 -9
  4. data/lib/serializer/version.rb +1 -1
  5. data/test/dummy/app/models/account.rb +7 -0
  6. data/test/dummy/app/models/user.rb +2 -0
  7. data/test/dummy/app/views/layouts/application.html.haml +9 -0
  8. data/test/dummy/app/views/main/index.html.haml +3 -0
  9. data/test/dummy/app/views/users/_fields.html.haml +18 -0
  10. data/test/dummy/app/views/users/_form.html.haml +11 -0
  11. data/test/dummy/app/views/users/_user.html.haml +10 -0
  12. data/test/dummy/app/views/users/edit.html.haml +4 -0
  13. data/test/dummy/app/views/users/index.html.haml +17 -0
  14. data/test/dummy/app/views/users/new.html.haml +3 -0
  15. data/test/dummy/app/views/users/show.html.haml +5 -0
  16. data/test/dummy/config/routes.rb +2 -2
  17. data/test/dummy/db/development.sqlite3 +0 -0
  18. data/test/dummy/db/migrate/20110927222742_create_users.rb +1 -0
  19. data/test/dummy/db/migrate/20120731074843_create_accounts.rb +9 -0
  20. data/test/dummy/db/production.sqlite3 +0 -0
  21. data/test/dummy/db/schema.rb +10 -3
  22. data/test/dummy/db/test.sqlite3 +0 -0
  23. data/test/dummy/log/development.log +2314 -153
  24. data/test/dummy/log/test.log +14458 -1698
  25. data/test/dummy/test/fixtures/accounts.yml +2 -0
  26. data/test/dummy/test/fixtures/users.yml +1 -0
  27. data/test/dummy/test/functional/users_controller_test.rb +1 -0
  28. data/test/dummy/test/unit/account_test.rb +17 -0
  29. data/test/dummy/tmp/cache/assets/C36/B50/sprockets%2F5e8353089687a8324957248c12a6ea87 +0 -0
  30. data/test/dummy/tmp/cache/assets/C63/7C0/sprockets%2F951340282b11ba35a865d4e04300b3a8 +0 -0
  31. data/test/dummy/tmp/cache/assets/{D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4 → C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212} +0 -0
  32. data/test/dummy/tmp/cache/assets/CAA/620/sprockets%2F87b209c0c9da28094a8d5581a21262c6 +0 -0
  33. data/test/dummy/tmp/cache/assets/{CFB/150/sprockets%2Ff5209763c82e66ecdff0f9583166f557 → CB9/B60/sprockets%2Fe7b839a0806e5c20e5018197f56cd656} +0 -0
  34. data/test/dummy/tmp/cache/assets/{D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 → CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953} +0 -0
  35. data/test/dummy/tmp/cache/assets/CD8/B70/sprockets%2F4050a4e5062ab95c9f32e9b6940821ea +0 -0
  36. data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  37. data/test/dummy/tmp/cache/assets/D06/B40/sprockets%2F25fca4643219052b0d5c66cf2c71f72f +0 -0
  38. data/test/dummy/tmp/cache/assets/D13/FD0/sprockets%2F8d733d18e3095c053f81f78d4a422afd +0 -0
  39. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  40. data/test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124 +0 -0
  41. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  42. data/test/dummy/tmp/cache/assets/D52/D30/sprockets%2Fb1b780ccf384149569ceb76ee7bd5639 +0 -0
  43. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  44. data/test/dummy/tmp/cache/assets/D65/FC0/sprockets%2F650c155de4459a33bb5cc75d0cabc738 +0 -0
  45. data/test/dummy/tmp/cache/assets/D67/250/sprockets%2F2b4acc4bbcc24118e7707c269738f0bf +0 -0
  46. data/test/dummy/tmp/cache/assets/D67/B60/sprockets%2F5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
  47. data/test/dummy/tmp/cache/assets/D73/9B0/sprockets%2Ff6eeb33602682bd6ff6d1f177f6b142d +0 -0
  48. data/test/dummy/tmp/cache/assets/{D2F/290/sprockets%2Fd5c244ec777cb5719f86d085df9f8816 → D76/4D0/sprockets%2F8a096b6dd59bfda3e461617a95524eaf} +0 -0
  49. data/test/dummy/tmp/cache/assets/DA7/530/sprockets%2Fe36b8fcf5914a3a6bf058abfe7367b19 +0 -0
  50. data/test/dummy/tmp/cache/assets/DB7/6C0/sprockets%2F386e9196dd0f9efdce6f92ce93a6d107 +0 -0
  51. data/test/dummy/tmp/cache/assets/DBA/C70/sprockets%2F393a0a1b56d0da607ff53aa2fdb9ec31 +0 -0
  52. data/test/dummy/tmp/cache/assets/DC8/3B0/sprockets%2F0949dcec3ad4d7d2733ad5b523aeb7d4 +0 -0
  53. data/test/dummy/tmp/cache/assets/{D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 → DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994} +0 -0
  54. data/test/dummy/tmp/cache/assets/{CF7/670/sprockets%2F00b214e322c484fcc1555dafaa240947 → DE1/6A0/sprockets%2Fcae9aba95894da8a28fa8a5387dc565f} +0 -0
  55. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  56. data/test/dummy/tmp/cache/assets/{D6B/5D0/sprockets%2F48da0deeef45ff0cac611596e0774114 → E1D/010/sprockets%2Fdffad412d86bfdfbb1f307d711da21d3} +0 -0
  57. metadata +88 -44
  58. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  59. data/test/dummy/app/views/main/index.html.erb +0 -5
  60. data/test/dummy/app/views/users/_form.html.erb +0 -46
  61. data/test/dummy/app/views/users/edit.html.erb +0 -6
  62. data/test/dummy/app/views/users/index.html.erb +0 -25
  63. data/test/dummy/app/views/users/new.html.erb +0 -5
  64. data/test/dummy/app/views/users/show.html.erb +0 -24
  65. data/test/dummy/tmp/cache/assets/CDF/070/sprockets%2F70e3c8a3916622c17858d520dcee0d92 +0 -0
  66. data/test/dummy/tmp/cache/assets/D11/430/sprockets%2F25ea8d6063b1eb98361b1196f2fce807 +0 -10
  67. data/test/dummy/tmp/cache/assets/D24/5A0/sprockets%2F3a89b583dd80975d1e0968e730de5bc9 +0 -0
  68. data/test/dummy/tmp/cache/assets/D73/220/sprockets%2F3dbc0a37f98fb43ec819b85a64d32c55 +0 -10
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 - 2011 Kevin Sylvestre
1
+ Copyright (c) 2010 - 2013 Kevin Sylvestre
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -56,8 +56,10 @@ View:
56
56
 
57
57
  == Status
58
58
 
59
- {<img src="http://travis-ci.org/ksylvest/serializer.png" />}[http://travis-ci.org/ksylvest/serializer]
59
+ {<img src="https://travis-ci.org/ksylvest/serializer.png" />}[https://travis-ci.org/ksylvest/serializer]
60
+ {<img src="https://codeclimate.com/badge.png"}[https://codeclimate.com/github/ksylvest/serializer]
61
+
60
62
 
61
63
  == Copyright
62
64
 
63
- Copyright (c) 2010 - 2011 Kevin Sylvestre. See LICENSE for details.
65
+ Copyright (c) 2010 - 2013 Kevin Sylvestre. See LICENSE for details.
data/Rakefile CHANGED
@@ -1,20 +1,13 @@
1
1
  #!/usr/bin/env rake
2
2
 
3
+ require 'appraisal'
4
+
3
5
  require 'bundler'
4
6
 
5
- require 'rdoc/task'
6
7
  require 'rake/testtask'
7
8
 
8
9
  Bundler::GemHelper.install_tasks
9
10
 
10
- RDoc::Task.new(:rdoc) do |rdoc|
11
- rdoc.rdoc_dir = 'rdoc'
12
- rdoc.title = 'Serializer'
13
- rdoc.options << '--line-numbers'
14
- rdoc.rdoc_files.include('README.rdoc')
15
- rdoc.rdoc_files.include('lib/**/*.rb')
16
- end
17
-
18
11
  Rake::TestTask.new(:test) do |t|
19
12
  t.libs << 'lib'
20
13
  t.libs << 'test'
@@ -1,3 +1,3 @@
1
1
  module Serializer
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -0,0 +1,7 @@
1
+ class Account < ActiveRecord::Base
2
+
3
+ has_one :user
4
+
5
+ accepts_nested_attributes_for :user
6
+
7
+ end
@@ -1,5 +1,7 @@
1
1
  class User < ActiveRecord::Base
2
2
 
3
+ belongs_to :account
4
+
3
5
  has_serialized :settings do |settings|
4
6
  settings.define :tw_share, :default => true, :type => :boolean
5
7
  settings.define :fb_share, :default => true, :type => :boolean
@@ -0,0 +1,9 @@
1
+ !!!
2
+ %html
3
+ %head
4
+ %title Serializer
5
+ = stylesheet_link_tag "application"
6
+ = javascript_include_tag "application"
7
+ = csrf_meta_tags
8
+ %body
9
+ = yield
@@ -0,0 +1,3 @@
1
+ %h1 Serializer
2
+ %ul
3
+ %li= link_to 'Users', users_path
@@ -0,0 +1,18 @@
1
+ .field
2
+ = f.label :name, "Name:"
3
+ = f.text_field :name
4
+ .field
5
+ = f.label :email, "Email:"
6
+ = f.text_field :email
7
+ .field
8
+ = f.check_box :fb_share
9
+ = f.label :fb_share, "FB Share"
10
+ .field
11
+ = f.check_box :tw_share
12
+ = f.label :tw_share, "TW Share"
13
+ .field
14
+ = f.radio_button :tb_share, true
15
+ = f.label :tb_share_true, "Enable Tumblr Share"
16
+ .field
17
+ = f.radio_button :tb_share, false
18
+ = f.label :tb_share_false, "Disable Tumblr Share"
@@ -0,0 +1,11 @@
1
+ = form_for(@user) do |f|
2
+ - if @user.errors.any?
3
+ %p
4
+ = pluralize(@user.errors.count, "error")
5
+ prohibited this user from being saved:
6
+ %ul
7
+ - @user.errors.each do |attribute, message|
8
+ %li= "#{attribute} : #{message}"
9
+ = render 'fields', :f => f
10
+ .actions
11
+ = f.submit
@@ -0,0 +1,10 @@
1
+ %p
2
+ %b Name:
3
+ = user.name
4
+ %p
5
+ %b Email:
6
+ = user.email
7
+ - if user.fb_share?
8
+ %p FB Share
9
+ - if user.tw_share?
10
+ %p TW Share
@@ -0,0 +1,4 @@
1
+ %h1 Edit
2
+ = render 'form'
3
+ = link_to 'Show', @user
4
+ = link_to 'Back', users_path
@@ -0,0 +1,17 @@
1
+ %h1 Index
2
+ %table
3
+ %tr
4
+ %th Name
5
+ %th Email
6
+ %th
7
+ %th
8
+ %th
9
+ - @users.each do |user|
10
+ %tr
11
+ %td= user.name
12
+ %td= user.email
13
+ %td= link_to 'Show', user
14
+ %td= link_to 'Edit', edit_user_path(user)
15
+ %td= link_to 'Destroy', user, :data => { :confirm => 'Are you sure?' }, :method => :delete
16
+ %br
17
+ = link_to 'New User', new_user_path
@@ -0,0 +1,3 @@
1
+ %h1 New
2
+ = render 'form'
3
+ = link_to 'Back', users_path
@@ -0,0 +1,5 @@
1
+ %h1 Show
2
+ %p#notice= notice
3
+ = render 'user', :user => @user
4
+ = link_to 'Edit', edit_user_path(@user)
5
+ = link_to 'Back', users_path
@@ -1,7 +1,7 @@
1
1
  Dummy::Application.routes.draw do
2
2
 
3
3
  root :to => "main#index"
4
-
4
+
5
5
  resources :users
6
-
6
+
7
7
  end
@@ -1,6 +1,7 @@
1
1
  class CreateUsers < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :users do |t|
4
+ t.references :account
4
5
  t.string :name
5
6
  t.string :email
6
7
  t.text :settings
@@ -0,0 +1,9 @@
1
+ class CreateAccounts < ActiveRecord::Migration
2
+ def change
3
+ create_table :accounts do |t|
4
+ t.string :name
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
File without changes
@@ -11,14 +11,21 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20110927222742) do
14
+ ActiveRecord::Schema.define(:version => 20120731074843) do
15
+
16
+ create_table "accounts", :force => true do |t|
17
+ t.string "name"
18
+ t.datetime "created_at", :null => false
19
+ t.datetime "updated_at", :null => false
20
+ end
15
21
 
16
22
  create_table "users", :force => true do |t|
23
+ t.integer "account_id"
17
24
  t.string "name"
18
25
  t.string "email"
19
26
  t.text "settings"
20
- t.datetime "created_at"
21
- t.datetime "updated_at"
27
+ t.datetime "created_at", :null => false
28
+ t.datetime "updated_at", :null => false
22
29
  end
23
30
 
24
31
  end
Binary file
@@ -1,216 +1,2377 @@
1
-  (1.0ms) select sqlite_version(*)
2
-  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1
+ Connecting to database specified by database.yml
2
+  (2.3ms) select sqlite_version(*)
3
+  (1.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
4
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
5
+  (0.0ms) PRAGMA index_list("schema_migrations")
6
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
+  (0.1ms) SELECT version FROM "schema_migrations"
8
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
9
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
10
+  (0.1ms) select sqlite_version(*)
11
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
12
+  (0.1ms) PRAGMA index_list("schema_migrations")
13
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
14
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
15
+ Migrating to CreateUsers (20110927222742)
16
+  (0.0ms) begin transaction
17
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
18
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
19
+  (0.8ms) commit transaction
20
+  (0.7ms) select sqlite_version(*)
21
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
22
+  (0.0ms) PRAGMA index_list("users")
23
+ Connecting to database specified by database.yml
24
+
25
+
26
+ Started GET "/" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
27
+ Connecting to database specified by database.yml
28
+ Processing by MainController#index as HTML
29
+ Rendered main/index.html.erb within layouts/application (2.6ms)
30
+ Compiled main.css (0ms) (pid 39305)
31
+ Compiled scaffold.css (0ms) (pid 39305)
32
+ Compiled subscriptions.css (0ms) (pid 39305)
33
+ Compiled users.css (0ms) (pid 39305)
34
+ Compiled application.css (32ms) (pid 39305)
35
+ Compiled jquery.js (1ms) (pid 39305)
36
+ Compiled jquery_ujs.js (0ms) (pid 39305)
37
+ Compiled main.js (0ms) (pid 39305)
38
+ Compiled subscriptions.js (0ms) (pid 39305)
39
+ Compiled users.js (0ms) (pid 39305)
40
+ Compiled application.js (82ms) (pid 39305)
41
+ Completed 200 OK in 230ms (Views: 229.5ms | ActiveRecord: 0.0ms)
42
+
43
+
44
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
45
+ Served asset /application.css - 200 OK (11ms)
46
+
47
+
48
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
49
+ Served asset /main.css - 200 OK (2ms)
50
+
51
+
52
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
53
+ Served asset /scaffold.css - 200 OK (3ms)
54
+
55
+
56
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
57
+ Served asset /subscriptions.css - 200 OK (3ms)
58
+
59
+
60
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
61
+ Served asset /jquery.js - 200 OK (2ms)
62
+
63
+
64
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
65
+ Served asset /users.css - 200 OK (2ms)
66
+
67
+
68
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
69
+ Served asset /jquery_ujs.js - 200 OK (2ms)
70
+
71
+
72
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
73
+ Served asset /subscriptions.js - 200 OK (1ms)
74
+
75
+
76
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
77
+ Served asset /main.js - 200 OK (1ms)
78
+
79
+
80
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
81
+ Served asset /users.js - 200 OK (1ms)
82
+
83
+
84
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:49:03 -0700
85
+ Served asset /application.js - 200 OK (7ms)
86
+
87
+
88
+ Started GET "/users" for 127.0.0.1 at 2012-07-30 23:49:06 -0700
89
+ Processing by UsersController#index as HTML
90
+ User Load (0.5ms) SELECT "users".* FROM "users" 
91
+ Rendered users/index.html.erb within layouts/application (1.0ms)
92
+ Completed 200 OK in 64ms (Views: 6.8ms | ActiveRecord: 2.5ms)
93
+
94
+
95
+ Started GET "/" for 127.0.0.1 at 2012-07-30 23:53:03 -0700
96
+ Processing by MainController#index as HTML
97
+ Rendered main/index.html.erb within layouts/application (9.2ms)
98
+ Completed 500 Internal Server Error in 11ms
99
+
100
+ ActionView::Template::Error (undefined local variable or method `subscriptions_path' for #<#<Class:0x007fea9dbe0930>:0x007fea9d82d298>):
101
+ 2:
102
+ 3: <ul>
103
+ 4: <li><%= link_to 'Users', users_path %></li>
104
+ 5: <li><%= link_to 'Subscriptions', subscriptions_path %></li>
105
+ 6: </ul>
106
+ app/views/main/index.html.erb:5:in `_app_views_main_index_html_erb___3285520263550132932_70322820833440'
107
+ app/controllers/main_controller.rb:5:in `index'
108
+
109
+
110
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
111
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
112
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.9ms)
113
+
114
+
115
+ Started GET "/" for 127.0.0.1 at 2012-07-30 23:54:21 -0700
116
+ Processing by MainController#index as HTML
117
+ Rendered main/index.html.erb within layouts/application (32.9ms)
118
+ Completed 500 Internal Server Error in 35ms
119
+
120
+ ActionView::Template::Error (undefined local variable or method `subscriptions_path' for #<#<Class:0x007fea9dbe0930>:0x007fea9b084430>):
121
+ 2:
122
+ 3: <ul>
123
+ 4: <li><%= link_to 'Users', users_path %></li>
124
+ 5: <li><%= link_to 'Subscriptions', subscriptions_path %></li>
125
+ 6: </ul>
126
+ app/views/main/index.html.erb:5:in `_app_views_main_index_html_erb___3285520263550132932_70322820833440'
127
+ app/controllers/main_controller.rb:5:in `index'
128
+
129
+
130
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms)
131
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
132
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.6ms)
133
+
134
+
135
+ Started GET "/" for 127.0.0.1 at 2012-07-30 23:54:22 -0700
136
+ Processing by MainController#index as HTML
137
+ Rendered main/index.html.erb within layouts/application (5.5ms)
138
+ Completed 500 Internal Server Error in 7ms
139
+
140
+ ActionView::Template::Error (undefined local variable or method `subscriptions_path' for #<#<Class:0x007fea9dbe0930>:0x007fea9dba8738>):
141
+ 2:
142
+ 3: <ul>
143
+ 4: <li><%= link_to 'Users', users_path %></li>
144
+ 5: <li><%= link_to 'Subscriptions', subscriptions_path %></li>
145
+ 6: </ul>
146
+ app/views/main/index.html.erb:5:in `_app_views_main_index_html_erb___3285520263550132932_70322820833440'
147
+ app/controllers/main_controller.rb:5:in `index'
148
+
149
+
150
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
151
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
152
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.1ms)
153
+
154
+
155
+ Started GET "/" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
156
+ Processing by MainController#index as HTML
157
+ Rendered main/index.html.erb within layouts/application (0.6ms)
158
+ Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
159
+
160
+
161
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
162
+ Served asset /application.css - 304 Not Modified (0ms)
163
+
164
+
165
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
166
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
167
+
168
+
169
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
170
+ Served asset /main.css - 304 Not Modified (0ms)
171
+
172
+
173
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
174
+ Served asset /scaffold.css - 304 Not Modified (0ms)
175
+
176
+
177
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
178
+ Served asset /users.css - 304 Not Modified (0ms)
179
+
180
+
181
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
182
+ Served asset /jquery.js - 304 Not Modified (0ms)
183
+
184
+
185
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
186
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
187
+
188
+
189
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
190
+ Served asset /main.js - 304 Not Modified (0ms)
191
+
192
+
193
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
194
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
195
+
196
+
197
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
198
+ Served asset /application.js - 304 Not Modified (0ms)
199
+
200
+
201
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:30 -0700
202
+ Served asset /users.js - 304 Not Modified (0ms)
203
+
204
+
205
+ Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:54:32 -0700
206
+ Processing by SubscriptionsController#index as HTML
207
+ Completed 500 Internal Server Error in 4ms
208
+
209
+ ActiveRecord::StatementInvalid (Could not find table 'subscriptions'):
210
+ app/controllers/subscriptions_controller.rb:7:in `index'
211
+
212
+
213
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
214
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
215
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.8ms)
216
+ Connecting to database specified by database.yml
217
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
218
+ Migrating to CreateUsers (20110927222742)
219
+ Migrating to CreateSubscriptions (20120731064307)
220
+  (0.5ms) select sqlite_version(*)
221
+  (0.0ms) begin transaction
222
+  (0.5ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
223
+  (0.0ms) PRAGMA index_list("subscriptions")
224
+  (0.1ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
225
+  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120731064307')
226
+  (0.8ms) commit transaction
227
+  (0.2ms) select sqlite_version(*)
228
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
229
+  (0.0ms) PRAGMA index_list("subscriptions")
230
+  (0.0ms) PRAGMA index_info('index_subscriptions_on_user_id')
231
+  (0.0ms) PRAGMA index_list("users")
232
+
233
+
234
+ Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
235
+ Processing by SubscriptionsController#index as HTML
236
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions"
237
+ Rendered subscriptions/index.html.erb within layouts/application (1.0ms)
238
+ Completed 200 OK in 13ms (Views: 6.7ms | ActiveRecord: 0.6ms)
239
+
240
+
241
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
242
+ Served asset /main.css - 304 Not Modified (0ms)
243
+
244
+
245
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
246
+ Served asset /application.css - 304 Not Modified (0ms)
247
+
248
+
249
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
250
+ Served asset /users.css - 304 Not Modified (0ms)
251
+
252
+
253
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
254
+ Served asset /jquery.js - 304 Not Modified (0ms)
255
+
256
+
257
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
258
+ Served asset /scaffold.css - 304 Not Modified (0ms)
259
+
260
+
261
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
262
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
263
+
264
+
265
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
266
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
267
+
268
+
269
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
270
+ Served asset /main.js - 304 Not Modified (0ms)
271
+
272
+
273
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
274
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
275
+
276
+
277
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
278
+ Served asset /users.js - 304 Not Modified (0ms)
279
+
280
+
281
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:54:41 -0700
282
+ Served asset /application.js - 304 Not Modified (0ms)
283
+
284
+
285
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:54:43 -0700
286
+ Processing by SubscriptionsController#new as HTML
287
+ Rendered subscriptions/_form.html.erb (1.5ms)
288
+ Rendered subscriptions/new.html.erb within layouts/application (5.7ms)
289
+ Completed 500 Internal Server Error in 14ms
290
+
291
+ ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
292
+ 1: <%= form_for(@subscrition) do |f| %>
293
+ 2:
294
+ 3: <% if @suscription.errors.any? %>
295
+ 4: <p><%= pluralize(@subscription.errors.count, "error") %> prohibited this subscription from being saved:</p>
296
+ app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322790297460'
297
+ app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
298
+ app/controllers/subscriptions_controller.rb:23:in `new'
299
+
300
+
301
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
302
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
303
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.4ms)
304
+
305
+
306
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:55:23 -0700
307
+ Processing by SubscriptionsController#new as HTML
308
+ Rendered subscriptions/_form.html.erb (1.2ms)
309
+ Rendered subscriptions/new.html.erb within layouts/application (1.7ms)
310
+ Completed 500 Internal Server Error in 3ms
311
+
312
+ ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
313
+ 1: <%= form_for(@subscrition) do |f| %>
314
+ 2:
315
+ 3: <% if @subscription.errors.any? %>
316
+ 4: <p><%= pluralize(@subscription.errors.count, "error") %> prohibited this subscription from being saved:</p>
317
+ app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322800263080'
318
+ app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
319
+ app/controllers/subscriptions_controller.rb:23:in `new'
320
+
321
+
322
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
323
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
324
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.2ms)
325
+
326
+
327
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:55:31 -0700
328
+ Processing by SubscriptionsController#new as HTML
329
+ Rendered subscriptions/_form.html.erb (3.2ms)
330
+ Rendered subscriptions/new.html.erb within layouts/application (3.9ms)
331
+ Completed 500 Internal Server Error in 6ms
332
+
333
+ ActionView::Template::Error (Missing partial subscriptions/fields, application/fields with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
334
+ * "/Users/kevin/Frameworks/serializer/test/dummy/app/views"
335
+ ):
336
+ 9: </ul>
337
+ 10: <% end %>
338
+ 11:
339
+ 12: <%= render 'fields', f: f %>
340
+ 13:
341
+ 14: <%= f.fields_for @subscription.user do |user_f| %>
342
+ 15: <%= render 'fields', f: user_f %>
343
+ app/views/subscriptions/_form.html.erb:12:in `block in _app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
344
+ app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
345
+ app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
346
+ app/controllers/subscriptions_controller.rb:23:in `new'
347
+
348
+
349
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (35.8ms)
350
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
351
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (42.3ms)
352
+
353
+
354
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:55:40 -0700
355
+ Processing by SubscriptionsController#new as HTML
356
+ Rendered subscriptions/_fields.html.erb (0.8ms)
357
+ Rendered subscriptions/_form.html.erb (8.8ms)
358
+ Rendered subscriptions/new.html.erb within layouts/application (9.6ms)
359
+ Completed 500 Internal Server Error in 12ms
360
+
361
+ ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
362
+ 11:
363
+ 12: <%= render 'fields', f: f %>
364
+ 13:
365
+ 14: <%= f.fields_for @subscription.user do |user_f| %>
366
+ 15: <%= render 'fields', f: user_f %>
367
+ 16: <% end %>
368
+ 17:
369
+ app/views/subscriptions/_form.html.erb:14:in `block in _app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
370
+ app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322813079580'
371
+ app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
372
+ app/controllers/subscriptions_controller.rb:23:in `new'
373
+
374
+
375
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
376
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
377
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.7ms)
378
+
379
+
380
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
381
+ Processing by SubscriptionsController#new as HTML
382
+ Rendered subscriptions/_fields.html.erb (0.4ms)
383
+ Rendered subscriptions/_form.html.erb (8.7ms)
384
+ Rendered subscriptions/new.html.erb within layouts/application (9.4ms)
385
+ Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
386
+
387
+
388
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
389
+ Served asset /application.css - 304 Not Modified (0ms)
390
+
391
+
392
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
393
+ Served asset /main.css - 304 Not Modified (0ms)
394
+
395
+
396
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
397
+ Served asset /scaffold.css - 304 Not Modified (0ms)
398
+
399
+
400
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
401
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
402
+
403
+
404
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
405
+ Served asset /users.css - 304 Not Modified (0ms)
406
+
407
+
408
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
409
+ Served asset /jquery.js - 304 Not Modified (0ms)
410
+
411
+
412
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
413
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
414
+
415
+
416
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
417
+ Served asset /main.js - 304 Not Modified (0ms)
418
+
419
+
420
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
421
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
422
+
423
+
424
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
425
+ Served asset /users.js - 304 Not Modified (0ms)
426
+
427
+
428
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:20 -0700
429
+ Served asset /application.js - 304 Not Modified (0ms)
430
+
431
+
432
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:56:45 -0700
433
+ Processing by SubscriptionsController#new as HTML
434
+ Rendered subscriptions/_fields.html.erb (0.4ms)
435
+ Rendered subscriptions/_fields.html.erb (1.3ms)
436
+ Rendered subscriptions/_form.html.erb (6.1ms)
437
+ Rendered subscriptions/new.html.erb within layouts/application (6.8ms)
438
+ Completed 500 Internal Server Error in 66ms
439
+
440
+ ActionView::Template::Error (undefined method `category' for #<User:0x007fea9c8def30>):
441
+ 1: <div class="field">
442
+ 2: <%= f.label :category, "Category:" %><br />
443
+ 3: <%= f.text_field :category %>
444
+ 4: </div>
445
+ app/views/subscriptions/_fields.html.erb:3:in `_app_views_subscriptions__fields_html_erb___2078831386062901727_70322790719160'
446
+ app/views/subscriptions/_form.html.erb:16:in `block (2 levels) in _app_views_subscriptions__form_html_erb___2278949748814724242_70322822626820'
447
+ app/views/subscriptions/_form.html.erb:15:in `block in _app_views_subscriptions__form_html_erb___2278949748814724242_70322822626820'
448
+ app/views/subscriptions/_form.html.erb:1:in `_app_views_subscriptions__form_html_erb___2278949748814724242_70322822626820'
449
+ app/views/subscriptions/new.html.erb:3:in `_app_views_subscriptions_new_html_erb__1087222480631944318_70322820926980'
450
+ app/controllers/subscriptions_controller.rb:24:in `new'
451
+
452
+
453
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
454
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
455
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.6ms)
456
+
457
+
458
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
459
+ Processing by SubscriptionsController#new as HTML
460
+ Rendered subscriptions/_fields.html.erb (0.4ms)
461
+ Rendered users/_fields.html.erb (2.1ms)
462
+ Rendered subscriptions/_form.html.erb (5.7ms)
463
+ Rendered subscriptions/new.html.erb within layouts/application (6.4ms)
464
+ Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.0ms)
465
+
466
+
467
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
468
+ Served asset /application.css - 304 Not Modified (0ms)
469
+
470
+
471
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
472
+ Served asset /main.css - 304 Not Modified (0ms)
473
+
474
+
475
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
476
+ Served asset /scaffold.css - 304 Not Modified (0ms)
477
+
478
+
479
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
480
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
481
+
482
+
483
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
484
+ Served asset /users.css - 304 Not Modified (0ms)
485
+
486
+
487
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
488
+ Served asset /jquery.js - 304 Not Modified (0ms)
489
+
490
+
491
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
492
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
493
+
494
+
495
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
496
+ Served asset /main.js - 304 Not Modified (0ms)
497
+
498
+
499
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
500
+ Served asset /users.js - 304 Not Modified (0ms)
501
+
502
+
503
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
504
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
505
+
506
+
507
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:56:54 -0700
508
+ Served asset /application.js - 304 Not Modified (0ms)
509
+
510
+
511
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
512
+ Processing by SubscriptionsController#new as HTML
513
+ Rendered subscriptions/_fields.html.erb (0.7ms)
514
+ Rendered users/_fields.html.erb (1.5ms)
515
+ Rendered subscriptions/_form.html.erb (5.4ms)
516
+ Rendered subscriptions/new.html.erb within layouts/application (6.1ms)
517
+ Completed 200 OK in 62ms (Views: 11.6ms | ActiveRecord: 0.7ms)
518
+
519
+
520
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
521
+ Served asset /main.css - 304 Not Modified (0ms)
522
+
523
+
524
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
525
+ Served asset /application.css - 304 Not Modified (0ms)
526
+
527
+
528
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
529
+ Served asset /scaffold.css - 304 Not Modified (0ms)
530
+
531
+
532
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
533
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
534
+
535
+
536
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
537
+ Served asset /users.css - 304 Not Modified (0ms)
538
+
539
+
540
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
541
+ Served asset /jquery.js - 304 Not Modified (0ms)
542
+
543
+
544
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
545
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
546
+
547
+
548
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
549
+ Served asset /main.js - 304 Not Modified (0ms)
550
+
551
+
552
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
553
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
554
+
555
+
556
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
557
+ Served asset /application.js - 304 Not Modified (0ms)
558
+
559
+
560
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:18 -0700
561
+ Served asset /users.js - 304 Not Modified (0ms)
562
+
563
+
564
+ Started POST "/subscriptions" for 127.0.0.1 at 2012-07-30 23:58:21 -0700
565
+ Processing by SubscriptionsController#create as HTML
566
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Premium", "user"=>{"name"=>"", "email"=>"", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"true"}}, "commit"=>"Create Subscription"}
567
+ WARNING: Can't mass-assign protected attributes: category, user
568
+  (0.1ms) begin transaction
569
+ SQL (7.8ms) INSERT INTO "subscriptions" ("category", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["category", nil], ["created_at", Tue, 31 Jul 2012 06:58:21 UTC +00:00], ["updated_at", Tue, 31 Jul 2012 06:58:21 UTC +00:00], ["user_id", nil]]
570
+  (0.8ms) commit transaction
571
+ Redirected to http://localhost:3000/subscriptions/1
572
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
573
+
574
+
575
+ Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:58:21 -0700
576
+ Processing by SubscriptionsController#show as HTML
577
+ Parameters: {"id"=>"1"}
578
+ Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
579
+ Rendered subscriptions/show.html.erb within layouts/application (1.1ms)
580
+ Completed 500 Internal Server Error in 5ms
581
+
582
+ ActionView::Template::Error (undefined method `name' for nil:NilClass):
583
+ 4:
584
+ 5: <p>
585
+ 6: <b>User:</b>
586
+ 7: <%= @subscription.user.name %>
587
+ 8: </p>
588
+ 9:
589
+ 10: <p>
590
+ app/views/subscriptions/show.html.erb:7:in `_app_views_subscriptions_show_html_erb___817634187185823172_70322804037360'
591
+ app/controllers/subscriptions_controller.rb:16:in `show'
592
+
593
+
594
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
595
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
596
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.6ms)
597
+
598
+
599
+ Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
600
+ Processing by SubscriptionsController#show as HTML
601
+ Parameters: {"id"=>"1"}
602
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
603
+ Rendered subscriptions/show.html.erb within layouts/application (1.3ms)
604
+ Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.1ms)
605
+
606
+
607
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
608
+ Served asset /application.css - 304 Not Modified (0ms)
609
+
610
+
611
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
612
+ Served asset /main.css - 304 Not Modified (0ms)
613
+
614
+
615
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
616
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
617
+
618
+
619
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
620
+ Served asset /scaffold.css - 304 Not Modified (0ms)
621
+
622
+
623
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
624
+ Served asset /users.css - 304 Not Modified (0ms)
625
+
626
+
627
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
628
+ Served asset /jquery.js - 304 Not Modified (0ms)
629
+
630
+
631
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
632
+ Served asset /main.js - 304 Not Modified (0ms)
633
+
634
+
635
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
636
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
637
+
638
+
639
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
640
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
641
+
642
+
643
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
644
+ Served asset /users.js - 304 Not Modified (0ms)
645
+
646
+
647
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:58:53 -0700
648
+ Served asset /application.js - 304 Not Modified (0ms)
649
+
650
+
651
+ Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
652
+ Processing by SubscriptionsController#show as HTML
653
+ Parameters: {"id"=>"1"}
654
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
655
+ Rendered subscriptions/show.html.erb within layouts/application (0.7ms)
656
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.1ms)
657
+
658
+
659
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
660
+ Served asset /application.css - 304 Not Modified (0ms)
661
+
662
+
663
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
664
+ Served asset /scaffold.css - 304 Not Modified (0ms)
665
+
666
+
667
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
668
+ Served asset /users.css - 304 Not Modified (0ms)
669
+
670
+
671
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
672
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
673
+
674
+
675
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:07 -0700
676
+ Served asset /jquery.js - 304 Not Modified (0ms)
677
+
678
+
679
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
680
+ Served asset /main.css - 304 Not Modified (0ms)
681
+
682
+
683
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
684
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
685
+
686
+
687
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
688
+ Served asset /main.js - 304 Not Modified (0ms)
689
+
690
+
691
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
692
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
693
+
694
+
695
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
696
+ Served asset /users.js - 304 Not Modified (0ms)
697
+
698
+
699
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:08 -0700
700
+ Served asset /application.js - 304 Not Modified (0ms)
701
+
702
+
703
+ Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
704
+ Processing by SubscriptionsController#index as HTML
705
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" 
706
+ Rendered subscriptions/index.html.erb within layouts/application (1.8ms)
707
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.2ms)
708
+
709
+
710
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
711
+ Served asset /application.css - 304 Not Modified (0ms)
712
+
713
+
714
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
715
+ Served asset /users.css - 304 Not Modified (0ms)
716
+
717
+
718
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
719
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
720
+
721
+
722
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
723
+ Served asset /main.css - 304 Not Modified (0ms)
724
+
725
+
726
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
727
+ Served asset /jquery.js - 304 Not Modified (0ms)
728
+
729
+
730
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
731
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
732
+
733
+
734
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
735
+ Served asset /scaffold.css - 304 Not Modified (0ms)
736
+
737
+
738
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
739
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
740
+
741
+
742
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
743
+ Served asset /main.js - 304 Not Modified (0ms)
744
+
745
+
746
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
747
+ Served asset /users.js - 304 Not Modified (0ms)
748
+
749
+
750
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:09 -0700
751
+ Served asset /application.js - 304 Not Modified (0ms)
752
+
753
+
754
+ Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
755
+ Processing by SubscriptionsController#edit as HTML
756
+ Parameters: {"id"=>"1"}
757
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
758
+ Rendered subscriptions/_fields.html.erb (0.4ms)
759
+ Rendered subscriptions/_form.html.erb (2.4ms)
760
+ Rendered subscriptions/edit.html.erb within layouts/application (3.6ms)
761
+ Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.1ms)
762
+
763
+
764
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
765
+ Served asset /application.css - 304 Not Modified (0ms)
766
+
767
+
768
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
769
+ Served asset /scaffold.css - 304 Not Modified (0ms)
770
+
771
+
772
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
773
+ Served asset /main.css - 304 Not Modified (0ms)
774
+
775
+
776
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
777
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
778
+
779
+
780
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
781
+ Served asset /users.css - 304 Not Modified (0ms)
782
+
783
+
784
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
785
+ Served asset /jquery.js - 304 Not Modified (0ms)
786
+
787
+
788
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
789
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
790
+
791
+
792
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
793
+ Served asset /main.js - 304 Not Modified (0ms)
794
+
795
+
796
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
797
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
798
+
799
+
800
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
801
+ Served asset /users.js - 304 Not Modified (0ms)
802
+
803
+
804
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:11 -0700
805
+ Served asset /application.js - 304 Not Modified (0ms)
806
+
807
+
808
+ Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
809
+ Processing by SubscriptionsController#update as HTML
810
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Free"}, "commit"=>"Update Subscription", "id"=>"1"}
811
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
812
+ WARNING: Can't mass-assign protected attributes: category
813
+  (0.1ms) begin transaction
814
+  (0.0ms) commit transaction
815
+ Redirected to http://localhost:3000/subscriptions/1
816
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
817
+
818
+
819
+ Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
820
+ Processing by SubscriptionsController#show as HTML
821
+ Parameters: {"id"=>"1"}
822
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
823
+ Rendered subscriptions/show.html.erb within layouts/application (0.7ms)
824
+ Completed 200 OK in 48ms (Views: 46.4ms | ActiveRecord: 0.1ms)
825
+
826
+
827
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
828
+ Served asset /application.css - 304 Not Modified (0ms)
829
+
830
+
831
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
832
+ Served asset /scaffold.css - 304 Not Modified (0ms)
833
+
834
+
835
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
836
+ Served asset /main.css - 304 Not Modified (0ms)
837
+
838
+
839
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
840
+ Served asset /users.css - 304 Not Modified (0ms)
841
+
842
+
843
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
844
+ Served asset /jquery.js - 304 Not Modified (0ms)
845
+
846
+
847
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
848
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
849
+
850
+
851
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
852
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
853
+
854
+
855
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
856
+ Served asset /main.js - 304 Not Modified (0ms)
857
+
858
+
859
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
860
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
861
+
862
+
863
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
864
+ Served asset /users.js - 304 Not Modified (0ms)
865
+
866
+
867
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:27 -0700
868
+ Served asset /application.js - 304 Not Modified (0ms)
869
+
870
+
871
+ Started GET "/subscriptions" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
872
+ Processing by SubscriptionsController#index as HTML
873
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" 
874
+ Rendered subscriptions/index.html.erb within layouts/application (1.3ms)
875
+ Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
876
+
877
+
878
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
879
+ Served asset /main.css - 304 Not Modified (0ms)
880
+
881
+
882
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
883
+ Served asset /scaffold.css - 304 Not Modified (0ms)
884
+
885
+
886
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
887
+ Served asset /jquery.js - 304 Not Modified (0ms)
888
+
889
+
890
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
891
+ Served asset /application.css - 304 Not Modified (0ms)
892
+
893
+
894
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
895
+ Served asset /users.css - 304 Not Modified (0ms)
896
+
897
+
898
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
899
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
900
+
901
+
902
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
903
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
904
+
905
+
906
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
907
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
908
+
909
+
910
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
911
+ Served asset /main.js - 304 Not Modified (0ms)
912
+
913
+
914
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
915
+ Served asset /application.js - 304 Not Modified (0ms)
916
+
917
+
918
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:29 -0700
919
+ Served asset /users.js - 304 Not Modified (0ms)
920
+
921
+
922
+ Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-30 23:59:44 -0700
923
+ Processing by SubscriptionsController#edit as HTML
924
+ Parameters: {"id"=>"1"}
925
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
926
+ Rendered subscriptions/_fields.html.erb (0.4ms)
927
+ Rendered subscriptions/_form.html.erb (2.8ms)
928
+ Rendered subscriptions/edit.html.erb within layouts/application (3.7ms)
929
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.2ms)
930
+
931
+
932
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
933
+ Served asset /main.css - 304 Not Modified (0ms)
934
+
935
+
936
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
937
+ Served asset /application.css - 304 Not Modified (0ms)
938
+
939
+
940
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
941
+ Served asset /scaffold.css - 304 Not Modified (0ms)
942
+
943
+
944
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
945
+ Served asset /users.css - 304 Not Modified (0ms)
946
+
947
+
948
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
949
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
950
+
951
+
952
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
953
+ Served asset /main.js - 304 Not Modified (0ms)
954
+
955
+
956
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
957
+ Served asset /jquery.js - 304 Not Modified (0ms)
958
+
959
+
960
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
961
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
962
+
963
+
964
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
965
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
966
+
967
+
968
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
969
+ Served asset /users.js - 304 Not Modified (0ms)
970
+
971
+
972
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:45 -0700
973
+ Served asset /application.js - 304 Not Modified (0ms)
974
+
975
+
976
+ Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:47 -0700
977
+ Processing by SubscriptionsController#update as HTML
978
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Premium"}, "commit"=>"Update Subscription", "id"=>"1"}
979
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
980
+ WARNING: Can't mass-assign protected attributes: category
981
+  (0.1ms) begin transaction
982
+  (0.0ms) commit transaction
983
+ Redirected to http://localhost:3000/subscriptions/1
984
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
985
+
986
+
987
+ Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
988
+ Processing by SubscriptionsController#show as HTML
989
+ Parameters: {"id"=>"1"}
990
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
991
+ Rendered subscriptions/show.html.erb within layouts/application (0.6ms)
992
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.1ms)
993
+
994
+
995
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
996
+ Served asset /application.css - 304 Not Modified (0ms)
997
+
998
+
999
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1000
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1001
+
1002
+
1003
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1004
+ Served asset /main.css - 304 Not Modified (0ms)
1005
+
1006
+
1007
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1008
+ Served asset /users.css - 304 Not Modified (0ms)
1009
+
1010
+
1011
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1012
+ Served asset /jquery.js - 304 Not Modified (0ms)
1013
+
1014
+
1015
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1016
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1017
+
1018
+
1019
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1020
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1021
+
1022
+
1023
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1024
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1025
+
1026
+
1027
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1028
+ Served asset /main.js - 304 Not Modified (0ms)
1029
+
1030
+
1031
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1032
+ Served asset /users.js - 304 Not Modified (0ms)
1033
+
1034
+
1035
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-30 23:59:48 -0700
1036
+ Served asset /application.js - 304 Not Modified (0ms)
1037
+
1038
+
1039
+ Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1040
+ Processing by SubscriptionsController#edit as HTML
1041
+ Parameters: {"id"=>"1"}
1042
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1043
+ Rendered subscriptions/_fields.html.erb (0.4ms)
1044
+ Rendered subscriptions/_form.html.erb (3.0ms)
1045
+ Rendered subscriptions/edit.html.erb within layouts/application (4.2ms)
1046
+ Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.2ms)
1047
+
1048
+
1049
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1050
+ Served asset /application.css - 304 Not Modified (0ms)
1051
+
1052
+
1053
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1054
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1055
+
1056
+
1057
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1058
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1059
+
1060
+
1061
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1062
+ Served asset /jquery.js - 304 Not Modified (0ms)
1063
+
1064
+
1065
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1066
+ Served asset /users.css - 304 Not Modified (0ms)
1067
+
1068
+
1069
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1070
+ Served asset /main.css - 304 Not Modified (0ms)
1071
+
1072
+
1073
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1074
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1075
+
1076
+
1077
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1078
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1079
+
1080
+
1081
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1082
+ Served asset /main.js - 304 Not Modified (0ms)
1083
+
1084
+
1085
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1086
+ Served asset /users.js - 304 Not Modified (0ms)
1087
+
1088
+
1089
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:06 -0700
1090
+ Served asset /application.js - 304 Not Modified (0ms)
1091
+
1092
+
1093
+ Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1094
+ Processing by SubscriptionsController#update as HTML
1095
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Free"}, "commit"=>"Update Subscription", "id"=>"1"}
1096
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1097
+ WARNING: Can't mass-assign protected attributes: category
1098
+  (0.1ms) begin transaction
1099
+  (0.0ms) commit transaction
1100
+ Redirected to http://localhost:3000/subscriptions/1
1101
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1102
+
1103
+
1104
+ Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1105
+ Processing by SubscriptionsController#show as HTML
1106
+ Parameters: {"id"=>"1"}
1107
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1108
+ Rendered subscriptions/show.html.erb within layouts/application (0.8ms)
1109
+ Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)
1110
+
1111
+
1112
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1113
+ Served asset /jquery.js - 304 Not Modified (0ms)
1114
+
1115
+
1116
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1117
+ Served asset /application.css - 304 Not Modified (0ms)
1118
+
1119
+
1120
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1121
+ Served asset /main.css - 304 Not Modified (0ms)
1122
+
1123
+
1124
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1125
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1126
+
1127
+
1128
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1129
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1130
+
1131
+
1132
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1133
+ Served asset /users.css - 304 Not Modified (0ms)
1134
+
1135
+
1136
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1137
+ Served asset /main.js - 304 Not Modified (0ms)
1138
+
1139
+
1140
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1141
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1142
+
1143
+
1144
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1145
+ Served asset /application.js - 304 Not Modified (0ms)
1146
+
1147
+
1148
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1149
+ Served asset /users.js - 304 Not Modified (0ms)
1150
+
1151
+
1152
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:08 -0700
1153
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1154
+
1155
+
1156
+ Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1157
+ Processing by SubscriptionsController#edit as HTML
1158
+ Parameters: {"id"=>"1"}
1159
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1160
+ Rendered subscriptions/_fields.html.erb (0.4ms)
1161
+ Rendered subscriptions/_form.html.erb (2.9ms)
1162
+ Rendered subscriptions/edit.html.erb within layouts/application (3.7ms)
1163
+ Completed 200 OK in 18ms (Views: 8.7ms | ActiveRecord: 0.6ms)
1164
+
1165
+
1166
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1167
+ Served asset /main.css - 304 Not Modified (0ms)
1168
+
1169
+
1170
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1171
+ Served asset /users.css - 304 Not Modified (0ms)
1172
+
1173
+
1174
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1175
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1176
+
1177
+
1178
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1179
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1180
+
1181
+
1182
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1183
+ Served asset /jquery.js - 304 Not Modified (0ms)
1184
+
1185
+
1186
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1187
+ Served asset /application.css - 304 Not Modified (0ms)
1188
+
1189
+
1190
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1191
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1192
+
1193
+
1194
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1195
+ Served asset /main.js - 304 Not Modified (0ms)
1196
+
1197
+
1198
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1199
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1200
+
1201
+
1202
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1203
+ Served asset /users.js - 304 Not Modified (0ms)
1204
+
1205
+
1206
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:23 -0700
1207
+ Served asset /application.js - 304 Not Modified (0ms)
1208
+
1209
+
1210
+ Started PUT "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1211
+ Processing by SubscriptionsController#update as HTML
1212
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Premium"}, "commit"=>"Update Subscription", "id"=>"1"}
1213
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1214
+  (0.1ms) begin transaction
1215
+  (0.7ms) UPDATE "subscriptions" SET "category" = 'Premium', "updated_at" = '2012-07-31 07:00:26.506642' WHERE "subscriptions"."id" = 1
1216
+  (0.7ms) commit transaction
1217
+ Redirected to http://localhost:3000/subscriptions/1
1218
+ Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
1219
+
1220
+
1221
+ Started GET "/subscriptions/1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1222
+ Processing by SubscriptionsController#show as HTML
1223
+ Parameters: {"id"=>"1"}
1224
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1225
+ Rendered subscriptions/show.html.erb within layouts/application (0.7ms)
1226
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms)
1227
+
1228
+
1229
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1230
+ Served asset /application.css - 304 Not Modified (0ms)
1231
+
1232
+
1233
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1234
+ Served asset /main.css - 304 Not Modified (0ms)
1235
+
1236
+
1237
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1238
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1239
+
1240
+
1241
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1242
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1243
+
1244
+
1245
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1246
+ Served asset /users.css - 304 Not Modified (0ms)
1247
+
1248
+
1249
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1250
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1251
+
1252
+
1253
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1254
+ Served asset /jquery.js - 304 Not Modified (0ms)
1255
+
1256
+
1257
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1258
+ Served asset /main.js - 304 Not Modified (0ms)
1259
+
1260
+
1261
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1262
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1263
+
1264
+
1265
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1266
+ Served asset /users.js - 304 Not Modified (0ms)
1267
+
1268
+
1269
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:26 -0700
1270
+ Served asset /application.js - 304 Not Modified (0ms)
1271
+
1272
+
1273
+ Started GET "/subscriptions/1/edit" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1274
+ Processing by SubscriptionsController#edit as HTML
1275
+ Parameters: {"id"=>"1"}
1276
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "1"]]
1277
+ Rendered subscriptions/_fields.html.erb (0.4ms)
1278
+ Rendered subscriptions/_form.html.erb (2.3ms)
1279
+ Rendered subscriptions/edit.html.erb within layouts/application (3.1ms)
1280
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.1ms)
1281
+
1282
+
1283
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1284
+ Served asset /application.css - 304 Not Modified (0ms)
1285
+
1286
+
1287
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1288
+ Served asset /main.css - 304 Not Modified (0ms)
1289
+
1290
+
1291
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1292
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1293
+
1294
+
1295
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1296
+ Served asset /jquery.js - 304 Not Modified (0ms)
1297
+
1298
+
1299
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1300
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1301
+
1302
+
1303
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1304
+ Served asset /users.css - 304 Not Modified (0ms)
1305
+
1306
+
1307
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1308
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1309
+
1310
+
1311
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1312
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1313
+
1314
+
1315
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1316
+ Served asset /users.js - 304 Not Modified (0ms)
1317
+
1318
+
1319
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1320
+ Served asset /main.js - 304 Not Modified (0ms)
1321
+
1322
+
1323
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:29 -0700
1324
+ Served asset /application.js - 304 Not Modified (0ms)
1325
+
1326
+
1327
+ Started GET "/subscriptions" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1328
+ Processing by SubscriptionsController#index as HTML
1329
+ Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" 
1330
+ Rendered subscriptions/index.html.erb within layouts/application (1.3ms)
1331
+ Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.3ms)
1332
+
1333
+
1334
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1335
+ Served asset /application.css - 304 Not Modified (0ms)
1336
+
1337
+
1338
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1339
+ Served asset /main.css - 304 Not Modified (0ms)
1340
+
1341
+
1342
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1343
+ Served asset /users.css - 304 Not Modified (0ms)
1344
+
1345
+
1346
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1347
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1348
+
1349
+
1350
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1351
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1352
+
1353
+
1354
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1355
+ Served asset /jquery.js - 304 Not Modified (0ms)
1356
+
1357
+
1358
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1359
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1360
+
1361
+
1362
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1363
+ Served asset /main.js - 304 Not Modified (0ms)
1364
+
1365
+
1366
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1367
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1368
+
1369
+
1370
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1371
+ Served asset /users.js - 304 Not Modified (0ms)
1372
+
1373
+
1374
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:31 -0700
1375
+ Served asset /application.js - 304 Not Modified (0ms)
1376
+
1377
+
1378
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1379
+ Processing by SubscriptionsController#new as HTML
1380
+ Rendered subscriptions/_fields.html.erb (0.4ms)
1381
+ Rendered users/_fields.html.erb (1.4ms)
1382
+ Rendered subscriptions/_form.html.erb (4.5ms)
1383
+ Rendered subscriptions/new.html.erb within layouts/application (5.1ms)
1384
+ Completed 200 OK in 21ms (Views: 9.8ms | ActiveRecord: 0.3ms)
1385
+
1386
+
1387
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1388
+ Served asset /application.css - 304 Not Modified (0ms)
1389
+
1390
+
1391
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1392
+ Served asset /main.css - 304 Not Modified (0ms)
1393
+
1394
+
1395
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1396
+ Served asset /users.css - 304 Not Modified (0ms)
1397
+
1398
+
1399
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1400
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1401
+
1402
+
1403
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1404
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1405
+
1406
+
1407
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1408
+ Served asset /jquery.js - 304 Not Modified (0ms)
1409
+
1410
+
1411
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1412
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1413
+
1414
+
1415
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1416
+ Served asset /main.js - 304 Not Modified (0ms)
1417
+
1418
+
1419
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1420
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1421
+
1422
+
1423
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1424
+ Served asset /users.js - 304 Not Modified (0ms)
1425
+
1426
+
1427
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:36 -0700
1428
+ Served asset /application.js - 304 Not Modified (0ms)
1429
+
1430
+
1431
+ Started POST "/subscriptions" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1432
+ Processing by SubscriptionsController#create as HTML
1433
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"8jtLkfWStnbShQNadc6t3r5elmU+PifOH5zkdXzlumQ=", "subscription"=>{"category"=>"Free", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"false"}}, "commit"=>"Create Subscription"}
1434
+ WARNING: Can't mass-assign protected attributes: user
1435
+  (0.1ms) begin transaction
1436
+ SQL (0.8ms) INSERT INTO "subscriptions" ("category", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["category", "Free"], ["created_at", Tue, 31 Jul 2012 07:00:52 UTC +00:00], ["updated_at", Tue, 31 Jul 2012 07:00:52 UTC +00:00], ["user_id", nil]]
1437
+  (0.9ms) commit transaction
1438
+ Redirected to http://localhost:3000/subscriptions/2
1439
+ Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
1440
+
1441
+
1442
+ Started GET "/subscriptions/2" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1443
+ Processing by SubscriptionsController#show as HTML
1444
+ Parameters: {"id"=>"2"}
1445
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "2"]]
1446
+ Rendered subscriptions/show.html.erb within layouts/application (0.8ms)
1447
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.1ms)
1448
+
1449
+
1450
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1451
+ Served asset /application.css - 304 Not Modified (0ms)
1452
+
1453
+
1454
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1455
+ Served asset /main.css - 304 Not Modified (0ms)
1456
+
1457
+
1458
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1459
+ Served asset /users.css - 304 Not Modified (0ms)
1460
+
1461
+
1462
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1463
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1464
+
1465
+
1466
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1467
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1468
+
1469
+
1470
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1471
+ Served asset /jquery.js - 304 Not Modified (0ms)
1472
+
1473
+
1474
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1475
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1476
+
1477
+
1478
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1479
+ Served asset /main.js - 304 Not Modified (0ms)
1480
+
1481
+
1482
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1483
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1484
+
1485
+
1486
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1487
+ Served asset /users.js - 304 Not Modified (0ms)
1488
+
1489
+
1490
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:52 -0700
1491
+ Served asset /application.js - 304 Not Modified (0ms)
1492
+
1493
+
1494
+ Started GET "/subscriptions/2/edit" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1495
+ Processing by SubscriptionsController#edit as HTML
1496
+ Parameters: {"id"=>"2"}
1497
+ Subscription Load (0.2ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "2"]]
1498
+ Rendered subscriptions/_fields.html.erb (0.6ms)
1499
+ Rendered subscriptions/_form.html.erb (3.4ms)
1500
+ Rendered subscriptions/edit.html.erb within layouts/application (4.6ms)
1501
+ Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.2ms)
1502
+
1503
+
1504
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1505
+ Served asset /application.css - 304 Not Modified (0ms)
1506
+
1507
+
1508
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1509
+ Served asset /main.css - 304 Not Modified (0ms)
1510
+
1511
+
1512
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1513
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1514
+
1515
+
1516
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1517
+ Served asset /jquery.js - 304 Not Modified (0ms)
1518
+
1519
+
1520
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1521
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1522
+
1523
+
1524
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1525
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1526
+
1527
+
1528
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1529
+ Served asset /users.css - 304 Not Modified (0ms)
1530
+
1531
+
1532
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1533
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1534
+
1535
+
1536
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1537
+ Served asset /main.js - 304 Not Modified (0ms)
1538
+
1539
+
1540
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1541
+ Served asset /application.js - 304 Not Modified (0ms)
1542
+
1543
+
1544
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:54 -0700
1545
+ Served asset /users.js - 304 Not Modified (0ms)
1546
+
1547
+
1548
+ Started GET "/subscriptions" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1549
+ Processing by SubscriptionsController#index as HTML
1550
+ Subscription Load (0.3ms) SELECT "subscriptions".* FROM "subscriptions" 
1551
+ Rendered subscriptions/index.html.erb within layouts/application (2.0ms)
1552
+ Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.3ms)
1553
+
1554
+
1555
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1556
+ Served asset /application.css - 304 Not Modified (0ms)
1557
+
1558
+
1559
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1560
+ Served asset /users.css - 304 Not Modified (0ms)
1561
+
1562
+
1563
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1564
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1565
+
1566
+
1567
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1568
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1569
+
1570
+
1571
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1572
+ Served asset /main.css - 304 Not Modified (0ms)
1573
+
1574
+
1575
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1576
+ Served asset /jquery.js - 304 Not Modified (0ms)
1577
+
1578
+
1579
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1580
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1581
+
1582
+
1583
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1584
+ Served asset /main.js - 304 Not Modified (0ms)
1585
+
1586
+
1587
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1588
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1589
+
1590
+
1591
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1592
+ Served asset /application.js - 304 Not Modified (0ms)
1593
+
1594
+
1595
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:57 -0700
1596
+ Served asset /users.js - 304 Not Modified (0ms)
1597
+
1598
+
1599
+ Started GET "/subscriptions/2/edit" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1600
+ Processing by SubscriptionsController#edit as HTML
1601
+ Parameters: {"id"=>"2"}
1602
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."id" = ? LIMIT 1 [["id", "2"]]
1603
+ Rendered subscriptions/_fields.html.erb (0.5ms)
1604
+ Rendered subscriptions/_form.html.erb (2.0ms)
1605
+ Rendered subscriptions/edit.html.erb within layouts/application (2.8ms)
1606
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.1ms)
1607
+
1608
+
1609
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1610
+ Served asset /main.css - 304 Not Modified (0ms)
1611
+
1612
+
1613
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1614
+ Served asset /users.css - 304 Not Modified (0ms)
1615
+
1616
+
1617
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1618
+ Served asset /jquery.js - 304 Not Modified (0ms)
1619
+
1620
+
1621
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1622
+ Served asset /application.css - 304 Not Modified (0ms)
1623
+
1624
+
1625
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1626
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1627
+
1628
+
1629
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1630
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1631
+
1632
+
1633
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1634
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1635
+
1636
+
1637
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1638
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1639
+
1640
+
1641
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1642
+ Served asset /main.js - 304 Not Modified (0ms)
1643
+
1644
+
1645
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1646
+ Served asset /application.js - 304 Not Modified (0ms)
1647
+
1648
+
1649
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:00:59 -0700
1650
+ Served asset /users.js - 304 Not Modified (0ms)
1651
+ Connecting to database specified by database.yml
1652
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1653
+  (0.2ms) select sqlite_version(*)
1654
+  (1.1ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1655
+  (0.0ms) PRAGMA index_list("subscriptions")
1656
+  (1.0ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1657
+  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
1658
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1659
+  (0.0ms) PRAGMA index_list("schema_migrations")
1660
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1661
+  (0.1ms) SELECT version FROM "schema_migrations"
1662
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
1663
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
1664
+ Connecting to database specified by database.yml
1665
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1666
+  (0.2ms) select sqlite_version(*)
1667
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1668
+  (0.0ms) PRAGMA index_list("subscriptions")
1669
+  (0.9ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1670
+  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
1671
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1672
+  (0.0ms) PRAGMA index_list("schema_migrations")
1673
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1674
+  (0.1ms) SELECT version FROM "schema_migrations"
1675
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
1676
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
1677
+ Connecting to database specified by database.yml
1678
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1679
+  (0.2ms) select sqlite_version(*)
1680
+  (1.4ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "category" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1681
+  (0.0ms) PRAGMA index_list("subscriptions")
1682
+  (0.9ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1683
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime)
1684
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1685
+  (0.0ms) PRAGMA index_list("schema_migrations")
1686
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1687
+  (0.1ms) SELECT version FROM "schema_migrations"
1688
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
1689
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
1690
+
1691
+
1692
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1693
+ Processing by SubscriptionsController#new as HTML
1694
+ Rendered subscriptions/_fields.html.erb (0.4ms)
1695
+ Rendered users/_fields.html.erb (1.6ms)
1696
+ Rendered subscriptions/_form.html.erb (4.5ms)
1697
+ Rendered subscriptions/new.html.erb within layouts/application (5.2ms)
1698
+ Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.0ms)
1699
+
1700
+
1701
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1702
+ Served asset /application.css - 304 Not Modified (0ms)
1703
+
1704
+
1705
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1706
+ Served asset /users.css - 304 Not Modified (0ms)
1707
+
1708
+
1709
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1710
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1711
+
1712
+
1713
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1714
+ Served asset /main.css - 304 Not Modified (0ms)
1715
+
1716
+
1717
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1718
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1719
+
1720
+
1721
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1722
+ Served asset /jquery.js - 304 Not Modified (0ms)
1723
+
1724
+
1725
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1726
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1727
+
1728
+
1729
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1730
+ Served asset /main.js - 304 Not Modified (0ms)
1731
+
1732
+
1733
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1734
+ Served asset /users.js - 304 Not Modified (0ms)
1735
+
1736
+
1737
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1738
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1739
+
1740
+
1741
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:12:13 -0700
1742
+ Served asset /application.js - 304 Not Modified (0ms)
1743
+ Connecting to database specified by database.yml
1744
+
1745
+
1746
+ Started GET "/" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1747
+ Processing by MainController#index as HTML
1748
+ Rendered main/index.html.erb within layouts/application (1.0ms)
1749
+ Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
1750
+
1751
+
1752
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1753
+ Served asset /application.css - 304 Not Modified (0ms)
1754
+
1755
+
1756
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1757
+ Served asset /main.css - 304 Not Modified (0ms)
1758
+
1759
+
1760
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1761
+ Served asset /users.css - 304 Not Modified (0ms)
1762
+
1763
+
1764
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1765
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1766
+
1767
+
1768
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1769
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1770
+
1771
+
1772
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1773
+ Served asset /jquery.js - 304 Not Modified (0ms)
1774
+
1775
+
1776
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1777
+ Served asset /main.js - 304 Not Modified (0ms)
1778
+
1779
+
1780
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1781
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1782
+
1783
+
1784
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1785
+ Served asset /application.js - 304 Not Modified (0ms)
1786
+
1787
+
1788
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1789
+ Served asset /users.js - 304 Not Modified (0ms)
1790
+
1791
+
1792
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:41 -0700
1793
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1794
+
1795
+
1796
+ Started GET "/subscriptions" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1797
+ Processing by SubscriptionsController#index as HTML
1798
+ Subscription Load (0.1ms) SELECT "subscriptions".* FROM "subscriptions" 
1799
+ Rendered subscriptions/index.html.erb within layouts/application (3.0ms)
1800
+ Completed 200 OK in 18ms (Views: 8.2ms | ActiveRecord: 0.6ms)
1801
+
1802
+
1803
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1804
+ Served asset /application.css - 304 Not Modified (0ms)
1805
+
1806
+
1807
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1808
+ Served asset /main.css - 304 Not Modified (0ms)
1809
+
1810
+
1811
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1812
+ Served asset /jquery.js - 304 Not Modified (0ms)
1813
+
1814
+
1815
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1816
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1817
+
1818
+
1819
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1820
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1821
+
1822
+
1823
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1824
+ Served asset /users.css - 304 Not Modified (0ms)
1825
+
1826
+
1827
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1828
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1829
+
1830
+
1831
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1832
+ Served asset /main.js - 304 Not Modified (0ms)
1833
+
1834
+
1835
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1836
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1837
+
1838
+
1839
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1840
+ Served asset /users.js - 304 Not Modified (0ms)
1841
+
1842
+
1843
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:43 -0700
1844
+ Served asset /application.js - 304 Not Modified (0ms)
1845
+
1846
+
1847
+ Started GET "/subscriptions/new" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1848
+ Processing by SubscriptionsController#new as HTML
1849
+ Rendered subscriptions/_fields.html.erb (0.4ms)
1850
+ Rendered users/_fields.html.erb (1.7ms)
1851
+ Rendered subscriptions/_form.html.erb (5.2ms)
1852
+ Rendered subscriptions/new.html.erb within layouts/application (5.8ms)
1853
+ Completed 200 OK in 24ms (Views: 10.7ms | ActiveRecord: 0.4ms)
1854
+
1855
+
1856
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1857
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1858
+
1859
+
1860
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1861
+ Served asset /main.css - 304 Not Modified (0ms)
1862
+
1863
+
1864
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1865
+ Served asset /application.css - 304 Not Modified (0ms)
1866
+
1867
+
1868
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1869
+ Served asset /users.css - 304 Not Modified (0ms)
1870
+
1871
+
1872
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1873
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1874
+
1875
+
1876
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1877
+ Served asset /jquery.js - 304 Not Modified (0ms)
1878
+
1879
+
1880
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1881
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1882
+
1883
+
1884
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1885
+ Served asset /main.js - 304 Not Modified (0ms)
1886
+
1887
+
1888
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1889
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1890
+
1891
+
1892
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1893
+ Served asset /users.js - 304 Not Modified (0ms)
1894
+
1895
+
1896
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:21:45 -0700
1897
+ Served asset /application.js - 304 Not Modified (0ms)
1898
+
1899
+
1900
+ Started GET "/" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1901
+ Processing by MainController#index as HTML
1902
+ Rendered main/index.html.erb within layouts/application (0.6ms)
1903
+ Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
1904
+
1905
+
1906
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1907
+ Served asset /application.css - 304 Not Modified (0ms)
1908
+
1909
+
1910
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1911
+ Served asset /main.css - 304 Not Modified (0ms)
1912
+
1913
+
1914
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1915
+ Served asset /scaffold.css - 304 Not Modified (0ms)
1916
+
1917
+
1918
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1919
+ Served asset /users.css - 304 Not Modified (0ms)
1920
+
1921
+
1922
+ Started GET "/assets/subscriptions.css?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1923
+ Served asset /subscriptions.css - 304 Not Modified (0ms)
1924
+
1925
+
1926
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1927
+ Served asset /jquery.js - 304 Not Modified (0ms)
1928
+
1929
+
1930
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1931
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1932
+
1933
+
1934
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1935
+ Served asset /main.js - 304 Not Modified (0ms)
1936
+
1937
+
1938
+ Started GET "/assets/subscriptions.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1939
+ Served asset /subscriptions.js - 304 Not Modified (0ms)
1940
+
1941
+
1942
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1943
+ Served asset /application.js - 304 Not Modified (0ms)
1944
+
1945
+
1946
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2012-07-31 00:29:23 -0700
1947
+ Served asset /users.js - 304 Not Modified (0ms)
1948
+
1949
+
1950
+ Started GET "/users" for 127.0.0.1 at 2012-07-31 00:29:25 -0700
1951
+ Processing by UsersController#index as HTML
1952
+ Completed 500 Internal Server Error in 38ms
1953
+
1954
+ ArgumentError (No association found for name `subscription'. Has it been defined yet?):
1955
+ app/models/user.rb:5:in `<class:User>'
1956
+ app/models/user.rb:1:in `<top (required)>'
1957
+ app/controllers/users_controller.rb:7:in `index'
1958
+
1959
+
1960
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
1961
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1962
+ Rendered /Users/kevin/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms)
1963
+ Connecting to database specified by database.yml
1964
+  (0.1ms) select sqlite_version(*)
1965
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1966
+  (0.0ms) PRAGMA index_list("schema_migrations")
1967
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1968
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1969
+ Connecting to database specified by database.yml
1970
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1971
+ Migrating to CreateUsers (20110927222742)
1972
+  (0.0ms) select sqlite_version(*)
1973
+  (0.0ms) begin transaction
1974
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1975
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
1976
+  (1.1ms) commit transaction
1977
+ Migrating to CreatePreferences (20120731064307)
1978
+  (0.0ms) begin transaction
1979
+  (0.3ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1980
+  (0.0ms) PRAGMA index_list("preferences")
1981
+  (0.1ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
1982
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120731064307')
1983
+  (1.1ms) commit transaction
1984
+  (0.3ms) select sqlite_version(*)
1985
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1986
+  (0.0ms) PRAGMA index_list("preferences")
1987
+  (0.0ms) PRAGMA index_info('index_preferences_on_user_id')
1988
+  (0.0ms) PRAGMA index_list("users")
1989
+ Connecting to database specified by database.yml
1990
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1991
+  (0.2ms) select sqlite_version(*)
1992
+  (1.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1993
+  (0.0ms) PRAGMA index_list("preferences")
1994
+  (1.0ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
1995
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1996
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1997
+  (0.0ms) PRAGMA index_list("schema_migrations")
1998
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1999
+  (0.1ms) SELECT version FROM "schema_migrations"
2000
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
2001
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2002
+ Connecting to database specified by database.yml
2003
+  (0.4ms) begin transaction
2004
+ Fixture Delete (1.1ms) DELETE FROM "preferences"
2005
+ Fixture Insert (0.1ms) INSERT INTO "preferences" ("user", "settings") VALUES ('default', '---
2006
+ :email: true
2007
+ :phone: true
2008
+ ')
2009
+ SQLite3::SQLException: table preferences has no column named user: INSERT INTO "preferences" ("user", "settings") VALUES ('default', '---
2010
+ :email: true
2011
+ :phone: true
2012
+ ')
2013
+  (0.4ms) rollback transaction
2014
+ Connecting to database specified by database.yml
2015
+  (0.4ms) begin transaction
2016
+ Fixture Delete (1.1ms) DELETE FROM "preferences"
2017
+ Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2018
+ :email: true
2019
+ :phone: true
2020
+ ')
2021
+ SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2022
+ :email: true
2023
+ :phone: true
2024
+ ')
2025
+  (0.6ms) rollback transaction
2026
+ Connecting to database specified by database.yml
2027
+  (0.5ms) begin transaction
2028
+ Fixture Delete (1.2ms) DELETE FROM "preferences"
2029
+ Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2030
+ :email: true
2031
+ :phone: true
2032
+ ')
2033
+ SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2034
+ :email: true
2035
+ :phone: true
2036
+ ')
2037
+  (0.5ms) rollback transaction
2038
+ Connecting to database specified by database.yml
2039
+  (0.4ms) begin transaction
2040
+ Fixture Delete (1.1ms) DELETE FROM "preferences"
2041
+ Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2042
+ :email: true
2043
+ :phone: true
2044
+ ')
2045
+ SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2046
+ :email: true
2047
+ :phone: true
2048
+ ')
2049
+  (0.5ms) rollback transaction
2050
+ Connecting to database specified by database.yml
2051
+  (0.6ms) begin transaction
2052
+ Fixture Delete (1.8ms) DELETE FROM "preferences"
2053
+  (0.7ms) commit transaction
2054
+  (0.1ms) begin transaction
2055
+ Fixture Delete (0.3ms) DELETE FROM "users"
2056
+ Fixture Insert (0.2ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2057
+ :fb_share: true
2058
+ :tw_share: true
2059
+ ', '2012-07-31 07:40:52', '2012-07-31 07:40:52', 593363170)
2060
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-07-31 07:40:52', '2012-07-31 07:40:52', 815823836)
2061
+  (0.7ms) commit transaction
2062
+ Connecting to database specified by database.yml
2063
+  (0.4ms) begin transaction
2064
+ Fixture Delete (1.2ms) DELETE FROM "preferences"
2065
+ Fixture Insert (0.2ms) INSERT INTO "preferences" ("settings") VALUES ('---
2066
+ :email: true
2067
+ :phone: true
2068
+ ')
2069
+ SQLite3::ConstraintException: preferences.created_at may not be NULL: INSERT INTO "preferences" ("settings") VALUES ('---
2070
+ :email: true
2071
+ :phone: true
2072
+ ')
2073
+  (0.5ms) rollback transaction
2074
+ Connecting to database specified by database.yml
2075
+  (0.4ms) begin transaction
2076
+ Fixture Delete (1.2ms) DELETE FROM "preferences"
2077
+ Fixture Insert (0.3ms) INSERT INTO "preferences" ("created_at", "settings") VALUES ('2012-07-31 07:42:04.000000', '---
2078
+ :email: true
2079
+ :phone: true
2080
+ ')
2081
+ SQLite3::ConstraintException: preferences.updated_at may not be NULL: INSERT INTO "preferences" ("created_at", "settings") VALUES ('2012-07-31 07:42:04.000000', '---
2082
+ :email: true
2083
+ :phone: true
2084
+ ')
2085
+  (0.5ms) rollback transaction
2086
+ Connecting to database specified by database.yml
2087
+  (0.4ms) begin transaction
2088
+ Fixture Delete (1.1ms) DELETE FROM "preferences"
2089
+ Fixture Insert (0.1ms) INSERT INTO "preferences" ("created_at", "updated_at", "settings") VALUES ('2012-07-31 07:42:18.000000', '2012-07-31 07:42:18.000000', '---
2090
+ :email: true
2091
+ :phone: true
2092
+ ')
2093
+  (0.7ms) commit transaction
2094
+  (0.1ms) begin transaction
2095
+ Fixture Delete (0.3ms) DELETE FROM "users"
2096
+ Fixture Insert (0.1ms) INSERT INTO "users" ("name", "email", "settings", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '---
2097
+ :fb_share: true
2098
+ :tw_share: true
2099
+ ', '2012-07-31 07:42:18', '2012-07-31 07:42:18', 593363170)
2100
+ Fixture Insert (0.0ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at", "id") VALUES ('Kevin', 'info@example.com', '2012-07-31 07:42:18', '2012-07-31 07:42:18', 815823836)
2101
+  (0.9ms) commit transaction
2102
+ Connecting to database specified by database.yml
2103
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2104
+  (0.2ms) select sqlite_version(*)
2105
+  (1.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2106
+  (0.0ms) PRAGMA index_list("preferences")
2107
+  (0.8ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
2108
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2109
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2110
+  (0.0ms) PRAGMA index_list("schema_migrations")
2111
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2112
+  (0.1ms) SELECT version FROM "schema_migrations"
2113
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
2114
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2115
+ Connecting to database specified by database.yml
2116
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2117
+  (0.2ms) select sqlite_version(*)
2118
+  (1.5ms) CREATE TABLE "preferences" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2119
+  (0.0ms) PRAGMA index_list("preferences")
2120
+  (0.8ms) CREATE INDEX "index_preferences_on_user_id" ON "preferences" ("user_id")
2121
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2122
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2123
+  (0.0ms) PRAGMA index_list("schema_migrations")
2124
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2125
+  (0.1ms) SELECT version FROM "schema_migrations"
2126
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731064307')
2127
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2128
+ Connecting to database specified by database.yml
2129
+ Connecting to database specified by database.yml
2130
+ Connecting to database specified by database.yml
2131
+ Connecting to database specified by database.yml
2132
+  (0.2ms) select sqlite_version(*)
2133
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
2134
   (0.0ms) PRAGMA index_list("schema_migrations")
4
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2135
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2136
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
2137
  Migrating to CreateUsers (20110927222742)
7
-  (1.0ms) 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
-  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
9
-  (1.0ms) select sqlite_version(*)
10
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
11
-  (1.0ms) PRAGMA index_list("users")
12
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2138
+  (0.0ms) begin transaction
2139
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2140
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
2141
+  (0.7ms) commit transaction
2142
+ Migrating to CreateAccounts (20120731074843)
2143
+  (0.0ms) begin transaction
2144
+  (0.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2145
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120731074843')
2146
+  (0.7ms) commit transaction
2147
+  (0.3ms) select sqlite_version(*)
2148
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2149
+  (0.0ms) PRAGMA index_list("accounts")
2150
+  (0.0ms) PRAGMA index_list("users")
2151
+ Connecting to database specified by database.yml
2152
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2153
+  (0.2ms) select sqlite_version(*)
2154
+  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2155
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2156
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2157
+  (0.0ms) PRAGMA index_list("schema_migrations")
2158
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2159
+  (0.1ms) SELECT version FROM "schema_migrations"
2160
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731074843')
2161
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2162
+ Connecting to database specified by database.yml
2163
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2164
+  (0.3ms) select sqlite_version(*)
2165
+  (1.4ms) CREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2166
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" integer, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2167
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2168
+  (0.0ms) PRAGMA index_list("schema_migrations")
2169
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2170
+  (0.1ms) SELECT version FROM "schema_migrations"
2171
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120731074843')
2172
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2173
+ Connecting to database specified by database.yml
2174
+  (3.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
13
2175
  Migrating to CreateUsers (20110927222742)
14
-  (1.0ms) select sqlite_version(*)
15
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
16
-  (1.0ms) PRAGMA index_list("users")
17
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18
-  (1.0ms) select sqlite_version(*)
19
-  (5.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) 
20
-  (7.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
21
-  (1.0ms) PRAGMA index_list("schema_migrations")
22
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23
-  (2.0ms) SELECT version FROM "schema_migrations"
24
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2176
+ Migrating to CreateAccounts (20120731074843)
2177
+  (0.4ms) select sqlite_version(*)
2178
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
25
2179
 
26
2180
 
27
- Started GET "/" for 127.0.0.1 at 2011-12-02 17:56:14 -0800
28
- Processing by MainController#index as HTML
29
- Rendered main/index.html.erb within layouts/application (3.0ms)
30
- Compiled application.css (2ms) (pid 20134)
31
- Compiled main.css (0ms) (pid 20134)
32
- Compiled scaffold.css (0ms) (pid 20134)
33
- Compiled users.css (0ms) (pid 20134)
34
- Compiled application.js (4ms) (pid 20134)
35
- Compiled jquery.js (3ms) (pid 20134)
36
- Compiled jquery_ujs.js (0ms) (pid 20134)
37
- Compiled main.js (0ms) (pid 20134)
38
- Compiled users.js (0ms) (pid 20134)
39
- Completed 200 OK in 189ms (Views: 188.2ms | ActiveRecord: 0.0ms)
2181
+ Started GET "/" for 127.0.0.1 at 2013-01-10 23:25:38 -0800
2182
+ Connecting to database specified by database.yml
2183
+ Processing by MainController#index as HTML
2184
+ Rendered main/index.html.haml within layouts/application (4.1ms)
2185
+ Compiled main.css (0ms) (pid 20418)
2186
+ Compiled scaffold.css (0ms) (pid 20418)
2187
+ Compiled users.css (0ms) (pid 20418)
2188
+ Compiled application.css (28ms) (pid 20418)
2189
+ Compiled jquery.js (6ms) (pid 20418)
2190
+ Compiled jquery_ujs.js (1ms) (pid 20418)
2191
+ Compiled main.js (72ms) (pid 20418)
2192
+ Compiled users.js (0ms) (pid 20418)
2193
+ Compiled application.js (184ms) (pid 20418)
2194
+ Completed 200 OK in 373ms (Views: 372.3ms | ActiveRecord: 0.0ms)
40
2195
 
41
2196
 
42
- Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
43
- Served asset /scaffold.css - 200 OK (4ms)
2197
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:39 -0800
2198
+ Served asset /scaffold.css - 200 OK (14ms)
44
2199
 
45
2200
 
46
- Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
47
- Served asset /users.css - 200 OK (3ms)
2201
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2202
+ Served asset /users.css - 200 OK (4ms)
48
2203
 
49
2204
 
50
- Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
51
- Served asset /users.js - 200 OK (2ms)
2205
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2206
+ Served asset /main.css - 200 OK (4ms)
52
2207
 
53
2208
 
54
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
2209
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
55
2210
  Served asset /jquery.js - 200 OK (8ms)
56
2211
 
57
2212
 
58
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
59
- Served asset /application.css - 200 OK (0ms)
2213
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2214
+ Served asset /application.css - 200 OK (11ms)
60
2215
 
61
2216
 
62
- Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
63
- Served asset /main.css - 200 OK (3ms)
2217
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2218
+ Served asset /users.js - 200 OK (16ms)
64
2219
 
65
2220
 
66
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
67
- Served asset /jquery_ujs.js - 200 OK (2ms)
2221
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2222
+ Served asset /main.js - 200 OK (17ms)
68
2223
 
69
2224
 
70
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
71
- Served asset /application.js - 200 OK (0ms)
2225
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2226
+ Served asset /jquery_ujs.js - 200 OK (5ms)
72
2227
 
73
2228
 
74
- Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2011-12-02 17:56:15 -0800
75
- Served asset /main.js - 200 OK (1ms)
2229
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 23:25:40 -0800
2230
+ Served asset /application.js - 200 OK (50ms)
76
2231
 
77
2232
 
78
- Started GET "/users" for 127.0.0.1 at 2011-12-02 17:56:17 -0800
79
- Processing by UsersController#index as HTML
80
- User Load (0.1ms) SELECT "users".* FROM "users" 
81
- Rendered users/index.html.erb within layouts/application (1.0ms)
82
- Completed 200 OK in 51ms (Views: 25.8ms | ActiveRecord: 0.9ms)
2233
+ Started GET "/users" for 127.0.0.1 at 2013-01-10 23:25:43 -0800
2234
+ Processing by UsersController#index as HTML
2235
+ User Load (0.5ms) SELECT "users".* FROM "users" 
2236
+ Rendered users/index.html.haml within layouts/application (6.8ms)
2237
+ Completed 200 OK in 114ms (Views: 16.5ms | ActiveRecord: 5.0ms)
83
2238
 
84
2239
 
85
- Started GET "/users/new" for 127.0.0.1 at 2011-12-02 17:56:18 -0800
86
- Processing by UsersController#new as HTML
87
- Rendered users/_form.html.erb (9.6ms)
88
- Rendered users/new.html.erb within layouts/application (13.5ms)
89
- Completed 200 OK in 51ms (Views: 19.4ms | ActiveRecord: 0.6ms)
2240
+ Started GET "/users/new" for 127.0.0.1 at 2013-01-10 23:25:45 -0800
2241
+ Processing by UsersController#new as HTML
2242
+ Rendered users/_fields.html.haml (8.6ms)
2243
+ Rendered users/_form.html.haml (30.0ms)
2244
+ Rendered users/new.html.haml within layouts/application (42.6ms)
2245
+ Completed 200 OK in 80ms (Views: 53.3ms | ActiveRecord: 0.0ms)
90
2246
 
91
2247
 
92
- Started POST "/users" for 127.0.0.1 at 2011-12-02 17:56:24 -0800
93
- Processing by UsersController#create as HTML
94
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"c0PKUGFzfNP0RgKHBlmBR++qRjO5B4ItDyZK8vkXrN0=", "user"=>{"name"=>"Kevin", "email"=>"", "fb_share"=>"1", "tw_share"=>"1", "tumblr_share"=>"true"}, "commit"=>"Create User"}
95
- SQL (5.3ms) INSERT INTO "users" ("created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 03 Dec 2011 01:56:24 UTC +00:00], ["email", ""], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tumblr_share: true\n"], ["updated_at", Sat, 03 Dec 2011 01:56:24 UTC +00:00]]
2248
+ Started POST "/users" for 127.0.0.1 at 2013-01-10 23:25:57 -0800
2249
+ Processing by UsersController#create as HTML
2250
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"glRezaxsNwSlTN0H31kq4dyLt8M9HEWsLotFNuowgYU=", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"true"}, "commit"=>"Create User"}
2251
+  (0.1ms) begin transaction
2252
+ SQL (12.5ms) INSERT INTO "users" ("account_id", "created_at", "email", "name", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["account_id", nil], ["created_at", Fri, 11 Jan 2013 07:25:57 UTC +00:00], ["email", "kevin@ksylvest.com"], ["name", "Kevin"], ["settings", "---\n:fb_share: true\n:tw_share: true\n:tb_share: true\n"], ["updated_at", Fri, 11 Jan 2013 07:25:57 UTC +00:00]]
2253
+  (0.9ms) commit transaction
96
2254
  Redirected to http://localhost:3000/users/1
97
- Completed 302 Found in 49ms
2255
+ Completed 302 Found in 33ms (ActiveRecord: 0.0ms)
98
2256
 
99
2257
 
100
- Started GET "/users/1" for 127.0.0.1 at 2011-12-02 17:56:24 -0800
101
- Processing by UsersController#show as HTML
2258
+ Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:25:57 -0800
2259
+ Processing by UsersController#show as HTML
102
2260
  Parameters: {"id"=>"1"}
103
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
104
- Rendered users/show.html.erb within layouts/application (6.7ms)
105
- Completed 200 OK in 22ms (Views: 13.7ms | ActiveRecord: 0.8ms)
2261
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2262
+ Rendered users/_user.html.haml (3.5ms)
2263
+ Rendered users/show.html.haml within layouts/application (9.2ms)
2264
+ Completed 200 OK in 28ms (Views: 23.2ms | ActiveRecord: 0.4ms)
106
2265
 
107
2266
 
108
- Started GET "/users/1/edit" for 127.0.0.1 at 2011-12-02 17:56:26 -0800
109
- Processing by UsersController#edit as HTML
2267
+ Started GET "/users/1/edit" for 127.0.0.1 at 2013-01-10 23:26:01 -0800
2268
+ Processing by UsersController#edit as HTML
110
2269
  Parameters: {"id"=>"1"}
111
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
112
- Rendered users/_form.html.erb (8.1ms)
113
- Rendered users/edit.html.erb within layouts/application (9.9ms)
114
- Completed 200 OK in 21ms (Views: 15.8ms | ActiveRecord: 0.7ms)
2270
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2271
+ Rendered users/_fields.html.haml (3.9ms)
2272
+ Rendered users/_form.html.haml (11.3ms)
2273
+ Rendered users/edit.html.haml within layouts/application (17.5ms)
2274
+ Completed 200 OK in 32ms (Views: 29.0ms | ActiveRecord: 0.3ms)
115
2275
 
116
2276
 
117
- Started PUT "/users/1" for 127.0.0.1 at 2011-12-02 17:56:27 -0800
118
- Processing by UsersController#update as HTML
119
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"c0PKUGFzfNP0RgKHBlmBR++qRjO5B4ItDyZK8vkXrN0=", "user"=>{"name"=>"Kevin", "email"=>"", "fb_share"=>"1", "tw_share"=>"1", "tumblr_share"=>"false"}, "commit"=>"Update User", "id"=>"1"}
120
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
121
-  (0.3ms) UPDATE "users" SET "updated_at" = '2011-12-03 01:56:27.873633', "settings" = '---
2277
+ Started PUT "/users/1" for 127.0.0.1 at 2013-01-10 23:26:04 -0800
2278
+ Processing by UsersController#update as HTML
2279
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"glRezaxsNwSlTN0H31kq4dyLt8M9HEWsLotFNuowgYU=", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"false"}, "commit"=>"Update User", "id"=>"1"}
2280
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2281
+  (0.1ms) begin transaction
2282
+  (0.6ms) UPDATE "users" SET "updated_at" = '2013-01-11 07:26:04.193768', "settings" = '---
122
2283
  :fb_share: true
123
2284
  :tw_share: true
124
- :tumblr_share: false
125
- ' WHERE "users"."id" = 1
2285
+ :tb_share: false
2286
+ ' WHERE "users"."id" = 1
2287
+  (1.1ms) commit transaction
126
2288
  Redirected to http://localhost:3000/users/1
127
- Completed 302 Found in 19ms
2289
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
128
2290
 
129
2291
 
130
- Started GET "/users/1" for 127.0.0.1 at 2011-12-02 17:56:27 -0800
131
- Processing by UsersController#show as HTML
2292
+ Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:26:04 -0800
2293
+ Processing by UsersController#show as HTML
132
2294
  Parameters: {"id"=>"1"}
133
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
134
- Rendered users/show.html.erb within layouts/application (5.6ms)
135
- Completed 200 OK in 19ms (Views: 12.2ms | ActiveRecord: 0.8ms)
2295
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2296
+ Rendered users/_user.html.haml (0.9ms)
2297
+ Rendered users/show.html.haml within layouts/application (4.2ms)
2298
+ Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
136
2299
 
137
2300
 
138
- Started GET "/users/1/edit" for 127.0.0.1 at 2011-12-02 17:56:29 -0800
139
- Processing by UsersController#edit as HTML
2301
+ Started GET "/users/1/edit" for 127.0.0.1 at 2013-01-10 23:26:06 -0800
2302
+ Processing by UsersController#edit as HTML
140
2303
  Parameters: {"id"=>"1"}
141
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
142
- Rendered users/_form.html.erb (7.8ms)
143
- Rendered users/edit.html.erb within layouts/application (9.3ms)
144
- Completed 200 OK in 21ms (Views: 15.5ms | ActiveRecord: 0.6ms)
2304
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2305
+ Rendered users/_fields.html.haml (4.3ms)
2306
+ Rendered users/_form.html.haml (11.3ms)
2307
+ Rendered users/edit.html.haml within layouts/application (15.0ms)
2308
+ Completed 200 OK in 30ms (Views: 26.7ms | ActiveRecord: 0.3ms)
145
2309
 
146
2310
 
147
- Started PUT "/users/1" for 127.0.0.1 at 2011-12-02 17:56:30 -0800
148
- Processing by UsersController#update as HTML
149
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"c0PKUGFzfNP0RgKHBlmBR++qRjO5B4ItDyZK8vkXrN0=", "user"=>{"name"=>"Kevin", "email"=>"", "fb_share"=>"1", "tw_share"=>"1", "tumblr_share"=>"true"}, "commit"=>"Update User", "id"=>"1"}
150
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
151
-  (0.3ms) UPDATE "users" SET "updated_at" = '2011-12-03 01:56:30.814349', "settings" = '---
2311
+ Started PUT "/users/1" for 127.0.0.1 at 2013-01-10 23:26:07 -0800
2312
+ Processing by UsersController#update as HTML
2313
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"glRezaxsNwSlTN0H31kq4dyLt8M9HEWsLotFNuowgYU=", "user"=>{"name"=>"Kevin", "email"=>"kevin@ksylvest.com", "fb_share"=>"1", "tw_share"=>"1", "tb_share"=>"true"}, "commit"=>"Update User", "id"=>"1"}
2314
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2315
+  (0.1ms) begin transaction
2316
+  (0.6ms) UPDATE "users" SET "updated_at" = '2013-01-11 07:26:07.999994', "settings" = '---
152
2317
  :fb_share: true
153
2318
  :tw_share: true
154
- :tumblr_share: true
155
- ' WHERE "users"."id" = 1
2319
+ :tb_share: true
2320
+ ' WHERE "users"."id" = 1
2321
+  (1.0ms) commit transaction
156
2322
  Redirected to http://localhost:3000/users/1
157
- Completed 302 Found in 23ms
2323
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
158
2324
 
159
2325
 
160
- Started GET "/users/1" for 127.0.0.1 at 2011-12-02 17:56:30 -0800
161
- Processing by UsersController#show as HTML
2326
+ Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:26:08 -0800
2327
+ Processing by UsersController#show as HTML
162
2328
  Parameters: {"id"=>"1"}
163
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
164
- Rendered users/show.html.erb within layouts/application (5.9ms)
165
- Completed 200 OK in 18ms (Views: 11.9ms | ActiveRecord: 0.6ms)
2329
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2330
+ Rendered users/_user.html.haml (1.3ms)
2331
+ Rendered users/show.html.haml within layouts/application (5.0ms)
2332
+ Completed 200 OK in 32ms (Views: 29.5ms | ActiveRecord: 0.3ms)
166
2333
 
167
2334
 
168
- Started GET "/users/1/edit" for 127.0.0.1 at 2011-12-02 17:56:32 -0800
169
- Processing by UsersController#edit as HTML
2335
+ Started GET "/users/1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2336
+ Processing by UsersController#show as HTML
170
2337
  Parameters: {"id"=>"1"}
171
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
172
- Rendered users/_form.html.erb (8.6ms)
173
- Rendered users/edit.html.erb within layouts/application (10.1ms)
174
- Completed 200 OK in 22ms (Views: 16.3ms | ActiveRecord: 0.6ms)
2338
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2339
+ Rendered users/_user.html.haml (13.0ms)
2340
+ Rendered users/show.html.haml within layouts/application (23.7ms)
2341
+ Completed 200 OK in 64ms (Views: 59.5ms | ActiveRecord: 0.3ms)
175
2342
 
176
2343
 
177
- Started PUT "/users/1" for 127.0.0.1 at 2011-12-02 17:56:33 -0800
178
- Processing by UsersController#update as HTML
179
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"c0PKUGFzfNP0RgKHBlmBR++qRjO5B4ItDyZK8vkXrN0=", "user"=>{"name"=>"Kevin", "email"=>"", "fb_share"=>"1", "tw_share"=>"1", "tumblr_share"=>"false"}, "commit"=>"Update User", "id"=>"1"}
180
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
181
-  (0.4ms) UPDATE "users" SET "updated_at" = '2011-12-03 01:56:33.962584', "settings" = '---
182
- :fb_share: true
183
- :tw_share: true
184
- :tumblr_share: false
185
- ' WHERE "users"."id" = 1
186
- Redirected to http://localhost:3000/users/1
187
- Completed 302 Found in 19ms
2344
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2345
+ Served asset /application.css - 304 Not Modified (0ms)
188
2346
 
189
2347
 
190
- Started GET "/users/1" for 127.0.0.1 at 2011-12-02 17:56:34 -0800
191
- Processing by UsersController#show as HTML
192
- Parameters: {"id"=>"1"}
193
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
194
- Rendered users/show.html.erb within layouts/application (6.3ms)
195
- Completed 200 OK in 18ms (Views: 12.0ms | ActiveRecord: 0.7ms)
196
-  (0.2ms) select sqlite_version(*)
197
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
198
-  (0.1ms) PRAGMA index_list("schema_migrations")
199
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
200
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
201
- Migrating to CreateUsers (20110927222742)
202
-  (0.1ms) begin transaction
203
-  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
204
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110927222742')
205
-  (1.0ms) commit transaction
206
-  (0.3ms) select sqlite_version(*)
207
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
208
-  (0.0ms) PRAGMA index_list("users")
209
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
210
-  (0.2ms) select sqlite_version(*)
211
-  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "settings" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
212
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
213
-  (0.0ms) PRAGMA index_list("schema_migrations")
214
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
215
-  (0.1ms) SELECT version FROM "schema_migrations"
216
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20110927222742')
2348
+ Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2349
+ Served asset /main.css - 304 Not Modified (0ms)
2350
+
2351
+
2352
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2353
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2354
+
2355
+
2356
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2357
+ Served asset /jquery.js - 304 Not Modified (0ms)
2358
+
2359
+
2360
+ Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2361
+ Served asset /users.css - 304 Not Modified (0ms)
2362
+
2363
+
2364
+ Started GET "/assets/main.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2365
+ Served asset /main.js - 304 Not Modified (0ms)
2366
+
2367
+
2368
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2369
+ Served asset /scaffold.css - 304 Not Modified (0ms)
2370
+
2371
+
2372
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2373
+ Served asset /application.js - 304 Not Modified (2ms)
2374
+
2375
+
2376
+ Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-01-10 23:26:10 -0800
2377
+ Served asset /users.js - 304 Not Modified (0ms)