zen_seo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/.gitignore +12 -0
  2. data/.gitignore~ +7 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +22 -0
  5. data/Gemfile.lock +115 -0
  6. data/README.md +88 -0
  7. data/lib/zen_seo/base.rb +5 -4
  8. data/lib/zen_seo/controller_helper.rb +1 -0
  9. data/lib/zen_seo/version.rb +1 -1
  10. data/{test → spec}/dummy/README.rdoc +0 -0
  11. data/{test → spec}/dummy/Rakefile +0 -0
  12. data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
  13. data/spec/dummy/app/assets/javascripts/posts.js +2 -0
  14. data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
  15. data/spec/dummy/app/assets/stylesheets/posts.css +4 -0
  16. data/spec/dummy/app/assets/stylesheets/scaffold.css +56 -0
  17. data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
  18. data/spec/dummy/app/controllers/posts_controller.rb +83 -0
  19. data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
  20. data/spec/dummy/app/helpers/posts_helper.rb +2 -0
  21. data/{test/dummy/public/favicon.ico → spec/dummy/app/mailers/.gitkeep} +0 -0
  22. data/spec/dummy/app/models/.gitkeep +0 -0
  23. data/spec/dummy/app/models/post.rb +8 -0
  24. data/{test → spec}/dummy/app/views/layouts/application.html.erb +1 -0
  25. data/spec/dummy/app/views/posts/_form.html.erb +43 -0
  26. data/spec/dummy/app/views/posts/edit.html.erb +6 -0
  27. data/spec/dummy/app/views/posts/index.html.erb +27 -0
  28. data/spec/dummy/app/views/posts/new.html.erb +5 -0
  29. data/spec/dummy/app/views/posts/show.html.erb +20 -0
  30. data/{test → spec}/dummy/config/application.rb +0 -0
  31. data/{test → spec}/dummy/config/boot.rb +0 -0
  32. data/{test → spec}/dummy/config/database.yml +0 -0
  33. data/{test → spec}/dummy/config/environment.rb +0 -0
  34. data/{test → spec}/dummy/config/environments/development.rb +0 -0
  35. data/{test → spec}/dummy/config/environments/production.rb +0 -0
  36. data/{test → spec}/dummy/config/environments/test.rb +0 -0
  37. data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
  38. data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
  39. data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
  40. data/{test → spec}/dummy/config/initializers/secret_token.rb +0 -0
  41. data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
  42. data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
  43. data/{test → spec}/dummy/config/locales/en.yml +0 -0
  44. data/{test → spec}/dummy/config/routes.rb +4 -0
  45. data/{test → spec}/dummy/config.ru +0 -0
  46. data/spec/dummy/db/development.sqlite3 +0 -0
  47. data/spec/dummy/db/migrate/20130329073248_create_posts.rb +11 -0
  48. data/spec/dummy/db/migrate/20130329073304_create_seos.rb +12 -0
  49. data/spec/dummy/db/schema.rb +34 -0
  50. data/spec/dummy/lib/assets/.gitkeep +0 -0
  51. data/spec/dummy/log/.gitkeep +0 -0
  52. data/spec/dummy/log/development.log +711 -0
  53. data/{test → spec}/dummy/public/404.html +0 -0
  54. data/{test → spec}/dummy/public/422.html +0 -0
  55. data/{test → spec}/dummy/public/500.html +0 -0
  56. data/spec/dummy/public/favicon.ico +0 -0
  57. data/{test → spec}/dummy/script/rails +0 -0
  58. data/spec/dummy/test/fixtures/posts.yml +11 -0
  59. data/spec/dummy/test/functional/posts_controller_test.rb +49 -0
  60. data/spec/dummy/test/unit/helpers/posts_helper_test.rb +4 -0
  61. data/spec/dummy/test/unit/post_test.rb +7 -0
  62. data/spec/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
  63. data/spec/dummy/tmp/cache/assets/CAB/2B0/sprockets%2F7f42b56265da60e2e55070da5209187e +0 -0
  64. data/spec/dummy/tmp/cache/assets/CC7/220/sprockets%2Fd066c004d1fd26ae76a61303a7a18145 +0 -0
  65. data/spec/dummy/tmp/cache/assets/CD5/B70/sprockets%2F416150dc3ac35079c94273cc46e90aa6 +0 -0
  66. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  67. data/spec/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
  68. data/spec/dummy/tmp/cache/assets/D1A/310/sprockets%2F5384ad85f52d3272dbc64d46ef3876a4 +0 -0
  69. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  70. data/spec/dummy/tmp/cache/assets/D4C/0A0/sprockets%2F128b787007ed7bcc496f2cfe954054df +0 -0
  71. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  72. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  73. data/spec/dummy/tmp/cache/assets/D9C/CD0/sprockets%2Fc85016e7bbd4f3adbb7635d01f85d39b +0 -0
  74. data/spec/dummy/tmp/cache/assets/DA0/4D0/sprockets%2F621e6ac32f63ecb1fcd158c408cd877f +0 -0
  75. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  76. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  77. data/spec/dummy/tmp/cache/assets/E1C/CF0/sprockets%2Fa1bfe0c8cb9c6a2d3b00a914dcdfb494 +0 -0
  78. data/spec/spec_helper.rb +22 -0
  79. data/spec/zen_seo_spec.rb +43 -0
  80. data/zen_seo.gemspec +30 -0
  81. data/zen_seo.gemspec~ +28 -0
  82. metadata +155 -71
  83. data/test/test_helper.rb +0 -15
  84. data/test/zen_seo_test.rb +0 -7
@@ -0,0 +1,711 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+ Connecting to database specified by database.yml
6
+  (0.1ms) select sqlite_version(*)
7
+  (165.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
8
+  (133.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+  (18.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
10
+ Migrating to CreatePosts (20130329073248)
11
+  (0.1ms) begin transaction
12
+  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "tags" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
13
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130329073248')
14
+  (181.5ms) commit transaction
15
+ Migrating to CreateSeos (20130329073304)
16
+  (0.1ms) begin transaction
17
+  (0.4ms) CREATE TABLE "seos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "keywords" text, "promotable_id" integer, "promotable_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
18
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130329073304')
19
+  (148.1ms) commit transaction
20
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
21
+ Connecting to database specified by database.yml
22
+ Connecting to database specified by database.yml
23
+
24
+
25
+ Started GET "/" for 127.0.0.1 at 2013-03-29 11:58:40 +0400
26
+
27
+ ActionController::RoutingError (No route matches [GET] "/"):
28
+ actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
29
+ actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
30
+ railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
31
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
32
+ activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
33
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
34
+ actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
35
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
36
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
37
+ activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
38
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
39
+ actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
40
+ railties (3.2.13) lib/rails/engine.rb:479:in `call'
41
+ railties (3.2.13) lib/rails/application.rb:223:in `call'
42
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
43
+ railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
44
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
45
+ /home/prikha/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
46
+ /home/prikha/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
47
+ /home/prikha/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
48
+
49
+
50
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
51
+
52
+
53
+ Started GET "/" for 127.0.0.1 at 2013-03-29 11:59:09 +0400
54
+ Processing by PostsController#index as HTML
55
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" 
56
+ Rendered posts/index.html.erb within layouts/application (0.7ms)
57
+ Completed 500 Internal Server Error in 65ms
58
+
59
+ ActionView::Template::Error (undefined local variable or method `display_meta_tags' for #<#<Class:0x00000003862bc8>:0x00000003c1fbf8>):
60
+ 2: <html>
61
+ 3: <head>
62
+ 4: <title>Dummy</title>
63
+ 5: <%= display_meta_tags %>
64
+ 6: <%= stylesheet_link_tag "application", :media => "all" %>
65
+ 7: <%= javascript_include_tag "application" %>
66
+ 8: <%= csrf_meta_tags %>
67
+ app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__1985903656234029106_31538860'
68
+ app/controllers/posts_controller.rb:7:in `index'
69
+
70
+
71
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
72
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
73
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms)
74
+ Connecting to database specified by database.yml
75
+
76
+
77
+ Started GET "/" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
78
+ Processing by PostsController#index as HTML
79
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" 
80
+ Rendered posts/index.html.erb within layouts/application (1.2ms)
81
+ Compiled posts.css (0ms) (pid 13081)
82
+ Compiled scaffold.css (0ms) (pid 13081)
83
+ Compiled application.css (57ms) (pid 13081)
84
+ Compiled jquery.js (4ms) (pid 13081)
85
+ Compiled jquery_ujs.js (0ms) (pid 13081)
86
+ Compiled posts.js (0ms) (pid 13081)
87
+ Compiled application.js (73ms) (pid 13081)
88
+ Completed 200 OK in 193ms (Views: 183.3ms | ActiveRecord: 0.8ms)
89
+
90
+
91
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
92
+ Served asset /application.css - 200 OK (34ms)
93
+
94
+
95
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
96
+ Served asset /posts.css - 200 OK (4ms)
97
+
98
+
99
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
100
+ Served asset /scaffold.css - 200 OK (1ms)
101
+
102
+
103
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
104
+ Served asset /posts.js - 200 OK (3ms)
105
+
106
+
107
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
108
+ Served asset /jquery.js - 304 Not Modified (7ms)
109
+
110
+
111
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
112
+ Served asset /jquery_ujs.js - 304 Not Modified (4ms)
113
+
114
+
115
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-29 12:02:11 +0400
116
+ Served asset /application.js - 200 OK (4ms)
117
+
118
+
119
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:02:13 +0400
120
+ Processing by PostsController#new as HTML
121
+ Rendered posts/_form.html.erb (66.4ms)
122
+ Rendered posts/new.html.erb within layouts/application (80.5ms)
123
+ Completed 200 OK in 133ms (Views: 83.3ms | ActiveRecord: 0.9ms)
124
+
125
+
126
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:02:13 +0400
127
+ Served asset /jquery.js - 304 Not Modified (3ms)
128
+
129
+
130
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:02:13 +0400
131
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
132
+
133
+
134
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
135
+ Processing by PostsController#new as HTML
136
+ Rendered posts/_form.html.erb (3.5ms)
137
+ Rendered posts/new.html.erb within layouts/application (4.1ms)
138
+ Completed 200 OK in 35ms (Views: 32.4ms | ActiveRecord: 0.0ms)
139
+
140
+
141
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
142
+ Served asset /posts.css - 304 Not Modified (0ms)
143
+
144
+
145
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
146
+ Served asset /application.css - 304 Not Modified (1ms)
147
+
148
+
149
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
150
+ Served asset /jquery.js - 304 Not Modified (2ms)
151
+
152
+
153
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
154
+ Served asset /scaffold.css - 304 Not Modified (0ms)
155
+
156
+
157
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
158
+ Served asset /posts.js - 304 Not Modified (0ms)
159
+
160
+
161
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
162
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
163
+
164
+
165
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-29 12:04:19 +0400
166
+ Served asset /application.js - 304 Not Modified (3ms)
167
+
168
+
169
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
170
+ Processing by PostsController#new as HTML
171
+ Rendered posts/_form.html.erb (2.9ms)
172
+ Rendered posts/new.html.erb within layouts/application (3.9ms)
173
+ Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.0ms)
174
+
175
+
176
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
177
+ Served asset /application.css - 304 Not Modified (15ms)
178
+
179
+
180
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
181
+ Served asset /scaffold.css - 304 Not Modified (0ms)
182
+
183
+
184
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
185
+ Served asset /posts.css - 304 Not Modified (0ms)
186
+
187
+
188
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
189
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
190
+
191
+
192
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
193
+ Served asset /jquery.js - 304 Not Modified (2ms)
194
+
195
+
196
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
197
+ Served asset /posts.js - 304 Not Modified (0ms)
198
+
199
+
200
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:17 +0400
201
+ Served asset /application.js - 304 Not Modified (3ms)
202
+
203
+
204
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
205
+ Processing by PostsController#new as HTML
206
+ Rendered posts/_form.html.erb (4.1ms)
207
+ Rendered posts/new.html.erb within layouts/application (5.2ms)
208
+ Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms)
209
+
210
+
211
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
212
+ Served asset /application.css - 304 Not Modified (10ms)
213
+
214
+
215
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
216
+ Served asset /scaffold.css - 304 Not Modified (0ms)
217
+
218
+
219
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
220
+ Served asset /posts.css - 304 Not Modified (0ms)
221
+
222
+
223
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
224
+ Served asset /jquery.js - 304 Not Modified (6ms)
225
+
226
+
227
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
228
+ Served asset /posts.js - 304 Not Modified (0ms)
229
+
230
+
231
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
232
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
233
+
234
+
235
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:36 +0400
236
+ Served asset /application.js - 304 Not Modified (3ms)
237
+
238
+
239
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
240
+ Processing by PostsController#create as HTML
241
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"My new title", "body"=>"my new body", "tags"=>"some:new:tags", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
242
+  (0.2ms) begin transaction
243
+  (0.0ms) rollback transaction
244
+ Rendered posts/_form.html.erb (4.1ms)
245
+ Rendered posts/new.html.erb within layouts/application (4.6ms)
246
+ Completed 200 OK in 18ms (Views: 7.4ms | ActiveRecord: 0.2ms)
247
+
248
+
249
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
250
+ Served asset /application.css - 304 Not Modified (1ms)
251
+
252
+
253
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
254
+ Served asset /posts.css - 304 Not Modified (0ms)
255
+
256
+
257
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
258
+ Served asset /jquery.js - 304 Not Modified (0ms)
259
+
260
+
261
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
262
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
263
+
264
+
265
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
266
+ Served asset /scaffold.css - 304 Not Modified (0ms)
267
+
268
+
269
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
270
+ Served asset /posts.js - 304 Not Modified (0ms)
271
+
272
+
273
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
274
+ Served asset /application.js - 304 Not Modified (3ms)
275
+
276
+
277
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:06:55 +0400
278
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
279
+
280
+
281
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:10:25 +0400
282
+ Processing by PostsController#create as HTML
283
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"My new title", "body"=>"my new body", "tags"=>"some:new:tags", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
284
+  (0.0ms) begin transaction
285
+  (0.0ms) rollback transaction
286
+ Rendered posts/_form.html.erb (4.7ms)
287
+ Rendered posts/new.html.erb within layouts/application (5.2ms)
288
+ Completed 200 OK in 17ms (Views: 8.3ms | ActiveRecord: 0.4ms)
289
+
290
+
291
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-29 12:10:25 +0400
292
+ Served asset /application.css - 304 Not Modified (1ms)
293
+
294
+
295
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-03-29 12:10:25 +0400
296
+ Served asset /scaffold.css - 304 Not Modified (9ms)
297
+
298
+
299
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-03-29 12:10:26 +0400
300
+ Served asset /posts.css - 304 Not Modified (0ms)
301
+
302
+
303
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:10:26 +0400
304
+ Served asset /jquery.js - 304 Not Modified (2ms)
305
+
306
+
307
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-29 12:10:26 +0400
308
+ Served asset /application.js - 304 Not Modified (4ms)
309
+
310
+
311
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:10:26 +0400
312
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
313
+
314
+
315
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2013-03-29 12:10:26 +0400
316
+ Served asset /posts.js - 304 Not Modified (0ms)
317
+
318
+
319
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
320
+ Processing by PostsController#create as HTML
321
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"My new title", "body"=>"my new body", "tags"=>"some:new:tags", "seo_attributes"=>{"title"=>"some title", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
322
+  (0.0ms) begin transaction
323
+  (0.0ms) rollback transaction
324
+ Rendered posts/_form.html.erb (4.3ms)
325
+ Rendered posts/new.html.erb within layouts/application (4.8ms)
326
+ Completed 200 OK in 16ms (Views: 8.1ms | ActiveRecord: 0.4ms)
327
+
328
+
329
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
330
+ Served asset /application.css - 304 Not Modified (2ms)
331
+
332
+
333
+ Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
334
+ Served asset /posts.css - 304 Not Modified (0ms)
335
+
336
+
337
+ Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
338
+ Served asset /scaffold.css - 304 Not Modified (9ms)
339
+
340
+
341
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
342
+ Served asset /jquery.js - 304 Not Modified (2ms)
343
+
344
+
345
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
346
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
347
+
348
+
349
+ Started GET "/assets/posts.js?body=1" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
350
+ Served asset /posts.js - 304 Not Modified (0ms)
351
+
352
+
353
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-29 12:11:19 +0400
354
+ Served asset /application.js - 304 Not Modified (3ms)
355
+ Connecting to database specified by database.yml
356
+ Connecting to database specified by database.yml
357
+
358
+
359
+ Started GET "/posts" for 127.0.0.1 at 2013-03-29 12:12:25 +0400
360
+ Processing by PostsController#index as HTML
361
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" 
362
+ Rendered posts/index.html.erb within layouts/application (1.1ms)
363
+ Completed 200 OK in 24ms (Views: 14.5ms | ActiveRecord: 0.8ms)
364
+
365
+
366
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:12:26 +0400
367
+ Processing by PostsController#new as HTML
368
+ Rendered posts/_form.html.erb (6.8ms)
369
+ Rendered posts/new.html.erb within layouts/application (8.6ms)
370
+ Completed 200 OK in 27ms (Views: 12.0ms | ActiveRecord: 0.3ms)
371
+
372
+
373
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:12:43 +0400
374
+ Processing by PostsController#create as HTML
375
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
376
+  (0.1ms) begin transaction
377
+  (0.0ms) rollback transaction
378
+ Rendered posts/_form.html.erb (4.6ms)
379
+ Rendered posts/new.html.erb within layouts/application (5.1ms)
380
+ Completed 200 OK in 16ms (Views: 9.1ms | ActiveRecord: 0.1ms)
381
+ Connecting to database specified by database.yml
382
+
383
+
384
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:14:12 +0400
385
+ Processing by PostsController#create as HTML
386
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
387
+  (0.0ms) begin transaction
388
+  (0.1ms) rollback transaction
389
+ Completed 500 Internal Server Error in 73ms
390
+
391
+ NoMethodError (undefined method `send_title' for #<Post:0x000000036e7280>):
392
+ app/controllers/posts_controller.rb:46:in `block in create'
393
+ app/controllers/posts_controller.rb:45:in `create'
394
+
395
+
396
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
397
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
398
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.0ms)
399
+ Connecting to database specified by database.yml
400
+
401
+
402
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:15:20 +0400
403
+ Processing by PostsController#create as HTML
404
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
405
+  (0.0ms) begin transaction
406
+  (0.0ms) rollback transaction
407
+ Rendered posts/_form.html.erb (5.7ms)
408
+ Rendered posts/new.html.erb within layouts/application (29.7ms)
409
+ Completed 200 OK in 74ms (Views: 43.1ms | ActiveRecord: 1.0ms)
410
+ Connecting to database specified by database.yml
411
+
412
+
413
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:17:45 +0400
414
+ Processing by PostsController#create as HTML
415
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
416
+  (0.0ms) begin transaction
417
+  (0.0ms) rollback transaction
418
+ Rendered posts/_form.html.erb (5.5ms)
419
+ Rendered posts/new.html.erb within layouts/application (7.6ms)
420
+ Completed 200 OK in 71ms (Views: 20.8ms | ActiveRecord: 1.0ms)
421
+
422
+
423
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:17:48 +0400
424
+ Processing by PostsController#create as HTML
425
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
426
+  (0.1ms) begin transaction
427
+  (0.0ms) rollback transaction
428
+ Rendered posts/_form.html.erb (4.3ms)
429
+ Rendered posts/new.html.erb within layouts/application (4.7ms)
430
+ Completed 200 OK in 15ms (Views: 8.4ms | ActiveRecord: 0.2ms)
431
+ Connecting to database specified by database.yml
432
+
433
+
434
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:20:00 +0400
435
+ Processing by PostsController#create as HTML
436
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
437
+  (0.0ms) begin transaction
438
+  (0.0ms) rollback transaction
439
+ Completed 500 Internal Server Error in 25ms
440
+
441
+ NameError (undefined local variable or method `seo_attributes' for #<Post:0x00000001e749c8>):
442
+ app/controllers/posts_controller.rb:46:in `block in create'
443
+ app/controllers/posts_controller.rb:45:in `create'
444
+
445
+
446
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
447
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (23.8ms)
448
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.6ms)
449
+ Connecting to database specified by database.yml
450
+
451
+
452
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:20:23 +0400
453
+ Processing by PostsController#create as HTML
454
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
455
+  (0.0ms) begin transaction
456
+  (0.0ms) rollback transaction
457
+ Completed 500 Internal Server Error in 25ms
458
+
459
+ NoMethodError (undefined method `seo_attributes' for #<Post:0x00000001fe5c80>):
460
+ app/controllers/posts_controller.rb:46:in `block in create'
461
+ app/controllers/posts_controller.rb:45:in `create'
462
+
463
+
464
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
465
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (22.8ms)
466
+ Rendered /home/prikha/.rvm/gems/ruby-1.9.3-p392@rubymine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.8ms)
467
+ Connecting to database specified by database.yml
468
+
469
+
470
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:20:36 +0400
471
+ Processing by PostsController#create as HTML
472
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
473
+  (0.0ms) begin transaction
474
+  (0.0ms) rollback transaction
475
+ Rendered posts/_form.html.erb (5.9ms)
476
+ Rendered posts/new.html.erb within layouts/application (8.1ms)
477
+ Completed 200 OK in 74ms (Views: 44.2ms | ActiveRecord: 1.0ms)
478
+ Connecting to database specified by database.yml
479
+ Connecting to database specified by database.yml
480
+
481
+
482
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:27:05 +0400
483
+ Processing by PostsController#create as HTML
484
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
485
+  (0.0ms) begin transaction
486
+  (0.0ms) rollback transaction
487
+ Rendered posts/_form.html.erb (6.0ms)
488
+ Rendered posts/new.html.erb within layouts/application (8.4ms)
489
+ Completed 200 OK in 73ms (Views: 44.2ms | ActiveRecord: 1.0ms)
490
+
491
+
492
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:27:09 +0400
493
+ Processing by PostsController#create as HTML
494
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"new", "body"=>"new", "tags"=>"new:some:true_style", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
495
+  (0.2ms) begin transaction
496
+  (0.1ms) rollback transaction
497
+ Rendered posts/_form.html.erb (4.5ms)
498
+ Rendered posts/new.html.erb within layouts/application (5.0ms)
499
+ Completed 200 OK in 21ms (Views: 10.4ms | ActiveRecord: 0.3ms)
500
+ Connecting to database specified by database.yml
501
+
502
+
503
+ Started GET "/posts" for 127.0.0.1 at 2013-03-29 12:27:52 +0400
504
+ Processing by PostsController#index as HTML
505
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" 
506
+ Rendered posts/index.html.erb within layouts/application (1.1ms)
507
+ Completed 200 OK in 24ms (Views: 14.3ms | ActiveRecord: 0.9ms)
508
+
509
+
510
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:27:54 +0400
511
+ Processing by PostsController#new as HTML
512
+ Rendered posts/_form.html.erb (6.6ms)
513
+ Rendered posts/new.html.erb within layouts/application (8.3ms)
514
+ Completed 200 OK in 27ms (Views: 11.7ms | ActiveRecord: 0.2ms)
515
+
516
+
517
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:28:03 +0400
518
+ Processing by PostsController#create as HTML
519
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"atata", "body"=>"some", "tags"=>"som:som", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
520
+  (0.2ms) begin transaction
521
+ SQL (76.7ms) INSERT INTO "posts" ("body", "created_at", "tags", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "some"], ["created_at", Fri, 29 Mar 2013 08:28:03 UTC +00:00], ["tags", "som:som"], ["title", "atata"], ["updated_at", Fri, 29 Mar 2013 08:28:03 UTC +00:00]]
522
+ SQL (0.8ms) INSERT INTO "seos" ("created_at", "description", "keywords", "promotable_id", "promotable_type", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 29 Mar 2013 08:28:04 UTC +00:00], ["description", "some"], ["keywords", "som, som"], ["promotable_id", 1], ["promotable_type", "Post"], ["title", "atata"], ["updated_at", Fri, 29 Mar 2013 08:28:04 UTC +00:00]]
523
+  (252.5ms) commit transaction
524
+ Redirected to http://localhost:3000/posts/1
525
+ Completed 302 Found in 346ms (ActiveRecord: 330.2ms)
526
+
527
+
528
+ Started GET "/posts/1" for 127.0.0.1 at 2013-03-29 12:28:04 +0400
529
+ Processing by PostsController#show as HTML
530
+ Parameters: {"id"=>"1"}
531
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
532
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 1 AND "seos"."promotable_type" = 'Post' LIMIT 1
533
+ Rendered posts/show.html.erb within layouts/application (0.9ms)
534
+ Completed 200 OK in 229ms (Views: 225.9ms | ActiveRecord: 0.3ms)
535
+
536
+
537
+ Started GET "/posts" for 127.0.0.1 at 2013-03-29 12:28:27 +0400
538
+ Processing by PostsController#index as HTML
539
+ Post Load (0.4ms) SELECT "posts".* FROM "posts"
540
+ Seo Load (0.4ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 1 AND "seos"."promotable_type" = 'Post' LIMIT 1
541
+ Rendered posts/index.html.erb within layouts/application (2.8ms)
542
+ Completed 200 OK in 13ms (Views: 8.1ms | ActiveRecord: 0.7ms)
543
+
544
+
545
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2013-03-29 12:28:29 +0400
546
+ Processing by PostsController#edit as HTML
547
+ Parameters: {"id"=>"1"}
548
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
549
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 1 AND "seos"."promotable_type" = 'Post' LIMIT 1
550
+ Rendered posts/_form.html.erb (2.7ms)
551
+ Rendered posts/edit.html.erb within layouts/application (3.7ms)
552
+ Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.2ms)
553
+
554
+
555
+ Started PUT "/posts/1" for 127.0.0.1 at 2013-03-29 12:28:45 +0400
556
+ Processing by PostsController#update as HTML
557
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"", "body"=>"some", "tags"=>"som:som", "seo_attributes"=>{"title"=>"atata", "keywords"=>"som, som", "description"=>"some", "id"=>"1"}}, "commit"=>"Update Post", "id"=>"1"}
558
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
559
+ Seo Load (0.5ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 1 AND "seos"."promotable_type" = 'Post' LIMIT 1
560
+  (0.1ms) begin transaction
561
+  (0.0ms) rollback transaction
562
+ Rendered posts/_form.html.erb (3.2ms)
563
+ Rendered posts/edit.html.erb within layouts/application (3.8ms)
564
+ Completed 200 OK in 20ms (Views: 7.8ms | ActiveRecord: 0.9ms)
565
+ Connecting to database specified by database.yml
566
+
567
+
568
+ Started PUT "/posts/1" for 127.0.0.1 at 2013-03-29 12:28:55 +0400
569
+ Processing by PostsController#update as HTML
570
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"", "body"=>"some", "tags"=>"som:som", "seo_attributes"=>{"title"=>"", "keywords"=>"som, som", "description"=>"some", "id"=>"1"}}, "commit"=>"Update Post", "id"=>"1"}
571
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
572
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 1 AND "seos"."promotable_type" = 'Post' LIMIT 1
573
+  (0.0ms) begin transaction
574
+  (0.0ms) rollback transaction
575
+ Rendered posts/_form.html.erb (4.2ms)
576
+ Rendered posts/edit.html.erb within layouts/application (6.6ms)
577
+ Completed 200 OK in 72ms (Views: 20.6ms | ActiveRecord: 1.5ms)
578
+ Connecting to database specified by database.yml
579
+
580
+
581
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:30:02 +0400
582
+ Processing by PostsController#new as HTML
583
+ Rendered posts/_form.html.erb (6.5ms)
584
+ Rendered posts/new.html.erb within layouts/application (8.7ms)
585
+ Completed 200 OK in 66ms (Views: 21.3ms | ActiveRecord: 1.0ms)
586
+
587
+
588
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:30:25 +0400
589
+ Processing by PostsController#create as HTML
590
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"Try new shaver", "body"=>"Shaver desc", "tags"=>"super:trooper:shaver", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
591
+  (0.1ms) begin transaction
592
+ SQL (2.7ms) INSERT INTO "posts" ("body", "created_at", "tags", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Shaver desc"], ["created_at", Fri, 29 Mar 2013 08:30:25 UTC +00:00], ["tags", "super:trooper:shaver"], ["title", "Try new shaver"], ["updated_at", Fri, 29 Mar 2013 08:30:25 UTC +00:00]]
593
+ SQL (0.2ms) INSERT INTO "seos" ("created_at", "description", "keywords", "promotable_id", "promotable_type", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 29 Mar 2013 08:30:25 UTC +00:00], ["description", "Shaver desc"], ["keywords", "super, trooper, shaver"], ["promotable_id", 2], ["promotable_type", "Post"], ["title", "Try new shaver"], ["updated_at", Fri, 29 Mar 2013 08:30:25 UTC +00:00]]
594
+  (190.5ms) commit transaction
595
+ Redirected to http://localhost:3000/posts/2
596
+ Completed 302 Found in 202ms (ActiveRecord: 193.4ms)
597
+
598
+
599
+ Started GET "/posts/2" for 127.0.0.1 at 2013-03-29 12:30:26 +0400
600
+ Processing by PostsController#show as HTML
601
+ Parameters: {"id"=>"2"}
602
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
603
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 2 AND "seos"."promotable_type" = 'Post' LIMIT 1
604
+ Rendered posts/show.html.erb within layouts/application (0.8ms)
605
+ Completed 200 OK in 109ms (Views: 105.6ms | ActiveRecord: 0.3ms)
606
+
607
+
608
+ Started GET "/posts/2/edit" for 127.0.0.1 at 2013-03-29 12:30:31 +0400
609
+ Processing by PostsController#edit as HTML
610
+ Parameters: {"id"=>"2"}
611
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
612
+ Seo Load (0.5ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 2 AND "seos"."promotable_type" = 'Post' LIMIT 1
613
+ Rendered posts/_form.html.erb (2.5ms)
614
+ Rendered posts/edit.html.erb within layouts/application (3.5ms)
615
+ Completed 200 OK in 12ms (Views: 6.9ms | ActiveRecord: 0.7ms)
616
+
617
+
618
+ Started PUT "/posts/2" for 127.0.0.1 at 2013-03-29 12:30:58 +0400
619
+ Processing by PostsController#update as HTML
620
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"Try new shaver", "body"=>"Shaver desc", "tags"=>"super:trooper:shaver", "seo_attributes"=>{"title"=>"Try new shaver", "keywords"=>"super, trooper, shaver, by sony", "description"=>"Shaver desc more words here", "id"=>"2"}}, "commit"=>"Update Post", "id"=>"2"}
621
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
622
+ Seo Load (0.4ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 2 AND "seos"."promotable_type" = 'Post' LIMIT 1
623
+  (0.1ms) begin transaction
624
+  (0.1ms) UPDATE "seos" SET "keywords" = 'super, trooper, shaver, by sony', "description" = 'Shaver desc more words here', "updated_at" = '2013-03-29 08:30:58.018673' WHERE "seos"."id" = 2
625
+  (200.5ms) commit transaction
626
+ Redirected to http://localhost:3000/posts/2
627
+ Completed 302 Found in 214ms (ActiveRecord: 201.4ms)
628
+
629
+
630
+ Started GET "/posts/2" for 127.0.0.1 at 2013-03-29 12:30:58 +0400
631
+ Processing by PostsController#show as HTML
632
+ Parameters: {"id"=>"2"}
633
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
634
+ Seo Load (0.5ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 2 AND "seos"."promotable_type" = 'Post' LIMIT 1
635
+ Rendered posts/show.html.erb within layouts/application (0.4ms)
636
+ Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 0.7ms)
637
+
638
+
639
+ Started GET "/posts" for 127.0.0.1 at 2013-03-29 12:31:01 +0400
640
+ Processing by PostsController#index as HTML
641
+ Post Load (0.2ms) SELECT "posts".* FROM "posts"
642
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 1 AND "seos"."promotable_type" = 'Post' LIMIT 1
643
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 2 AND "seos"."promotable_type" = 'Post' LIMIT 1
644
+ Rendered posts/index.html.erb within layouts/application (1.9ms)
645
+ Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.4ms)
646
+
647
+
648
+ Started GET "/posts/2/edit" for 127.0.0.1 at 2013-03-29 12:31:03 +0400
649
+ Processing by PostsController#edit as HTML
650
+ Parameters: {"id"=>"2"}
651
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]]
652
+ Seo Load (0.2ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 2 AND "seos"."promotable_type" = 'Post' LIMIT 1
653
+ Rendered posts/_form.html.erb (2.6ms)
654
+ Rendered posts/edit.html.erb within layouts/application (3.2ms)
655
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.2ms)
656
+ Connecting to database specified by database.yml
657
+
658
+
659
+ Started GET "/posts" for 127.0.0.1 at 2013-03-29 12:33:04 +0400
660
+ Processing by PostsController#index as HTML
661
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" 
662
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 1 AND "seos"."promotable_type" = 'Post' LIMIT 1
663
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 2 AND "seos"."promotable_type" = 'Post' LIMIT 1
664
+ Rendered posts/index.html.erb within layouts/application (2.7ms)
665
+ Completed 200 OK in 65ms (Views: 38.4ms | ActiveRecord: 1.3ms)
666
+
667
+
668
+ Started GET "/posts/new" for 127.0.0.1 at 2013-03-29 12:33:07 +0400
669
+ Processing by PostsController#new as HTML
670
+ Rendered posts/_form.html.erb (6.0ms)
671
+ Rendered posts/new.html.erb within layouts/application (10.1ms)
672
+ Completed 200 OK in 19ms (Views: 15.5ms | ActiveRecord: 0.0ms)
673
+
674
+
675
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:33:15 +0400
676
+ Processing by PostsController#create as HTML
677
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"try", "body"=>"some", "tags"=>"som", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
678
+  (0.1ms) begin transaction
679
+  (0.0ms) rollback transaction
680
+ Rendered posts/_form.html.erb (4.6ms)
681
+ Rendered posts/new.html.erb within layouts/application (5.1ms)
682
+ Completed 200 OK in 13ms (Views: 9.3ms | ActiveRecord: 0.1ms)
683
+ Connecting to database specified by database.yml
684
+
685
+
686
+ Started POST "/posts" for 127.0.0.1 at 2013-03-29 12:33:45 +0400
687
+ Processing by PostsController#create as HTML
688
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaibH1ULA3vFNFp1xEmD1OcT8YtwkIGnyFuoPNYUfqE=", "post"=>{"title"=>"try", "body"=>"some", "tags"=>"som", "seo_attributes"=>{"title"=>"", "keywords"=>"", "description"=>""}}, "commit"=>"Create Post"}
689
+  (0.0ms) begin transaction
690
+ SQL (2.5ms) INSERT INTO "posts" ("body", "created_at", "tags", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "some"], ["created_at", Fri, 29 Mar 2013 08:33:45 UTC +00:00], ["tags", "som"], ["title", "try"], ["updated_at", Fri, 29 Mar 2013 08:33:45 UTC +00:00]]
691
+ SQL (0.2ms) INSERT INTO "seos" ("created_at", "description", "keywords", "promotable_id", "promotable_type", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Fri, 29 Mar 2013 08:33:45 UTC +00:00], ["description", "some"], ["keywords", "som"], ["promotable_id", 3], ["promotable_type", "Post"], ["title", "try"], ["updated_at", Fri, 29 Mar 2013 08:33:45 UTC +00:00]]
692
+  (133.0ms) commit transaction
693
+ Redirected to http://localhost:3000/posts/3
694
+ Completed 302 Found in 188ms (ActiveRecord: 136.6ms)
695
+
696
+
697
+ Started GET "/posts/3" for 127.0.0.1 at 2013-03-29 12:33:45 +0400
698
+ Processing by PostsController#show as HTML
699
+ Parameters: {"id"=>"3"}
700
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "3"]]
701
+ Seo Load (0.1ms) SELECT "seos".* FROM "seos" WHERE "seos"."promotable_id" = 3 AND "seos"."promotable_type" = 'Post' LIMIT 1
702
+ Rendered posts/show.html.erb within layouts/application (1.3ms)
703
+ Completed 200 OK in 94ms (Views: 90.7ms | ActiveRecord: 0.2ms)
704
+ Connecting to database specified by database.yml
705
+ Connecting to database specified by database.yml
706
+ Connecting to database specified by database.yml
707
+ Connecting to database specified by database.yml
708
+ Connecting to database specified by database.yml
709
+ Connecting to database specified by database.yml
710
+ Connecting to database specified by database.yml
711
+ Connecting to database specified by database.yml