dynamic_fields 0.1.0 → 0.2.0

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 (47) hide show
  1. data/README.md +22 -0
  2. data/app/assets/javascripts/dynamic_fields/jquery.dynamic_fields.js +15 -3
  3. data/app/helpers/dynamic_fields_helper.rb +5 -2
  4. data/lib/dynamic_fields/version.rb +1 -1
  5. data/test/dummy/app/assets/javascripts/application.js +1 -0
  6. data/test/dummy/app/assets/javascripts/category.js +10 -0
  7. data/test/dummy/app/controllers/categories_controller.rb +47 -0
  8. data/test/dummy/app/models/available_language.rb +4 -0
  9. data/test/dummy/app/models/category.rb +6 -0
  10. data/test/dummy/app/models/subcategory.rb +5 -0
  11. data/test/dummy/app/views/categories/_form.html.erb +31 -0
  12. data/test/dummy/app/views/categories/edit.html.erb +3 -0
  13. data/test/dummy/app/views/categories/new.html.erb +3 -0
  14. data/test/dummy/config/application.rb +1 -0
  15. data/test/dummy/config/database.yml +1 -5
  16. data/test/dummy/config/initializers/simple_form.rb +136 -0
  17. data/test/dummy/config/locales/simple_form.en.yml +24 -0
  18. data/test/dummy/config/routes.rb +1 -54
  19. data/test/dummy/db/development.sqlite3 +0 -0
  20. data/test/dummy/db/migrate/20120329183323_add_test_tables.rb +31 -0
  21. data/test/dummy/db/schema.rb +39 -0
  22. data/test/dummy/db/test.sqlite3 +0 -0
  23. data/test/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
  24. data/test/dummy/log/development.log +2182 -0
  25. data/test/dummy/log/test.log +2369 -0
  26. data/test/dummy/tmp/cache/assets/C83/130/sprockets%2Fa08d178d4b71a990f163b46504982c28 +0 -0
  27. data/test/dummy/tmp/cache/assets/CB3/A30/sprockets%2F6d04c8476e080a28d55b11065d189ef7 +0 -0
  28. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  29. data/test/dummy/tmp/cache/assets/D11/D80/sprockets%2F5e7bc8e026400c478735f2a673f8c1cc +0 -0
  30. data/test/dummy/tmp/cache/assets/D14/530/sprockets%2F6aa64648434ac72bf70c8762f30be78d +0 -0
  31. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  32. data/test/dummy/tmp/cache/assets/D33/600/sprockets%2F70c187184f18b0ac1a4d4ea4be84d606 +0 -0
  33. data/test/dummy/tmp/cache/assets/D4B/CD0/sprockets%2F604268dd58a3c8cbed88c9d61f269e00 +0 -0
  34. data/test/dummy/tmp/cache/assets/D4D/1F0/sprockets%2Fe25fe62f6eac4e9ff1920398e20f7515 +0 -0
  35. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  36. data/test/dummy/tmp/cache/assets/D52/600/sprockets%2F574f4d5dc4fb44d4f453391f29e6ee65 +0 -0
  37. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  38. data/test/dummy/tmp/cache/assets/D81/A70/sprockets%2F7e6bf1374cf493fafa8c58838c4f351d +0 -0
  39. data/test/dummy/tmp/cache/assets/DBC/D50/sprockets%2Fcde339a8b08aa2150fda4ff4a2175bf1 +0 -0
  40. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  41. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  42. data/test/dummy/tmp/capybara/capybara-20120329164214784023357.html +13 -0
  43. data/test/dummy/tmp/pids/server.pid +1 -0
  44. data/test/factories.rb +19 -0
  45. data/test/integration/navigation_test.rb +39 -4
  46. data/test/test_helper.rb +27 -0
  47. metadata +135 -10
Binary file
@@ -0,0 +1,31 @@
1
+ class AddTestTables < ActiveRecord::Migration
2
+ def up
3
+ create_table :categories do |t|
4
+ t.string :name
5
+ t.timestamps
6
+ end
7
+
8
+ create_table :subcategories do |t|
9
+ t.integer :category_id
10
+ t.string :name
11
+ t.text :description
12
+ t.boolean :active
13
+ t.integer :access_level
14
+ end
15
+
16
+ create_table :available_languages do |t|
17
+ t.string :name
18
+ end
19
+
20
+ create_table :available_languages_subcategories, :id => false do |t|
21
+ t.integer :subcategory_id
22
+ t.integer :available_language_id
23
+ end
24
+ end
25
+
26
+ def down
27
+ drop_table :categories
28
+ drop_table :subcategories
29
+ drop_table :available_languages
30
+ end
31
+ end
@@ -0,0 +1,39 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20120329183323) do
15
+
16
+ create_table "available_languages", :force => true do |t|
17
+ t.string "name"
18
+ end
19
+
20
+ create_table "available_languages_subcategories", :force => true do |t|
21
+ t.integer "subcategory_id"
22
+ t.integer "available_language_id"
23
+ end
24
+
25
+ create_table "categories", :force => true do |t|
26
+ t.string "name"
27
+ t.datetime "created_at", :null => false
28
+ t.datetime "updated_at", :null => false
29
+ end
30
+
31
+ create_table "subcategories", :force => true do |t|
32
+ t.integer "category_id"
33
+ t.string "name"
34
+ t.text "description"
35
+ t.boolean "active"
36
+ t.integer "access_level"
37
+ end
38
+
39
+ end
Binary file
@@ -0,0 +1,13 @@
1
+ <%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
2
+ <%%= f.error_notification %>
3
+
4
+ <div class="form-inputs">
5
+ <%- attributes.each do |attribute| -%>
6
+ <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
7
+ <%- end -%>
8
+ </div>
9
+
10
+ <div class="form-actions">
11
+ <%%= f.button :submit %>
12
+ </div>
13
+ <%% end %>
@@ -0,0 +1,2182 @@
1
+  (0.2ms) select sqlite_version(*)
2
+  (136.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.1ms) PRAGMA index_list("schema_migrations")
4
+  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.3ms) select sqlite_version(*)
6
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
7
+
8
+
9
+ Started GET "/" for 127.0.0.1 at 2012-03-29 14:30:31 -0400
10
+
11
+ ActionController::RoutingError (No route matches [GET] "/"):
12
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
13
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
14
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
15
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
16
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
17
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
18
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
19
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
21
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
22
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
23
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
24
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
25
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
26
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
27
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
28
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
29
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
30
+
31
+
32
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.4ms)
33
+
34
+
35
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 14:30:42 -0400
36
+ Processing by CategoriesController#new as HTML
37
+ Completed 500 Internal Server Error in 1ms
38
+
39
+ ActiveRecord::StatementInvalid (Could not find table 'categories'):
40
+ app/controllers/categories_controller.rb:9:in `new'
41
+ app/controllers/categories_controller.rb:9:in `new'
42
+
43
+
44
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
45
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
46
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.7ms)
47
+
48
+
49
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 14:31:31 -0400
50
+ Processing by CategoriesController#new as HTML
51
+ Completed 500 Internal Server Error in 1ms
52
+
53
+ ActiveRecord::StatementInvalid (Could not find table 'categories'):
54
+ app/controllers/categories_controller.rb:9:in `new'
55
+ app/controllers/categories_controller.rb:9:in `new'
56
+
57
+
58
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
59
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
60
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.3ms)
61
+
62
+
63
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 14:31:34 -0400
64
+ Processing by CategoriesController#new as HTML
65
+ Completed 500 Internal Server Error in 1ms
66
+
67
+ ActiveRecord::StatementInvalid (Could not find table 'categories'):
68
+ app/controllers/categories_controller.rb:9:in `new'
69
+ app/controllers/categories_controller.rb:9:in `new'
70
+
71
+
72
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (29.9ms)
73
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
74
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (38.6ms)
75
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
76
+ Migrating to AddTestTables (20120329183323)
77
+  (0.0ms) select sqlite_version(*)
78
+  (0.0ms) begin transaction
79
+  (0.8ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
80
+  (0.2ms) CREATE TABLE "subcategories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "name" varchar(255), "description" text, "active" boolean, "access_level" integer) 
81
+  (0.1ms) CREATE TABLE "available_languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subcategory_id" integer, "name" varchar(255))
82
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120329183323')
83
+  (39.0ms) commit transaction
84
+  (0.3ms) select sqlite_version(*)
85
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
86
+  (0.0ms) PRAGMA index_list("available_languages")
87
+  (0.0ms) PRAGMA index_list("categories")
88
+  (0.0ms) PRAGMA index_list("subcategories")
89
+
90
+
91
+ Started GET "/" for 127.0.0.1 at 2012-03-29 14:42:25 -0400
92
+
93
+ ActionController::RoutingError (No route matches [GET] "/"):
94
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
95
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
96
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
97
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
98
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
99
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
100
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
101
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
102
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
103
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
104
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
105
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
106
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
107
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
108
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
109
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
110
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
111
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
112
+
113
+
114
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.9ms)
115
+
116
+
117
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 14:42:31 -0400
118
+ Processing by CategoriesController#new as HTML
119
+ Completed 500 Internal Server Error in 67ms
120
+
121
+ ActionView::MissingTemplate (Missing template categories/new, application/new with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
122
+ * "/Users/jiongye/sandbox/dynamic_fields/test/dummy/app/views"
123
+ ):
124
+ actionpack (3.2.2) lib/action_view/path_set.rb:58:in `find'
125
+ actionpack (3.2.2) lib/action_view/lookup_context.rb:109:in `find'
126
+ actionpack (3.2.2) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
127
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:29:in `determine_template'
128
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:10:in `render'
129
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:36:in `render_template'
130
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:17:in `render'
131
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:109:in `_render_template'
132
+ actionpack (3.2.2) lib/action_controller/metal/streaming.rb:225:in `_render_template'
133
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:103:in `render_to_body'
134
+ actionpack (3.2.2) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
135
+ actionpack (3.2.2) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
136
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:88:in `render'
137
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:16:in `render'
138
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
139
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
140
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
141
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `ms'
142
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
143
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
144
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
145
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:39:in `render'
146
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
147
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
148
+ actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action'
149
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
150
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
151
+ activesupport (3.2.2) lib/active_support/callbacks.rb:414:in `_run__45583493889031166__process_action__1937708396014919931__callbacks'
152
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
153
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
154
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
155
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
156
+ actionpack (3.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
157
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
158
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `block in instrument'
159
+ activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
160
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `instrument'
161
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
162
+ actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
163
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
164
+ actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process'
165
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
166
+ actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
167
+ actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
168
+ actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
169
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
170
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
171
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
172
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
173
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
174
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
175
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
176
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
177
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
178
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
179
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
180
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
181
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
182
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
183
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
184
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
185
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
186
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
187
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
188
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__3858583611332547578__call__1607588646134974766__callbacks'
189
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
190
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
191
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
192
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
193
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
194
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
195
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
196
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
197
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
198
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
199
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
200
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
201
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
202
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
203
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
204
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
205
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
206
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
207
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
208
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
209
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
210
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
211
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
212
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
213
+
214
+
215
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
216
+
217
+
218
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 14:57:18 -0400
219
+ Processing by CategoriesController#new as HTML
220
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" 
221
+ Rendered categories/_form.html.erb (115.6ms)
222
+ Rendered categories/new.html.erb within layouts/application (119.1ms)
223
+ Compiled application.css (1ms) (pid 47392)
224
+ Compiled jquery.js (3ms) (pid 47392)
225
+ Compiled jquery_ujs.js (0ms) (pid 47392)
226
+ Compiled application.js (30ms) (pid 47392)
227
+ Completed 200 OK in 310ms (Views: 262.3ms | ActiveRecord: 0.7ms)
228
+
229
+
230
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 14:57:18 -0400
231
+ Served asset /jquery.js - 200 OK (21ms)
232
+
233
+
234
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 14:57:18 -0400
235
+ Served asset /application.css - 200 OK (1ms)
236
+
237
+
238
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 14:57:18 -0400
239
+ Served asset /application.js - 200 OK (7ms)
240
+
241
+
242
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 14:57:18 -0400
243
+ Served asset /jquery_ujs.js - 200 OK (2ms)
244
+
245
+
246
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:23:43 -0400
247
+ Processing by CategoriesController#new as HTML
248
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
249
+ Rendered categories/_form.html.erb (18.7ms)
250
+ Rendered categories/new.html.erb within layouts/application (19.3ms)
251
+ Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.2ms)
252
+
253
+
254
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:23:43 -0400
255
+ Served asset /application.css - 200 OK (0ms)
256
+
257
+
258
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:23:43 -0400
259
+ Served asset /jquery.js - 200 OK (0ms)
260
+
261
+
262
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:23:43 -0400
263
+ Served asset /application.js - 200 OK (0ms)
264
+
265
+
266
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:23:43 -0400
267
+ Served asset /jquery_ujs.js - 200 OK (0ms)
268
+
269
+
270
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:25:48 -0400
271
+ Processing by CategoriesController#new as HTML
272
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
273
+ Rendered categories/_form.html.erb (15.7ms)
274
+ Rendered categories/new.html.erb within layouts/application (16.4ms)
275
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
276
+ Compiled dynamic_fields.js (95ms) (pid 47392)
277
+ Completed 500 Internal Server Error in 141ms
278
+
279
+ ActionView::Template::Error (cannot load such file -- coffee_script
280
+ (in /Users/jiongye/sandbox/dynamic_fields/test/dummy/app/assets/javascripts/category.js.coffee)):
281
+ 3: <head>
282
+ 4: <title>Dummy</title>
283
+ 5: <%= stylesheet_link_tag "application", :media => "all" %>
284
+ 6: <%= javascript_include_tag "application" %>
285
+ 7: <%= csrf_meta_tags %>
286
+ 8: </head>
287
+ 9: <body>
288
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___3370979943479824272_70286772198440'
289
+
290
+
291
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
292
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
293
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.4ms)
294
+
295
+
296
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
297
+ Processing by CategoriesController#new as HTML
298
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
299
+ Rendered categories/_form.html.erb (18.3ms)
300
+ Rendered categories/new.html.erb within layouts/application (19.0ms)
301
+ Compiled category.js (0ms) (pid 47392)
302
+ Compiled application.js (44ms) (pid 47392)
303
+ Completed 200 OK in 85ms (Views: 83.7ms | ActiveRecord: 0.2ms)
304
+
305
+
306
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
307
+ Served asset /application.css - 200 OK (0ms)
308
+
309
+
310
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
311
+ Served asset /category.js - 200 OK (2ms)
312
+
313
+
314
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
315
+ Served asset /jquery_ujs.js - 200 OK (0ms)
316
+
317
+
318
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
319
+ Served asset /dynamic_fields.js - 200 OK (4ms)
320
+
321
+
322
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
323
+ Served asset /jquery.js - 200 OK (0ms)
324
+
325
+
326
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
327
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (3ms)
328
+
329
+
330
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:26:38 -0400
331
+ Served asset /application.js - 200 OK (8ms)
332
+
333
+
334
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
335
+ Processing by CategoriesController#new as HTML
336
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
337
+ Rendered categories/_form.html.erb (44.4ms)
338
+ Rendered categories/new.html.erb within layouts/application (45.4ms)
339
+ Completed 200 OK in 51ms (Views: 49.5ms | ActiveRecord: 0.2ms)
340
+
341
+
342
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
343
+ Served asset /application.css - 200 OK (0ms)
344
+
345
+
346
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
347
+ Served asset /jquery.js - 200 OK (0ms)
348
+
349
+
350
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
351
+ Served asset /jquery_ujs.js - 200 OK (0ms)
352
+
353
+
354
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
355
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
356
+
357
+
358
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
359
+ Served asset /dynamic_fields.js - 200 OK (0ms)
360
+
361
+
362
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
363
+ Served asset /category.js - 200 OK (0ms)
364
+
365
+
366
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:28:07 -0400
367
+ Served asset /application.js - 200 OK (0ms)
368
+
369
+
370
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
371
+ Processing by CategoriesController#new as HTML
372
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
373
+ Rendered categories/_form.html.erb (14.6ms)
374
+ Rendered categories/new.html.erb within layouts/application (15.2ms)
375
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
376
+ Compiled dynamic_fields.js (1ms) (pid 47392)
377
+ Compiled application.js (3ms) (pid 47392)
378
+ Completed 200 OK in 73ms (Views: 72.4ms | ActiveRecord: 0.2ms)
379
+
380
+
381
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
382
+ Served asset /application.css - 200 OK (0ms)
383
+
384
+
385
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
386
+ Served asset /jquery.js - 200 OK (0ms)
387
+
388
+
389
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
390
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (7ms)
391
+
392
+
393
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
394
+ Served asset /dynamic_fields.js - 200 OK (3ms)
395
+
396
+
397
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
398
+ Served asset /category.js - 200 OK (0ms)
399
+
400
+
401
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
402
+ Served asset /application.js - 200 OK (10ms)
403
+
404
+
405
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:32:40 -0400
406
+ Served asset /jquery_ujs.js - 200 OK (0ms)
407
+
408
+
409
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
410
+ Processing by CategoriesController#new as HTML
411
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
412
+ Rendered categories/_form.html.erb (18.0ms)
413
+ Rendered categories/new.html.erb within layouts/application (18.6ms)
414
+ Completed 200 OK in 25ms (Views: 23.9ms | ActiveRecord: 0.2ms)
415
+
416
+
417
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
418
+ Served asset /application.css - 200 OK (0ms)
419
+
420
+
421
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
422
+ Served asset /jquery.js - 200 OK (0ms)
423
+
424
+
425
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
426
+ Served asset /dynamic_fields.js - 200 OK (0ms)
427
+
428
+
429
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
430
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
431
+
432
+
433
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
434
+ Served asset /jquery_ujs.js - 200 OK (0ms)
435
+
436
+
437
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
438
+ Served asset /category.js - 200 OK (0ms)
439
+
440
+
441
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:34:24 -0400
442
+ Served asset /application.js - 200 OK (0ms)
443
+
444
+
445
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
446
+ Processing by CategoriesController#new as HTML
447
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
448
+ Rendered categories/_form.html.erb (70.5ms)
449
+ Rendered categories/new.html.erb within layouts/application (71.2ms)
450
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
451
+ Compiled dynamic_fields.js (2ms) (pid 47392)
452
+ Compiled application.js (3ms) (pid 47392)
453
+ Completed 200 OK in 125ms (Views: 123.9ms | ActiveRecord: 0.2ms)
454
+
455
+
456
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
457
+ Served asset /application.css - 200 OK (0ms)
458
+
459
+
460
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
461
+ Served asset /jquery_ujs.js - 200 OK (0ms)
462
+
463
+
464
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
465
+ Served asset /jquery.js - 200 OK (0ms)
466
+
467
+
468
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
469
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (3ms)
470
+
471
+
472
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
473
+ Served asset /category.js - 200 OK (0ms)
474
+
475
+
476
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
477
+ Served asset /dynamic_fields.js - 200 OK (3ms)
478
+
479
+
480
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:35:06 -0400
481
+ Served asset /application.js - 200 OK (10ms)
482
+
483
+
484
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:35:50 -0400
485
+ Processing by CategoriesController#new as HTML
486
+ Rendered categories/_form.html.erb (42.8ms)
487
+ Rendered categories/new.html.erb within layouts/application (43.5ms)
488
+ Completed 500 Internal Server Error in 45ms
489
+
490
+ ActionView::Template::Error (No input found for radio_button):
491
+ 13: <%= dynamic_fields_wrapper_for(s) do %>
492
+ 14: <%= s.input :name %>
493
+ 15: <%= s.input :description %>
494
+ 16: <%= s.input :active, :as => :radio_button %>
495
+ 17: <%= s.input :access_level, :collection => 1..4 %>
496
+ 18: <%= s.association :available_languages, :as => :check_boxes %>
497
+ 19: <% end %>
498
+ app/views/categories/_form.html.erb:16:in `block (3 levels) in _app_views_categories__form_html_erb__3465582999004703071_70286763476300'
499
+ app/views/categories/_form.html.erb:13:in `block (2 levels) in _app_views_categories__form_html_erb__3465582999004703071_70286763476300'
500
+ app/views/categories/_form.html.erb:12:in `block in _app_views_categories__form_html_erb__3465582999004703071_70286763476300'
501
+ app/views/categories/_form.html.erb:1:in `_app_views_categories__form_html_erb__3465582999004703071_70286763476300'
502
+ app/views/categories/new.html.erb:3:in `_app_views_categories_new_html_erb__2692488222956015498_70286772175620'
503
+
504
+
505
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms)
506
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
507
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.1ms)
508
+
509
+
510
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
511
+ Processing by CategoriesController#new as HTML
512
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
513
+ Rendered categories/_form.html.erb (19.2ms)
514
+ Rendered categories/new.html.erb within layouts/application (19.9ms)
515
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
516
+ Compiled dynamic_fields.js (2ms) (pid 47392)
517
+ Compiled application.js (3ms) (pid 47392)
518
+ Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.2ms)
519
+
520
+
521
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
522
+ Served asset /application.css - 200 OK (0ms)
523
+
524
+
525
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
526
+ Served asset /jquery.js - 200 OK (0ms)
527
+
528
+
529
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
530
+ Served asset /jquery_ujs.js - 200 OK (0ms)
531
+
532
+
533
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
534
+ Served asset /dynamic_fields.js - 200 OK (5ms)
535
+
536
+
537
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
538
+ Served asset /category.js - 200 OK (0ms)
539
+
540
+
541
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
542
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (2ms)
543
+
544
+
545
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:04 -0400
546
+ Served asset /application.js - 200 OK (10ms)
547
+
548
+
549
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
550
+ Processing by CategoriesController#new as HTML
551
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages"
552
+ Rendered categories/_form.html.erb (19.5ms)
553
+ Rendered categories/new.html.erb within layouts/application (20.2ms)
554
+ Completed 200 OK in 26ms (Views: 24.7ms | ActiveRecord: 0.3ms)
555
+
556
+
557
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
558
+ Served asset /jquery_ujs.js - 200 OK (0ms)
559
+
560
+
561
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
562
+ Served asset /application.css - 200 OK (0ms)
563
+
564
+
565
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
566
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
567
+
568
+
569
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
570
+ Served asset /category.js - 200 OK (0ms)
571
+
572
+
573
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
574
+ Served asset /jquery.js - 200 OK (0ms)
575
+
576
+
577
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
578
+ Served asset /dynamic_fields.js - 200 OK (0ms)
579
+
580
+
581
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:13 -0400
582
+ Served asset /application.js - 200 OK (0ms)
583
+
584
+
585
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
586
+ Processing by CategoriesController#new as HTML
587
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
588
+ Rendered categories/_form.html.erb (35.8ms)
589
+ Rendered categories/new.html.erb within layouts/application (36.4ms)
590
+ Completed 200 OK in 42ms (Views: 40.9ms | ActiveRecord: 0.2ms)
591
+
592
+
593
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
594
+ Served asset /application.css - 200 OK (0ms)
595
+
596
+
597
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
598
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
599
+
600
+
601
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
602
+ Served asset /jquery.js - 200 OK (0ms)
603
+
604
+
605
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
606
+ Served asset /dynamic_fields.js - 200 OK (0ms)
607
+
608
+
609
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
610
+ Served asset /jquery_ujs.js - 200 OK (0ms)
611
+
612
+
613
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
614
+ Served asset /category.js - 200 OK (0ms)
615
+
616
+
617
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:36:52 -0400
618
+ Served asset /application.js - 200 OK (0ms)
619
+
620
+
621
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
622
+ Processing by CategoriesController#new as HTML
623
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
624
+ Rendered categories/_form.html.erb (14.2ms)
625
+ Rendered categories/new.html.erb within layouts/application (14.8ms)
626
+ Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.2ms)
627
+
628
+
629
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
630
+ Served asset /application.css - 200 OK (0ms)
631
+
632
+
633
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
634
+ Served asset /jquery_ujs.js - 200 OK (0ms)
635
+
636
+
637
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
638
+ Served asset /dynamic_fields.js - 200 OK (0ms)
639
+
640
+
641
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
642
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
643
+
644
+
645
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
646
+ Served asset /category.js - 200 OK (0ms)
647
+
648
+
649
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
650
+ Served asset /jquery.js - 200 OK (0ms)
651
+
652
+
653
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:37:01 -0400
654
+ Served asset /application.js - 200 OK (0ms)
655
+
656
+
657
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
658
+ Processing by CategoriesController#new as HTML
659
+ AvailableLanguage Load (0.4ms) SELECT "available_languages".* FROM "available_languages" 
660
+ Rendered categories/_form.html.erb (23.6ms)
661
+ Rendered categories/new.html.erb within layouts/application (24.5ms)
662
+ Completed 200 OK in 30ms (Views: 29.1ms | ActiveRecord: 0.4ms)
663
+
664
+
665
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
666
+ Served asset /application.css - 200 OK (0ms)
667
+
668
+
669
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
670
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
671
+
672
+
673
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
674
+ Served asset /jquery_ujs.js - 200 OK (0ms)
675
+
676
+
677
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
678
+ Served asset /dynamic_fields.js - 200 OK (0ms)
679
+
680
+
681
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
682
+ Served asset /category.js - 200 OK (0ms)
683
+
684
+
685
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
686
+ Served asset /jquery.js - 200 OK (0ms)
687
+
688
+
689
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:46:41 -0400
690
+ Served asset /application.js - 200 OK (0ms)
691
+
692
+
693
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
694
+ Processing by CategoriesController#new as HTML
695
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
696
+ Rendered categories/_form.html.erb (13.8ms)
697
+ Rendered categories/new.html.erb within layouts/application (14.4ms)
698
+ Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.2ms)
699
+
700
+
701
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
702
+ Served asset /application.css - 200 OK (0ms)
703
+
704
+
705
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
706
+ Served asset /jquery.js - 200 OK (0ms)
707
+
708
+
709
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
710
+ Served asset /category.js - 200 OK (0ms)
711
+
712
+
713
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
714
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
715
+
716
+
717
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
718
+ Served asset /jquery_ujs.js - 200 OK (0ms)
719
+
720
+
721
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
722
+ Served asset /dynamic_fields.js - 200 OK (0ms)
723
+
724
+
725
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:47:48 -0400
726
+ Served asset /application.js - 200 OK (0ms)
727
+
728
+
729
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:48:00 -0400
730
+ Processing by CategoriesController#new as HTML
731
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages" 
732
+ Rendered categories/_form.html.erb (17.4ms)
733
+ Rendered categories/new.html.erb within layouts/application (18.0ms)
734
+ Completed 200 OK in 25ms (Views: 23.6ms | ActiveRecord: 0.3ms)
735
+
736
+
737
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:48:01 -0400
738
+ Served asset /application.css - 200 OK (0ms)
739
+
740
+
741
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:48:01 -0400
742
+ Served asset /dynamic_fields.js - 200 OK (0ms)
743
+
744
+
745
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:48:01 -0400
746
+ Served asset /jquery.js - 200 OK (0ms)
747
+
748
+
749
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:48:01 -0400
750
+ Served asset /category.js - 200 OK (0ms)
751
+
752
+
753
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:48:01 -0400
754
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
755
+
756
+
757
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:48:01 -0400
758
+ Served asset /jquery_ujs.js - 200 OK (0ms)
759
+
760
+
761
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:48:01 -0400
762
+ Served asset /application.js - 200 OK (0ms)
763
+
764
+
765
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
766
+ Processing by CategoriesController#new as HTML
767
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
768
+ Rendered categories/_form.html.erb (69.6ms)
769
+ Rendered categories/new.html.erb within layouts/application (70.2ms)
770
+ Completed 200 OK in 75ms (Views: 74.2ms | ActiveRecord: 0.2ms)
771
+
772
+
773
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
774
+ Served asset /application.css - 200 OK (0ms)
775
+
776
+
777
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
778
+ Served asset /category.js - 200 OK (0ms)
779
+
780
+
781
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
782
+ Served asset /jquery_ujs.js - 200 OK (0ms)
783
+
784
+
785
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
786
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
787
+
788
+
789
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
790
+ Served asset /jquery.js - 200 OK (0ms)
791
+
792
+
793
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
794
+ Served asset /application.js - 200 OK (0ms)
795
+
796
+
797
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 15:49:54 -0400
798
+ Served asset /dynamic_fields.js - 200 OK (0ms)
799
+
800
+
801
+ Started POST "/categories" for 127.0.0.1 at 2012-03-29 15:57:31 -0400
802
+ Processing by CategoriesController#create as HTML
803
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"haha", "subcategories_attributes"=>{"0"=>{"name"=>"fwe", "description"=>"sdfasdf", "active"=>"true", "access_level"=>"4", "available_language_ids"=>["13", "15", ""]}}}, "commit"=>"Create Category"}
804
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages" WHERE "available_languages"."id" IN (13, 15)
805
+  (0.0ms) begin transaction
806
+ SQL (22.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 29 Mar 2012 19:57:31 UTC +00:00], ["name", "haha"], ["updated_at", Thu, 29 Mar 2012 19:57:31 UTC +00:00]]
807
+ SQL (0.2ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", 4], ["active", true], ["category_id", 1], ["description", "sdfasdf"], ["name", "fwe"]]
808
+  (0.2ms) UPDATE "available_languages" SET "subcategory_id" = 1 WHERE "available_languages"."id" = 13
809
+  (0.1ms) UPDATE "available_languages" SET "subcategory_id" = 1 WHERE "available_languages"."id" = 15
810
+  (4.2ms) commit transaction
811
+ Redirected to http://localhost:3002/categories.1
812
+ Completed 302 Found in 39ms (ActiveRecord: 27.8ms)
813
+
814
+
815
+ Started GET "/categories.1" for 127.0.0.1 at 2012-03-29 15:57:31 -0400
816
+
817
+ AbstractController::ActionNotFound (The action 'index' could not be found for CategoriesController):
818
+ actionpack (3.2.2) lib/abstract_controller/base.rb:116:in `process'
819
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
820
+ actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
821
+ actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
822
+ actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
823
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
824
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
825
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
826
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
827
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
828
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
829
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
830
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
831
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
832
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
833
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
834
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
835
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
836
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
837
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
838
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
839
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
840
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
841
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
842
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__3858583611332547578__call__1607588646134974766__callbacks'
843
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
844
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
845
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
846
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
847
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
848
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
849
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
850
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
851
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
852
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
853
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
854
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
855
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
856
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
857
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
858
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
859
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
860
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
861
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
862
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
863
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
864
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
865
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
866
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
867
+
868
+
869
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.5ms)
870
+
871
+
872
+ Started GET "/categories/1" for 127.0.0.1 at 2012-03-29 15:58:23 -0400
873
+ Processing by CategoriesController#show as HTML
874
+ Parameters: {"id"=>"1"}
875
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
876
+ Rendered text template (0.0ms)
877
+ Completed 200 OK in 54ms (Views: 48.0ms | ActiveRecord: 0.3ms)
878
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
879
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
880
+ Migrating to AddTestTables (20120329183323)
881
+  (0.0ms) select sqlite_version(*)
882
+  (0.0ms) begin transaction
883
+  (0.5ms) DROP TABLE "categories"
884
+  (0.5ms) DROP TABLE "subcategories"
885
+  (0.2ms) DROP TABLE "available_languages"
886
+  (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120329183323'
887
+  (41.6ms) commit transaction
888
+  (0.3ms) select sqlite_version(*)
889
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
890
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
891
+ Migrating to AddTestTables (20120329183323)
892
+  (0.0ms) begin transaction
893
+  (0.6ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
894
+  (0.2ms) CREATE TABLE "subcategories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "name" varchar(255), "description" text, "active" boolean, "access_level" integer) 
895
+  (0.1ms) CREATE TABLE "available_languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
896
+  (0.2ms) CREATE TABLE "available_languages_subcategories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subcategory_id" integer, "available_language_id" integer) 
897
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120329183323')
898
+  (6.0ms) commit transaction
899
+  (0.4ms) select sqlite_version(*)
900
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
901
+  (0.0ms) PRAGMA index_list("available_languages")
902
+  (0.0ms) PRAGMA index_list("available_languages_subcategories")
903
+  (0.0ms) PRAGMA index_list("categories")
904
+  (0.1ms) PRAGMA index_list("subcategories")
905
+
906
+
907
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:03:21 -0400
908
+ Processing by CategoriesController#index as HTML
909
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" 
910
+ Completed 500 Internal Server Error in 2ms
911
+
912
+ ActionView::MissingTemplate (Missing template categories/index, application/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
913
+ * "/Users/jiongye/sandbox/dynamic_fields/test/dummy/app/views"
914
+ ):
915
+ actionpack (3.2.2) lib/action_view/path_set.rb:58:in `find'
916
+ actionpack (3.2.2) lib/action_view/lookup_context.rb:109:in `find'
917
+ actionpack (3.2.2) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
918
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:29:in `determine_template'
919
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:10:in `render'
920
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:36:in `render_template'
921
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:17:in `render'
922
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:109:in `_render_template'
923
+ actionpack (3.2.2) lib/action_controller/metal/streaming.rb:225:in `_render_template'
924
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:103:in `render_to_body'
925
+ actionpack (3.2.2) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
926
+ actionpack (3.2.2) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
927
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:88:in `render'
928
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:16:in `render'
929
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
930
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
931
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
932
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `ms'
933
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
934
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
935
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
936
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:39:in `render'
937
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
938
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
939
+ actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action'
940
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
941
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
942
+ activesupport (3.2.2) lib/active_support/callbacks.rb:414:in `_run__45583493889031166__process_action__511895343597453820__callbacks'
943
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
944
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
945
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
946
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
947
+ actionpack (3.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
948
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
949
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `block in instrument'
950
+ activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
951
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `instrument'
952
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
953
+ actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
954
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
955
+ actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process'
956
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
957
+ actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
958
+ actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
959
+ actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
960
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
961
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
962
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
963
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
964
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
965
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
966
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
967
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
968
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
969
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
970
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
971
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
972
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
973
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
974
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
975
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
976
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
977
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
978
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
979
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__3858583611332547578__call__1607588646134974766__callbacks'
980
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
981
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
982
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
983
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
984
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
985
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
986
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
987
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
988
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
989
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
990
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
991
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
992
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
993
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
994
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
995
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
996
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
997
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
998
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
999
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
1000
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
1001
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1002
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1003
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1004
+
1005
+
1006
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
1007
+
1008
+
1009
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:03:53 -0400
1010
+ Processing by CategoriesController#index as HTML
1011
+ Category Load (0.2ms) SELECT "categories".* FROM "categories"
1012
+ Completed 500 Internal Server Error in 2ms
1013
+
1014
+ ActionView::MissingTemplate (Missing template categories/[], application/[] with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
1015
+ * "/Users/jiongye/sandbox/dynamic_fields/test/dummy/app/views"
1016
+ ):
1017
+ app/controllers/categories_controller.rb:5:in `index'
1018
+
1019
+
1020
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
1021
+
1022
+
1023
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:04:07 -0400
1024
+ Processing by CategoriesController#index as HTML
1025
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" 
1026
+ Rendered text template (0.0ms)
1027
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)
1028
+
1029
+
1030
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1031
+ Processing by CategoriesController#new as HTML
1032
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages"
1033
+ Rendered categories/_form.html.erb (101.7ms)
1034
+ Rendered categories/new.html.erb within layouts/application (102.4ms)
1035
+ Completed 200 OK in 151ms (Views: 107.1ms | ActiveRecord: 0.8ms)
1036
+
1037
+
1038
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1039
+ Served asset /application.css - 200 OK (0ms)
1040
+
1041
+
1042
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1043
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1044
+
1045
+
1046
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1047
+ Served asset /jquery.js - 200 OK (0ms)
1048
+
1049
+
1050
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1051
+ Served asset /application.js - 200 OK (0ms)
1052
+
1053
+
1054
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1055
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1056
+
1057
+
1058
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1059
+ Served asset /category.js - 200 OK (0ms)
1060
+
1061
+
1062
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:22 -0400
1063
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1064
+
1065
+
1066
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 16:04:37 -0400
1067
+ Processing by CategoriesController#new as HTML
1068
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages" 
1069
+ Rendered categories/_form.html.erb (19.5ms)
1070
+ Rendered categories/new.html.erb within layouts/application (20.1ms)
1071
+ Completed 200 OK in 26ms (Views: 25.2ms | ActiveRecord: 0.3ms)
1072
+
1073
+
1074
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:37 -0400
1075
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1076
+
1077
+
1078
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:38 -0400
1079
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1080
+
1081
+
1082
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:38 -0400
1083
+ Served asset /jquery.js - 200 OK (0ms)
1084
+
1085
+
1086
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:04:38 -0400
1087
+ Served asset /application.css - 200 OK (0ms)
1088
+
1089
+
1090
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:38 -0400
1091
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1092
+
1093
+
1094
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:38 -0400
1095
+ Served asset /category.js - 200 OK (0ms)
1096
+
1097
+
1098
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:04:38 -0400
1099
+ Served asset /application.js - 200 OK (0ms)
1100
+
1101
+
1102
+ Started POST "/categories" for 127.0.0.1 at 2012-03-29 16:04:50 -0400
1103
+ Processing by CategoriesController#create as HTML
1104
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"fawefwe", "subcategories_attributes"=>{"0"=>{"name"=>"ferf", "description"=>"gererg", "active"=>"true", "access_level"=>"2", "available_language_ids"=>["1", "3", ""]}}}, "commit"=>"Create Category"}
1105
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages" WHERE "available_languages"."id" IN (1, 3)
1106
+  (0.1ms) begin transaction
1107
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 29 Mar 2012 20:04:50 UTC +00:00], ["name", "fawefwe"], ["updated_at", Thu, 29 Mar 2012 20:04:50 UTC +00:00]]
1108
+ SQL (0.4ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", 2], ["active", true], ["category_id", 1], ["description", "gererg"], ["name", "ferf"]]
1109
+  (0.2ms) INSERT INTO "available_languages_subcategories" ("subcategory_id", "available_language_id") VALUES (1, 1)
1110
+  (0.1ms) INSERT INTO "available_languages_subcategories" ("subcategory_id", "available_language_id") VALUES (1, 3)
1111
+  (4.5ms) commit transaction
1112
+ Redirected to http://localhost:3002/categories
1113
+ Completed 302 Found in 20ms (ActiveRecord: 6.9ms)
1114
+
1115
+
1116
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:04:50 -0400
1117
+ Processing by CategoriesController#index as HTML
1118
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" 
1119
+ Rendered text template (0.0ms)
1120
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1121
+
1122
+
1123
+ Started GET "/categories/1/edit" for 127.0.0.1 at 2012-03-29 16:05:42 -0400
1124
+ Processing by CategoriesController#edit as HTML
1125
+ Parameters: {"id"=>"1"}
1126
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
1127
+ Subcategory Load (0.1ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 1
1128
+ Completed 500 Internal Server Error in 4ms
1129
+
1130
+ ActionView::MissingTemplate (Missing template categories/edit, application/edit with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
1131
+ * "/Users/jiongye/sandbox/dynamic_fields/test/dummy/app/views"
1132
+ ):
1133
+ actionpack (3.2.2) lib/action_view/path_set.rb:58:in `find'
1134
+ actionpack (3.2.2) lib/action_view/lookup_context.rb:109:in `find'
1135
+ actionpack (3.2.2) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
1136
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:29:in `determine_template'
1137
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:10:in `render'
1138
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:36:in `render_template'
1139
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:17:in `render'
1140
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:109:in `_render_template'
1141
+ actionpack (3.2.2) lib/action_controller/metal/streaming.rb:225:in `_render_template'
1142
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:103:in `render_to_body'
1143
+ actionpack (3.2.2) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
1144
+ actionpack (3.2.2) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
1145
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:88:in `render'
1146
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:16:in `render'
1147
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
1148
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
1149
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
1150
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `ms'
1151
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
1152
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
1153
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1154
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:39:in `render'
1155
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
1156
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
1157
+ actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action'
1158
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
1159
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1160
+ activesupport (3.2.2) lib/active_support/callbacks.rb:414:in `_run__45583493889031166__process_action__151808512108028141__callbacks'
1161
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
1162
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1163
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
1164
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1165
+ actionpack (3.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1166
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1167
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `block in instrument'
1168
+ activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1169
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `instrument'
1170
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1171
+ actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
1172
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1173
+ actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process'
1174
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
1175
+ actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
1176
+ actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
1177
+ actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
1178
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
1179
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
1180
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
1181
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
1182
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
1183
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
1184
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
1185
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
1186
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
1187
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
1188
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
1189
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
1190
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
1191
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
1192
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
1193
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
1194
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
1195
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
1196
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
1197
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__3858583611332547578__call__1607588646134974766__callbacks'
1198
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
1199
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
1200
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
1201
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1202
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
1203
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
1204
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
1205
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1206
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
1207
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
1208
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
1209
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
1210
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
1211
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1212
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
1213
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
1214
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
1215
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
1216
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
1217
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
1218
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
1219
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1220
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1221
+ /Users/jiongye/.rvm/rubies/ruby-1.9.3-p0-new/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1222
+
1223
+
1224
+ Rendered /Users/jiongye/.rvm/gems/ruby-1.9.3-p0-new@dynamic_fields/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
1225
+
1226
+
1227
+ Started GET "/categories/1/edit" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1228
+ Processing by CategoriesController#edit as HTML
1229
+ Parameters: {"id"=>"1"}
1230
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
1231
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 1
1232
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1233
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 1
1234
+ Rendered categories/_form.html.erb (112.6ms)
1235
+ Rendered categories/edit.html.erb within layouts/application (113.8ms)
1236
+ Completed 200 OK in 120ms (Views: 117.8ms | ActiveRecord: 0.7ms)
1237
+
1238
+
1239
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1240
+ Served asset /application.css - 200 OK (0ms)
1241
+
1242
+
1243
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1244
+ Served asset /jquery.js - 200 OK (0ms)
1245
+
1246
+
1247
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1248
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1249
+
1250
+
1251
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1252
+ Served asset /category.js - 200 OK (0ms)
1253
+
1254
+
1255
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1256
+ Served asset /application.js - 200 OK (0ms)
1257
+
1258
+
1259
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1260
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1261
+
1262
+
1263
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:06:27 -0400
1264
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1265
+
1266
+
1267
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 16:07:06 -0400
1268
+ Processing by CategoriesController#new as HTML
1269
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1270
+ Rendered categories/_form.html.erb (16.0ms)
1271
+ Rendered categories/new.html.erb within layouts/application (17.2ms)
1272
+ Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.2ms)
1273
+
1274
+
1275
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:07:07 -0400
1276
+ Served asset /application.css - 200 OK (0ms)
1277
+
1278
+
1279
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:07 -0400
1280
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1281
+
1282
+
1283
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:07 -0400
1284
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1285
+
1286
+
1287
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:07 -0400
1288
+ Served asset /jquery.js - 200 OK (0ms)
1289
+
1290
+
1291
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:07 -0400
1292
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1293
+
1294
+
1295
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:07 -0400
1296
+ Served asset /category.js - 200 OK (0ms)
1297
+
1298
+
1299
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:07 -0400
1300
+ Served asset /application.js - 200 OK (0ms)
1301
+
1302
+
1303
+ Started POST "/categories" for 127.0.0.1 at 2012-03-29 16:07:14 -0400
1304
+ Processing by CategoriesController#create as HTML
1305
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"erfgerg", "subcategories_attributes"=>{"0"=>{"name"=>"", "description"=>"", "access_level"=>"", "available_language_ids"=>[""]}}}, "commit"=>"Create Category"}
1306
+  (0.1ms) begin transaction
1307
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 29 Mar 2012 20:07:14 UTC +00:00], ["name", "erfgerg"], ["updated_at", Thu, 29 Mar 2012 20:07:14 UTC +00:00]]
1308
+ SQL (0.1ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", nil], ["active", nil], ["category_id", 2], ["description", ""], ["name", ""]]
1309
+  (4.5ms) commit transaction
1310
+ Redirected to http://localhost:3002/categories
1311
+ Completed 302 Found in 10ms (ActiveRecord: 5.2ms)
1312
+
1313
+
1314
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:07:14 -0400
1315
+ Processing by CategoriesController#index as HTML
1316
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" 
1317
+ Rendered text template (0.0ms)
1318
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
1319
+
1320
+
1321
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1322
+ Processing by CategoriesController#edit as HTML
1323
+ Parameters: {"id"=>"2"}
1324
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1325
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2
1326
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1327
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1328
+ Rendered categories/_form.html.erb (16.4ms)
1329
+ Rendered categories/edit.html.erb within layouts/application (17.0ms)
1330
+ Completed 200 OK in 24ms (Views: 21.0ms | ActiveRecord: 0.6ms)
1331
+
1332
+
1333
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1334
+ Served asset /jquery.js - 200 OK (0ms)
1335
+
1336
+
1337
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1338
+ Served asset /application.css - 200 OK (0ms)
1339
+
1340
+
1341
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1342
+ Served asset /category.js - 200 OK (0ms)
1343
+
1344
+
1345
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1346
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1347
+
1348
+
1349
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1350
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1351
+
1352
+
1353
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1354
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1355
+
1356
+
1357
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:25 -0400
1358
+ Served asset /application.js - 200 OK (0ms)
1359
+
1360
+
1361
+ Started PUT "/categories/2" for 127.0.0.1 at 2012-03-29 16:07:38 -0400
1362
+ Processing by CategoriesController#update as HTML
1363
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"erfgerg", "subcategories_attributes"=>{"0"=>{"_destroy"=>"false", "name"=>"fwef", "description"=>"fewf", "access_level"=>"", "available_language_ids"=>[""], "id"=>"2"}, "1"=>{"name"=>"", "description"=>"", "access_level"=>"", "available_language_ids"=>[""]}}}, "commit"=>"Update Category", "id"=>"2"}
1364
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1365
+  (0.1ms) begin transaction
1366
+ Subcategory Load (0.4ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2 AND "subcategories"."id" IN (2)
1367
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1368
+  (0.5ms) UPDATE "subcategories" SET "name" = 'fwef', "description" = 'fewf' WHERE "subcategories"."id" = 2
1369
+ SQL (0.2ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", nil], ["active", nil], ["category_id", 2], ["description", ""], ["name", ""]]
1370
+  (5.2ms) commit transaction
1371
+ Redirected to http://localhost:3002/categories
1372
+ Completed 302 Found in 29ms (ActiveRecord: 6.7ms)
1373
+
1374
+
1375
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:07:38 -0400
1376
+ Processing by CategoriesController#index as HTML
1377
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" 
1378
+ Rendered text template (0.0ms)
1379
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
1380
+
1381
+
1382
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2012-03-29 16:07:44 -0400
1383
+ Processing by CategoriesController#edit as HTML
1384
+ Parameters: {"id"=>"2"}
1385
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1386
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2
1387
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1388
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1389
+ CACHE (0.0ms) SELECT "available_languages".* FROM "available_languages"
1390
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 3
1391
+ Rendered categories/_form.html.erb (87.9ms)
1392
+ Rendered categories/edit.html.erb within layouts/application (88.6ms)
1393
+ Completed 200 OK in 95ms (Views: 92.4ms | ActiveRecord: 0.9ms)
1394
+
1395
+
1396
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:07:45 -0400
1397
+ Served asset /application.css - 200 OK (0ms)
1398
+
1399
+
1400
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:45 -0400
1401
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1402
+
1403
+
1404
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:45 -0400
1405
+ Served asset /category.js - 200 OK (1ms)
1406
+
1407
+
1408
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:45 -0400
1409
+ Served asset /jquery.js - 200 OK (0ms)
1410
+
1411
+
1412
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:45 -0400
1413
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1414
+
1415
+
1416
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:45 -0400
1417
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1418
+
1419
+
1420
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:07:45 -0400
1421
+ Served asset /application.js - 200 OK (0ms)
1422
+
1423
+
1424
+ Started PUT "/categories/2" for 127.0.0.1 at 2012-03-29 16:09:37 -0400
1425
+ Processing by CategoriesController#update as HTML
1426
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"erfgerg", "subcategories_attributes"=>{"0"=>{"_destroy"=>"false", "name"=>"fwef", "description"=>"fewf", "access_level"=>"", "available_language_ids"=>[""], "id"=>"2"}, "1"=>{"_destroy"=>"true", "name"=>"", "description"=>"", "access_level"=>"", "available_language_ids"=>[""], "id"=>"3"}}}, "commit"=>"Update Category", "id"=>"2"}
1427
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1428
+  (0.1ms) begin transaction
1429
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2 AND "subcategories"."id" IN (2, 3)
1430
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1431
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 3
1432
+ SQL (0.3ms) DELETE FROM "subcategories" WHERE "subcategories"."id" = ? [["id", 3]]
1433
+  (37.3ms) commit transaction
1434
+ Redirected to http://localhost:3002/categories
1435
+ Completed 302 Found in 72ms (ActiveRecord: 39.1ms)
1436
+
1437
+
1438
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:09:37 -0400
1439
+ Processing by CategoriesController#index as HTML
1440
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" 
1441
+ Rendered text template (0.0ms)
1442
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.2ms)
1443
+
1444
+
1445
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1446
+ Processing by CategoriesController#edit as HTML
1447
+ Parameters: {"id"=>"2"}
1448
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1449
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2
1450
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages"
1451
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1452
+ Rendered categories/_form.html.erb (64.4ms)
1453
+ Rendered categories/edit.html.erb within layouts/application (65.1ms)
1454
+ Completed 200 OK in 73ms (Views: 69.5ms | ActiveRecord: 0.9ms)
1455
+
1456
+
1457
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1458
+ Served asset /application.css - 200 OK (0ms)
1459
+
1460
+
1461
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1462
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1463
+
1464
+
1465
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1466
+ Served asset /category.js - 200 OK (0ms)
1467
+
1468
+
1469
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1470
+ Served asset /application.js - 200 OK (0ms)
1471
+
1472
+
1473
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1474
+ Served asset /jquery.js - 200 OK (0ms)
1475
+
1476
+
1477
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1478
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1479
+
1480
+
1481
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:09:54 -0400
1482
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1483
+
1484
+
1485
+ Started PUT "/categories/2" for 127.0.0.1 at 2012-03-29 16:10:09 -0400
1486
+ Processing by CategoriesController#update as HTML
1487
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"erfgerg", "subcategories_attributes"=>{"0"=>{"_destroy"=>"false", "name"=>"fwef", "description"=>"fewf", "access_level"=>"", "available_language_ids"=>[""], "id"=>"2"}, "1"=>{"name"=>"", "description"=>"", "active"=>"", "access_level"=>"", "available_language_ids"=>["", ""]}}}, "commit"=>"Update Category", "id"=>"2"}
1488
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1489
+  (0.1ms) begin transaction
1490
+ Subcategory Load (0.3ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2 AND "subcategories"."id" IN (2)
1491
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1492
+  (0.1ms) commit transaction
1493
+ Redirected to http://localhost:3002/categories
1494
+ Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
1495
+
1496
+
1497
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:10:09 -0400
1498
+ Processing by CategoriesController#index as HTML
1499
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" 
1500
+ Rendered text template (0.0ms)
1501
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1502
+
1503
+
1504
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1505
+ Processing by CategoriesController#edit as HTML
1506
+ Parameters: {"id"=>"2"}
1507
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1508
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2
1509
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1510
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1511
+ Rendered categories/_form.html.erb (16.8ms)
1512
+ Rendered categories/edit.html.erb within layouts/application (17.4ms)
1513
+ Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.7ms)
1514
+
1515
+
1516
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1517
+ Served asset /application.css - 200 OK (0ms)
1518
+
1519
+
1520
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1521
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1522
+
1523
+
1524
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1525
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1526
+
1527
+
1528
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1529
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1530
+
1531
+
1532
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1533
+ Served asset /category.js - 200 OK (0ms)
1534
+
1535
+
1536
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1537
+ Served asset /jquery.js - 200 OK (0ms)
1538
+
1539
+
1540
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:10:20 -0400
1541
+ Served asset /application.js - 200 OK (0ms)
1542
+
1543
+
1544
+ Started GET "/categories/2/edit" for 127.0.0.1 at 2012-03-29 16:25:08 -0400
1545
+ Processing by CategoriesController#edit as HTML
1546
+ Parameters: {"id"=>"2"}
1547
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]]
1548
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 2
1549
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages"
1550
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 2
1551
+ Rendered categories/_form.html.erb (55.6ms)
1552
+ Rendered categories/edit.html.erb within layouts/application (56.5ms)
1553
+ Completed 200 OK in 65ms (Views: 60.9ms | ActiveRecord: 0.9ms)
1554
+
1555
+
1556
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:25:08 -0400
1557
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1558
+
1559
+
1560
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:25:08 -0400
1561
+ Served asset /jquery.js - 304 Not Modified (0ms)
1562
+
1563
+
1564
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:25:08 -0400
1565
+ Served asset /category.js - 200 OK (0ms)
1566
+
1567
+
1568
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:25:08 -0400
1569
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1570
+
1571
+
1572
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:25:08 -0400
1573
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1574
+
1575
+
1576
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1577
+ Processing by CategoriesController#new as HTML
1578
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1579
+ Rendered categories/_form.html.erb (20.1ms)
1580
+ Rendered categories/new.html.erb within layouts/application (20.7ms)
1581
+ Completed 200 OK in 27ms (Views: 25.0ms | ActiveRecord: 0.2ms)
1582
+
1583
+
1584
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1585
+ Served asset /application.css - 200 OK (0ms)
1586
+
1587
+
1588
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1589
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1590
+
1591
+
1592
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1593
+ Served asset /jquery.js - 200 OK (0ms)
1594
+
1595
+
1596
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1597
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1598
+
1599
+
1600
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1601
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1602
+
1603
+
1604
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1605
+ Served asset /category.js - 200 OK (0ms)
1606
+
1607
+
1608
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-29 16:42:54 -0400
1609
+ Served asset /application.js - 200 OK (0ms)
1610
+
1611
+
1612
+ Started POST "/categories" for 127.0.0.1 at 2012-03-29 16:43:08 -0400
1613
+ Processing by CategoriesController#create as HTML
1614
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"asfsadf", "subcategories_attributes"=>{"0"=>{"name"=>"new sub", "description"=>"", "access_level"=>"", "available_language_ids"=>[""]}, "1"=>{"name"=>"another one", "description"=>"", "access_level"=>"", "available_language_ids"=>[""]}}}, "commit"=>"Create Category"}
1615
+  (0.1ms) begin transaction
1616
+ SQL (0.7ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 29 Mar 2012 20:43:08 UTC +00:00], ["name", "asfsadf"], ["updated_at", Thu, 29 Mar 2012 20:43:08 UTC +00:00]]
1617
+ SQL (0.3ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", nil], ["active", nil], ["category_id", 3], ["description", ""], ["name", "new sub"]]
1618
+ SQL (0.1ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", nil], ["active", nil], ["category_id", 3], ["description", ""], ["name", "another one"]]
1619
+  (4.2ms) commit transaction
1620
+ Redirected to http://localhost:3002/categories
1621
+ Completed 302 Found in 15ms (ActiveRecord: 5.3ms)
1622
+
1623
+
1624
+ Started GET "/categories" for 127.0.0.1 at 2012-03-29 16:43:08 -0400
1625
+ Processing by CategoriesController#index as HTML
1626
+ Category Load (0.3ms) SELECT "categories".* FROM "categories"
1627
+ Rendered text template (0.0ms)
1628
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1629
+
1630
+
1631
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1632
+ Processing by CategoriesController#new as HTML
1633
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
1634
+ Rendered categories/_form.html.erb (14.9ms)
1635
+ Rendered categories/new.html.erb within layouts/application (15.4ms)
1636
+ Completed 200 OK in 75ms (Views: 74.1ms | ActiveRecord: 0.2ms)
1637
+
1638
+
1639
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1640
+ Served asset /application.css - 200 OK (0ms)
1641
+
1642
+
1643
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1644
+ Served asset /jquery.js - 200 OK (0ms)
1645
+
1646
+
1647
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1648
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1649
+
1650
+
1651
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1652
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1653
+
1654
+
1655
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1656
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1657
+
1658
+
1659
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1660
+ Served asset /category.js - 200 OK (0ms)
1661
+
1662
+
1663
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 10:43:36 -0400
1664
+ Served asset /application.js - 200 OK (0ms)
1665
+
1666
+
1667
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1668
+ Processing by CategoriesController#new as HTML
1669
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages"
1670
+ Rendered categories/_form.html.erb (16.6ms)
1671
+ Rendered categories/new.html.erb within layouts/application (17.3ms)
1672
+ Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.3ms)
1673
+
1674
+
1675
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1676
+ Served asset /application.css - 200 OK (0ms)
1677
+
1678
+
1679
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1680
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1681
+
1682
+
1683
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1684
+ Served asset /jquery.js - 200 OK (0ms)
1685
+
1686
+
1687
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1688
+ Served asset /dynamic_fields.js - 200 OK (23ms)
1689
+
1690
+
1691
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1692
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1693
+
1694
+
1695
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1696
+ Served asset /application.js - 200 OK (1ms)
1697
+
1698
+
1699
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 10:44:24 -0400
1700
+ Served asset /category.js - 200 OK (0ms)
1701
+
1702
+
1703
+ Started POST "/categories" for 127.0.0.1 at 2012-03-30 10:51:55 -0400
1704
+ Processing by CategoriesController#create as HTML
1705
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"faweff", "subcategories_attributes"=>{"0"=>{"name"=>"", "description"=>"", "access_level"=>"", "available_language_ids"=>[""]}, "1"=>{"name"=>"waefewrf", "description"=>"erfawewef", "active"=>"", "access_level"=>"2", "available_language_ids"=>["", "", ""]}}}, "commit"=>"Create Category"}
1706
+  (0.1ms) begin transaction
1707
+ SQL (0.6ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 30 Mar 2012 14:51:55 UTC +00:00], ["name", "faweff"], ["updated_at", Fri, 30 Mar 2012 14:51:55 UTC +00:00]]
1708
+ SQL (0.3ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", 2], ["active", nil], ["category_id", 4], ["description", "erfawewef"], ["name", "waefewrf"]]
1709
+  (4.3ms) commit transaction
1710
+ Redirected to http://localhost:3002/categories
1711
+ Completed 302 Found in 11ms (ActiveRecord: 5.3ms)
1712
+
1713
+
1714
+ Started GET "/categories" for 127.0.0.1 at 2012-03-30 10:51:55 -0400
1715
+ Processing by CategoriesController#index as HTML
1716
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" 
1717
+ Rendered text template (0.0ms)
1718
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
1719
+
1720
+
1721
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1722
+ Processing by CategoriesController#new as HTML
1723
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1724
+ Rendered categories/_form.html.erb (16.0ms)
1725
+ Rendered categories/new.html.erb within layouts/application (16.6ms)
1726
+ Completed 200 OK in 22ms (Views: 20.7ms | ActiveRecord: 0.2ms)
1727
+
1728
+
1729
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1730
+ Served asset /application.css - 200 OK (0ms)
1731
+
1732
+
1733
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1734
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1735
+
1736
+
1737
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1738
+ Served asset /jquery.js - 200 OK (0ms)
1739
+
1740
+
1741
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1742
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1743
+
1744
+
1745
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1746
+ Served asset /category.js - 200 OK (0ms)
1747
+
1748
+
1749
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1750
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1751
+
1752
+
1753
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 10:53:58 -0400
1754
+ Served asset /application.js - 200 OK (0ms)
1755
+
1756
+
1757
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-30 11:30:21 -0400
1758
+ Processing by CategoriesController#new as HTML
1759
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
1760
+ Rendered categories/_form.html.erb (19.2ms)
1761
+ Rendered categories/new.html.erb within layouts/application (20.0ms)
1762
+ Compiled jquery.js (3ms) (pid 47392)
1763
+ Compiled jquery_ujs.js (0ms) (pid 47392)
1764
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
1765
+ Compiled dynamic_fields.js (5ms) (pid 47392)
1766
+ Compiled category.js (0ms) (pid 47392)
1767
+ Compiled application.js (89ms) (pid 47392)
1768
+ Completed 200 OK in 199ms (Views: 197.8ms | ActiveRecord: 0.2ms)
1769
+
1770
+
1771
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:30:22 -0400
1772
+ Served asset /application.css - 200 OK (0ms)
1773
+
1774
+
1775
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:30:22 -0400
1776
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1777
+
1778
+
1779
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:30:22 -0400
1780
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (3ms)
1781
+
1782
+
1783
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:30:22 -0400
1784
+ Served asset /jquery.js - 200 OK (0ms)
1785
+
1786
+
1787
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:30:22 -0400
1788
+ Served asset /application.js - 200 OK (10ms)
1789
+
1790
+
1791
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:30:22 -0400
1792
+ Served asset /dynamic_fields.js - 200 OK (4ms)
1793
+
1794
+
1795
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:30:22 -0400
1796
+ Served asset /category.js - 200 OK (0ms)
1797
+
1798
+
1799
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1800
+ Processing by CategoriesController#new as HTML
1801
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1802
+ Rendered categories/_form.html.erb (19.9ms)
1803
+ Rendered categories/new.html.erb within layouts/application (20.5ms)
1804
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
1805
+ Compiled dynamic_fields.js (1ms) (pid 47392)
1806
+ Compiled application.js (3ms) (pid 47392)
1807
+ Completed 200 OK in 76ms (Views: 74.8ms | ActiveRecord: 0.2ms)
1808
+
1809
+
1810
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1811
+ Served asset /application.css - 200 OK (0ms)
1812
+
1813
+
1814
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1815
+ Served asset /jquery.js - 200 OK (0ms)
1816
+
1817
+
1818
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1819
+ Served asset /category.js - 200 OK (0ms)
1820
+
1821
+
1822
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1823
+ Served asset /dynamic_fields.js - 200 OK (3ms)
1824
+
1825
+
1826
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1827
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1828
+
1829
+
1830
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1831
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (2ms)
1832
+
1833
+
1834
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:07 -0400
1835
+ Served asset /application.js - 200 OK (43ms)
1836
+
1837
+
1838
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-30 11:31:20 -0400
1839
+ Processing by CategoriesController#new as HTML
1840
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
1841
+ Rendered categories/_form.html.erb (17.8ms)
1842
+ Rendered categories/new.html.erb within layouts/application (18.4ms)
1843
+ Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.2ms)
1844
+
1845
+
1846
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:31:20 -0400
1847
+ Served asset /application.css - 200 OK (0ms)
1848
+
1849
+
1850
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:20 -0400
1851
+ Served asset /jquery.js - 200 OK (0ms)
1852
+
1853
+
1854
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:20 -0400
1855
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1856
+
1857
+
1858
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:21 -0400
1859
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1860
+
1861
+
1862
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:21 -0400
1863
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1864
+
1865
+
1866
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:21 -0400
1867
+ Served asset /category.js - 200 OK (0ms)
1868
+
1869
+
1870
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:31:21 -0400
1871
+ Served asset /application.js - 200 OK (0ms)
1872
+
1873
+
1874
+ Started GET "/categories/new" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1875
+ Processing by CategoriesController#new as HTML
1876
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages"
1877
+ Rendered categories/_form.html.erb (18.5ms)
1878
+ Rendered categories/new.html.erb within layouts/application (19.1ms)
1879
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
1880
+ Compiled dynamic_fields.js (1ms) (pid 47392)
1881
+ Compiled application.js (24ms) (pid 47392)
1882
+ Completed 200 OK in 103ms (Views: 102.1ms | ActiveRecord: 0.2ms)
1883
+
1884
+
1885
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1886
+ Served asset /application.css - 200 OK (0ms)
1887
+
1888
+
1889
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1890
+ Served asset /dynamic_fields.js - 200 OK (6ms)
1891
+
1892
+
1893
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1894
+ Served asset /jquery.js - 200 OK (0ms)
1895
+
1896
+
1897
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1898
+ Served asset /category.js - 200 OK (0ms)
1899
+
1900
+
1901
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1902
+ Served asset /application.js - 200 OK (7ms)
1903
+
1904
+
1905
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1906
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (3ms)
1907
+
1908
+
1909
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:33:55 -0400
1910
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1911
+
1912
+
1913
+ Started POST "/categories" for 127.0.0.1 at 2012-03-30 11:36:21 -0400
1914
+ Processing by CategoriesController#create as HTML
1915
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"d/DNNNjeyYzTuL8W1NiP2KP2sDXNEdeqwICSHWKec4w=", "category"=>{"name"=>"gerger", "subcategories_attributes"=>{"1"=>{"name"=>"ewfwe", "description"=>"gerg", "active"=>"true", "access_level"=>"2", "available_language_ids"=>["5", "7", ""]}}}, "commit"=>"Create Category"}
1916
+ AvailableLanguage Load (0.4ms) SELECT "available_languages".* FROM "available_languages" WHERE "available_languages"."id" IN (5, 7)
1917
+  (0.1ms) begin transaction
1918
+ SQL (0.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 30 Mar 2012 15:36:21 UTC +00:00], ["name", "gerger"], ["updated_at", Fri, 30 Mar 2012 15:36:21 UTC +00:00]]
1919
+ SQL (0.2ms) INSERT INTO "subcategories" ("access_level", "active", "category_id", "description", "name") VALUES (?, ?, ?, ?, ?) [["access_level", 2], ["active", true], ["category_id", 5], ["description", "gerg"], ["name", "ewfwe"]]
1920
+  (0.2ms) INSERT INTO "available_languages_subcategories" ("subcategory_id", "available_language_id") VALUES (7, 5)
1921
+  (0.1ms) INSERT INTO "available_languages_subcategories" ("subcategory_id", "available_language_id") VALUES (7, 7)
1922
+  (4.5ms) commit transaction
1923
+ Redirected to http://localhost:3002/categories
1924
+ Completed 302 Found in 16ms (ActiveRecord: 6.3ms)
1925
+
1926
+
1927
+ Started GET "/categories" for 127.0.0.1 at 2012-03-30 11:36:21 -0400
1928
+ Processing by CategoriesController#index as HTML
1929
+ Category Load (0.2ms) SELECT "categories".* FROM "categories"
1930
+ Rendered text template (0.0ms)
1931
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.2ms)
1932
+
1933
+
1934
+ Started GET "/categories/5/edit" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1935
+ Processing by CategoriesController#edit as HTML
1936
+ Parameters: {"id"=>"5"}
1937
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]]
1938
+ Subcategory Load (0.1ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 5
1939
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
1940
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 7
1941
+ Rendered categories/_form.html.erb (15.5ms)
1942
+ Rendered categories/edit.html.erb within layouts/application (16.0ms)
1943
+ Completed 200 OK in 35ms (Views: 32.8ms | ActiveRecord: 0.6ms)
1944
+
1945
+
1946
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1947
+ Served asset /application.css - 200 OK (0ms)
1948
+
1949
+
1950
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1951
+ Served asset /dynamic_fields.js - 200 OK (0ms)
1952
+
1953
+
1954
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1955
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
1956
+
1957
+
1958
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1959
+ Served asset /application.js - 200 OK (0ms)
1960
+
1961
+
1962
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1963
+ Served asset /category.js - 200 OK (0ms)
1964
+
1965
+
1966
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1967
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1968
+
1969
+
1970
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:37:19 -0400
1971
+ Served asset /jquery.js - 200 OK (0ms)
1972
+
1973
+
1974
+ Started GET "/categories/5/edit" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
1975
+ Processing by CategoriesController#edit as HTML
1976
+ Parameters: {"id"=>"5"}
1977
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]]
1978
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 5
1979
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
1980
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 7
1981
+ Rendered categories/_form.html.erb (17.8ms)
1982
+ Rendered categories/edit.html.erb within layouts/application (18.5ms)
1983
+ Completed 200 OK in 25ms (Views: 22.5ms | ActiveRecord: 0.7ms)
1984
+
1985
+
1986
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
1987
+ Served asset /application.css - 200 OK (0ms)
1988
+
1989
+
1990
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
1991
+ Served asset /jquery.js - 200 OK (0ms)
1992
+
1993
+
1994
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
1995
+ Served asset /jquery_ujs.js - 200 OK (0ms)
1996
+
1997
+
1998
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
1999
+ Served asset /dynamic_fields.js - 200 OK (0ms)
2000
+
2001
+
2002
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
2003
+ Served asset /category.js - 200 OK (0ms)
2004
+
2005
+
2006
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
2007
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
2008
+
2009
+
2010
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:38:52 -0400
2011
+ Served asset /application.js - 200 OK (0ms)
2012
+
2013
+
2014
+ Started GET "/categories/5/edit" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2015
+ Processing by CategoriesController#edit as HTML
2016
+ Parameters: {"id"=>"5"}
2017
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]]
2018
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 5
2019
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
2020
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 7
2021
+ Rendered categories/_form.html.erb (27.1ms)
2022
+ Rendered categories/edit.html.erb within layouts/application (28.0ms)
2023
+ Compiled jquery.js (36ms) (pid 47392)
2024
+ Compiled jquery_ujs.js (0ms) (pid 47392)
2025
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
2026
+ Compiled dynamic_fields.js (6ms) (pid 47392)
2027
+ Compiled category.js (0ms) (pid 47392)
2028
+ Compiled application.js (87ms) (pid 47392)
2029
+ Completed 200 OK in 152ms (Views: 149.8ms | ActiveRecord: 0.6ms)
2030
+
2031
+
2032
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2033
+ Served asset /application.css - 200 OK (0ms)
2034
+
2035
+
2036
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2037
+ Served asset /jquery.js - 200 OK (0ms)
2038
+
2039
+
2040
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2041
+ Served asset /dynamic_fields.js - 200 OK (4ms)
2042
+
2043
+
2044
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2045
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (3ms)
2046
+
2047
+
2048
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2049
+ Served asset /application.js - 200 OK (9ms)
2050
+
2051
+
2052
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2053
+ Served asset /jquery_ujs.js - 200 OK (0ms)
2054
+
2055
+
2056
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:39:30 -0400
2057
+ Served asset /category.js - 200 OK (0ms)
2058
+
2059
+
2060
+ Started GET "/categories/5/edit" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2061
+ Processing by CategoriesController#edit as HTML
2062
+ Parameters: {"id"=>"5"}
2063
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]]
2064
+ Subcategory Load (0.1ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 5
2065
+ AvailableLanguage Load (0.1ms) SELECT "available_languages".* FROM "available_languages" 
2066
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 7
2067
+ Rendered categories/_form.html.erb (35.0ms)
2068
+ Rendered categories/edit.html.erb within layouts/application (35.7ms)
2069
+ Compiled dynamic_fields/jquery.dynamic_fields.js (0ms) (pid 47392)
2070
+ Compiled dynamic_fields.js (1ms) (pid 47392)
2071
+ Compiled application.js (3ms) (pid 47392)
2072
+ Completed 200 OK in 119ms (Views: 96.9ms | ActiveRecord: 1.7ms)
2073
+
2074
+
2075
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2076
+ Served asset /application.css - 200 OK (0ms)
2077
+
2078
+
2079
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2080
+ Served asset /jquery.js - 200 OK (0ms)
2081
+
2082
+
2083
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2084
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (7ms)
2085
+
2086
+
2087
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2088
+ Served asset /jquery_ujs.js - 200 OK (0ms)
2089
+
2090
+
2091
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2092
+ Served asset /category.js - 200 OK (0ms)
2093
+
2094
+
2095
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2096
+ Served asset /application.js - 200 OK (10ms)
2097
+
2098
+
2099
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:00 -0400
2100
+ Served asset /dynamic_fields.js - 200 OK (4ms)
2101
+
2102
+
2103
+ Started GET "/categories/5/edit" for 127.0.0.1 at 2012-03-30 11:49:10 -0400
2104
+ Processing by CategoriesController#edit as HTML
2105
+ Parameters: {"id"=>"5"}
2106
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]]
2107
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 5
2108
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
2109
+ AvailableLanguage Load (0.3ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 7
2110
+ Rendered categories/_form.html.erb (22.4ms)
2111
+ Rendered categories/edit.html.erb within layouts/application (23.0ms)
2112
+ Completed 200 OK in 29ms (Views: 26.8ms | ActiveRecord: 0.8ms)
2113
+
2114
+
2115
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:49:11 -0400
2116
+ Served asset /application.css - 200 OK (0ms)
2117
+
2118
+
2119
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:11 -0400
2120
+ Served asset /jquery.js - 200 OK (0ms)
2121
+
2122
+
2123
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:11 -0400
2124
+ Served asset /dynamic_fields.js - 200 OK (0ms)
2125
+
2126
+
2127
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:11 -0400
2128
+ Served asset /category.js - 200 OK (0ms)
2129
+
2130
+
2131
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:11 -0400
2132
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
2133
+
2134
+
2135
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:11 -0400
2136
+ Served asset /jquery_ujs.js - 200 OK (0ms)
2137
+
2138
+
2139
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:49:11 -0400
2140
+ Served asset /application.js - 200 OK (0ms)
2141
+
2142
+
2143
+ Started GET "/categories/5/edit" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2144
+ Processing by CategoriesController#edit as HTML
2145
+ Parameters: {"id"=>"5"}
2146
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]]
2147
+ Subcategory Load (0.2ms) SELECT "subcategories".* FROM "subcategories" WHERE "subcategories"."category_id" = 5
2148
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" 
2149
+ AvailableLanguage Load (0.2ms) SELECT "available_languages".* FROM "available_languages" INNER JOIN "available_languages_subcategories" ON "available_languages"."id" = "available_languages_subcategories"."available_language_id" WHERE "available_languages_subcategories"."subcategory_id" = 7
2150
+ Rendered categories/_form.html.erb (22.7ms)
2151
+ Rendered categories/edit.html.erb within layouts/application (23.4ms)
2152
+ Compiled category.js (0ms) (pid 47392)
2153
+ Compiled application.js (3ms) (pid 47392)
2154
+ Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.7ms)
2155
+
2156
+
2157
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2158
+ Served asset /application.css - 200 OK (0ms)
2159
+
2160
+
2161
+ Started GET "/assets/dynamic_fields/jquery.dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2162
+ Served asset /dynamic_fields/jquery.dynamic_fields.js - 200 OK (0ms)
2163
+
2164
+
2165
+ Started GET "/assets/dynamic_fields.js?body=1" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2166
+ Served asset /dynamic_fields.js - 200 OK (0ms)
2167
+
2168
+
2169
+ Started GET "/assets/category.js?body=1" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2170
+ Served asset /category.js - 200 OK (1ms)
2171
+
2172
+
2173
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2174
+ Served asset /jquery.js - 200 OK (0ms)
2175
+
2176
+
2177
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2178
+ Served asset /jquery_ujs.js - 200 OK (0ms)
2179
+
2180
+
2181
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-30 11:51:56 -0400
2182
+ Served asset /application.js - 200 OK (50ms)