resource_controller 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. data/LICENSE +22 -0
  2. data/README +282 -0
  3. data/README.rdoc +282 -0
  4. data/Rakefile +35 -0
  5. data/generators/scaffold_resource/USAGE +29 -0
  6. data/generators/scaffold_resource/scaffold_resource_generator.rb +179 -0
  7. data/generators/scaffold_resource/templates/controller.rb +2 -0
  8. data/generators/scaffold_resource/templates/fixtures.yml +10 -0
  9. data/generators/scaffold_resource/templates/functional_test.rb +57 -0
  10. data/generators/scaffold_resource/templates/helper.rb +2 -0
  11. data/generators/scaffold_resource/templates/migration.rb +15 -0
  12. data/generators/scaffold_resource/templates/model.rb +2 -0
  13. data/generators/scaffold_resource/templates/old_migration.rb +13 -0
  14. data/generators/scaffold_resource/templates/rspec/functional_spec.rb +255 -0
  15. data/generators/scaffold_resource/templates/rspec/helper_spec.rb +11 -0
  16. data/generators/scaffold_resource/templates/rspec/routing_spec.rb +61 -0
  17. data/generators/scaffold_resource/templates/rspec/unit_spec.rb +11 -0
  18. data/generators/scaffold_resource/templates/rspec/views/edit_spec.rb +28 -0
  19. data/generators/scaffold_resource/templates/rspec/views/index_spec.rb +26 -0
  20. data/generators/scaffold_resource/templates/rspec/views/new_spec.rb +30 -0
  21. data/generators/scaffold_resource/templates/rspec/views/show_spec.rb +25 -0
  22. data/generators/scaffold_resource/templates/shoulda_functional_test.rb +19 -0
  23. data/generators/scaffold_resource/templates/unit_test.rb +7 -0
  24. data/generators/scaffold_resource/templates/view__form.erb +6 -0
  25. data/generators/scaffold_resource/templates/view__form.haml +5 -0
  26. data/generators/scaffold_resource/templates/view_edit.erb +16 -0
  27. data/generators/scaffold_resource/templates/view_edit.haml +11 -0
  28. data/generators/scaffold_resource/templates/view_index.erb +22 -0
  29. data/generators/scaffold_resource/templates/view_index.haml +19 -0
  30. data/generators/scaffold_resource/templates/view_new.erb +12 -0
  31. data/generators/scaffold_resource/templates/view_new.haml +9 -0
  32. data/generators/scaffold_resource/templates/view_show.erb +9 -0
  33. data/generators/scaffold_resource/templates/view_show.haml +9 -0
  34. data/init.rb +1 -0
  35. data/lib/resource_controller.rb +15 -0
  36. data/lib/resource_controller/accessors.rb +77 -0
  37. data/lib/resource_controller/action_options.rb +40 -0
  38. data/lib/resource_controller/actions.rb +75 -0
  39. data/lib/resource_controller/base.rb +15 -0
  40. data/lib/resource_controller/class_methods.rb +22 -0
  41. data/lib/resource_controller/controller.rb +63 -0
  42. data/lib/resource_controller/failable_action_options.rb +25 -0
  43. data/lib/resource_controller/helpers.rb +28 -0
  44. data/lib/resource_controller/helpers/current_objects.rb +69 -0
  45. data/lib/resource_controller/helpers/internal.rb +76 -0
  46. data/lib/resource_controller/helpers/nested.rb +45 -0
  47. data/lib/resource_controller/helpers/urls.rb +124 -0
  48. data/lib/resource_controller/response_collector.rb +27 -0
  49. data/lib/resource_controller/version.rb +9 -0
  50. data/lib/tasks/gem.rake +67 -0
  51. data/lib/urligence.rb +50 -0
  52. data/rails/init.rb +6 -0
  53. data/test/Rakefile +10 -0
  54. data/test/app/controllers/application.rb +7 -0
  55. data/test/app/controllers/cms/options_controller.rb +3 -0
  56. data/test/app/controllers/cms/products_controller.rb +3 -0
  57. data/test/app/controllers/comments_controller.rb +3 -0
  58. data/test/app/controllers/people_controller.rb +9 -0
  59. data/test/app/controllers/photos_controller.rb +11 -0
  60. data/test/app/controllers/posts_controller.rb +10 -0
  61. data/test/app/controllers/projects_controller.rb +3 -0
  62. data/test/app/controllers/somethings_controller.rb +3 -0
  63. data/test/app/controllers/tags_controller.rb +13 -0
  64. data/test/app/controllers/users_controller.rb +12 -0
  65. data/test/app/helpers/application_helper.rb +3 -0
  66. data/test/app/helpers/cms/products_helper.rb +2 -0
  67. data/test/app/helpers/comments_helper.rb +2 -0
  68. data/test/app/helpers/options_helper.rb +2 -0
  69. data/test/app/helpers/people_helper.rb +2 -0
  70. data/test/app/helpers/photos_helper.rb +2 -0
  71. data/test/app/helpers/posts_helper.rb +2 -0
  72. data/test/app/helpers/projects_helper.rb +2 -0
  73. data/test/app/helpers/somethings_helper.rb +2 -0
  74. data/test/app/helpers/tags_helper.rb +2 -0
  75. data/test/app/helpers/users_helper.rb +2 -0
  76. data/test/app/models/account.rb +3 -0
  77. data/test/app/models/comment.rb +3 -0
  78. data/test/app/models/option.rb +3 -0
  79. data/test/app/models/photo.rb +4 -0
  80. data/test/app/models/post.rb +3 -0
  81. data/test/app/models/product.rb +3 -0
  82. data/test/app/models/project.rb +2 -0
  83. data/test/app/models/something.rb +2 -0
  84. data/test/app/models/tag.rb +3 -0
  85. data/test/app/views/cms/options/edit.rhtml +17 -0
  86. data/test/app/views/cms/options/index.rhtml +20 -0
  87. data/test/app/views/cms/options/new.rhtml +16 -0
  88. data/test/app/views/cms/options/show.rhtml +8 -0
  89. data/test/app/views/cms/products/edit.rhtml +17 -0
  90. data/test/app/views/cms/products/index.rhtml +20 -0
  91. data/test/app/views/cms/products/new.rhtml +16 -0
  92. data/test/app/views/cms/products/show.rhtml +8 -0
  93. data/test/app/views/comments/edit.rhtml +27 -0
  94. data/test/app/views/comments/index.rhtml +24 -0
  95. data/test/app/views/comments/new.rhtml +26 -0
  96. data/test/app/views/comments/show.rhtml +18 -0
  97. data/test/app/views/layouts/application.rhtml +17 -0
  98. data/test/app/views/layouts/comments.rhtml +17 -0
  99. data/test/app/views/layouts/options.rhtml +17 -0
  100. data/test/app/views/layouts/people.rhtml +17 -0
  101. data/test/app/views/layouts/photos.rhtml +17 -0
  102. data/test/app/views/layouts/projects.rhtml +17 -0
  103. data/test/app/views/layouts/somethings.rhtml +17 -0
  104. data/test/app/views/layouts/tags.rhtml +17 -0
  105. data/test/app/views/people/edit.rhtml +17 -0
  106. data/test/app/views/people/index.rhtml +20 -0
  107. data/test/app/views/people/new.rhtml +16 -0
  108. data/test/app/views/people/show.rhtml +8 -0
  109. data/test/app/views/photos/edit.rhtml +17 -0
  110. data/test/app/views/photos/index.rhtml +20 -0
  111. data/test/app/views/photos/new.rhtml +16 -0
  112. data/test/app/views/photos/show.rhtml +8 -0
  113. data/test/app/views/posts/edit.rhtml +22 -0
  114. data/test/app/views/posts/index.rhtml +22 -0
  115. data/test/app/views/posts/new.rhtml +21 -0
  116. data/test/app/views/posts/show.rhtml +13 -0
  117. data/test/app/views/projects/edit.rhtml +17 -0
  118. data/test/app/views/projects/index.rhtml +20 -0
  119. data/test/app/views/projects/new.rhtml +16 -0
  120. data/test/app/views/projects/show.rhtml +8 -0
  121. data/test/app/views/somethings/edit.rhtml +17 -0
  122. data/test/app/views/somethings/index.rhtml +20 -0
  123. data/test/app/views/somethings/new.rhtml +16 -0
  124. data/test/app/views/somethings/show.rhtml +8 -0
  125. data/test/app/views/tags/edit.rhtml +17 -0
  126. data/test/app/views/tags/index.rhtml +20 -0
  127. data/test/app/views/tags/index.rjs +0 -0
  128. data/test/app/views/tags/new.rhtml +16 -0
  129. data/test/app/views/tags/show.rhtml +8 -0
  130. data/test/app/views/users/edit.rhtml +17 -0
  131. data/test/app/views/users/index.rhtml +20 -0
  132. data/test/app/views/users/new.rhtml +16 -0
  133. data/test/app/views/users/show.rhtml +8 -0
  134. data/test/config/boot.rb +109 -0
  135. data/test/config/database.yml +16 -0
  136. data/test/config/environment.rb +64 -0
  137. data/test/config/environments/development.rb +21 -0
  138. data/test/config/environments/test.rb +19 -0
  139. data/test/config/routes.rb +51 -0
  140. data/test/db/migrate/001_create_posts.rb +12 -0
  141. data/test/db/migrate/002_create_products.rb +11 -0
  142. data/test/db/migrate/003_create_comments.rb +13 -0
  143. data/test/db/migrate/004_create_options.rb +12 -0
  144. data/test/db/migrate/005_create_photos.rb +11 -0
  145. data/test/db/migrate/006_create_tags.rb +17 -0
  146. data/test/db/migrate/007_create_somethings.rb +11 -0
  147. data/test/db/migrate/008_create_accounts.rb +11 -0
  148. data/test/db/migrate/009_add_account_id_to_photos.rb +9 -0
  149. data/test/db/migrate/010_create_projects.rb +11 -0
  150. data/test/db/schema.rb +65 -0
  151. data/test/log/development.log +2918 -0
  152. data/test/log/test.log +135619 -0
  153. data/test/log/thin.log +12 -0
  154. data/test/script/console +3 -0
  155. data/test/script/destroy +3 -0
  156. data/test/script/generate +3 -0
  157. data/test/script/server +3 -0
  158. data/test/test/fixtures/accounts.yml +7 -0
  159. data/test/test/fixtures/comments.yml +11 -0
  160. data/test/test/fixtures/options.yml +9 -0
  161. data/test/test/fixtures/photos.yml +9 -0
  162. data/test/test/fixtures/photos_tags.yml +3 -0
  163. data/test/test/fixtures/posts.yml +9 -0
  164. data/test/test/fixtures/products.yml +7 -0
  165. data/test/test/fixtures/projects.yml +7 -0
  166. data/test/test/fixtures/somethings.yml +7 -0
  167. data/test/test/fixtures/tags.yml +7 -0
  168. data/test/test/functional/cms/options_controller_test.rb +23 -0
  169. data/test/test/functional/cms/products_controller_test.rb +23 -0
  170. data/test/test/functional/comments_controller_test.rb +26 -0
  171. data/test/test/functional/people_controller_test.rb +34 -0
  172. data/test/test/functional/photos_controller_test.rb +130 -0
  173. data/test/test/functional/posts_controller_test.rb +34 -0
  174. data/test/test/functional/projects_controller_test.rb +18 -0
  175. data/test/test/functional/somethings_controller_test.rb +28 -0
  176. data/test/test/functional/tags_controller_test.rb +64 -0
  177. data/test/test/functional/users_controller_test.rb +24 -0
  178. data/test/test/test_helper.rb +12 -0
  179. data/test/test/unit/accessors_test.rb +110 -0
  180. data/test/test/unit/account_test.rb +7 -0
  181. data/test/test/unit/action_options_test.rb +109 -0
  182. data/test/test/unit/base_test.rb +11 -0
  183. data/test/test/unit/comment_test.rb +10 -0
  184. data/test/test/unit/failable_action_options_test.rb +77 -0
  185. data/test/test/unit/helpers/current_objects_test.rb +127 -0
  186. data/test/test/unit/helpers/internal_test.rb +106 -0
  187. data/test/test/unit/helpers/nested_test.rb +82 -0
  188. data/test/test/unit/helpers/urls_test.rb +71 -0
  189. data/test/test/unit/helpers_test.rb +25 -0
  190. data/test/test/unit/option_test.rb +10 -0
  191. data/test/test/unit/photo_test.rb +10 -0
  192. data/test/test/unit/post_test.rb +10 -0
  193. data/test/test/unit/project_test.rb +10 -0
  194. data/test/test/unit/response_collector_test.rb +49 -0
  195. data/test/test/unit/something_test.rb +10 -0
  196. data/test/test/unit/tag_test.rb +10 -0
  197. data/test/test/unit/urligence_test.rb +203 -0
  198. data/test/vendor/plugins/shoulda/Rakefile +32 -0
  199. data/test/vendor/plugins/shoulda/bin/convert_to_should_syntax +40 -0
  200. data/test/vendor/plugins/shoulda/init.rb +3 -0
  201. data/test/vendor/plugins/shoulda/lib/shoulda.rb +43 -0
  202. data/test/vendor/plugins/shoulda/lib/shoulda/active_record_helpers.rb +580 -0
  203. data/test/vendor/plugins/shoulda/lib/shoulda/color.rb +77 -0
  204. data/test/vendor/plugins/shoulda/lib/shoulda/controller_tests/controller_tests.rb +467 -0
  205. data/test/vendor/plugins/shoulda/lib/shoulda/controller_tests/formats/html.rb +201 -0
  206. data/test/vendor/plugins/shoulda/lib/shoulda/controller_tests/formats/xml.rb +170 -0
  207. data/test/vendor/plugins/shoulda/lib/shoulda/gem/proc_extensions.rb +14 -0
  208. data/test/vendor/plugins/shoulda/lib/shoulda/gem/shoulda.rb +239 -0
  209. data/test/vendor/plugins/shoulda/lib/shoulda/general.rb +118 -0
  210. data/test/vendor/plugins/shoulda/lib/shoulda/private_helpers.rb +22 -0
  211. metadata +312 -0
@@ -0,0 +1,9 @@
1
+ class AddAccountIdToPhotos < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :photos, :account_id, :integer
4
+ end
5
+
6
+ def self.down
7
+ remove_column :photos, :account_id
8
+ end
9
+ end
@@ -0,0 +1,11 @@
1
+ class CreateProjects < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :projects do |t|
4
+ t.column :title, :string
5
+ end
6
+ end
7
+
8
+ def self.down
9
+ drop_table :projects
10
+ end
11
+ end
data/test/db/schema.rb ADDED
@@ -0,0 +1,65 @@
1
+ # This file is auto-generated from the current state of the database. Instead of editing this file,
2
+ # please use the migrations feature of ActiveRecord to incrementally modify your database, and
3
+ # then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your database schema. If you need
6
+ # to create the application database on another system, you should be using db:schema:load, not running
7
+ # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
8
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
9
+ #
10
+ # It's strongly recommended to check this file into your version control system.
11
+
12
+ ActiveRecord::Schema.define(:version => 11) do
13
+
14
+ create_table "accounts", :force => true do |t|
15
+ t.string "name"
16
+ end
17
+
18
+ create_table "comments", :force => true do |t|
19
+ t.integer "post_id"
20
+ t.string "author"
21
+ t.text "body"
22
+ end
23
+
24
+ create_table "options", :force => true do |t|
25
+ t.integer "product_id"
26
+ t.string "title"
27
+ end
28
+
29
+ create_table "photos", :force => true do |t|
30
+ t.string "title"
31
+ t.integer "account_id"
32
+ end
33
+
34
+ create_table "photos_tags", :force => true do |t|
35
+ t.integer "photo_id"
36
+ t.integer "tag_id"
37
+ end
38
+
39
+ create_table "posts", :force => true do |t|
40
+ t.string "title", :default => ""
41
+ t.text "body"
42
+ end
43
+
44
+ create_table "products", :force => true do |t|
45
+ t.string "name"
46
+ end
47
+
48
+ create_table "projects", :force => true do |t|
49
+ t.string "title"
50
+ end
51
+
52
+ create_table "ratings", :force => true do |t|
53
+ t.integer "comment_id"
54
+ t.integer "stars"
55
+ end
56
+
57
+ create_table "somethings", :force => true do |t|
58
+ t.string "title"
59
+ end
60
+
61
+ create_table "tags", :force => true do |t|
62
+ t.string "name"
63
+ end
64
+
65
+ end
@@ -0,0 +1,2918 @@
1
+ # Logfile created on Tue Jun 03 09:26:53 -0400 2008DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
2
+ SQL (0.000192) SET SQL_AUTO_IS_NULL=0
3
+ SQL (0.000516) SHOW TABLES
4
+ SQL (0.000219) SELECT version FROM schema_migrations
5
+ SQL (0.000310) SELECT version FROM schema_migrations
6
+ SQL (0.000374) SHOW TABLES
7
+ SQL (0.001310) SHOW FIELDS FROM `accounts`
8
+ SQL (0.001094) describe `accounts`
9
+ SQL (0.000563) SHOW KEYS FROM `accounts`
10
+ SQL (0.007058) SHOW FIELDS FROM `comments`
11
+ SQL (0.001797) describe `comments`
12
+ SQL (0.000615) SHOW KEYS FROM `comments`
13
+ SQL (0.001152) SHOW FIELDS FROM `options`
14
+ SQL (0.004932) describe `options`
15
+ SQL (0.000627) SHOW KEYS FROM `options`
16
+ SQL (0.000861) SHOW FIELDS FROM `photos`
17
+ SQL (0.005316) describe `photos`
18
+ SQL (0.000643) SHOW KEYS FROM `photos`
19
+ SQL (0.001136) SHOW FIELDS FROM `photos_tags`
20
+ SQL (0.001461) describe `photos_tags`
21
+ SQL (0.000412) SHOW KEYS FROM `photos_tags`
22
+ SQL (0.003776) SHOW FIELDS FROM `posts`
23
+ SQL (0.001860) describe `posts`
24
+ SQL (0.000615) SHOW KEYS FROM `posts`
25
+ SQL (0.036598) SHOW FIELDS FROM `products`
26
+ SQL (0.001588) describe `products`
27
+ SQL (0.008045) SHOW KEYS FROM `products`
28
+ SQL (0.001074) SHOW FIELDS FROM `projects`
29
+ SQL (0.001256) describe `projects`
30
+ SQL (0.000606) SHOW KEYS FROM `projects`
31
+ SQL (0.004276) SHOW FIELDS FROM `ratings`
32
+ SQL (0.001668) describe `ratings`
33
+ SQL (0.000718) SHOW KEYS FROM `ratings`
34
+ SQL (0.001115) SHOW FIELDS FROM `somethings`
35
+ SQL (0.005287) describe `somethings`
36
+ SQL (0.000584) SHOW KEYS FROM `somethings`
37
+ SQL (0.000864) SHOW FIELDS FROM `tags`
38
+ SQL (0.005103) describe `tags`
39
+ SQL (0.000665) SHOW KEYS FROM `tags`
40
+ SQL (0.000102) SET SQL_AUTO_IS_NULL=0
41
+ SQL (0.038734) DROP DATABASE IF EXISTS `resource_controller_test`
42
+ SQL (0.000383) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
43
+ SQL (0.000122) SET SQL_AUTO_IS_NULL=0
44
+ SQL (0.000288) SHOW TABLES
45
+ SQL (0.001945) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
46
+ SQL (0.000276) SHOW TABLES
47
+ SQL (0.001648) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
48
+ SQL (0.000308) SHOW TABLES
49
+ SQL (0.021666) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
50
+ SQL (0.034518) SHOW TABLES
51
+ SQL (0.001939) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
52
+ SQL (0.000324) SHOW TABLES
53
+ SQL (0.029685) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
54
+ SQL (0.000335) SHOW TABLES
55
+ SQL (0.001643) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
56
+ SQL (0.000276) SHOW TABLES
57
+ SQL (0.004032) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
58
+ SQL (0.000301) SHOW TABLES
59
+ SQL (0.001585) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
60
+ SQL (0.000312) SHOW TABLES
61
+ SQL (0.004942) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
62
+ SQL (0.000343) SHOW TABLES
63
+ SQL (0.001601) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
64
+ SQL (0.000309) SHOW TABLES
65
+ SQL (0.005236) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
66
+ SQL (0.000336) SHOW TABLES
67
+ SQL (0.001586) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
68
+ SQL (0.041519) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
69
+ SQL (0.000384) SHOW TABLES
70
+ SQL (0.000266) SELECT version FROM `schema_migrations`
71
+ SQL (0.000419) INSERT INTO `schema_migrations` (version) VALUES ('11')
72
+ SQL (0.003936) INSERT INTO `schema_migrations` (version) VALUES ('1')
73
+ SQL (0.000538) INSERT INTO `schema_migrations` (version) VALUES ('2')
74
+ SQL (0.000463) INSERT INTO `schema_migrations` (version) VALUES ('3')
75
+ SQL (0.000362) INSERT INTO `schema_migrations` (version) VALUES ('4')
76
+ SQL (0.000446) INSERT INTO `schema_migrations` (version) VALUES ('5')
77
+ SQL (0.000490) INSERT INTO `schema_migrations` (version) VALUES ('6')
78
+ SQL (0.000554) INSERT INTO `schema_migrations` (version) VALUES ('7')
79
+ SQL (0.000475) INSERT INTO `schema_migrations` (version) VALUES ('8')
80
+ SQL (0.000336) INSERT INTO `schema_migrations` (version) VALUES ('9')
81
+ SQL (0.000454) INSERT INTO `schema_migrations` (version) VALUES ('10')
82
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
83
+ SQL (0.000190) SET SQL_AUTO_IS_NULL=0
84
+ SQL (0.000430) SHOW TABLES
85
+ SQL (0.000263) SELECT version FROM schema_migrations
86
+ SQL (0.000275) SELECT version FROM schema_migrations
87
+ SQL (0.000419) SHOW TABLES
88
+ SQL (0.000993) SHOW FIELDS FROM `accounts`
89
+ SQL (0.001655) describe `accounts`
90
+ SQL (0.000311) SHOW KEYS FROM `accounts`
91
+ SQL (0.001245) SHOW FIELDS FROM `comments`
92
+ SQL (0.017658) describe `comments`
93
+ SQL (0.000265) SHOW KEYS FROM `comments`
94
+ SQL (0.001166) SHOW FIELDS FROM `options`
95
+ SQL (0.001872) describe `options`
96
+ SQL (0.000635) SHOW KEYS FROM `options`
97
+ SQL (0.001121) SHOW FIELDS FROM `photos`
98
+ SQL (0.001002) describe `photos`
99
+ SQL (0.000796) SHOW KEYS FROM `photos`
100
+ SQL (0.001303) SHOW FIELDS FROM `photos_tags`
101
+ SQL (0.010653) describe `photos_tags`
102
+ SQL (0.000612) SHOW KEYS FROM `photos_tags`
103
+ SQL (0.001212) SHOW FIELDS FROM `posts`
104
+ SQL (0.001821) describe `posts`
105
+ SQL (0.003690) SHOW KEYS FROM `posts`
106
+ SQL (0.036287) SHOW FIELDS FROM `products`
107
+ SQL (0.001507) describe `products`
108
+ SQL (0.000334) SHOW KEYS FROM `products`
109
+ SQL (0.000835) SHOW FIELDS FROM `projects`
110
+ SQL (0.001295) describe `projects`
111
+ SQL (0.000323) SHOW KEYS FROM `projects`
112
+ SQL (0.001306) SHOW FIELDS FROM `ratings`
113
+ SQL (0.007519) describe `ratings`
114
+ SQL (0.000316) SHOW KEYS FROM `ratings`
115
+ SQL (0.001108) SHOW FIELDS FROM `somethings`
116
+ SQL (0.005690) describe `somethings`
117
+ SQL (0.000605) SHOW KEYS FROM `somethings`
118
+ SQL (0.000900) SHOW FIELDS FROM `tags`
119
+ SQL (0.001582) describe `tags`
120
+ SQL (0.000281) SHOW KEYS FROM `tags`
121
+ SQL (0.000194) SET SQL_AUTO_IS_NULL=0
122
+ SQL (0.031594) DROP DATABASE IF EXISTS `resource_controller_test`
123
+ SQL (0.000328) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
124
+ SQL (0.000103) SET SQL_AUTO_IS_NULL=0
125
+ SQL (0.000398) SHOW TABLES
126
+ SQL (0.002035) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
127
+ SQL (0.000255) SHOW TABLES
128
+ SQL (0.001669) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
129
+ SQL (0.000298) SHOW TABLES
130
+ SQL (0.023153) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
131
+ SQL (0.034757) SHOW TABLES
132
+ SQL (0.001940) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
133
+ SQL (0.000370) SHOW TABLES
134
+ SQL (0.019895) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
135
+ SQL (0.000332) SHOW TABLES
136
+ SQL (0.001655) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
137
+ SQL (0.000267) SHOW TABLES
138
+ SQL (0.005023) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
139
+ SQL (0.000268) SHOW TABLES
140
+ SQL (0.001615) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
141
+ SQL (0.000323) SHOW TABLES
142
+ SQL (0.021010) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
143
+ SQL (0.000360) SHOW TABLES
144
+ SQL (0.001642) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
145
+ SQL (0.000323) SHOW TABLES
146
+ SQL (0.005046) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
147
+ SQL (0.000312) SHOW TABLES
148
+ SQL (0.001541) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
149
+ SQL (0.024777) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
150
+ SQL (0.000463) SHOW TABLES
151
+ SQL (0.000271) SELECT version FROM `schema_migrations`
152
+ SQL (0.000445) INSERT INTO `schema_migrations` (version) VALUES ('11')
153
+ SQL (0.003824) INSERT INTO `schema_migrations` (version) VALUES ('1')
154
+ SQL (0.000415) INSERT INTO `schema_migrations` (version) VALUES ('2')
155
+ SQL (0.000458) INSERT INTO `schema_migrations` (version) VALUES ('3')
156
+ SQL (0.000327) INSERT INTO `schema_migrations` (version) VALUES ('4')
157
+ SQL (0.000459) INSERT INTO `schema_migrations` (version) VALUES ('5')
158
+ SQL (0.000475) INSERT INTO `schema_migrations` (version) VALUES ('6')
159
+ SQL (0.000448) INSERT INTO `schema_migrations` (version) VALUES ('7')
160
+ SQL (0.000364) INSERT INTO `schema_migrations` (version) VALUES ('8')
161
+ SQL (0.000447) INSERT INTO `schema_migrations` (version) VALUES ('9')
162
+ SQL (0.000372) INSERT INTO `schema_migrations` (version) VALUES ('10')
163
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
164
+ SQL (0.000192) SET SQL_AUTO_IS_NULL=0
165
+ SQL (0.000436) SHOW TABLES
166
+ SQL (0.000217) SELECT version FROM schema_migrations
167
+ SQL (0.000438) SELECT version FROM schema_migrations
168
+ SQL (0.000448) SHOW TABLES
169
+ SQL (0.001331) SHOW FIELDS FROM `accounts`
170
+ SQL (0.001187) describe `accounts`
171
+ SQL (0.000573) SHOW KEYS FROM `accounts`
172
+ SQL (0.001317) SHOW FIELDS FROM `comments`
173
+ SQL (0.010188) describe `comments`
174
+ SQL (0.000296) SHOW KEYS FROM `comments`
175
+ SQL (0.001016) SHOW FIELDS FROM `options`
176
+ SQL (0.004511) describe `options`
177
+ SQL (0.000759) SHOW KEYS FROM `options`
178
+ SQL (0.001287) SHOW FIELDS FROM `photos`
179
+ SQL (0.004908) describe `photos`
180
+ SQL (0.000610) SHOW KEYS FROM `photos`
181
+ SQL (0.001188) SHOW FIELDS FROM `photos_tags`
182
+ SQL (0.001358) describe `photos_tags`
183
+ SQL (0.004246) SHOW KEYS FROM `photos_tags`
184
+ SQL (0.001237) SHOW FIELDS FROM `posts`
185
+ SQL (0.001862) describe `posts`
186
+ SQL (0.000228) SHOW KEYS FROM `posts`
187
+ SQL (0.038851) SHOW FIELDS FROM `products`
188
+ SQL (0.001579) describe `products`
189
+ SQL (0.000401) SHOW KEYS FROM `products`
190
+ SQL (0.004452) SHOW FIELDS FROM `projects`
191
+ SQL (0.001613) describe `projects`
192
+ SQL (0.000293) SHOW KEYS FROM `projects`
193
+ SQL (0.001374) SHOW FIELDS FROM `ratings`
194
+ SQL (0.005557) describe `ratings`
195
+ SQL (0.000939) SHOW KEYS FROM `ratings`
196
+ SQL (0.000918) SHOW FIELDS FROM `somethings`
197
+ SQL (0.004854) describe `somethings`
198
+ SQL (0.000714) SHOW KEYS FROM `somethings`
199
+ SQL (0.000843) SHOW FIELDS FROM `tags`
200
+ SQL (0.001587) describe `tags`
201
+ SQL (0.004284) SHOW KEYS FROM `tags`
202
+ SQL (0.000102) SET SQL_AUTO_IS_NULL=0
203
+ SQL (0.039842) DROP DATABASE IF EXISTS `resource_controller_test`
204
+ SQL (0.000367) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
205
+ SQL (0.000216) SET SQL_AUTO_IS_NULL=0
206
+ SQL (0.000276) SHOW TABLES
207
+ SQL (0.001721) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
208
+ SQL (0.000296) SHOW TABLES
209
+ SQL (0.019363) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
210
+ SQL (0.000294) SHOW TABLES
211
+ SQL (0.007446) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
212
+ SQL (0.034118) SHOW TABLES
213
+ SQL (0.002070) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
214
+ SQL (0.000478) SHOW TABLES
215
+ SQL (0.020357) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
216
+ SQL (0.000331) SHOW TABLES
217
+ SQL (0.001695) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
218
+ SQL (0.000302) SHOW TABLES
219
+ SQL (0.004752) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
220
+ SQL (0.000252) SHOW TABLES
221
+ SQL (0.001549) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
222
+ SQL (0.000365) SHOW TABLES
223
+ SQL (0.021104) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
224
+ SQL (0.000356) SHOW TABLES
225
+ SQL (0.001700) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
226
+ SQL (0.000340) SHOW TABLES
227
+ SQL (0.004425) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
228
+ SQL (0.000305) SHOW TABLES
229
+ SQL (0.001563) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
230
+ SQL (0.008661) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
231
+ SQL (0.000412) SHOW TABLES
232
+ SQL (0.000272) SELECT version FROM `schema_migrations`
233
+ SQL (0.004385) INSERT INTO `schema_migrations` (version) VALUES ('11')
234
+ SQL (0.000439) INSERT INTO `schema_migrations` (version) VALUES ('1')
235
+ SQL (0.000442) INSERT INTO `schema_migrations` (version) VALUES ('2')
236
+ SQL (0.000349) INSERT INTO `schema_migrations` (version) VALUES ('3')
237
+ SQL (0.000458) INSERT INTO `schema_migrations` (version) VALUES ('4')
238
+ SQL (0.000329) INSERT INTO `schema_migrations` (version) VALUES ('5')
239
+ SQL (0.000474) INSERT INTO `schema_migrations` (version) VALUES ('6')
240
+ SQL (0.000356) INSERT INTO `schema_migrations` (version) VALUES ('7')
241
+ SQL (0.000477) INSERT INTO `schema_migrations` (version) VALUES ('8')
242
+ SQL (0.000355) INSERT INTO `schema_migrations` (version) VALUES ('9')
243
+ SQL (0.000447) INSERT INTO `schema_migrations` (version) VALUES ('10')
244
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
245
+ SQL (0.000189) SET SQL_AUTO_IS_NULL=0
246
+ SQL (0.000429) SHOW TABLES
247
+ SQL (0.000214) SELECT version FROM schema_migrations
248
+ SQL (0.000274) SELECT version FROM schema_migrations
249
+ SQL (0.000337) SHOW TABLES
250
+ SQL (0.001651) SHOW FIELDS FROM `accounts`
251
+ SQL (0.001128) describe `accounts`
252
+ SQL (0.000226) SHOW KEYS FROM `accounts`
253
+ SQL (0.007312) SHOW FIELDS FROM `comments`
254
+ SQL (0.001807) describe `comments`
255
+ SQL (0.000285) SHOW KEYS FROM `comments`
256
+ SQL (0.004449) SHOW FIELDS FROM `options`
257
+ SQL (0.001725) describe `options`
258
+ SQL (0.000635) SHOW KEYS FROM `options`
259
+ SQL (0.000854) SHOW FIELDS FROM `photos`
260
+ SQL (0.004239) describe `photos`
261
+ SQL (0.000837) SHOW KEYS FROM `photos`
262
+ SQL (0.001711) SHOW FIELDS FROM `photos_tags`
263
+ SQL (0.005284) describe `photos_tags`
264
+ SQL (0.000383) SHOW KEYS FROM `photos_tags`
265
+ SQL (0.001199) SHOW FIELDS FROM `posts`
266
+ SQL (0.001912) describe `posts`
267
+ SQL (0.003752) SHOW KEYS FROM `posts`
268
+ SQL (0.035743) SHOW FIELDS FROM `products`
269
+ SQL (0.001548) describe `products`
270
+ SQL (0.003471) SHOW KEYS FROM `products`
271
+ SQL (0.001197) SHOW FIELDS FROM `projects`
272
+ SQL (0.001602) describe `projects`
273
+ SQL (0.000262) SHOW KEYS FROM `projects`
274
+ SQL (0.004703) SHOW FIELDS FROM `ratings`
275
+ SQL (0.001849) describe `ratings`
276
+ SQL (0.000368) SHOW KEYS FROM `ratings`
277
+ SQL (0.001315) SHOW FIELDS FROM `somethings`
278
+ SQL (0.004931) describe `somethings`
279
+ SQL (0.000297) SHOW KEYS FROM `somethings`
280
+ SQL (0.000893) SHOW FIELDS FROM `tags`
281
+ SQL (0.001720) describe `tags`
282
+ SQL (0.003500) SHOW KEYS FROM `tags`
283
+ SQL (0.000113) SET SQL_AUTO_IS_NULL=0
284
+ SQL (0.034758) DROP DATABASE IF EXISTS `resource_controller_test`
285
+ SQL (0.000332) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
286
+ SQL (0.000092) SET SQL_AUTO_IS_NULL=0
287
+ SQL (0.000277) SHOW TABLES
288
+ SQL (0.001987) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
289
+ SQL (0.000300) SHOW TABLES
290
+ SQL (0.001654) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
291
+ SQL (0.000242) SHOW TABLES
292
+ SQL (0.021707) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
293
+ SQL (0.034974) SHOW TABLES
294
+ SQL (0.001967) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
295
+ SQL (0.000363) SHOW TABLES
296
+ SQL (0.019516) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
297
+ SQL (0.000340) SHOW TABLES
298
+ SQL (0.001488) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
299
+ SQL (0.000288) SHOW TABLES
300
+ SQL (0.004587) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
301
+ SQL (0.000284) SHOW TABLES
302
+ SQL (0.001560) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
303
+ SQL (0.000344) SHOW TABLES
304
+ SQL (0.004937) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
305
+ SQL (0.000342) SHOW TABLES
306
+ SQL (0.001612) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
307
+ SQL (0.000314) SHOW TABLES
308
+ SQL (0.005318) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
309
+ SQL (0.000352) SHOW TABLES
310
+ SQL (0.001581) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
311
+ SQL (0.033239) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
312
+ SQL (0.000425) SHOW TABLES
313
+ SQL (0.000273) SELECT version FROM `schema_migrations`
314
+ SQL (0.004243) INSERT INTO `schema_migrations` (version) VALUES ('11')
315
+ SQL (0.000411) INSERT INTO `schema_migrations` (version) VALUES ('1')
316
+ SQL (0.000468) INSERT INTO `schema_migrations` (version) VALUES ('2')
317
+ SQL (0.000364) INSERT INTO `schema_migrations` (version) VALUES ('3')
318
+ SQL (0.000443) INSERT INTO `schema_migrations` (version) VALUES ('4')
319
+ SQL (0.000442) INSERT INTO `schema_migrations` (version) VALUES ('5')
320
+ SQL (0.000448) INSERT INTO `schema_migrations` (version) VALUES ('6')
321
+ SQL (0.000381) INSERT INTO `schema_migrations` (version) VALUES ('7')
322
+ SQL (0.000437) INSERT INTO `schema_migrations` (version) VALUES ('8')
323
+ SQL (0.000376) INSERT INTO `schema_migrations` (version) VALUES ('9')
324
+ SQL (0.000423) INSERT INTO `schema_migrations` (version) VALUES ('10')
325
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
326
+ SQL (0.000244) SET SQL_AUTO_IS_NULL=0
327
+ SQL (0.000438) SHOW TABLES
328
+ SQL (0.000219) SELECT version FROM schema_migrations
329
+ SQL (0.000553) SELECT version FROM schema_migrations
330
+ SQL (0.000399) SHOW TABLES
331
+ SQL (0.001274) SHOW FIELDS FROM `accounts`
332
+ SQL (0.000844) describe `accounts`
333
+ SQL (0.000560) SHOW KEYS FROM `accounts`
334
+ SQL (0.020714) SHOW FIELDS FROM `comments`
335
+ SQL (0.001379) describe `comments`
336
+ SQL (0.000941) SHOW KEYS FROM `comments`
337
+ SQL (0.003771) SHOW FIELDS FROM `options`
338
+ SQL (0.001722) describe `options`
339
+ SQL (0.000617) SHOW KEYS FROM `options`
340
+ SQL (0.001048) SHOW FIELDS FROM `photos`
341
+ SQL (0.005535) describe `photos`
342
+ SQL (0.000569) SHOW KEYS FROM `photos`
343
+ SQL (0.001163) SHOW FIELDS FROM `photos_tags`
344
+ SQL (0.001835) describe `photos_tags`
345
+ SQL (0.000901) SHOW KEYS FROM `photos_tags`
346
+ SQL (0.001146) SHOW FIELDS FROM `posts`
347
+ SQL (0.001712) describe `posts`
348
+ SQL (0.000595) SHOW KEYS FROM `posts`
349
+ SQL (0.035879) SHOW FIELDS FROM `products`
350
+ SQL (0.001587) describe `products`
351
+ SQL (0.000623) SHOW KEYS FROM `products`
352
+ SQL (0.001196) SHOW FIELDS FROM `projects`
353
+ SQL (0.008339) describe `projects`
354
+ SQL (0.000301) SHOW KEYS FROM `projects`
355
+ SQL (0.001314) SHOW FIELDS FROM `ratings`
356
+ SQL (0.001722) describe `ratings`
357
+ SQL (0.003299) SHOW KEYS FROM `ratings`
358
+ SQL (0.001245) SHOW FIELDS FROM `somethings`
359
+ SQL (0.001481) describe `somethings`
360
+ SQL (0.000601) SHOW KEYS FROM `somethings`
361
+ SQL (0.004357) SHOW FIELDS FROM `tags`
362
+ SQL (0.001623) describe `tags`
363
+ SQL (0.000607) SHOW KEYS FROM `tags`
364
+ SQL (0.000101) SET SQL_AUTO_IS_NULL=0
365
+ SQL (0.041345) DROP DATABASE IF EXISTS `resource_controller_test`
366
+ SQL (0.000350) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
367
+ SQL (0.000105) SET SQL_AUTO_IS_NULL=0
368
+ SQL (0.000313) SHOW TABLES
369
+ SQL (0.001975) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
370
+ SQL (0.000242) SHOW TABLES
371
+ SQL (0.001575) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
372
+ SQL (0.000294) SHOW TABLES
373
+ SQL (0.026380) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
374
+ SQL (0.034699) SHOW TABLES
375
+ SQL (0.001975) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
376
+ SQL (0.000329) SHOW TABLES
377
+ SQL (0.028434) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
378
+ SQL (0.000374) SHOW TABLES
379
+ SQL (0.006730) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
380
+ SQL (0.000283) SHOW TABLES
381
+ SQL (0.001599) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
382
+ SQL (0.000262) SHOW TABLES
383
+ SQL (0.005413) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
384
+ SQL (0.000344) SHOW TABLES
385
+ SQL (0.001820) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
386
+ SQL (0.000349) SHOW TABLES
387
+ SQL (0.028957) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
388
+ SQL (0.000378) SHOW TABLES
389
+ SQL (0.001664) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
390
+ SQL (0.000328) SHOW TABLES
391
+ SQL (0.013698) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
392
+ SQL (0.004473) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
393
+ SQL (0.000436) SHOW TABLES
394
+ SQL (0.000250) SELECT version FROM `schema_migrations`
395
+ SQL (0.002196) INSERT INTO `schema_migrations` (version) VALUES ('11')
396
+ SQL (0.000419) INSERT INTO `schema_migrations` (version) VALUES ('1')
397
+ SQL (0.000452) INSERT INTO `schema_migrations` (version) VALUES ('2')
398
+ SQL (0.031872) INSERT INTO `schema_migrations` (version) VALUES ('3')
399
+ SQL (0.000461) INSERT INTO `schema_migrations` (version) VALUES ('4')
400
+ SQL (0.000458) INSERT INTO `schema_migrations` (version) VALUES ('5')
401
+ SQL (0.000361) INSERT INTO `schema_migrations` (version) VALUES ('6')
402
+ SQL (0.000440) INSERT INTO `schema_migrations` (version) VALUES ('7')
403
+ SQL (0.000339) INSERT INTO `schema_migrations` (version) VALUES ('8')
404
+ SQL (0.000453) INSERT INTO `schema_migrations` (version) VALUES ('9')
405
+ SQL (0.000368) INSERT INTO `schema_migrations` (version) VALUES ('10')
406
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
407
+ SQL (0.000189) SET SQL_AUTO_IS_NULL=0
408
+ SQL (0.000576) SHOW TABLES
409
+ SQL (0.000237) SELECT version FROM schema_migrations
410
+ SQL (0.001531) SELECT version FROM schema_migrations
411
+ SQL (0.000403) SHOW TABLES
412
+ SQL (0.016972) SHOW FIELDS FROM `accounts`
413
+ SQL (0.001207) describe `accounts`
414
+ SQL (0.000311) SHOW KEYS FROM `accounts`
415
+ SQL (0.001289) SHOW FIELDS FROM `comments`
416
+ SQL (0.004580) describe `comments`
417
+ SQL (0.000421) SHOW KEYS FROM `comments`
418
+ SQL (0.001304) SHOW FIELDS FROM `options`
419
+ SQL (0.001254) describe `options`
420
+ SQL (0.004597) SHOW KEYS FROM `options`
421
+ SQL (0.001190) SHOW FIELDS FROM `photos`
422
+ SQL (0.001160) describe `photos`
423
+ SQL (0.001033) SHOW KEYS FROM `photos`
424
+ SQL (0.004409) SHOW FIELDS FROM `photos_tags`
425
+ SQL (0.001767) describe `photos_tags`
426
+ SQL (0.000730) SHOW KEYS FROM `photos_tags`
427
+ SQL (0.000991) SHOW FIELDS FROM `posts`
428
+ SQL (0.005366) describe `posts`
429
+ SQL (0.001334) SHOW KEYS FROM `posts`
430
+ SQL (0.040053) SHOW FIELDS FROM `products`
431
+ SQL (0.001686) describe `products`
432
+ SQL (0.000335) SHOW KEYS FROM `products`
433
+ SQL (0.003800) SHOW FIELDS FROM `projects`
434
+ SQL (0.001690) describe `projects`
435
+ SQL (0.000513) SHOW KEYS FROM `projects`
436
+ SQL (0.001368) SHOW FIELDS FROM `ratings`
437
+ SQL (0.005208) describe `ratings`
438
+ SQL (0.000769) SHOW KEYS FROM `ratings`
439
+ SQL (0.000984) SHOW FIELDS FROM `somethings`
440
+ SQL (0.005838) describe `somethings`
441
+ SQL (0.000964) SHOW KEYS FROM `somethings`
442
+ SQL (0.000853) SHOW FIELDS FROM `tags`
443
+ SQL (0.004360) describe `tags`
444
+ SQL (0.000311) SHOW KEYS FROM `tags`
445
+ SQL (0.000103) SET SQL_AUTO_IS_NULL=0
446
+ SQL (0.036801) DROP DATABASE IF EXISTS `resource_controller_test`
447
+ SQL (0.000333) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
448
+ SQL (0.000432) SET SQL_AUTO_IS_NULL=0
449
+ SQL (0.000282) SHOW TABLES
450
+ SQL (0.001888) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
451
+ SQL (0.000250) SHOW TABLES
452
+ SQL (0.027427) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
453
+ SQL (0.000305) SHOW TABLES
454
+ SQL (0.001683) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
455
+ SQL (0.035885) SHOW TABLES
456
+ SQL (0.002008) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
457
+ SQL (0.000328) SHOW TABLES
458
+ SQL (0.024261) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
459
+ SQL (0.000376) SHOW TABLES
460
+ SQL (0.007108) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
461
+ SQL (0.000296) SHOW TABLES
462
+ SQL (0.001424) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
463
+ SQL (0.000433) SHOW TABLES
464
+ SQL (0.006134) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
465
+ SQL (0.000858) SHOW TABLES
466
+ SQL (0.001651) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
467
+ SQL (0.000464) SHOW TABLES
468
+ SQL (0.027340) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
469
+ SQL (0.000507) SHOW TABLES
470
+ SQL (0.001696) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
471
+ SQL (0.000373) SHOW TABLES
472
+ SQL (0.004787) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
473
+ SQL (0.025646) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
474
+ SQL (0.000511) SHOW TABLES
475
+ SQL (0.000374) SELECT version FROM `schema_migrations`
476
+ SQL (0.000495) INSERT INTO `schema_migrations` (version) VALUES ('11')
477
+ SQL (0.000501) INSERT INTO `schema_migrations` (version) VALUES ('1')
478
+ SQL (0.004333) INSERT INTO `schema_migrations` (version) VALUES ('2')
479
+ SQL (0.000344) INSERT INTO `schema_migrations` (version) VALUES ('3')
480
+ SQL (0.000450) INSERT INTO `schema_migrations` (version) VALUES ('4')
481
+ SQL (0.000351) INSERT INTO `schema_migrations` (version) VALUES ('5')
482
+ SQL (0.000684) INSERT INTO `schema_migrations` (version) VALUES ('6')
483
+ SQL (0.000409) INSERT INTO `schema_migrations` (version) VALUES ('7')
484
+ SQL (0.000444) INSERT INTO `schema_migrations` (version) VALUES ('8')
485
+ SQL (0.000362) INSERT INTO `schema_migrations` (version) VALUES ('9')
486
+ SQL (0.000443) INSERT INTO `schema_migrations` (version) VALUES ('10')
487
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
488
+ SQL (0.000193) SET SQL_AUTO_IS_NULL=0
489
+ SQL (0.000432) SHOW TABLES
490
+ SQL (0.000212) SELECT version FROM schema_migrations
491
+ SQL (0.000377) SELECT version FROM schema_migrations
492
+ SQL (0.000395) SHOW TABLES
493
+ SQL (0.049658) SHOW FIELDS FROM `accounts`
494
+ SQL (0.001218) describe `accounts`
495
+ SQL (0.000725) SHOW KEYS FROM `accounts`
496
+ SQL (0.000973) SHOW FIELDS FROM `comments`
497
+ SQL (0.001949) describe `comments`
498
+ SQL (0.000615) SHOW KEYS FROM `comments`
499
+ SQL (0.000953) SHOW FIELDS FROM `options`
500
+ SQL (0.001971) describe `options`
501
+ SQL (0.001113) SHOW KEYS FROM `options`
502
+ SQL (0.001215) SHOW FIELDS FROM `photos`
503
+ SQL (0.001791) describe `photos`
504
+ SQL (0.000633) SHOW KEYS FROM `photos`
505
+ SQL (0.001118) SHOW FIELDS FROM `photos_tags`
506
+ SQL (0.001029) describe `photos_tags`
507
+ SQL (0.000732) SHOW KEYS FROM `photos_tags`
508
+ SQL (0.001284) SHOW FIELDS FROM `posts`
509
+ SQL (0.001676) describe `posts`
510
+ SQL (0.000597) SHOW KEYS FROM `posts`
511
+ SQL (0.037034) SHOW FIELDS FROM `products`
512
+ SQL (0.001472) describe `products`
513
+ SQL (0.000598) SHOW KEYS FROM `products`
514
+ SQL (0.001312) SHOW FIELDS FROM `projects`
515
+ SQL (0.001601) describe `projects`
516
+ SQL (0.000339) SHOW KEYS FROM `projects`
517
+ SQL (0.001333) SHOW FIELDS FROM `ratings`
518
+ SQL (0.001200) describe `ratings`
519
+ SQL (0.000830) SHOW KEYS FROM `ratings`
520
+ SQL (0.000962) SHOW FIELDS FROM `somethings`
521
+ SQL (0.001296) describe `somethings`
522
+ SQL (0.000686) SHOW KEYS FROM `somethings`
523
+ SQL (0.001186) SHOW FIELDS FROM `tags`
524
+ SQL (0.001909) describe `tags`
525
+ SQL (0.000653) SHOW KEYS FROM `tags`
526
+ SQL (0.000101) SET SQL_AUTO_IS_NULL=0
527
+ SQL (0.114658) DROP DATABASE IF EXISTS `resource_controller_test`
528
+ SQL (0.000477) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
529
+ SQL (0.000106) SET SQL_AUTO_IS_NULL=0
530
+ SQL (0.000283) SHOW TABLES
531
+ SQL (0.001886) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
532
+ SQL (0.000290) SHOW TABLES
533
+ SQL (0.001701) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
534
+ SQL (0.000242) SHOW TABLES
535
+ SQL (0.048174) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
536
+ SQL (0.043850) SHOW TABLES
537
+ SQL (0.002169) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
538
+ SQL (0.000367) SHOW TABLES
539
+ SQL (0.026887) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
540
+ SQL (0.000334) SHOW TABLES
541
+ SQL (0.001658) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
542
+ SQL (0.000261) SHOW TABLES
543
+ SQL (0.004887) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
544
+ SQL (0.000271) SHOW TABLES
545
+ SQL (0.001486) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
546
+ SQL (0.000463) SHOW TABLES
547
+ SQL (0.054699) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
548
+ SQL (0.000381) SHOW TABLES
549
+ SQL (0.001717) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
550
+ SQL (0.000300) SHOW TABLES
551
+ SQL (0.004447) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
552
+ SQL (0.000302) SHOW TABLES
553
+ SQL (0.001615) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
554
+ SQL (0.007994) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
555
+ SQL (0.000426) SHOW TABLES
556
+ SQL (0.000269) SELECT version FROM `schema_migrations`
557
+ SQL (0.000409) INSERT INTO `schema_migrations` (version) VALUES ('11')
558
+ SQL (0.000439) INSERT INTO `schema_migrations` (version) VALUES ('1')
559
+ SQL (0.004126) INSERT INTO `schema_migrations` (version) VALUES ('2')
560
+ SQL (0.000417) INSERT INTO `schema_migrations` (version) VALUES ('3')
561
+ SQL (0.000436) INSERT INTO `schema_migrations` (version) VALUES ('4')
562
+ SQL (0.000342) INSERT INTO `schema_migrations` (version) VALUES ('5')
563
+ SQL (0.000455) INSERT INTO `schema_migrations` (version) VALUES ('6')
564
+ SQL (0.000334) INSERT INTO `schema_migrations` (version) VALUES ('7')
565
+ SQL (0.000457) INSERT INTO `schema_migrations` (version) VALUES ('8')
566
+ SQL (0.000342) INSERT INTO `schema_migrations` (version) VALUES ('9')
567
+ SQL (0.000448) INSERT INTO `schema_migrations` (version) VALUES ('10')
568
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
569
+ SQL (0.000189) SET SQL_AUTO_IS_NULL=0
570
+ SQL (0.000413) SHOW TABLES
571
+ SQL (0.000204) SELECT version FROM schema_migrations
572
+ SQL (0.000253) SELECT version FROM schema_migrations
573
+ SQL (0.000342) SHOW TABLES
574
+ SQL (0.001137) SHOW FIELDS FROM `accounts`
575
+ SQL (0.001530) describe `accounts`
576
+ SQL (0.000578) SHOW KEYS FROM `accounts`
577
+ SQL (0.001276) SHOW FIELDS FROM `comments`
578
+ SQL (0.024701) describe `comments`
579
+ SQL (0.000280) SHOW KEYS FROM `comments`
580
+ SQL (0.000844) SHOW FIELDS FROM `options`
581
+ SQL (0.001294) describe `options`
582
+ SQL (0.003871) SHOW KEYS FROM `options`
583
+ SQL (0.001251) SHOW FIELDS FROM `photos`
584
+ SQL (0.001604) describe `photos`
585
+ SQL (0.000619) SHOW KEYS FROM `photos`
586
+ SQL (0.004174) SHOW FIELDS FROM `photos_tags`
587
+ SQL (0.001749) describe `photos_tags`
588
+ SQL (0.000709) SHOW KEYS FROM `photos_tags`
589
+ SQL (0.005387) SHOW FIELDS FROM `posts`
590
+ SQL (0.001694) describe `posts`
591
+ SQL (0.000583) SHOW KEYS FROM `posts`
592
+ SQL (0.041901) SHOW FIELDS FROM `products`
593
+ SQL (0.001624) describe `products`
594
+ SQL (0.000630) SHOW KEYS FROM `products`
595
+ SQL (0.001109) SHOW FIELDS FROM `projects`
596
+ SQL (0.001487) describe `projects`
597
+ SQL (0.007374) SHOW KEYS FROM `projects`
598
+ SQL (0.001044) SHOW FIELDS FROM `ratings`
599
+ SQL (0.002186) describe `ratings`
600
+ SQL (0.000637) SHOW KEYS FROM `ratings`
601
+ SQL (0.003567) SHOW FIELDS FROM `somethings`
602
+ SQL (0.001697) describe `somethings`
603
+ SQL (0.000941) SHOW KEYS FROM `somethings`
604
+ SQL (0.001067) SHOW FIELDS FROM `tags`
605
+ SQL (0.004622) describe `tags`
606
+ SQL (0.000534) SHOW KEYS FROM `tags`
607
+ SQL (0.000100) SET SQL_AUTO_IS_NULL=0
608
+ SQL (0.046853) DROP DATABASE IF EXISTS `resource_controller_test`
609
+ SQL (0.000383) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
610
+ SQL (0.000100) SET SQL_AUTO_IS_NULL=0
611
+ SQL (0.000277) SHOW TABLES
612
+ SQL (0.002011) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
613
+ SQL (0.000243) SHOW TABLES
614
+ SQL (0.001620) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
615
+ SQL (0.000265) SHOW TABLES
616
+ SQL (0.017144) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
617
+ SQL (0.035264) SHOW TABLES
618
+ SQL (0.002031) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
619
+ SQL (0.000331) SHOW TABLES
620
+ SQL (0.019225) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
621
+ SQL (0.000327) SHOW TABLES
622
+ SQL (0.001671) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
623
+ SQL (0.000273) SHOW TABLES
624
+ SQL (0.004534) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
625
+ SQL (0.000322) SHOW TABLES
626
+ SQL (0.001600) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
627
+ SQL (0.000385) SHOW TABLES
628
+ SQL (0.005133) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
629
+ SQL (0.000337) SHOW TABLES
630
+ SQL (0.001676) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
631
+ SQL (0.000291) SHOW TABLES
632
+ SQL (0.020928) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
633
+ SQL (0.000437) SHOW TABLES
634
+ SQL (0.001609) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
635
+ SQL (0.009136) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
636
+ SQL (0.000506) SHOW TABLES
637
+ SQL (0.000616) SELECT version FROM `schema_migrations`
638
+ SQL (0.000447) INSERT INTO `schema_migrations` (version) VALUES ('11')
639
+ SQL (0.000444) INSERT INTO `schema_migrations` (version) VALUES ('1')
640
+ SQL (0.000399) INSERT INTO `schema_migrations` (version) VALUES ('2')
641
+ SQL (0.000427) INSERT INTO `schema_migrations` (version) VALUES ('3')
642
+ SQL (0.000357) INSERT INTO `schema_migrations` (version) VALUES ('4')
643
+ SQL (0.000441) INSERT INTO `schema_migrations` (version) VALUES ('5')
644
+ SQL (0.000339) INSERT INTO `schema_migrations` (version) VALUES ('6')
645
+ SQL (0.000501) INSERT INTO `schema_migrations` (version) VALUES ('7')
646
+ SQL (0.000292) INSERT INTO `schema_migrations` (version) VALUES ('8')
647
+ SQL (0.000363) INSERT INTO `schema_migrations` (version) VALUES ('9')
648
+ SQL (0.000459) INSERT INTO `schema_migrations` (version) VALUES ('10')
649
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
650
+ SQL (0.000192) SET SQL_AUTO_IS_NULL=0
651
+ SQL (0.000439) SHOW TABLES
652
+ SQL (0.000214) SELECT version FROM schema_migrations
653
+ SQL (0.000282) SELECT version FROM schema_migrations
654
+ SQL (0.000384) SHOW TABLES
655
+ SQL (0.001066) SHOW FIELDS FROM `accounts`
656
+ SQL (0.001862) describe `accounts`
657
+ SQL (0.021319) SHOW KEYS FROM `accounts`
658
+ SQL (0.001453) SHOW FIELDS FROM `comments`
659
+ SQL (0.001730) describe `comments`
660
+ SQL (0.000840) SHOW KEYS FROM `comments`
661
+ SQL (0.001132) SHOW FIELDS FROM `options`
662
+ SQL (0.001674) describe `options`
663
+ SQL (0.000366) SHOW KEYS FROM `options`
664
+ SQL (0.000908) SHOW FIELDS FROM `photos`
665
+ SQL (0.001397) describe `photos`
666
+ SQL (0.000565) SHOW KEYS FROM `photos`
667
+ SQL (0.001172) SHOW FIELDS FROM `photos_tags`
668
+ SQL (0.009167) describe `photos_tags`
669
+ SQL (0.000622) SHOW KEYS FROM `photos_tags`
670
+ SQL (0.001215) SHOW FIELDS FROM `posts`
671
+ SQL (0.004674) describe `posts`
672
+ SQL (0.000681) SHOW KEYS FROM `posts`
673
+ SQL (0.035239) SHOW FIELDS FROM `products`
674
+ SQL (0.001649) describe `products`
675
+ SQL (0.000322) SHOW KEYS FROM `products`
676
+ SQL (0.001088) SHOW FIELDS FROM `projects`
677
+ SQL (0.001632) describe `projects`
678
+ SQL (0.007791) SHOW KEYS FROM `projects`
679
+ SQL (0.000922) SHOW FIELDS FROM `ratings`
680
+ SQL (0.001688) describe `ratings`
681
+ SQL (0.000551) SHOW KEYS FROM `ratings`
682
+ SQL (0.004428) SHOW FIELDS FROM `somethings`
683
+ SQL (0.001343) describe `somethings`
684
+ SQL (0.000878) SHOW KEYS FROM `somethings`
685
+ SQL (0.001095) SHOW FIELDS FROM `tags`
686
+ SQL (0.005180) describe `tags`
687
+ SQL (0.000603) SHOW KEYS FROM `tags`
688
+ SQL (0.000102) SET SQL_AUTO_IS_NULL=0
689
+ SQL (0.043724) DROP DATABASE IF EXISTS `resource_controller_test`
690
+ SQL (0.000365) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
691
+ SQL (0.000105) SET SQL_AUTO_IS_NULL=0
692
+ SQL (0.000277) SHOW TABLES
693
+ SQL (0.002294) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
694
+ SQL (0.000255) SHOW TABLES
695
+ SQL (0.001584) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
696
+ SQL (0.000235) SHOW TABLES
697
+ SQL (0.023919) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
698
+ SQL (0.035097) SHOW TABLES
699
+ SQL (0.002076) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
700
+ SQL (0.000346) SHOW TABLES
701
+ SQL (0.019130) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
702
+ SQL (0.000320) SHOW TABLES
703
+ SQL (0.001649) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
704
+ SQL (0.000306) SHOW TABLES
705
+ SQL (0.004587) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
706
+ SQL (0.000287) SHOW TABLES
707
+ SQL (0.001545) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
708
+ SQL (0.000434) SHOW TABLES
709
+ SQL (0.004920) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
710
+ SQL (0.000397) SHOW TABLES
711
+ SQL (0.001823) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
712
+ SQL (0.000311) SHOW TABLES
713
+ SQL (0.028872) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
714
+ SQL (0.000373) SHOW TABLES
715
+ SQL (0.001633) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
716
+ SQL (0.008932) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
717
+ SQL (0.000794) SHOW TABLES
718
+ SQL (0.000357) SELECT version FROM `schema_migrations`
719
+ SQL (0.000451) INSERT INTO `schema_migrations` (version) VALUES ('11')
720
+ SQL (0.000550) INSERT INTO `schema_migrations` (version) VALUES ('1')
721
+ SQL (0.000510) INSERT INTO `schema_migrations` (version) VALUES ('2')
722
+ SQL (0.000349) INSERT INTO `schema_migrations` (version) VALUES ('3')
723
+ SQL (0.000446) INSERT INTO `schema_migrations` (version) VALUES ('4')
724
+ SQL (0.000355) INSERT INTO `schema_migrations` (version) VALUES ('5')
725
+ SQL (0.000440) INSERT INTO `schema_migrations` (version) VALUES ('6')
726
+ SQL (0.000349) INSERT INTO `schema_migrations` (version) VALUES ('7')
727
+ SQL (0.000455) INSERT INTO `schema_migrations` (version) VALUES ('8')
728
+ SQL (0.000339) INSERT INTO `schema_migrations` (version) VALUES ('9')
729
+ SQL (0.000455) INSERT INTO `schema_migrations` (version) VALUES ('10')
730
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
731
+ SQL (0.000240) SET SQL_AUTO_IS_NULL=0
732
+ SQL (0.000461) SHOW TABLES
733
+ SQL (0.000243) SELECT version FROM schema_migrations
734
+ SQL (0.000262) SELECT version FROM schema_migrations
735
+ SQL (0.000332) SHOW TABLES
736
+ SQL (0.001243) SHOW FIELDS FROM `accounts`
737
+ SQL (0.001049) describe `accounts`
738
+ SQL (0.000242) SHOW KEYS FROM `accounts`
739
+ SQL (0.001279) SHOW FIELDS FROM `comments`
740
+ SQL (0.002047) describe `comments`
741
+ SQL (0.022726) SHOW KEYS FROM `comments`
742
+ SQL (0.001493) SHOW FIELDS FROM `options`
743
+ SQL (0.000969) describe `options`
744
+ SQL (0.000616) SHOW KEYS FROM `options`
745
+ SQL (0.004477) SHOW FIELDS FROM `photos`
746
+ SQL (0.001806) describe `photos`
747
+ SQL (0.000345) SHOW KEYS FROM `photos`
748
+ SQL (0.001269) SHOW FIELDS FROM `photos_tags`
749
+ SQL (0.004291) describe `photos_tags`
750
+ SQL (0.000639) SHOW KEYS FROM `photos_tags`
751
+ SQL (0.001214) SHOW FIELDS FROM `posts`
752
+ SQL (0.001748) describe `posts`
753
+ SQL (0.003963) SHOW KEYS FROM `posts`
754
+ SQL (0.042944) SHOW FIELDS FROM `products`
755
+ SQL (0.001684) describe `products`
756
+ SQL (0.000313) SHOW KEYS FROM `products`
757
+ SQL (0.001112) SHOW FIELDS FROM `projects`
758
+ SQL (0.002655) describe `projects`
759
+ SQL (0.000690) SHOW KEYS FROM `projects`
760
+ SQL (0.001350) SHOW FIELDS FROM `ratings`
761
+ SQL (0.001537) describe `ratings`
762
+ SQL (0.004291) SHOW KEYS FROM `ratings`
763
+ SQL (0.001154) SHOW FIELDS FROM `somethings`
764
+ SQL (0.001222) describe `somethings`
765
+ SQL (0.000525) SHOW KEYS FROM `somethings`
766
+ SQL (0.004338) SHOW FIELDS FROM `tags`
767
+ SQL (0.001663) describe `tags`
768
+ SQL (0.000658) SHOW KEYS FROM `tags`
769
+ SQL (0.000093) SET SQL_AUTO_IS_NULL=0
770
+ SQL (0.046197) DROP DATABASE IF EXISTS `resource_controller_test`
771
+ SQL (0.000395) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
772
+ SQL (0.000106) SET SQL_AUTO_IS_NULL=0
773
+ SQL (0.000279) SHOW TABLES
774
+ SQL (0.001997) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
775
+ SQL (0.000275) SHOW TABLES
776
+ SQL (0.001613) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
777
+ SQL (0.000237) SHOW TABLES
778
+ SQL (0.017880) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
779
+ SQL (0.035137) SHOW TABLES
780
+ SQL (0.001984) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
781
+ SQL (0.000337) SHOW TABLES
782
+ SQL (0.019307) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
783
+ SQL (0.000587) SHOW TABLES
784
+ SQL (0.001418) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
785
+ SQL (0.000552) SHOW TABLES
786
+ SQL (0.003877) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
787
+ SQL (0.000318) SHOW TABLES
788
+ SQL (0.001521) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
789
+ SQL (0.000283) SHOW TABLES
790
+ SQL (0.004933) CREATE TABLE `ratings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `comment_id` bigint(11) DEFAULT NULL NULL, `stars` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
791
+ SQL (0.000356) SHOW TABLES
792
+ SQL (0.001700) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
793
+ SQL (0.000338) SHOW TABLES
794
+ SQL (0.004478) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
795
+ SQL (0.000333) SHOW TABLES
796
+ SQL (0.001559) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
797
+ SQL (0.009379) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
798
+ SQL (0.000660) SHOW TABLES
799
+ SQL (0.000351) SELECT version FROM `schema_migrations`
800
+ SQL (0.000460) INSERT INTO `schema_migrations` (version) VALUES ('11')
801
+ SQL (0.000501) INSERT INTO `schema_migrations` (version) VALUES ('1')
802
+ SQL (0.000537) INSERT INTO `schema_migrations` (version) VALUES ('2')
803
+ SQL (0.000308) INSERT INTO `schema_migrations` (version) VALUES ('3')
804
+ SQL (0.000356) INSERT INTO `schema_migrations` (version) VALUES ('4')
805
+ SQL (0.000447) INSERT INTO `schema_migrations` (version) VALUES ('5')
806
+ SQL (0.000338) INSERT INTO `schema_migrations` (version) VALUES ('6')
807
+ SQL (0.000456) INSERT INTO `schema_migrations` (version) VALUES ('7')
808
+ SQL (0.000332) INSERT INTO `schema_migrations` (version) VALUES ('8')
809
+ SQL (0.000456) INSERT INTO `schema_migrations` (version) VALUES ('9')
810
+ SQL (0.000329) INSERT INTO `schema_migrations` (version) VALUES ('10')
811
+ SQL (0.000374) SET SQL_AUTO_IS_NULL=0
812
+ SQL (0.001650) CREATE TABLE `schema_info` (version int(11))
813
+ SQL (0.000407) INSERT INTO `schema_info` (version) VALUES(0)
814
+ SQL (0.000439) SELECT version FROM schema_info
815
+ SQL (0.000148) SELECT version FROM schema_info
816
+ SQL (0.000111) SELECT version FROM schema_info
817
+ SQL (0.000132) SELECT version FROM schema_info
818
+ SQL (0.000110) SELECT version FROM schema_info
819
+ SQL (0.000106) SELECT version FROM schema_info
820
+ SQL (0.000104) SELECT version FROM schema_info
821
+ SQL (0.000104) SELECT version FROM schema_info
822
+ SQL (0.000180) SELECT version FROM schema_info
823
+ SQL (0.000116) SELECT version FROM schema_info
824
+ SQL (0.000105) SELECT version FROM schema_info
825
+ SQL (0.000104) SELECT version FROM schema_info
826
+ SQL (0.000290) SET SQL_AUTO_IS_NULL=0
827
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
828
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
829
+ SQL (0.000322) SELECT version FROM schema_info
830
+ Migrating to CreatePosts (1)
831
+ SQL (0.000000) Mysql::Error: Table 'posts' already exists: CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT '') ENGINE=InnoDB
832
+ SQL (0.000189) SET SQL_AUTO_IS_NULL=0
833
+ SQL (0.061598) DROP DATABASE IF EXISTS `resource_controller_test`
834
+ SQL (0.000185) SET SQL_AUTO_IS_NULL=0
835
+ SQL (0.000431) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_general_ci`
836
+ SQL (0.000084) SET SQL_AUTO_IS_NULL=0
837
+ SQL (0.001669) CREATE TABLE `schema_info` (version int(11))
838
+ SQL (0.000382) INSERT INTO `schema_info` (version) VALUES(0)
839
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
840
+ SQL (0.000321) SELECT version FROM schema_info
841
+ Migrating to CreatePosts (1)
842
+ SQL (0.002009) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT '') ENGINE=InnoDB
843
+ SQL (0.000324) UPDATE schema_info SET version = 1
844
+ SQL (0.000120) SELECT version FROM schema_info
845
+ Migrating to CreateProducts (2)
846
+ SQL (0.023382) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
847
+ SQL (0.000278) UPDATE schema_info SET version = 2
848
+ SQL (0.000156) SELECT version FROM schema_info
849
+ Migrating to CreateComments (3)
850
+ SQL (0.010048) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
851
+ SQL (0.000347) UPDATE schema_info SET version = 3
852
+ SQL (0.000239) SELECT version FROM schema_info
853
+ Migrating to CreateOptions (4)
854
+ SQL (0.003100) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
855
+ SQL (0.000245) UPDATE schema_info SET version = 4
856
+ SQL (0.000134) SELECT version FROM schema_info
857
+ Migrating to CreatePhotos (5)
858
+ SQL (0.009648) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
859
+ SQL (0.000264) UPDATE schema_info SET version = 5
860
+ SQL (0.000130) SELECT version FROM schema_info
861
+ Migrating to CreateTags (6)
862
+ SQL (0.005092) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
863
+ SQL (0.040501) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
864
+ SQL (0.000271) UPDATE schema_info SET version = 6
865
+ SQL (0.000139) SELECT version FROM schema_info
866
+ Migrating to CreateSomethings (7)
867
+ SQL (0.006773) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
868
+ SQL (0.000241) UPDATE schema_info SET version = 7
869
+ SQL (0.000127) SELECT version FROM schema_info
870
+ Migrating to CreateAccounts (8)
871
+ SQL (0.001439) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
872
+ SQL (0.000534) UPDATE schema_info SET version = 8
873
+ SQL (0.000144) SELECT version FROM schema_info
874
+ Migrating to AddAccountIdToPhotos (9)
875
+ SQL (0.006244) ALTER TABLE `photos` ADD `account_id` int(11)
876
+ SQL (0.000546) UPDATE schema_info SET version = 9
877
+ SQL (0.000169) SELECT version FROM schema_info
878
+ Migrating to CreateProjects (10)
879
+ SQL (0.003816) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
880
+ SQL (0.000227) UPDATE schema_info SET version = 10
881
+ SQL (0.000123) SELECT version FROM schema_info
882
+ Migrating to CreateImages (11)
883
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
884
+ SQL (0.003948) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
885
+ SQL (0.003932) UPDATE schema_info SET version = 11
886
+ SQL (0.000139) SELECT version FROM schema_info
887
+ Migrating to CreateUsers (12)
888
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
889
+ SQL (0.007503) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
890
+ SQL (0.008952) UPDATE schema_info SET version = 12
891
+ SQL (0.000220) SELECT * FROM schema_info
892
+ SQL (0.000385) SHOW TABLES
893
+ SQL (0.003855) SHOW FIELDS FROM `accounts`
894
+ SQL (0.002113) describe `accounts`
895
+ SQL (0.000773) SHOW KEYS FROM `accounts`
896
+ SQL (0.004315) SHOW FIELDS FROM `comments`
897
+ SQL (0.002449) describe `comments`
898
+ SQL (0.000768) SHOW KEYS FROM `comments`
899
+ SQL (0.001247) SHOW FIELDS FROM `images`
900
+ SQL (0.001367) describe `images`
901
+ SQL (0.000644) SHOW KEYS FROM `images`
902
+ SQL (0.016523) SHOW FIELDS FROM `options`
903
+ SQL (0.016259) describe `options`
904
+ SQL (0.000810) SHOW KEYS FROM `options`
905
+ SQL (0.003855) SHOW FIELDS FROM `photos`
906
+ SQL (0.010911) describe `photos`
907
+ SQL (0.000753) SHOW KEYS FROM `photos`
908
+ SQL (0.001373) SHOW FIELDS FROM `photos_tags`
909
+ SQL (0.001678) describe `photos_tags`
910
+ SQL (0.003702) SHOW KEYS FROM `photos_tags`
911
+ SQL (0.001374) SHOW FIELDS FROM `posts`
912
+ SQL (0.051600) describe `posts`
913
+ SQL (0.000515) SHOW KEYS FROM `posts`
914
+ SQL (0.001543) SHOW FIELDS FROM `products`
915
+ SQL (0.000993) describe `products`
916
+ SQL (0.000653) SHOW KEYS FROM `products`
917
+ SQL (0.001705) SHOW FIELDS FROM `projects`
918
+ SQL (0.001156) describe `projects`
919
+ SQL (0.000573) SHOW KEYS FROM `projects`
920
+ SQL (0.004211) SHOW FIELDS FROM `somethings`
921
+ SQL (0.001392) describe `somethings`
922
+ SQL (0.000781) SHOW KEYS FROM `somethings`
923
+ SQL (0.001304) SHOW FIELDS FROM `tags`
924
+ SQL (0.000914) describe `tags`
925
+ SQL (0.000608) SHOW KEYS FROM `tags`
926
+ SQL (0.001015) SHOW FIELDS FROM `users`
927
+ SQL (0.001984) describe `users`
928
+ SQL (0.007049) SHOW KEYS FROM `users`
929
+ SQL (0.000239) SET SQL_AUTO_IS_NULL=0
930
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
931
+ SQL (0.000313) SELECT version FROM schema_info
932
+ SQL (0.000101) SELECT version FROM schema_info
933
+ SQL (0.000096) SELECT version FROM schema_info
934
+ SQL (0.000094) SELECT version FROM schema_info
935
+ SQL (0.000093) SELECT version FROM schema_info
936
+ SQL (0.000093) SELECT version FROM schema_info
937
+ SQL (0.000092) SELECT version FROM schema_info
938
+ SQL (0.000093) SELECT version FROM schema_info
939
+ SQL (0.000094) SELECT version FROM schema_info
940
+ SQL (0.000092) SELECT version FROM schema_info
941
+ SQL (0.000094) SELECT version FROM schema_info
942
+ SQL (0.000094) SELECT version FROM schema_info
943
+ SQL (0.000116) SELECT * FROM schema_info
944
+ SQL (0.000330) SHOW TABLES
945
+ SQL (0.001424) SHOW FIELDS FROM `accounts`
946
+ SQL (0.001179) describe `accounts`
947
+ SQL (0.000310) SHOW KEYS FROM `accounts`
948
+ SQL (0.001276) SHOW FIELDS FROM `comments`
949
+ SQL (0.002742) describe `comments`
950
+ SQL (0.000323) SHOW KEYS FROM `comments`
951
+ SQL (0.001434) SHOW FIELDS FROM `images`
952
+ SQL (0.001761) describe `images`
953
+ SQL (0.000673) SHOW KEYS FROM `images`
954
+ SQL (0.001369) SHOW FIELDS FROM `options`
955
+ SQL (0.001439) describe `options`
956
+ SQL (0.000947) SHOW KEYS FROM `options`
957
+ SQL (0.001162) SHOW FIELDS FROM `photos`
958
+ SQL (0.006494) describe `photos`
959
+ SQL (0.000667) SHOW KEYS FROM `photos`
960
+ SQL (0.001167) SHOW FIELDS FROM `photos_tags`
961
+ SQL (0.004748) describe `photos_tags`
962
+ SQL (0.000622) SHOW KEYS FROM `photos_tags`
963
+ SQL (0.001006) SHOW FIELDS FROM `posts`
964
+ SQL (0.050709) describe `posts`
965
+ SQL (0.000471) SHOW KEYS FROM `posts`
966
+ SQL (0.001349) SHOW FIELDS FROM `products`
967
+ SQL (0.002561) describe `products`
968
+ SQL (0.000611) SHOW KEYS FROM `products`
969
+ SQL (0.001096) SHOW FIELDS FROM `projects`
970
+ SQL (0.001120) describe `projects`
971
+ SQL (0.000559) SHOW KEYS FROM `projects`
972
+ SQL (0.000872) SHOW FIELDS FROM `somethings`
973
+ SQL (0.001918) describe `somethings`
974
+ SQL (0.000286) SHOW KEYS FROM `somethings`
975
+ SQL (0.008607) SHOW FIELDS FROM `tags`
976
+ SQL (0.001579) describe `tags`
977
+ SQL (0.000248) SHOW KEYS FROM `tags`
978
+ SQL (0.001174) SHOW FIELDS FROM `users`
979
+ SQL (0.005196) describe `users`
980
+ SQL (0.000566) SHOW KEYS FROM `users`
981
+ SQL (0.000099) SET SQL_AUTO_IS_NULL=0
982
+ SQL (0.032184) DROP DATABASE IF EXISTS `resource_controller_test`
983
+ SQL (0.000442) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
984
+ SQL (0.000099) SET SQL_AUTO_IS_NULL=0
985
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
986
+ SQL (0.018431) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
987
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
988
+ SQL (0.001710) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
989
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
990
+ SQL (0.004123) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
991
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
992
+ SQL (0.001795) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
993
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
994
+ SQL (0.004690) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
995
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
996
+ SQL (0.001636) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
997
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
998
+ SQL (0.012371) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
999
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
1000
+ SQL (0.001598) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1001
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
1002
+ SQL (0.004892) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1003
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
1004
+ SQL (0.001341) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1005
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
1006
+ SQL (0.020766) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1007
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
1008
+ SQL (0.001721) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1009
+ SQL (0.001463) CREATE TABLE `schema_info` (version int(11))
1010
+ SQL (0.000406) INSERT INTO `schema_info` (version) VALUES(0)
1011
+ SQL (0.037540) SHOW FIELDS FROM `schema_info`
1012
+ SQL (0.000345) UPDATE schema_info SET version = 12
1013
+ SQL (0.000190) SET SQL_AUTO_IS_NULL=0
1014
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
1015
+ SQL (0.000355) SELECT version FROM schema_info
1016
+ SQL (0.000100) SELECT version FROM schema_info
1017
+ SQL (0.000094) SELECT version FROM schema_info
1018
+ SQL (0.000093) SELECT version FROM schema_info
1019
+ SQL (0.000093) SELECT version FROM schema_info
1020
+ SQL (0.000093) SELECT version FROM schema_info
1021
+ SQL (0.000093) SELECT version FROM schema_info
1022
+ SQL (0.000164) SELECT version FROM schema_info
1023
+ SQL (0.000095) SELECT version FROM schema_info
1024
+ SQL (0.000093) SELECT version FROM schema_info
1025
+ SQL (0.000094) SELECT version FROM schema_info
1026
+ SQL (0.000093) SELECT version FROM schema_info
1027
+ SQL (0.000158) SELECT * FROM schema_info
1028
+ SQL (0.000389) SHOW TABLES
1029
+ SQL (0.001398) SHOW FIELDS FROM `accounts`
1030
+ SQL (0.001536) describe `accounts`
1031
+ SQL (0.000458) SHOW KEYS FROM `accounts`
1032
+ SQL (0.001912) SHOW FIELDS FROM `comments`
1033
+ SQL (0.001840) describe `comments`
1034
+ SQL (0.001376) SHOW KEYS FROM `comments`
1035
+ SQL (0.001441) SHOW FIELDS FROM `images`
1036
+ SQL (0.001740) describe `images`
1037
+ SQL (0.000577) SHOW KEYS FROM `images`
1038
+ SQL (0.000865) SHOW FIELDS FROM `options`
1039
+ SQL (0.001894) describe `options`
1040
+ SQL (0.000682) SHOW KEYS FROM `options`
1041
+ SQL (0.000981) SHOW FIELDS FROM `photos`
1042
+ SQL (0.001839) describe `photos`
1043
+ SQL (0.000283) SHOW KEYS FROM `photos`
1044
+ SQL (0.001478) SHOW FIELDS FROM `photos_tags`
1045
+ SQL (0.001663) describe `photos_tags`
1046
+ SQL (0.001086) SHOW KEYS FROM `photos_tags`
1047
+ SQL (0.001278) SHOW FIELDS FROM `posts`
1048
+ SQL (0.134224) describe `posts`
1049
+ SQL (0.000560) SHOW KEYS FROM `posts`
1050
+ SQL (0.001445) SHOW FIELDS FROM `products`
1051
+ SQL (0.001366) describe `products`
1052
+ SQL (0.000715) SHOW KEYS FROM `products`
1053
+ SQL (0.000982) SHOW FIELDS FROM `projects`
1054
+ SQL (0.001341) describe `projects`
1055
+ SQL (0.000926) SHOW KEYS FROM `projects`
1056
+ SQL (0.010831) SHOW FIELDS FROM `somethings`
1057
+ SQL (0.001248) describe `somethings`
1058
+ SQL (0.000624) SHOW KEYS FROM `somethings`
1059
+ SQL (0.000880) SHOW FIELDS FROM `tags`
1060
+ SQL (0.001452) describe `tags`
1061
+ SQL (0.000700) SHOW KEYS FROM `tags`
1062
+ SQL (0.002195) SHOW FIELDS FROM `users`
1063
+ SQL (0.025906) describe `users`
1064
+ SQL (0.000373) SHOW KEYS FROM `users`
1065
+ SQL (0.000105) SET SQL_AUTO_IS_NULL=0
1066
+ SQL (0.056334) DROP DATABASE IF EXISTS `resource_controller_test`
1067
+ SQL (0.000437) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1068
+ SQL (0.000136) SET SQL_AUTO_IS_NULL=0
1069
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
1070
+ SQL (0.002151) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1071
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
1072
+ SQL (0.001588) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
1073
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
1074
+ SQL (0.015847) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1075
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
1076
+ SQL (0.001695) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1077
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
1078
+ SQL (0.003678) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1079
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
1080
+ SQL (0.001767) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1081
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
1082
+ SQL (0.004076) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
1083
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
1084
+ SQL (0.001774) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1085
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
1086
+ SQL (0.012056) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1087
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
1088
+ SQL (0.006180) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1089
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
1090
+ SQL (0.014506) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1091
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
1092
+ SQL (0.001314) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1093
+ SQL (0.001148) CREATE TABLE `schema_info` (version int(11))
1094
+ SQL (0.000488) INSERT INTO `schema_info` (version) VALUES(0)
1095
+ SQL (0.046627) SHOW FIELDS FROM `schema_info`
1096
+ SQL (0.000319) UPDATE schema_info SET version = 12
1097
+ SQL (0.000190) SET SQL_AUTO_IS_NULL=0
1098
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
1099
+ SQL (0.000322) SELECT version FROM schema_info
1100
+ SQL (0.000100) SELECT version FROM schema_info
1101
+ SQL (0.000100) SELECT version FROM schema_info
1102
+ SQL (0.000093) SELECT version FROM schema_info
1103
+ SQL (0.000093) SELECT version FROM schema_info
1104
+ SQL (0.000117) SELECT version FROM schema_info
1105
+ SQL (0.000095) SELECT version FROM schema_info
1106
+ SQL (0.000093) SELECT version FROM schema_info
1107
+ SQL (0.000093) SELECT version FROM schema_info
1108
+ SQL (0.000093) SELECT version FROM schema_info
1109
+ SQL (0.000093) SELECT version FROM schema_info
1110
+ SQL (0.000094) SELECT version FROM schema_info
1111
+ SQL (0.000123) SELECT * FROM schema_info
1112
+ SQL (0.000385) SHOW TABLES
1113
+ SQL (0.001510) SHOW FIELDS FROM `accounts`
1114
+ SQL (0.001204) describe `accounts`
1115
+ SQL (0.000304) SHOW KEYS FROM `accounts`
1116
+ SQL (0.001269) SHOW FIELDS FROM `comments`
1117
+ SQL (0.002070) describe `comments`
1118
+ SQL (0.000323) SHOW KEYS FROM `comments`
1119
+ SQL (0.001404) SHOW FIELDS FROM `images`
1120
+ SQL (0.001691) describe `images`
1121
+ SQL (0.006710) SHOW KEYS FROM `images`
1122
+ SQL (0.001500) SHOW FIELDS FROM `options`
1123
+ SQL (0.001483) describe `options`
1124
+ SQL (0.000650) SHOW KEYS FROM `options`
1125
+ SQL (0.003695) SHOW FIELDS FROM `photos`
1126
+ SQL (0.001735) describe `photos`
1127
+ SQL (0.000872) SHOW KEYS FROM `photos`
1128
+ SQL (0.005169) SHOW FIELDS FROM `photos_tags`
1129
+ SQL (0.001381) describe `photos_tags`
1130
+ SQL (0.000330) SHOW KEYS FROM `photos_tags`
1131
+ SQL (0.000843) SHOW FIELDS FROM `posts`
1132
+ SQL (0.051604) describe `posts`
1133
+ SQL (0.000437) SHOW KEYS FROM `posts`
1134
+ SQL (0.001388) SHOW FIELDS FROM `products`
1135
+ SQL (0.001445) describe `products`
1136
+ SQL (0.000288) SHOW KEYS FROM `products`
1137
+ SQL (0.001127) SHOW FIELDS FROM `projects`
1138
+ SQL (0.006305) describe `projects`
1139
+ SQL (0.000675) SHOW KEYS FROM `projects`
1140
+ SQL (0.000840) SHOW FIELDS FROM `somethings`
1141
+ SQL (0.001330) describe `somethings`
1142
+ SQL (0.003949) SHOW KEYS FROM `somethings`
1143
+ SQL (0.001067) SHOW FIELDS FROM `tags`
1144
+ SQL (0.001230) describe `tags`
1145
+ SQL (0.000297) SHOW KEYS FROM `tags`
1146
+ SQL (0.004687) SHOW FIELDS FROM `users`
1147
+ SQL (0.001709) describe `users`
1148
+ SQL (0.000304) SHOW KEYS FROM `users`
1149
+ SQL (0.000097) SET SQL_AUTO_IS_NULL=0
1150
+ SQL (0.027895) DROP DATABASE IF EXISTS `resource_controller_test`
1151
+ SQL (0.000369) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1152
+ SQL (0.000104) SET SQL_AUTO_IS_NULL=0
1153
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
1154
+ SQL (0.015805) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1155
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
1156
+ SQL (0.001726) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
1157
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
1158
+ SQL (0.005166) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1159
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
1160
+ SQL (0.001563) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1161
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
1162
+ SQL (0.004683) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1163
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
1164
+ SQL (0.001622) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1165
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
1166
+ SQL (0.020502) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
1167
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
1168
+ SQL (0.001680) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1169
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
1170
+ SQL (0.004703) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1171
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
1172
+ SQL (0.001654) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1173
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
1174
+ SQL (0.012340) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1175
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
1176
+ SQL (0.001433) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1177
+ SQL (0.001371) CREATE TABLE `schema_info` (version int(11))
1178
+ SQL (0.000714) INSERT INTO `schema_info` (version) VALUES(0)
1179
+ SQL (0.039224) SHOW FIELDS FROM `schema_info`
1180
+ SQL (0.000344) UPDATE schema_info SET version = 12
1181
+ SQL (0.000231) SET SQL_AUTO_IS_NULL=0
1182
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
1183
+ SQL (0.000350) SELECT version FROM schema_info
1184
+ SQL (0.000101) SELECT version FROM schema_info
1185
+ SQL (0.000095) SELECT version FROM schema_info
1186
+ SQL (0.000094) SELECT version FROM schema_info
1187
+ SQL (0.000093) SELECT version FROM schema_info
1188
+ SQL (0.000093) SELECT version FROM schema_info
1189
+ SQL (0.000093) SELECT version FROM schema_info
1190
+ SQL (0.000093) SELECT version FROM schema_info
1191
+ SQL (0.000094) SELECT version FROM schema_info
1192
+ SQL (0.000093) SELECT version FROM schema_info
1193
+ SQL (0.000094) SELECT version FROM schema_info
1194
+ SQL (0.000094) SELECT version FROM schema_info
1195
+ SQL (0.000135) SELECT * FROM schema_info
1196
+ SQL (0.000393) SHOW TABLES
1197
+ SQL (0.001174) SHOW FIELDS FROM `accounts`
1198
+ SQL (0.001151) describe `accounts`
1199
+ SQL (0.000620) SHOW KEYS FROM `accounts`
1200
+ SQL (0.004500) SHOW FIELDS FROM `comments`
1201
+ SQL (0.003022) describe `comments`
1202
+ SQL (0.000412) SHOW KEYS FROM `comments`
1203
+ SQL (0.004470) SHOW FIELDS FROM `images`
1204
+ SQL (0.001826) describe `images`
1205
+ SQL (0.000341) SHOW KEYS FROM `images`
1206
+ SQL (0.001322) SHOW FIELDS FROM `options`
1207
+ SQL (0.005017) describe `options`
1208
+ SQL (0.000640) SHOW KEYS FROM `options`
1209
+ SQL (0.001377) SHOW FIELDS FROM `photos`
1210
+ SQL (0.006082) describe `photos`
1211
+ SQL (0.001636) SHOW KEYS FROM `photos`
1212
+ SQL (0.001525) SHOW FIELDS FROM `photos_tags`
1213
+ SQL (0.003952) describe `photos_tags`
1214
+ SQL (0.001112) SHOW KEYS FROM `photos_tags`
1215
+ SQL (0.001687) SHOW FIELDS FROM `posts`
1216
+ SQL (0.054732) describe `posts`
1217
+ SQL (0.000427) SHOW KEYS FROM `posts`
1218
+ SQL (0.001390) SHOW FIELDS FROM `products`
1219
+ SQL (0.001682) describe `products`
1220
+ SQL (0.000941) SHOW KEYS FROM `products`
1221
+ SQL (0.001561) SHOW FIELDS FROM `projects`
1222
+ SQL (0.001212) describe `projects`
1223
+ SQL (0.000881) SHOW KEYS FROM `projects`
1224
+ SQL (0.001044) SHOW FIELDS FROM `somethings`
1225
+ SQL (0.005428) describe `somethings`
1226
+ SQL (0.000252) SHOW KEYS FROM `somethings`
1227
+ SQL (0.001107) SHOW FIELDS FROM `tags`
1228
+ SQL (0.004794) describe `tags`
1229
+ SQL (0.000322) SHOW KEYS FROM `tags`
1230
+ SQL (0.001249) SHOW FIELDS FROM `users`
1231
+ SQL (0.001719) describe `users`
1232
+ SQL (0.004388) SHOW KEYS FROM `users`
1233
+ SQL (0.000097) SET SQL_AUTO_IS_NULL=0
1234
+ SQL (0.038427) DROP DATABASE IF EXISTS `resource_controller_test`
1235
+ SQL (0.000438) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1236
+ SQL (0.000101) SET SQL_AUTO_IS_NULL=0
1237
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
1238
+ SQL (0.001710) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1239
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
1240
+ SQL (0.013795) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
1241
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
1242
+ SQL (0.001884) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1243
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
1244
+ SQL (0.003671) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1245
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
1246
+ SQL (0.001579) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1247
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
1248
+ SQL (0.004773) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1249
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
1250
+ SQL (0.001552) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
1251
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
1252
+ SQL (0.012473) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1253
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
1254
+ SQL (0.001718) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1255
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
1256
+ SQL (0.004142) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1257
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
1258
+ SQL (0.001557) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1259
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
1260
+ SQL (0.004454) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1261
+ SQL (0.001347) CREATE TABLE `schema_info` (version int(11))
1262
+ SQL (0.000366) INSERT INTO `schema_info` (version) VALUES(0)
1263
+ SQL (0.038461) SHOW FIELDS FROM `schema_info`
1264
+ SQL (0.000358) UPDATE schema_info SET version = 12
1265
+ SQL (0.000217) SET SQL_AUTO_IS_NULL=0
1266
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
1267
+ SQL (0.000327) SELECT version FROM schema_info
1268
+ SQL (0.000109) SELECT version FROM schema_info
1269
+ SQL (0.000097) SELECT version FROM schema_info
1270
+ SQL (0.000094) SELECT version FROM schema_info
1271
+ SQL (0.000095) SELECT version FROM schema_info
1272
+ SQL (0.000093) SELECT version FROM schema_info
1273
+ SQL (0.000092) SELECT version FROM schema_info
1274
+ SQL (0.000128) SELECT version FROM schema_info
1275
+ SQL (0.000094) SELECT version FROM schema_info
1276
+ SQL (0.000092) SELECT version FROM schema_info
1277
+ SQL (0.000094) SELECT version FROM schema_info
1278
+ SQL (0.000093) SELECT version FROM schema_info
1279
+ SQL (0.000130) SELECT * FROM schema_info
1280
+ SQL (0.000344) SHOW TABLES
1281
+ SQL (0.001383) SHOW FIELDS FROM `accounts`
1282
+ SQL (0.001134) describe `accounts`
1283
+ SQL (0.000607) SHOW KEYS FROM `accounts`
1284
+ SQL (0.001275) SHOW FIELDS FROM `comments`
1285
+ SQL (0.017752) describe `comments`
1286
+ SQL (0.000263) SHOW KEYS FROM `comments`
1287
+ SQL (0.000931) SHOW FIELDS FROM `images`
1288
+ SQL (0.001368) describe `images`
1289
+ SQL (0.004303) SHOW KEYS FROM `images`
1290
+ SQL (0.001290) SHOW FIELDS FROM `options`
1291
+ SQL (0.002181) describe `options`
1292
+ SQL (0.004056) SHOW KEYS FROM `options`
1293
+ SQL (0.001031) SHOW FIELDS FROM `photos`
1294
+ SQL (0.001793) describe `photos`
1295
+ SQL (0.000738) SHOW KEYS FROM `photos`
1296
+ SQL (0.003926) SHOW FIELDS FROM `photos_tags`
1297
+ SQL (0.001690) describe `photos_tags`
1298
+ SQL (0.000436) SHOW KEYS FROM `photos_tags`
1299
+ SQL (0.000938) SHOW FIELDS FROM `posts`
1300
+ SQL (0.054888) describe `posts`
1301
+ SQL (0.000443) SHOW KEYS FROM `posts`
1302
+ SQL (0.001451) SHOW FIELDS FROM `products`
1303
+ SQL (0.005987) describe `products`
1304
+ SQL (0.000298) SHOW KEYS FROM `products`
1305
+ SQL (0.001136) SHOW FIELDS FROM `projects`
1306
+ SQL (0.000926) describe `projects`
1307
+ SQL (0.004456) SHOW KEYS FROM `projects`
1308
+ SQL (0.001222) SHOW FIELDS FROM `somethings`
1309
+ SQL (0.001590) describe `somethings`
1310
+ SQL (0.000282) SHOW KEYS FROM `somethings`
1311
+ SQL (0.004073) SHOW FIELDS FROM `tags`
1312
+ SQL (0.001560) describe `tags`
1313
+ SQL (0.000575) SHOW KEYS FROM `tags`
1314
+ SQL (0.001007) SHOW FIELDS FROM `users`
1315
+ SQL (0.005367) describe `users`
1316
+ SQL (0.000336) SHOW KEYS FROM `users`
1317
+ SQL (0.000099) SET SQL_AUTO_IS_NULL=0
1318
+ SQL (0.028013) DROP DATABASE IF EXISTS `resource_controller_test`
1319
+ SQL (0.000402) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1320
+ SQL (0.000099) SET SQL_AUTO_IS_NULL=0
1321
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
1322
+ SQL (0.002226) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1323
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
1324
+ SQL (0.001708) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
1325
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
1326
+ SQL (0.006892) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1327
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
1328
+ SQL (0.001603) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1329
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
1330
+ SQL (0.004707) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1331
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
1332
+ SQL (0.001333) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1333
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
1334
+ SQL (0.004140) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
1335
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
1336
+ SQL (0.001626) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1337
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
1338
+ SQL (0.006344) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1339
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
1340
+ SQL (0.005442) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1341
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
1342
+ SQL (0.023669) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1343
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
1344
+ SQL (0.001597) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1345
+ SQL (0.001372) CREATE TABLE `schema_info` (version int(11))
1346
+ SQL (0.000721) INSERT INTO `schema_info` (version) VALUES(0)
1347
+ SQL (0.038653) SHOW FIELDS FROM `schema_info`
1348
+ SQL (0.000599) UPDATE schema_info SET version = 12
1349
+ SQL (0.000219) SET SQL_AUTO_IS_NULL=0
1350
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
1351
+ SQL (0.000315) SELECT version FROM schema_info
1352
+ SQL (0.000100) SELECT version FROM schema_info
1353
+ SQL (0.000095) SELECT version FROM schema_info
1354
+ SQL (0.000094) SELECT version FROM schema_info
1355
+ SQL (0.000093) SELECT version FROM schema_info
1356
+ SQL (0.000094) SELECT version FROM schema_info
1357
+ SQL (0.000094) SELECT version FROM schema_info
1358
+ SQL (0.000094) SELECT version FROM schema_info
1359
+ SQL (0.000093) SELECT version FROM schema_info
1360
+ SQL (0.000094) SELECT version FROM schema_info
1361
+ SQL (0.000096) SELECT version FROM schema_info
1362
+ SQL (0.000093) SELECT version FROM schema_info
1363
+ SQL (0.000135) SELECT * FROM schema_info
1364
+ SQL (0.000343) SHOW TABLES
1365
+ SQL (0.001476) SHOW FIELDS FROM `accounts`
1366
+ SQL (0.001178) describe `accounts`
1367
+ SQL (0.000284) SHOW KEYS FROM `accounts`
1368
+ SQL (0.001313) SHOW FIELDS FROM `comments`
1369
+ SQL (0.001631) describe `comments`
1370
+ SQL (0.000476) SHOW KEYS FROM `comments`
1371
+ SQL (0.001346) SHOW FIELDS FROM `images`
1372
+ SQL (0.001552) describe `images`
1373
+ SQL (0.000648) SHOW KEYS FROM `images`
1374
+ SQL (0.001288) SHOW FIELDS FROM `options`
1375
+ SQL (0.002144) describe `options`
1376
+ SQL (0.000628) SHOW KEYS FROM `options`
1377
+ SQL (0.001182) SHOW FIELDS FROM `photos`
1378
+ SQL (0.001414) describe `photos`
1379
+ SQL (0.000320) SHOW KEYS FROM `photos`
1380
+ SQL (0.001269) SHOW FIELDS FROM `photos_tags`
1381
+ SQL (0.001475) describe `photos_tags`
1382
+ SQL (0.000793) SHOW KEYS FROM `photos_tags`
1383
+ SQL (0.001328) SHOW FIELDS FROM `posts`
1384
+ SQL (0.052319) describe `posts`
1385
+ SQL (0.000479) SHOW KEYS FROM `posts`
1386
+ SQL (0.001476) SHOW FIELDS FROM `products`
1387
+ SQL (0.003893) describe `products`
1388
+ SQL (0.000249) SHOW KEYS FROM `products`
1389
+ SQL (0.001436) SHOW FIELDS FROM `projects`
1390
+ SQL (0.001101) describe `projects`
1391
+ SQL (0.004130) SHOW KEYS FROM `projects`
1392
+ SQL (0.000923) SHOW FIELDS FROM `somethings`
1393
+ SQL (0.001442) describe `somethings`
1394
+ SQL (0.000256) SHOW KEYS FROM `somethings`
1395
+ SQL (0.004578) SHOW FIELDS FROM `tags`
1396
+ SQL (0.001662) describe `tags`
1397
+ SQL (0.001158) SHOW KEYS FROM `tags`
1398
+ SQL (0.001209) SHOW FIELDS FROM `users`
1399
+ SQL (0.004488) describe `users`
1400
+ SQL (0.000263) SHOW KEYS FROM `users`
1401
+ SQL (0.000098) SET SQL_AUTO_IS_NULL=0
1402
+ SQL (0.037414) DROP DATABASE IF EXISTS `resource_controller_test`
1403
+ SQL (0.000386) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1404
+ SQL (0.000142) SET SQL_AUTO_IS_NULL=0
1405
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
1406
+ SQL (0.013257) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1407
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
1408
+ SQL (0.007010) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
1409
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
1410
+ SQL (0.001656) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1411
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
1412
+ SQL (0.004239) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1413
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
1414
+ SQL (0.001587) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1415
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
1416
+ SQL (0.004553) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1417
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
1418
+ SQL (0.001713) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
1419
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
1420
+ SQL (0.004116) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1421
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
1422
+ SQL (0.001547) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1423
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
1424
+ SQL (0.004542) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1425
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
1426
+ SQL (0.001648) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1427
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
1428
+ SQL (0.004332) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1429
+ SQL (0.001535) CREATE TABLE `schema_info` (version int(11))
1430
+ SQL (0.000393) INSERT INTO `schema_info` (version) VALUES(0)
1431
+ SQL (0.040256) SHOW FIELDS FROM `schema_info`
1432
+ SQL (0.000441) UPDATE schema_info SET version = 12
1433
+ SQL (0.000257) SET SQL_AUTO_IS_NULL=0
1434
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
1435
+ SQL (0.000344) SELECT version FROM schema_info
1436
+ SQL (0.000118) SELECT version FROM schema_info
1437
+ SQL (0.000105) SELECT version FROM schema_info
1438
+ SQL (0.000096) SELECT version FROM schema_info
1439
+ SQL (0.000104) SELECT version FROM schema_info
1440
+ SQL (0.000096) SELECT version FROM schema_info
1441
+ SQL (0.000094) SELECT version FROM schema_info
1442
+ SQL (0.000093) SELECT version FROM schema_info
1443
+ SQL (0.000093) SELECT version FROM schema_info
1444
+ SQL (0.000093) SELECT version FROM schema_info
1445
+ SQL (0.000094) SELECT version FROM schema_info
1446
+ SQL (0.000094) SELECT version FROM schema_info
1447
+ SQL (0.000132) SELECT * FROM schema_info
1448
+ SQL (0.000345) SHOW TABLES
1449
+ SQL (0.001432) SHOW FIELDS FROM `accounts`
1450
+ SQL (0.001205) describe `accounts`
1451
+ SQL (0.001511) SHOW KEYS FROM `accounts`
1452
+ SQL (0.001294) SHOW FIELDS FROM `comments`
1453
+ SQL (0.001780) describe `comments`
1454
+ SQL (0.000668) SHOW KEYS FROM `comments`
1455
+ SQL (0.003813) SHOW FIELDS FROM `images`
1456
+ SQL (0.001738) describe `images`
1457
+ SQL (0.000307) SHOW KEYS FROM `images`
1458
+ SQL (0.001247) SHOW FIELDS FROM `options`
1459
+ SQL (0.005319) describe `options`
1460
+ SQL (0.000638) SHOW KEYS FROM `options`
1461
+ SQL (0.001186) SHOW FIELDS FROM `photos`
1462
+ SQL (0.004934) describe `photos`
1463
+ SQL (0.000675) SHOW KEYS FROM `photos`
1464
+ SQL (0.000908) SHOW FIELDS FROM `photos_tags`
1465
+ SQL (0.001696) describe `photos_tags`
1466
+ SQL (0.003951) SHOW KEYS FROM `photos_tags`
1467
+ SQL (0.001263) SHOW FIELDS FROM `posts`
1468
+ SQL (0.051006) describe `posts`
1469
+ SQL (0.000430) SHOW KEYS FROM `posts`
1470
+ SQL (0.001479) SHOW FIELDS FROM `products`
1471
+ SQL (0.001529) describe `products`
1472
+ SQL (0.000359) SHOW KEYS FROM `products`
1473
+ SQL (0.008742) SHOW FIELDS FROM `projects`
1474
+ SQL (0.001587) describe `projects`
1475
+ SQL (0.000276) SHOW KEYS FROM `projects`
1476
+ SQL (0.001094) SHOW FIELDS FROM `somethings`
1477
+ SQL (0.004400) describe `somethings`
1478
+ SQL (0.000616) SHOW KEYS FROM `somethings`
1479
+ SQL (0.001220) SHOW FIELDS FROM `tags`
1480
+ SQL (0.001710) describe `tags`
1481
+ SQL (0.004252) SHOW KEYS FROM `tags`
1482
+ SQL (0.001145) SHOW FIELDS FROM `users`
1483
+ SQL (0.001710) describe `users`
1484
+ SQL (0.000908) SHOW KEYS FROM `users`
1485
+ SQL (0.000127) SET SQL_AUTO_IS_NULL=0
1486
+ SQL (0.053549) DROP DATABASE IF EXISTS `resource_controller_test`
1487
+ SQL (0.000412) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1488
+ SQL (0.000102) SET SQL_AUTO_IS_NULL=0
1489
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
1490
+ SQL (0.001613) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1491
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
1492
+ SQL (0.020996) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
1493
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
1494
+ SQL (0.001839) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1495
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
1496
+ SQL (0.004275) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1497
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
1498
+ SQL (0.001771) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1499
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
1500
+ SQL (0.020325) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
1501
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
1502
+ SQL (0.001759) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
1503
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
1504
+ SQL (0.004168) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1505
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
1506
+ SQL (0.001451) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1507
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
1508
+ SQL (0.028512) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1509
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
1510
+ SQL (0.001761) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
1511
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
1512
+ SQL (0.004143) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
1513
+ SQL (0.001382) CREATE TABLE `schema_info` (version int(11))
1514
+ SQL (0.000368) INSERT INTO `schema_info` (version) VALUES(0)
1515
+ SQL (0.038485) SHOW FIELDS FROM `schema_info`
1516
+ SQL (0.000333) UPDATE schema_info SET version = 12
1517
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
1518
+ /!\ FAILSAFE /!\ Mon Jun 09 15:57:40 -0400 2008
1519
+ Status: 500 Internal Server Error
1520
+ No route matches "/" with {:method=>:get}
1521
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
1522
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize'
1523
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in `handle_request'
1524
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
1525
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
1526
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
1527
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
1528
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
1529
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:54:in `serve_rails'
1530
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:74:in `call'
1531
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:59:in `pre_process'
1532
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:50:in `process'
1533
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:35:in `receive_data'
1534
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1056:in `event_callback'
1535
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run_machine'
1536
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run'
1537
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/backends/base.rb:45:in `start'
1538
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/server.rb:146:in `start'
1539
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/controllers/controller.rb:79:in `start'
1540
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `send'
1541
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `run_command'
1542
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:136:in `run!'
1543
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/bin/thin:6
1544
+ /usr/bin/thin:19:in `load'
1545
+ /usr/bin/thin:19
1546
+ /!\ FAILSAFE /!\ Mon Jun 09 15:57:40 -0400 2008
1547
+ Status: 500 Internal Server Error
1548
+ No route matches "/favicon.ico" with {:method=>:get}
1549
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
1550
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize'
1551
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in `handle_request'
1552
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
1553
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
1554
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
1555
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
1556
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
1557
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:54:in `serve_rails'
1558
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:74:in `call'
1559
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:59:in `pre_process'
1560
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:50:in `process'
1561
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:35:in `receive_data'
1562
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1056:in `event_callback'
1563
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run_machine'
1564
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run'
1565
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/backends/base.rb:45:in `start'
1566
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/server.rb:146:in `start'
1567
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/controllers/controller.rb:79:in `start'
1568
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `send'
1569
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `run_command'
1570
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:136:in `run!'
1571
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/bin/thin:6
1572
+ /usr/bin/thin:19:in `load'
1573
+ /usr/bin/thin:19
1574
+ /!\ FAILSAFE /!\ Mon Jun 09 15:57:43 -0400 2008
1575
+ Status: 500 Internal Server Error
1576
+ No route matches "/favicon.ico" with {:method=>:get}
1577
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
1578
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize'
1579
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in `handle_request'
1580
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
1581
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
1582
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
1583
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
1584
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
1585
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:54:in `serve_rails'
1586
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:74:in `call'
1587
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:59:in `pre_process'
1588
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:50:in `process'
1589
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:35:in `receive_data'
1590
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1056:in `event_callback'
1591
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run_machine'
1592
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run'
1593
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/backends/base.rb:45:in `start'
1594
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/server.rb:146:in `start'
1595
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/controllers/controller.rb:79:in `start'
1596
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `send'
1597
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `run_command'
1598
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:136:in `run!'
1599
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/bin/thin:6
1600
+ /usr/bin/thin:19:in `load'
1601
+ /usr/bin/thin:19
1602
+ /!\ FAILSAFE /!\ Mon Jun 09 15:57:55 -0400 2008
1603
+ Status: 500 Internal Server Error
1604
+ No route matches "/account" with {:method=>:get}
1605
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path'
1606
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize'
1607
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in `handle_request'
1608
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
1609
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
1610
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
1611
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
1612
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
1613
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:54:in `serve_rails'
1614
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:74:in `call'
1615
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:59:in `pre_process'
1616
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:50:in `process'
1617
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:35:in `receive_data'
1618
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1056:in `event_callback'
1619
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run_machine'
1620
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run'
1621
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/backends/base.rb:45:in `start'
1622
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/server.rb:146:in `start'
1623
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/controllers/controller.rb:79:in `start'
1624
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `send'
1625
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `run_command'
1626
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:136:in `run!'
1627
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/bin/thin:6
1628
+ /usr/bin/thin:19:in `load'
1629
+ /usr/bin/thin:19
1630
+ /!\ FAILSAFE /!\ Mon Jun 09 15:58:09 -0400 2008
1631
+ Status: 500 Internal Server Error
1632
+ Secret should be something secure, like "a3f0181ad96f29d58afbf5108c1a15d0". The value you provided, "some secret phrase", is shorter than the minimum length of 30 characters
1633
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/session/cookie_store.rb:94:in `ensure_secret_secure'
1634
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/session/cookie_store.rb:59:in `initialize'
1635
+ /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi/session.rb:273:in `new'
1636
+ /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi/session.rb:273:in `initialize_without_cgi_reader'
1637
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/cgi_ext/session.rb:39:in `initialize'
1638
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/cgi_process.rb:132:in `new'
1639
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/cgi_process.rb:132:in `session'
1640
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/cgi_process.rb:168:in `stale_session_check!'
1641
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/cgi_process.rb:116:in `session'
1642
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:1135:in `assign_shortcuts_without_flash'
1643
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/flash.rb:166:in `assign_shortcuts'
1644
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:523:in `process_without_filters'
1645
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/filters.rb:569:in `process_without_session_management_support'
1646
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/session_management.rb:130:in `process'
1647
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/base.rb:389:in `process'
1648
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:149:in `handle_request'
1649
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:107:in `dispatch'
1650
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `synchronize'
1651
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:104:in `dispatch'
1652
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
1653
+ /Library/Ruby/Gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:35:in `dispatch'
1654
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:54:in `serve_rails'
1655
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/rack/adapter/rails.rb:74:in `call'
1656
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:59:in `pre_process'
1657
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:50:in `process'
1658
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/connection.rb:35:in `receive_data'
1659
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1056:in `event_callback'
1660
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run_machine'
1661
+ /Library/Ruby/Gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run'
1662
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/backends/base.rb:45:in `start'
1663
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/server.rb:146:in `start'
1664
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/controllers/controller.rb:79:in `start'
1665
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `send'
1666
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:166:in `run_command'
1667
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:136:in `run!'
1668
+ /Library/Ruby/Gems/1.8/gems/thin-0.8.1/bin/thin:6
1669
+ /usr/bin/thin:19:in `load'
1670
+ /usr/bin/thin:19
1671
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
1672
+ SQL (0.000194) SET SQL_AUTO_IS_NULL=0
1673
+ SQL (0.000491) SHOW TABLES
1674
+ SQL (0.025099) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
1675
+ SQL (0.010016) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
1676
+ SQL (0.000447) SHOW TABLES
1677
+ SQL (0.000166) SELECT version FROM `schema_info`
1678
+ SQL (0.000315) SELECT version FROM `schema_migrations`
1679
+ SQL (0.000416) INSERT INTO `schema_migrations` (version) VALUES ('12')
1680
+ SQL (0.004214) INSERT INTO `schema_migrations` (version) VALUES ('1')
1681
+ SQL (0.000443) INSERT INTO `schema_migrations` (version) VALUES ('2')
1682
+ SQL (0.000454) INSERT INTO `schema_migrations` (version) VALUES ('3')
1683
+ SQL (0.000327) INSERT INTO `schema_migrations` (version) VALUES ('4')
1684
+ SQL (0.000459) INSERT INTO `schema_migrations` (version) VALUES ('5')
1685
+ SQL (0.000324) INSERT INTO `schema_migrations` (version) VALUES ('6')
1686
+ SQL (0.000463) INSERT INTO `schema_migrations` (version) VALUES ('7')
1687
+ SQL (0.000330) INSERT INTO `schema_migrations` (version) VALUES ('8')
1688
+ SQL (0.000450) INSERT INTO `schema_migrations` (version) VALUES ('9')
1689
+ SQL (0.000387) INSERT INTO `schema_migrations` (version) VALUES ('10')
1690
+ SQL (0.000724) DROP TABLE `schema_info`
1691
+ SQL (0.000161) SELECT version FROM schema_migrations
1692
+ SQL (0.000282) SELECT version FROM schema_migrations
1693
+ SQL (0.000351) SHOW TABLES
1694
+ SQL (0.001260) SHOW FIELDS FROM `accounts`
1695
+ SQL (0.001467) describe `accounts`
1696
+ SQL (0.000269) SHOW KEYS FROM `accounts`
1697
+ SQL (0.013535) SHOW FIELDS FROM `comments`
1698
+ SQL (0.001798) describe `comments`
1699
+ SQL (0.000620) SHOW KEYS FROM `comments`
1700
+ SQL (0.001341) SHOW FIELDS FROM `images`
1701
+ SQL (0.005349) describe `images`
1702
+ SQL (0.000482) SHOW KEYS FROM `images`
1703
+ SQL (0.001231) SHOW FIELDS FROM `options`
1704
+ SQL (0.005063) describe `options`
1705
+ SQL (0.000634) SHOW KEYS FROM `options`
1706
+ SQL (0.001118) SHOW FIELDS FROM `photos`
1707
+ SQL (0.001513) describe `photos`
1708
+ SQL (0.004106) SHOW KEYS FROM `photos`
1709
+ SQL (0.001085) SHOW FIELDS FROM `photos_tags`
1710
+ SQL (0.001516) describe `photos_tags`
1711
+ SQL (0.000639) SHOW KEYS FROM `photos_tags`
1712
+ SQL (0.004412) SHOW FIELDS FROM `posts`
1713
+ SQL (0.037322) describe `posts`
1714
+ SQL (0.000436) SHOW KEYS FROM `posts`
1715
+ SQL (0.001641) SHOW FIELDS FROM `products`
1716
+ SQL (0.001195) describe `products`
1717
+ SQL (0.000577) SHOW KEYS FROM `products`
1718
+ SQL (0.007588) SHOW FIELDS FROM `projects`
1719
+ SQL (0.001649) describe `projects`
1720
+ SQL (0.000568) SHOW KEYS FROM `projects`
1721
+ SQL (0.001105) SHOW FIELDS FROM `somethings`
1722
+ SQL (0.004943) describe `somethings`
1723
+ SQL (0.000599) SHOW KEYS FROM `somethings`
1724
+ SQL (0.000824) SHOW FIELDS FROM `tags`
1725
+ SQL (0.001616) describe `tags`
1726
+ SQL (0.003509) SHOW KEYS FROM `tags`
1727
+ SQL (0.001142) SHOW FIELDS FROM `users`
1728
+ SQL (0.007840) describe `users`
1729
+ SQL (0.000692) SHOW KEYS FROM `users`
1730
+ SQL (0.000101) SET SQL_AUTO_IS_NULL=0
1731
+ SQL (0.027832) DROP DATABASE IF EXISTS `resource_controller_test`
1732
+ SQL (0.000467) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1733
+ SQL (0.000108) SET SQL_AUTO_IS_NULL=0
1734
+ SQL (0.034808) SHOW TABLES
1735
+ SQL (0.014012) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1736
+ SQL (0.000324) SHOW TABLES
1737
+ SQL (0.001674) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
1738
+ SQL (0.000259) SHOW TABLES
1739
+ SQL (0.004174) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` bigint(11) DEFAULT NULL NULL, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
1740
+ SQL (0.000287) SHOW TABLES
1741
+ SQL (0.001544) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1742
+ SQL (0.000359) SHOW TABLES
1743
+ SQL (0.004655) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
1744
+ SQL (0.000246) SHOW TABLES
1745
+ SQL (0.001568) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
1746
+ SQL (0.000248) SHOW TABLES
1747
+ SQL (0.013815) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
1748
+ SQL (0.000381) SHOW TABLES
1749
+ SQL (0.001683) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1750
+ SQL (0.000322) SHOW TABLES
1751
+ SQL (0.004140) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1752
+ SQL (0.000290) SHOW TABLES
1753
+ SQL (0.001562) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1754
+ SQL (0.000309) SHOW TABLES
1755
+ SQL (0.005338) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1756
+ SQL (0.000360) SHOW TABLES
1757
+ SQL (0.001613) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
1758
+ SQL (0.000382) SHOW TABLES
1759
+ SQL (0.021137) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
1760
+ SQL (0.025876) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
1761
+ SQL (0.000437) SHOW TABLES
1762
+ SQL (0.000282) SELECT version FROM `schema_migrations`
1763
+ SQL (0.000431) INSERT INTO `schema_migrations` (version) VALUES ('12')
1764
+ SQL (0.000424) INSERT INTO `schema_migrations` (version) VALUES ('1')
1765
+ SQL (0.000357) INSERT INTO `schema_migrations` (version) VALUES ('2')
1766
+ SQL (0.004534) INSERT INTO `schema_migrations` (version) VALUES ('3')
1767
+ SQL (0.000438) INSERT INTO `schema_migrations` (version) VALUES ('4')
1768
+ SQL (0.000444) INSERT INTO `schema_migrations` (version) VALUES ('5')
1769
+ SQL (0.000491) INSERT INTO `schema_migrations` (version) VALUES ('6')
1770
+ SQL (0.000612) INSERT INTO `schema_migrations` (version) VALUES ('7')
1771
+ SQL (0.000443) INSERT INTO `schema_migrations` (version) VALUES ('8')
1772
+ SQL (0.000346) INSERT INTO `schema_migrations` (version) VALUES ('9')
1773
+ SQL (0.000457) INSERT INTO `schema_migrations` (version) VALUES ('10')
1774
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
1775
+ SQL (0.000194) SET SQL_AUTO_IS_NULL=0
1776
+ SQL (0.000482) SHOW TABLES
1777
+ SQL (0.000215) SELECT version FROM schema_migrations
1778
+ SQL (0.000280) SELECT version FROM schema_migrations
1779
+ SQL (0.000376) SHOW TABLES
1780
+ SQL (0.007496) SHOW FIELDS FROM `accounts`
1781
+ SQL (0.001343) describe `accounts`
1782
+ SQL (0.002058) SHOW KEYS FROM `accounts`
1783
+ SQL (0.001310) SHOW FIELDS FROM `comments`
1784
+ SQL (0.001773) describe `comments`
1785
+ SQL (0.000705) SHOW KEYS FROM `comments`
1786
+ SQL (0.024900) SHOW FIELDS FROM `images`
1787
+ SQL (0.001856) describe `images`
1788
+ SQL (0.000614) SHOW KEYS FROM `images`
1789
+ SQL (0.001257) SHOW FIELDS FROM `options`
1790
+ SQL (0.001786) describe `options`
1791
+ SQL (0.000641) SHOW KEYS FROM `options`
1792
+ SQL (0.001242) SHOW FIELDS FROM `photos`
1793
+ SQL (0.001557) describe `photos`
1794
+ SQL (0.000886) SHOW KEYS FROM `photos`
1795
+ SQL (0.001111) SHOW FIELDS FROM `photos_tags`
1796
+ SQL (0.001614) describe `photos_tags`
1797
+ SQL (0.000313) SHOW KEYS FROM `photos_tags`
1798
+ SQL (0.036162) SHOW FIELDS FROM `posts`
1799
+ SQL (0.001681) describe `posts`
1800
+ SQL (0.000691) SHOW KEYS FROM `posts`
1801
+ SQL (0.005536) SHOW FIELDS FROM `products`
1802
+ SQL (0.001528) describe `products`
1803
+ SQL (0.000451) SHOW KEYS FROM `products`
1804
+ SQL (0.001291) SHOW FIELDS FROM `projects`
1805
+ SQL (0.004114) describe `projects`
1806
+ SQL (0.000826) SHOW KEYS FROM `projects`
1807
+ SQL (0.001118) SHOW FIELDS FROM `somethings`
1808
+ SQL (0.001276) describe `somethings`
1809
+ SQL (0.000680) SHOW KEYS FROM `somethings`
1810
+ SQL (0.003554) SHOW FIELDS FROM `tags`
1811
+ SQL (0.001637) describe `tags`
1812
+ SQL (0.000661) SHOW KEYS FROM `tags`
1813
+ SQL (0.002117) SHOW FIELDS FROM `users`
1814
+ SQL (0.004383) describe `users`
1815
+ SQL (0.000615) SHOW KEYS FROM `users`
1816
+ SQL (0.000101) SET SQL_AUTO_IS_NULL=0
1817
+ SQL (0.081933) DROP DATABASE IF EXISTS `resource_controller_test`
1818
+ SQL (0.000392) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1819
+ SQL (0.000104) SET SQL_AUTO_IS_NULL=0
1820
+ SQL (0.033862) SHOW TABLES
1821
+ SQL (0.002092) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1822
+ SQL (0.000317) SHOW TABLES
1823
+ SQL (0.009554) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
1824
+ SQL (0.000331) SHOW TABLES
1825
+ SQL (0.001794) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` bigint(11) DEFAULT NULL NULL, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
1826
+ SQL (0.000353) SHOW TABLES
1827
+ SQL (0.004419) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1828
+ SQL (0.000261) SHOW TABLES
1829
+ SQL (0.001874) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
1830
+ SQL (0.000255) SHOW TABLES
1831
+ SQL (0.005098) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
1832
+ SQL (0.000258) SHOW TABLES
1833
+ SQL (0.001598) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
1834
+ SQL (0.000253) SHOW TABLES
1835
+ SQL (0.001690) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1836
+ SQL (0.000339) SHOW TABLES
1837
+ SQL (0.002990) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1838
+ SQL (0.000468) SHOW TABLES
1839
+ SQL (0.001452) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1840
+ SQL (0.000356) SHOW TABLES
1841
+ SQL (0.020314) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1842
+ SQL (0.000407) SHOW TABLES
1843
+ SQL (0.002153) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
1844
+ SQL (0.000336) SHOW TABLES
1845
+ SQL (0.004133) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
1846
+ SQL (0.008869) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
1847
+ SQL (0.001117) SHOW TABLES
1848
+ SQL (0.000324) SELECT version FROM `schema_migrations`
1849
+ SQL (0.000372) INSERT INTO `schema_migrations` (version) VALUES ('12')
1850
+ SQL (0.000292) INSERT INTO `schema_migrations` (version) VALUES ('1')
1851
+ SQL (0.000278) INSERT INTO `schema_migrations` (version) VALUES ('2')
1852
+ SQL (0.000278) INSERT INTO `schema_migrations` (version) VALUES ('3')
1853
+ SQL (0.000290) INSERT INTO `schema_migrations` (version) VALUES ('4')
1854
+ SQL (0.000279) INSERT INTO `schema_migrations` (version) VALUES ('5')
1855
+ SQL (0.011734) INSERT INTO `schema_migrations` (version) VALUES ('6')
1856
+ SQL (0.000369) INSERT INTO `schema_migrations` (version) VALUES ('7')
1857
+ SQL (0.000319) INSERT INTO `schema_migrations` (version) VALUES ('8')
1858
+ SQL (0.000321) INSERT INTO `schema_migrations` (version) VALUES ('9')
1859
+ SQL (0.000303) INSERT INTO `schema_migrations` (version) VALUES ('10')
1860
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
1861
+ SQL (0.000190) SET SQL_AUTO_IS_NULL=0
1862
+ SQL (0.000458) SHOW TABLES
1863
+ SQL (0.035202) SELECT version FROM schema_migrations
1864
+ SQL (0.000356) SELECT version FROM schema_migrations
1865
+ SQL (0.000391) SHOW TABLES
1866
+ SQL (0.001323) SHOW FIELDS FROM `accounts`
1867
+ SQL (0.021534) describe `accounts`
1868
+ SQL (0.000244) SHOW KEYS FROM `accounts`
1869
+ SQL (0.001239) SHOW FIELDS FROM `comments`
1870
+ SQL (0.005721) describe `comments`
1871
+ SQL (0.000870) SHOW KEYS FROM `comments`
1872
+ SQL (0.018783) SHOW FIELDS FROM `images`
1873
+ SQL (0.001792) describe `images`
1874
+ SQL (0.029138) SHOW KEYS FROM `images`
1875
+ SQL (0.001409) SHOW FIELDS FROM `options`
1876
+ SQL (0.001100) describe `options`
1877
+ SQL (0.000660) SHOW KEYS FROM `options`
1878
+ SQL (0.001153) SHOW FIELDS FROM `photos`
1879
+ SQL (0.001719) describe `photos`
1880
+ SQL (0.000649) SHOW KEYS FROM `photos`
1881
+ SQL (0.000819) SHOW FIELDS FROM `photos_tags`
1882
+ SQL (0.002129) describe `photos_tags`
1883
+ SQL (0.000710) SHOW KEYS FROM `photos_tags`
1884
+ SQL (0.037010) SHOW FIELDS FROM `posts`
1885
+ SQL (0.001655) describe `posts`
1886
+ SQL (0.000323) SHOW KEYS FROM `posts`
1887
+ SQL (0.004651) SHOW FIELDS FROM `products`
1888
+ SQL (0.001361) describe `products`
1889
+ SQL (0.000636) SHOW KEYS FROM `products`
1890
+ SQL (0.001343) SHOW FIELDS FROM `projects`
1891
+ SQL (0.004308) describe `projects`
1892
+ SQL (0.000664) SHOW KEYS FROM `projects`
1893
+ SQL (0.001048) SHOW FIELDS FROM `somethings`
1894
+ SQL (0.001606) describe `somethings`
1895
+ SQL (0.000603) SHOW KEYS FROM `somethings`
1896
+ SQL (0.003446) SHOW FIELDS FROM `tags`
1897
+ SQL (0.001859) describe `tags`
1898
+ SQL (0.000610) SHOW KEYS FROM `tags`
1899
+ SQL (0.010096) SHOW FIELDS FROM `users`
1900
+ SQL (0.001811) describe `users`
1901
+ SQL (0.012985) SHOW KEYS FROM `users`
1902
+ SQL (0.000090) SET SQL_AUTO_IS_NULL=0
1903
+ SQL (0.131562) DROP DATABASE IF EXISTS `resource_controller_test`
1904
+ SQL (0.000355) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1905
+ SQL (0.000093) SET SQL_AUTO_IS_NULL=0
1906
+ SQL (0.035065) SHOW TABLES
1907
+ SQL (0.001962) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1908
+ SQL (0.000342) SHOW TABLES
1909
+ SQL (0.018826) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
1910
+ SQL (0.000312) SHOW TABLES
1911
+ SQL (0.001613) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` bigint(11) DEFAULT NULL NULL, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
1912
+ SQL (0.000254) SHOW TABLES
1913
+ SQL (0.004405) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1914
+ SQL (0.000296) SHOW TABLES
1915
+ SQL (0.001589) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
1916
+ SQL (0.000302) SHOW TABLES
1917
+ SQL (0.005364) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
1918
+ SQL (0.000347) SHOW TABLES
1919
+ SQL (0.038481) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
1920
+ SQL (0.000388) SHOW TABLES
1921
+ SQL (0.025593) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1922
+ SQL (0.000367) SHOW TABLES
1923
+ SQL (0.001615) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1924
+ SQL (0.000340) SHOW TABLES
1925
+ SQL (0.004598) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1926
+ SQL (0.000328) SHOW TABLES
1927
+ SQL (0.001571) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1928
+ SQL (0.000377) SHOW TABLES
1929
+ SQL (0.004604) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
1930
+ SQL (0.000375) SHOW TABLES
1931
+ SQL (0.001566) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
1932
+ SQL (0.009334) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
1933
+ SQL (0.000424) SHOW TABLES
1934
+ SQL (0.000370) SELECT version FROM `schema_migrations`
1935
+ SQL (0.003701) INSERT INTO `schema_migrations` (version) VALUES ('12')
1936
+ SQL (0.000451) INSERT INTO `schema_migrations` (version) VALUES ('1')
1937
+ SQL (0.000306) INSERT INTO `schema_migrations` (version) VALUES ('2')
1938
+ SQL (0.000360) INSERT INTO `schema_migrations` (version) VALUES ('3')
1939
+ SQL (0.000444) INSERT INTO `schema_migrations` (version) VALUES ('4')
1940
+ SQL (0.000338) INSERT INTO `schema_migrations` (version) VALUES ('5')
1941
+ SQL (0.001334) INSERT INTO `schema_migrations` (version) VALUES ('6')
1942
+ SQL (0.000453) INSERT INTO `schema_migrations` (version) VALUES ('7')
1943
+ SQL (0.000359) INSERT INTO `schema_migrations` (version) VALUES ('8')
1944
+ SQL (0.000448) INSERT INTO `schema_migrations` (version) VALUES ('9')
1945
+ SQL (0.000337) INSERT INTO `schema_migrations` (version) VALUES ('10')
1946
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
1947
+ SQL (0.000268) SET SQL_AUTO_IS_NULL=0
1948
+ SQL (0.000480) SHOW TABLES
1949
+ SQL (0.000247) SELECT version FROM schema_migrations
1950
+ SQL (0.000318) SELECT version FROM schema_migrations
1951
+ SQL (0.000396) SHOW TABLES
1952
+ SQL (0.001264) SHOW FIELDS FROM `accounts`
1953
+ SQL (0.001237) describe `accounts`
1954
+ SQL (0.000682) SHOW KEYS FROM `accounts`
1955
+ SQL (0.020763) SHOW FIELDS FROM `comments`
1956
+ SQL (0.001048) describe `comments`
1957
+ SQL (0.000685) SHOW KEYS FROM `comments`
1958
+ SQL (0.001212) SHOW FIELDS FROM `images`
1959
+ SQL (0.005283) describe `images`
1960
+ SQL (0.000896) SHOW KEYS FROM `images`
1961
+ SQL (0.001130) SHOW FIELDS FROM `options`
1962
+ SQL (0.004829) describe `options`
1963
+ SQL (0.000714) SHOW KEYS FROM `options`
1964
+ SQL (0.000978) SHOW FIELDS FROM `photos`
1965
+ SQL (0.002272) describe `photos`
1966
+ SQL (0.003460) SHOW KEYS FROM `photos`
1967
+ SQL (0.000955) SHOW FIELDS FROM `photos_tags`
1968
+ SQL (0.001265) describe `photos_tags`
1969
+ SQL (0.000646) SHOW KEYS FROM `photos_tags`
1970
+ SQL (0.051116) SHOW FIELDS FROM `posts`
1971
+ SQL (0.001625) describe `posts`
1972
+ SQL (0.000429) SHOW KEYS FROM `posts`
1973
+ SQL (0.001007) SHOW FIELDS FROM `products`
1974
+ SQL (0.001365) describe `products`
1975
+ SQL (0.000644) SHOW KEYS FROM `products`
1976
+ SQL (0.000849) SHOW FIELDS FROM `projects`
1977
+ SQL (0.005571) describe `projects`
1978
+ SQL (0.000714) SHOW KEYS FROM `projects`
1979
+ SQL (0.000939) SHOW FIELDS FROM `somethings`
1980
+ SQL (0.001170) describe `somethings`
1981
+ SQL (0.003894) SHOW KEYS FROM `somethings`
1982
+ SQL (0.001052) SHOW FIELDS FROM `tags`
1983
+ SQL (0.001298) describe `tags`
1984
+ SQL (0.004081) SHOW KEYS FROM `tags`
1985
+ SQL (0.001353) SHOW FIELDS FROM `users`
1986
+ SQL (0.001036) describe `users`
1987
+ SQL (0.000662) SHOW KEYS FROM `users`
1988
+ SQL (0.000237) SET SQL_AUTO_IS_NULL=0
1989
+ SQL (0.025849) DROP DATABASE IF EXISTS `resource_controller_test`
1990
+ SQL (0.000344) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
1991
+ SQL (0.000110) SET SQL_AUTO_IS_NULL=0
1992
+ SQL (0.034678) SHOW TABLES
1993
+ SQL (0.011398) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
1994
+ SQL (0.000375) SHOW TABLES
1995
+ SQL (0.006811) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
1996
+ SQL (0.000287) SHOW TABLES
1997
+ SQL (0.001651) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` bigint(11) DEFAULT NULL NULL, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
1998
+ SQL (0.000468) SHOW TABLES
1999
+ SQL (0.004355) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2000
+ SQL (0.000252) SHOW TABLES
2001
+ SQL (0.001539) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2002
+ SQL (0.000249) SHOW TABLES
2003
+ SQL (0.005490) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2004
+ SQL (0.000321) SHOW TABLES
2005
+ SQL (0.001736) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
2006
+ SQL (0.000271) SHOW TABLES
2007
+ SQL (0.029190) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2008
+ SQL (0.000365) SHOW TABLES
2009
+ SQL (0.001601) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2010
+ SQL (0.000279) SHOW TABLES
2011
+ SQL (0.004941) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2012
+ SQL (0.000316) SHOW TABLES
2013
+ SQL (0.023957) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2014
+ SQL (0.000402) SHOW TABLES
2015
+ SQL (0.001642) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
2016
+ SQL (0.000506) SHOW TABLES
2017
+ SQL (0.004500) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
2018
+ SQL (0.009419) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
2019
+ SQL (0.000454) SHOW TABLES
2020
+ SQL (0.000310) SELECT version FROM `schema_migrations`
2021
+ SQL (0.000420) INSERT INTO `schema_migrations` (version) VALUES ('12')
2022
+ SQL (0.000430) INSERT INTO `schema_migrations` (version) VALUES ('1')
2023
+ SQL (0.000315) INSERT INTO `schema_migrations` (version) VALUES ('2')
2024
+ SQL (0.004484) INSERT INTO `schema_migrations` (version) VALUES ('3')
2025
+ SQL (0.000418) INSERT INTO `schema_migrations` (version) VALUES ('4')
2026
+ SQL (0.000462) INSERT INTO `schema_migrations` (version) VALUES ('5')
2027
+ SQL (0.000327) INSERT INTO `schema_migrations` (version) VALUES ('6')
2028
+ SQL (0.000707) INSERT INTO `schema_migrations` (version) VALUES ('7')
2029
+ SQL (0.000331) INSERT INTO `schema_migrations` (version) VALUES ('8')
2030
+ SQL (0.000375) INSERT INTO `schema_migrations` (version) VALUES ('9')
2031
+ SQL (0.000513) INSERT INTO `schema_migrations` (version) VALUES ('10')
2032
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
2033
+ SQL (0.000206) SET SQL_AUTO_IS_NULL=0
2034
+ SQL (0.000473) SHOW TABLES
2035
+ SQL (0.000267) SELECT version FROM schema_migrations
2036
+ SQL (0.000284) SELECT version FROM schema_migrations
2037
+ SQL (0.000358) SHOW TABLES
2038
+ SQL (0.001370) SHOW FIELDS FROM `accounts`
2039
+ SQL (0.001515) describe `accounts`
2040
+ SQL (0.024672) SHOW KEYS FROM `accounts`
2041
+ SQL (0.001366) SHOW FIELDS FROM `comments`
2042
+ SQL (0.001781) describe `comments`
2043
+ SQL (0.000588) SHOW KEYS FROM `comments`
2044
+ SQL (0.004004) SHOW FIELDS FROM `images`
2045
+ SQL (0.001465) describe `images`
2046
+ SQL (0.000776) SHOW KEYS FROM `images`
2047
+ SQL (0.001274) SHOW FIELDS FROM `options`
2048
+ SQL (0.004993) describe `options`
2049
+ SQL (0.000306) SHOW KEYS FROM `options`
2050
+ SQL (0.001166) SHOW FIELDS FROM `photos`
2051
+ SQL (0.006285) describe `photos`
2052
+ SQL (0.000590) SHOW KEYS FROM `photos`
2053
+ SQL (0.001172) SHOW FIELDS FROM `photos_tags`
2054
+ SQL (0.004522) describe `photos_tags`
2055
+ SQL (0.000757) SHOW KEYS FROM `photos_tags`
2056
+ SQL (0.037592) SHOW FIELDS FROM `posts`
2057
+ SQL (0.001487) describe `posts`
2058
+ SQL (0.001391) SHOW KEYS FROM `posts`
2059
+ SQL (0.007872) SHOW FIELDS FROM `products`
2060
+ SQL (0.001597) describe `products`
2061
+ SQL (0.000582) SHOW KEYS FROM `products`
2062
+ SQL (0.001342) SHOW FIELDS FROM `projects`
2063
+ SQL (0.004821) describe `projects`
2064
+ SQL (0.000591) SHOW KEYS FROM `projects`
2065
+ SQL (0.001041) SHOW FIELDS FROM `somethings`
2066
+ SQL (0.005183) describe `somethings`
2067
+ SQL (0.000639) SHOW KEYS FROM `somethings`
2068
+ SQL (0.001091) SHOW FIELDS FROM `tags`
2069
+ SQL (0.001188) describe `tags`
2070
+ SQL (0.004658) SHOW KEYS FROM `tags`
2071
+ SQL (0.001327) SHOW FIELDS FROM `users`
2072
+ SQL (0.001684) describe `users`
2073
+ SQL (0.000591) SHOW KEYS FROM `users`
2074
+ SQL (0.000088) SET SQL_AUTO_IS_NULL=0
2075
+ SQL (0.032965) DROP DATABASE IF EXISTS `resource_controller_test`
2076
+ SQL (0.000334) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2077
+ SQL (0.000093) SET SQL_AUTO_IS_NULL=0
2078
+ SQL (0.034047) SHOW TABLES
2079
+ SQL (0.017828) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2080
+ SQL (0.000394) SHOW TABLES
2081
+ SQL (0.001771) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
2082
+ SQL (0.000279) SHOW TABLES
2083
+ SQL (0.003917) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` bigint(11) DEFAULT NULL NULL, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
2084
+ SQL (0.000302) SHOW TABLES
2085
+ SQL (0.007552) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2086
+ SQL (0.000286) SHOW TABLES
2087
+ SQL (0.001618) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2088
+ SQL (0.000355) SHOW TABLES
2089
+ SQL (0.004723) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2090
+ SQL (0.000308) SHOW TABLES
2091
+ SQL (0.001668) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
2092
+ SQL (0.000322) SHOW TABLES
2093
+ SQL (0.004991) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2094
+ SQL (0.000332) SHOW TABLES
2095
+ SQL (0.001646) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2096
+ SQL (0.000277) SHOW TABLES
2097
+ SQL (0.029498) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2098
+ SQL (0.000357) SHOW TABLES
2099
+ SQL (0.001594) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2100
+ SQL (0.000284) SHOW TABLES
2101
+ SQL (0.004537) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
2102
+ SQL (0.000360) SHOW TABLES
2103
+ SQL (0.001306) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
2104
+ SQL (0.008030) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
2105
+ SQL (0.000448) SHOW TABLES
2106
+ SQL (0.000300) SELECT version FROM `schema_migrations`
2107
+ SQL (0.000412) INSERT INTO `schema_migrations` (version) VALUES ('12')
2108
+ SQL (0.004731) INSERT INTO `schema_migrations` (version) VALUES ('1')
2109
+ SQL (0.000416) INSERT INTO `schema_migrations` (version) VALUES ('2')
2110
+ SQL (0.000437) INSERT INTO `schema_migrations` (version) VALUES ('3')
2111
+ SQL (0.000336) INSERT INTO `schema_migrations` (version) VALUES ('4')
2112
+ SQL (0.000457) INSERT INTO `schema_migrations` (version) VALUES ('5')
2113
+ SQL (0.000330) INSERT INTO `schema_migrations` (version) VALUES ('6')
2114
+ SQL (0.000460) INSERT INTO `schema_migrations` (version) VALUES ('7')
2115
+ SQL (0.000329) INSERT INTO `schema_migrations` (version) VALUES ('8')
2116
+ SQL (0.000459) INSERT INTO `schema_migrations` (version) VALUES ('9')
2117
+ SQL (0.000329) INSERT INTO `schema_migrations` (version) VALUES ('10')
2118
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
2119
+ SQL (0.000192) SET SQL_AUTO_IS_NULL=0
2120
+ SQL (0.000656) SHOW TABLES
2121
+ SQL (0.000365) SELECT version FROM schema_migrations
2122
+ SQL (0.000277) SELECT version FROM schema_migrations
2123
+ SQL (0.000345) SHOW TABLES
2124
+ SQL (0.001358) SHOW FIELDS FROM `accounts`
2125
+ SQL (0.020525) describe `accounts`
2126
+ SQL (0.000247) SHOW KEYS FROM `accounts`
2127
+ SQL (0.001239) SHOW FIELDS FROM `comments`
2128
+ SQL (0.005544) describe `comments`
2129
+ SQL (0.000699) SHOW KEYS FROM `comments`
2130
+ SQL (0.001394) SHOW FIELDS FROM `images`
2131
+ SQL (0.001907) describe `images`
2132
+ SQL (0.003427) SHOW KEYS FROM `images`
2133
+ SQL (0.001181) SHOW FIELDS FROM `options`
2134
+ SQL (0.001782) describe `options`
2135
+ SQL (0.000535) SHOW KEYS FROM `options`
2136
+ SQL (0.004000) SHOW FIELDS FROM `photos`
2137
+ SQL (0.001373) describe `photos`
2138
+ SQL (0.000695) SHOW KEYS FROM `photos`
2139
+ SQL (0.000897) SHOW FIELDS FROM `photos_tags`
2140
+ SQL (0.005682) describe `photos_tags`
2141
+ SQL (0.000651) SHOW KEYS FROM `photos_tags`
2142
+ SQL (0.039689) SHOW FIELDS FROM `posts`
2143
+ SQL (0.001512) describe `posts`
2144
+ SQL (0.000380) SHOW KEYS FROM `posts`
2145
+ SQL (0.005544) SHOW FIELDS FROM `products`
2146
+ SQL (0.001226) describe `products`
2147
+ SQL (0.000644) SHOW KEYS FROM `products`
2148
+ SQL (0.001765) SHOW FIELDS FROM `projects`
2149
+ SQL (0.004010) describe `projects`
2150
+ SQL (0.001175) SHOW KEYS FROM `projects`
2151
+ SQL (0.000868) SHOW FIELDS FROM `somethings`
2152
+ SQL (0.001193) describe `somethings`
2153
+ SQL (0.000594) SHOW KEYS FROM `somethings`
2154
+ SQL (0.003835) SHOW FIELDS FROM `tags`
2155
+ SQL (0.001227) describe `tags`
2156
+ SQL (0.000634) SHOW KEYS FROM `tags`
2157
+ SQL (0.000969) SHOW FIELDS FROM `users`
2158
+ SQL (0.005102) describe `users`
2159
+ SQL (0.000770) SHOW KEYS FROM `users`
2160
+ SQL (0.000102) SET SQL_AUTO_IS_NULL=0
2161
+ SQL (0.026257) DROP DATABASE IF EXISTS `resource_controller_test`
2162
+ SQL (0.000352) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2163
+ SQL (0.000158) SET SQL_AUTO_IS_NULL=0
2164
+ SQL (0.044268) SHOW TABLES
2165
+ SQL (0.002193) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2166
+ SQL (0.000425) SHOW TABLES
2167
+ SQL (0.001407) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
2168
+ SQL (0.000341) SHOW TABLES
2169
+ SQL (0.018564) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` bigint(11) DEFAULT NULL NULL, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
2170
+ SQL (0.000349) SHOW TABLES
2171
+ SQL (0.001499) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2172
+ SQL (0.000335) SHOW TABLES
2173
+ SQL (0.006531) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2174
+ SQL (0.000462) SHOW TABLES
2175
+ SQL (0.005449) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2176
+ SQL (0.000329) SHOW TABLES
2177
+ SQL (0.007374) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
2178
+ SQL (0.000351) SHOW TABLES
2179
+ SQL (0.001553) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2180
+ SQL (0.000349) SHOW TABLES
2181
+ SQL (0.004940) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2182
+ SQL (0.000377) SHOW TABLES
2183
+ SQL (0.005198) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2184
+ SQL (0.000368) SHOW TABLES
2185
+ SQL (0.001993) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2186
+ SQL (0.000331) SHOW TABLES
2187
+ SQL (0.001603) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
2188
+ SQL (0.000372) SHOW TABLES
2189
+ SQL (0.004015) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
2190
+ SQL (0.008770) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
2191
+ SQL (0.000415) SHOW TABLES
2192
+ SQL (0.000331) SELECT version FROM `schema_migrations`
2193
+ SQL (0.000445) INSERT INTO `schema_migrations` (version) VALUES ('12')
2194
+ SQL (0.001432) INSERT INTO `schema_migrations` (version) VALUES ('1')
2195
+ SQL (0.000381) INSERT INTO `schema_migrations` (version) VALUES ('2')
2196
+ SQL (0.000406) INSERT INTO `schema_migrations` (version) VALUES ('3')
2197
+ SQL (0.000481) INSERT INTO `schema_migrations` (version) VALUES ('4')
2198
+ SQL (0.000351) INSERT INTO `schema_migrations` (version) VALUES ('5')
2199
+ SQL (0.000448) INSERT INTO `schema_migrations` (version) VALUES ('6')
2200
+ SQL (0.000385) INSERT INTO `schema_migrations` (version) VALUES ('7')
2201
+ SQL (0.000460) INSERT INTO `schema_migrations` (version) VALUES ('8')
2202
+ SQL (0.000353) INSERT INTO `schema_migrations` (version) VALUES ('9')
2203
+ SQL (0.000451) INSERT INTO `schema_migrations` (version) VALUES ('10')
2204
+ SQL (0.000186) SET SQL_AUTO_IS_NULL=0
2205
+ SQL (0.001550) CREATE TABLE `schema_info` (version int(11))
2206
+ SQL (0.000368) INSERT INTO `schema_info` (version) VALUES(0)
2207
+ SQL (0.065530) SELECT version FROM schema_info
2208
+ SQL (0.000114) SELECT version FROM schema_info
2209
+ SQL (0.000093) SELECT version FROM schema_info
2210
+ SQL (0.000120) SELECT version FROM schema_info
2211
+ SQL (0.000103) SELECT version FROM schema_info
2212
+ SQL (0.000092) SELECT version FROM schema_info
2213
+ SQL (0.000090) SELECT version FROM schema_info
2214
+ SQL (0.000089) SELECT version FROM schema_info
2215
+ SQL (0.000089) SELECT version FROM schema_info
2216
+ SQL (0.000089) SELECT version FROM schema_info
2217
+ SQL (0.000089) SELECT version FROM schema_info
2218
+ SQL (0.000090) SELECT version FROM schema_info
2219
+ SQL (0.000202) SET SQL_AUTO_IS_NULL=0
2220
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2221
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2222
+ SQL (0.000308) SELECT version FROM schema_info
2223
+ Migrating to CreatePosts (1)
2224
+ SQL (0.000000) Mysql::Error: Table 'posts' already exists: CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT '') ENGINE=InnoDB
2225
+ SQL (0.000187) SET SQL_AUTO_IS_NULL=0
2226
+ SQL (0.374901) DROP DATABASE IF EXISTS `resource_controller_test`
2227
+ SQL (0.000109) SET SQL_AUTO_IS_NULL=0
2228
+ SQL (0.020588) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_general_ci`
2229
+ SQL (0.000093) SET SQL_AUTO_IS_NULL=0
2230
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2231
+ SQL (0.017612) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2232
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2233
+ SQL (0.001610) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2234
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2235
+ SQL (0.021531) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2236
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2237
+ SQL (0.017427) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2238
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2239
+ SQL (0.031785) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2240
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2241
+ SQL (0.002040) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2242
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2243
+ SQL (0.022594) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2244
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2245
+ SQL (0.020883) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2246
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2247
+ SQL (0.045349) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2248
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2249
+ SQL (0.056740) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2250
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2251
+ SQL (0.025256) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2252
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2253
+ SQL (0.001720) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2254
+ SQL (0.001614) CREATE TABLE `schema_info` (version int(11))
2255
+ SQL (0.000371) INSERT INTO `schema_info` (version) VALUES(0)
2256
+ SQL (0.001545) SHOW FIELDS FROM `schema_info`
2257
+ SQL (0.001096) UPDATE schema_info SET version = 12
2258
+ SQL (0.000194) SET SQL_AUTO_IS_NULL=0
2259
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2260
+ SQL (0.000322) SELECT version FROM schema_info
2261
+ SQL (0.000099) SELECT version FROM schema_info
2262
+ SQL (0.000091) SELECT version FROM schema_info
2263
+ SQL (0.000090) SELECT version FROM schema_info
2264
+ SQL (0.000089) SELECT version FROM schema_info
2265
+ SQL (0.000089) SELECT version FROM schema_info
2266
+ SQL (0.000089) SELECT version FROM schema_info
2267
+ SQL (0.000089) SELECT version FROM schema_info
2268
+ SQL (0.000088) SELECT version FROM schema_info
2269
+ SQL (0.000089) SELECT version FROM schema_info
2270
+ SQL (0.000088) SELECT version FROM schema_info
2271
+ SQL (0.000093) SELECT version FROM schema_info
2272
+ SQL (0.000306) SELECT * FROM schema_info
2273
+ SQL (0.000426) SHOW TABLES
2274
+ SQL (0.090026) SHOW FIELDS FROM `accounts`
2275
+ SQL (0.001286) describe `accounts`
2276
+ SQL (0.000256) SHOW KEYS FROM `accounts`
2277
+ SQL (0.071593) SHOW FIELDS FROM `comments`
2278
+ SQL (0.001373) describe `comments`
2279
+ SQL (0.000338) SHOW KEYS FROM `comments`
2280
+ SQL (0.012614) SHOW FIELDS FROM `images`
2281
+ SQL (0.001460) describe `images`
2282
+ SQL (0.000649) SHOW KEYS FROM `images`
2283
+ SQL (0.015005) SHOW FIELDS FROM `options`
2284
+ SQL (0.001745) describe `options`
2285
+ SQL (0.000297) SHOW KEYS FROM `options`
2286
+ SQL (0.036132) SHOW FIELDS FROM `photos`
2287
+ SQL (0.001753) describe `photos`
2288
+ SQL (0.000681) SHOW KEYS FROM `photos`
2289
+ SQL (0.001813) SHOW FIELDS FROM `photos_tags`
2290
+ SQL (0.002496) describe `photos_tags`
2291
+ SQL (0.000706) SHOW KEYS FROM `photos_tags`
2292
+ SQL (0.032266) SHOW FIELDS FROM `posts`
2293
+ SQL (0.055551) describe `posts`
2294
+ SQL (0.000411) SHOW KEYS FROM `posts`
2295
+ SQL (0.030305) SHOW FIELDS FROM `products`
2296
+ SQL (0.001683) describe `products`
2297
+ SQL (0.000263) SHOW KEYS FROM `products`
2298
+ SQL (0.043761) SHOW FIELDS FROM `projects`
2299
+ SQL (0.001350) describe `projects`
2300
+ SQL (0.000254) SHOW KEYS FROM `projects`
2301
+ SQL (0.001837) SHOW FIELDS FROM `somethings`
2302
+ SQL (0.001791) describe `somethings`
2303
+ SQL (0.000632) SHOW KEYS FROM `somethings`
2304
+ SQL (0.003122) SHOW FIELDS FROM `tags`
2305
+ SQL (0.002023) describe `tags`
2306
+ SQL (0.000565) SHOW KEYS FROM `tags`
2307
+ SQL (0.001761) SHOW FIELDS FROM `users`
2308
+ SQL (0.001682) describe `users`
2309
+ SQL (0.000268) SHOW KEYS FROM `users`
2310
+ SQL (0.000096) SET SQL_AUTO_IS_NULL=0
2311
+ SQL (0.078182) DROP DATABASE IF EXISTS `resource_controller_test`
2312
+ SQL (0.000374) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2313
+ SQL (0.000113) SET SQL_AUTO_IS_NULL=0
2314
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2315
+ SQL (0.001567) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2316
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2317
+ SQL (0.030491) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2318
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2319
+ SQL (0.001644) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2320
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2321
+ SQL (0.040285) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2322
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2323
+ SQL (0.019802) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2324
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2325
+ SQL (0.025070) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2326
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2327
+ SQL (0.001654) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2328
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2329
+ SQL (0.004521) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2330
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2331
+ SQL (0.001597) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2332
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2333
+ SQL (0.020848) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2334
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2335
+ SQL (0.016625) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2336
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2337
+ SQL (0.039262) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2338
+ SQL (0.001446) CREATE TABLE `schema_info` (version int(11))
2339
+ SQL (0.000427) INSERT INTO `schema_info` (version) VALUES(0)
2340
+ SQL (0.041056) SHOW FIELDS FROM `schema_info`
2341
+ SQL (0.001827) UPDATE schema_info SET version = 12
2342
+ SQL (0.000193) SET SQL_AUTO_IS_NULL=0
2343
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2344
+ SQL (0.000336) SELECT version FROM schema_info
2345
+ SQL (0.000098) SELECT version FROM schema_info
2346
+ SQL (0.000091) SELECT version FROM schema_info
2347
+ SQL (0.000093) SELECT version FROM schema_info
2348
+ SQL (0.000089) SELECT version FROM schema_info
2349
+ SQL (0.000089) SELECT version FROM schema_info
2350
+ SQL (0.000089) SELECT version FROM schema_info
2351
+ SQL (0.000089) SELECT version FROM schema_info
2352
+ SQL (0.000089) SELECT version FROM schema_info
2353
+ SQL (0.000089) SELECT version FROM schema_info
2354
+ SQL (0.000089) SELECT version FROM schema_info
2355
+ SQL (0.000089) SELECT version FROM schema_info
2356
+ SQL (0.000110) SELECT * FROM schema_info
2357
+ SQL (0.000383) SHOW TABLES
2358
+ SQL (0.001521) SHOW FIELDS FROM `accounts`
2359
+ SQL (0.001306) describe `accounts`
2360
+ SQL (0.000671) SHOW KEYS FROM `accounts`
2361
+ SQL (0.001088) SHOW FIELDS FROM `comments`
2362
+ SQL (0.004832) describe `comments`
2363
+ SQL (0.000600) SHOW KEYS FROM `comments`
2364
+ SQL (0.001016) SHOW FIELDS FROM `images`
2365
+ SQL (0.005681) describe `images`
2366
+ SQL (0.000384) SHOW KEYS FROM `images`
2367
+ SQL (0.001436) SHOW FIELDS FROM `options`
2368
+ SQL (0.006287) describe `options`
2369
+ SQL (0.001068) SHOW KEYS FROM `options`
2370
+ SQL (0.001376) SHOW FIELDS FROM `photos`
2371
+ SQL (0.004186) describe `photos`
2372
+ SQL (0.000604) SHOW KEYS FROM `photos`
2373
+ SQL (0.001293) SHOW FIELDS FROM `photos_tags`
2374
+ SQL (0.004902) describe `photos_tags`
2375
+ SQL (0.000304) SHOW KEYS FROM `photos_tags`
2376
+ SQL (0.001204) SHOW FIELDS FROM `posts`
2377
+ SQL (0.057038) describe `posts`
2378
+ SQL (0.000544) SHOW KEYS FROM `posts`
2379
+ SQL (0.001486) SHOW FIELDS FROM `products`
2380
+ SQL (0.001507) describe `products`
2381
+ SQL (0.000824) SHOW KEYS FROM `products`
2382
+ SQL (0.009537) SHOW FIELDS FROM `projects`
2383
+ SQL (0.001351) describe `projects`
2384
+ SQL (0.000277) SHOW KEYS FROM `projects`
2385
+ SQL (0.001105) SHOW FIELDS FROM `somethings`
2386
+ SQL (0.004612) describe `somethings`
2387
+ SQL (0.000312) SHOW KEYS FROM `somethings`
2388
+ SQL (0.001275) SHOW FIELDS FROM `tags`
2389
+ SQL (0.001794) describe `tags`
2390
+ SQL (0.003993) SHOW KEYS FROM `tags`
2391
+ SQL (0.001182) SHOW FIELDS FROM `users`
2392
+ SQL (0.007361) describe `users`
2393
+ SQL (0.000250) SHOW KEYS FROM `users`
2394
+ SQL (0.000095) SET SQL_AUTO_IS_NULL=0
2395
+ SQL (0.041315) DROP DATABASE IF EXISTS `resource_controller_test`
2396
+ SQL (0.000351) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2397
+ SQL (0.000097) SET SQL_AUTO_IS_NULL=0
2398
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2399
+ SQL (0.030020) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2400
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2401
+ SQL (0.024828) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2402
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2403
+ SQL (0.021824) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2404
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2405
+ SQL (0.001469) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2406
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2407
+ SQL (0.004023) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2408
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2409
+ SQL (0.032395) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2410
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2411
+ SQL (0.022911) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2412
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2413
+ SQL (0.022998) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2414
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2415
+ SQL (0.024666) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2416
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2417
+ SQL (0.001690) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2418
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2419
+ SQL (0.013052) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2420
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2421
+ SQL (0.019241) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2422
+ SQL (0.031737) CREATE TABLE `schema_info` (version int(11))
2423
+ SQL (0.000473) INSERT INTO `schema_info` (version) VALUES(0)
2424
+ SQL (0.041888) SHOW FIELDS FROM `schema_info`
2425
+ SQL (0.000326) UPDATE schema_info SET version = 12
2426
+ SQL (0.000190) SET SQL_AUTO_IS_NULL=0
2427
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2428
+ SQL (0.000318) SELECT version FROM schema_info
2429
+ SQL (0.000097) SELECT version FROM schema_info
2430
+ SQL (0.000091) SELECT version FROM schema_info
2431
+ SQL (0.000090) SELECT version FROM schema_info
2432
+ SQL (0.000089) SELECT version FROM schema_info
2433
+ SQL (0.000089) SELECT version FROM schema_info
2434
+ SQL (0.000089) SELECT version FROM schema_info
2435
+ SQL (0.000089) SELECT version FROM schema_info
2436
+ SQL (0.000089) SELECT version FROM schema_info
2437
+ SQL (0.000089) SELECT version FROM schema_info
2438
+ SQL (0.000089) SELECT version FROM schema_info
2439
+ SQL (0.000089) SELECT version FROM schema_info
2440
+ SQL (0.000130) SELECT * FROM schema_info
2441
+ SQL (0.000356) SHOW TABLES
2442
+ SQL (0.001553) SHOW FIELDS FROM `accounts`
2443
+ SQL (0.001126) describe `accounts`
2444
+ SQL (0.000243) SHOW KEYS FROM `accounts`
2445
+ SQL (0.028025) SHOW FIELDS FROM `comments`
2446
+ SQL (0.001395) describe `comments`
2447
+ SQL (0.000311) SHOW KEYS FROM `comments`
2448
+ SQL (0.001252) SHOW FIELDS FROM `images`
2449
+ SQL (0.001868) describe `images`
2450
+ SQL (0.000256) SHOW KEYS FROM `images`
2451
+ SQL (0.000964) SHOW FIELDS FROM `options`
2452
+ SQL (0.000977) describe `options`
2453
+ SQL (0.000324) SHOW KEYS FROM `options`
2454
+ SQL (0.001405) SHOW FIELDS FROM `photos`
2455
+ SQL (0.001708) describe `photos`
2456
+ SQL (0.000596) SHOW KEYS FROM `photos`
2457
+ SQL (0.002997) SHOW FIELDS FROM `photos_tags`
2458
+ SQL (0.002010) describe `photos_tags`
2459
+ SQL (0.000282) SHOW KEYS FROM `photos_tags`
2460
+ SQL (0.001268) SHOW FIELDS FROM `posts`
2461
+ SQL (0.058506) describe `posts`
2462
+ SQL (0.000441) SHOW KEYS FROM `posts`
2463
+ SQL (0.001398) SHOW FIELDS FROM `products`
2464
+ SQL (0.010259) describe `products`
2465
+ SQL (0.000249) SHOW KEYS FROM `products`
2466
+ SQL (0.001086) SHOW FIELDS FROM `projects`
2467
+ SQL (0.005179) describe `projects`
2468
+ SQL (0.000296) SHOW KEYS FROM `projects`
2469
+ SQL (0.001173) SHOW FIELDS FROM `somethings`
2470
+ SQL (0.001477) describe `somethings`
2471
+ SQL (0.000289) SHOW KEYS FROM `somethings`
2472
+ SQL (0.003958) SHOW FIELDS FROM `tags`
2473
+ SQL (0.001353) describe `tags`
2474
+ SQL (0.000609) SHOW KEYS FROM `tags`
2475
+ SQL (0.001166) SHOW FIELDS FROM `users`
2476
+ SQL (0.004538) describe `users`
2477
+ SQL (0.000295) SHOW KEYS FROM `users`
2478
+ SQL (0.000097) SET SQL_AUTO_IS_NULL=0
2479
+ SQL (0.037383) DROP DATABASE IF EXISTS `resource_controller_test`
2480
+ SQL (0.000343) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2481
+ SQL (0.000103) SET SQL_AUTO_IS_NULL=0
2482
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2483
+ SQL (0.022207) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2484
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2485
+ SQL (0.001488) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2486
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2487
+ SQL (0.003939) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2488
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2489
+ SQL (0.001992) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2490
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2491
+ SQL (0.020061) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2492
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2493
+ SQL (0.146102) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2494
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2495
+ SQL (0.034400) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2496
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2497
+ SQL (0.001710) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2498
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2499
+ SQL (0.004058) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2500
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2501
+ SQL (0.001531) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2502
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2503
+ SQL (0.004811) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2504
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2505
+ SQL (0.001614) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2506
+ SQL (0.001355) CREATE TABLE `schema_info` (version int(11))
2507
+ SQL (0.000362) INSERT INTO `schema_info` (version) VALUES(0)
2508
+ SQL (0.044361) SHOW FIELDS FROM `schema_info`
2509
+ SQL (0.000308) UPDATE schema_info SET version = 12
2510
+ SQL (0.000213) SET SQL_AUTO_IS_NULL=0
2511
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2512
+ SQL (0.000337) SELECT version FROM schema_info
2513
+ SQL (0.000097) SELECT version FROM schema_info
2514
+ SQL (0.000090) SELECT version FROM schema_info
2515
+ SQL (0.000091) SELECT version FROM schema_info
2516
+ SQL (0.000095) SELECT version FROM schema_info
2517
+ SQL (0.000089) SELECT version FROM schema_info
2518
+ SQL (0.000089) SELECT version FROM schema_info
2519
+ SQL (0.000089) SELECT version FROM schema_info
2520
+ SQL (0.000090) SELECT version FROM schema_info
2521
+ SQL (0.000089) SELECT version FROM schema_info
2522
+ SQL (0.000090) SELECT version FROM schema_info
2523
+ SQL (0.000089) SELECT version FROM schema_info
2524
+ SQL (0.000145) SELECT * FROM schema_info
2525
+ SQL (0.000349) SHOW TABLES
2526
+ SQL (0.001059) SHOW FIELDS FROM `accounts`
2527
+ SQL (0.010084) describe `accounts`
2528
+ SQL (0.000721) SHOW KEYS FROM `accounts`
2529
+ SQL (0.001419) SHOW FIELDS FROM `comments`
2530
+ SQL (0.001911) describe `comments`
2531
+ SQL (0.004166) SHOW KEYS FROM `comments`
2532
+ SQL (0.001501) SHOW FIELDS FROM `images`
2533
+ SQL (0.002084) describe `images`
2534
+ SQL (0.004302) SHOW KEYS FROM `images`
2535
+ SQL (0.001375) SHOW FIELDS FROM `options`
2536
+ SQL (0.001860) describe `options`
2537
+ SQL (0.004466) SHOW KEYS FROM `options`
2538
+ SQL (0.001278) SHOW FIELDS FROM `photos`
2539
+ SQL (0.001724) describe `photos`
2540
+ SQL (0.004580) SHOW KEYS FROM `photos`
2541
+ SQL (0.001227) SHOW FIELDS FROM `photos_tags`
2542
+ SQL (0.001425) describe `photos_tags`
2543
+ SQL (0.000666) SHOW KEYS FROM `photos_tags`
2544
+ SQL (0.004060) SHOW FIELDS FROM `posts`
2545
+ SQL (0.056640) describe `posts`
2546
+ SQL (0.000498) SHOW KEYS FROM `posts`
2547
+ SQL (0.001670) SHOW FIELDS FROM `products`
2548
+ SQL (0.001640) describe `products`
2549
+ SQL (0.000329) SHOW KEYS FROM `products`
2550
+ SQL (0.004307) SHOW FIELDS FROM `projects`
2551
+ SQL (0.001699) describe `projects`
2552
+ SQL (0.000579) SHOW KEYS FROM `projects`
2553
+ SQL (0.001178) SHOW FIELDS FROM `somethings`
2554
+ SQL (0.004128) describe `somethings`
2555
+ SQL (0.000618) SHOW KEYS FROM `somethings`
2556
+ SQL (0.001187) SHOW FIELDS FROM `tags`
2557
+ SQL (0.001660) describe `tags`
2558
+ SQL (0.004140) SHOW KEYS FROM `tags`
2559
+ SQL (0.001442) SHOW FIELDS FROM `users`
2560
+ SQL (0.007390) describe `users`
2561
+ SQL (0.000718) SHOW KEYS FROM `users`
2562
+ SQL (0.000093) SET SQL_AUTO_IS_NULL=0
2563
+ SQL (0.042304) DROP DATABASE IF EXISTS `resource_controller_test`
2564
+ SQL (0.000356) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2565
+ SQL (0.000096) SET SQL_AUTO_IS_NULL=0
2566
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2567
+ SQL (0.001652) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2568
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2569
+ SQL (0.020025) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2570
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2571
+ SQL (0.007159) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2572
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2573
+ SQL (0.001550) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2574
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2575
+ SQL (0.004907) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2576
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2577
+ SQL (0.001531) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2578
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2579
+ SQL (0.029006) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2580
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2581
+ SQL (0.001742) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2582
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2583
+ SQL (0.003828) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2584
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2585
+ SQL (0.001491) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2586
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2587
+ SQL (0.005259) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2588
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2589
+ SQL (0.001590) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2590
+ SQL (0.001447) CREATE TABLE `schema_info` (version int(11))
2591
+ SQL (0.000572) INSERT INTO `schema_info` (version) VALUES(0)
2592
+ SQL (0.042039) SHOW FIELDS FROM `schema_info`
2593
+ SQL (0.000349) UPDATE schema_info SET version = 12
2594
+ SQL (0.000190) SET SQL_AUTO_IS_NULL=0
2595
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2596
+ SQL (0.000334) SELECT version FROM schema_info
2597
+ SQL (0.000098) SELECT version FROM schema_info
2598
+ SQL (0.000091) SELECT version FROM schema_info
2599
+ SQL (0.000090) SELECT version FROM schema_info
2600
+ SQL (0.000089) SELECT version FROM schema_info
2601
+ SQL (0.000089) SELECT version FROM schema_info
2602
+ SQL (0.000089) SELECT version FROM schema_info
2603
+ SQL (0.000089) SELECT version FROM schema_info
2604
+ SQL (0.000089) SELECT version FROM schema_info
2605
+ SQL (0.000090) SELECT version FROM schema_info
2606
+ SQL (0.000089) SELECT version FROM schema_info
2607
+ SQL (0.000089) SELECT version FROM schema_info
2608
+ SQL (0.000136) SELECT * FROM schema_info
2609
+ SQL (0.000358) SHOW TABLES
2610
+ SQL (0.001381) SHOW FIELDS FROM `accounts`
2611
+ SQL (0.001118) describe `accounts`
2612
+ SQL (0.000255) SHOW KEYS FROM `accounts`
2613
+ SQL (0.025349) SHOW FIELDS FROM `comments`
2614
+ SQL (0.001775) describe `comments`
2615
+ SQL (0.000315) SHOW KEYS FROM `comments`
2616
+ SQL (0.001237) SHOW FIELDS FROM `images`
2617
+ SQL (0.005311) describe `images`
2618
+ SQL (0.000593) SHOW KEYS FROM `images`
2619
+ SQL (0.001655) SHOW FIELDS FROM `options`
2620
+ SQL (0.004396) describe `options`
2621
+ SQL (0.000634) SHOW KEYS FROM `options`
2622
+ SQL (0.001163) SHOW FIELDS FROM `photos`
2623
+ SQL (0.001304) describe `photos`
2624
+ SQL (0.004167) SHOW KEYS FROM `photos`
2625
+ SQL (0.001273) SHOW FIELDS FROM `photos_tags`
2626
+ SQL (0.002040) describe `photos_tags`
2627
+ SQL (0.004329) SHOW KEYS FROM `photos_tags`
2628
+ SQL (0.001027) SHOW FIELDS FROM `posts`
2629
+ SQL (0.056263) describe `posts`
2630
+ SQL (0.000476) SHOW KEYS FROM `posts`
2631
+ SQL (0.001515) SHOW FIELDS FROM `products`
2632
+ SQL (0.001664) describe `products`
2633
+ SQL (0.004211) SHOW KEYS FROM `products`
2634
+ SQL (0.001077) SHOW FIELDS FROM `projects`
2635
+ SQL (0.001087) describe `projects`
2636
+ SQL (0.000705) SHOW KEYS FROM `projects`
2637
+ SQL (0.003868) SHOW FIELDS FROM `somethings`
2638
+ SQL (0.001588) describe `somethings`
2639
+ SQL (0.000611) SHOW KEYS FROM `somethings`
2640
+ SQL (0.001160) SHOW FIELDS FROM `tags`
2641
+ SQL (0.005000) describe `tags`
2642
+ SQL (0.000245) SHOW KEYS FROM `tags`
2643
+ SQL (0.001170) SHOW FIELDS FROM `users`
2644
+ SQL (0.006063) describe `users`
2645
+ SQL (0.000351) SHOW KEYS FROM `users`
2646
+ SQL (0.000094) SET SQL_AUTO_IS_NULL=0
2647
+ SQL (0.033989) DROP DATABASE IF EXISTS `resource_controller_test`
2648
+ SQL (0.000353) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2649
+ SQL (0.000096) SET SQL_AUTO_IS_NULL=0
2650
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2651
+ SQL (0.001764) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2652
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2653
+ SQL (0.030085) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2654
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2655
+ SQL (0.001655) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2656
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2657
+ SQL (0.004544) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2658
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2659
+ SQL (0.001606) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2660
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2661
+ SQL (0.029111) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2662
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2663
+ SQL (0.001639) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2664
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2665
+ SQL (0.004554) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2666
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2667
+ SQL (0.001568) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2668
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2669
+ SQL (0.028986) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2670
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2671
+ SQL (0.001614) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2672
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2673
+ SQL (0.004897) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2674
+ SQL (0.001349) CREATE TABLE `schema_info` (version int(11))
2675
+ SQL (0.000442) INSERT INTO `schema_info` (version) VALUES(0)
2676
+ SQL (0.041307) SHOW FIELDS FROM `schema_info`
2677
+ SQL (0.000334) UPDATE schema_info SET version = 12
2678
+ DEPRECATION WARNING: config.action_view.cache_template_extensions option has been deprecated and has no affect. Please remove it from your config files. See http://www.rubyonrails.org/deprecation for details. (called from send at /Library/Ruby/Gems/1.8/gems/rails-2.1.0/lib/initializer.rb:455)
2679
+ SQL (0.000225) SET SQL_AUTO_IS_NULL=0
2680
+ SQL (0.000462) SHOW TABLES
2681
+ SQL (0.001725) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
2682
+ SQL (0.015826) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
2683
+ SQL (0.000456) SHOW TABLES
2684
+ SQL (0.030731) SELECT version FROM `schema_info`
2685
+ SQL (0.000282) SELECT version FROM `schema_migrations`
2686
+ SQL (0.000415) INSERT INTO `schema_migrations` (version) VALUES ('12')
2687
+ SQL (0.000443) INSERT INTO `schema_migrations` (version) VALUES ('1')
2688
+ SQL (0.000355) INSERT INTO `schema_migrations` (version) VALUES ('2')
2689
+ SQL (0.000445) INSERT INTO `schema_migrations` (version) VALUES ('3')
2690
+ SQL (0.000347) INSERT INTO `schema_migrations` (version) VALUES ('4')
2691
+ SQL (0.000425) INSERT INTO `schema_migrations` (version) VALUES ('5')
2692
+ SQL (0.000350) INSERT INTO `schema_migrations` (version) VALUES ('6')
2693
+ SQL (0.000442) INSERT INTO `schema_migrations` (version) VALUES ('7')
2694
+ SQL (0.000326) INSERT INTO `schema_migrations` (version) VALUES ('8')
2695
+ SQL (0.000454) INSERT INTO `schema_migrations` (version) VALUES ('9')
2696
+ SQL (0.000326) INSERT INTO `schema_migrations` (version) VALUES ('10')
2697
+ SQL (0.026821) DROP TABLE `schema_info`
2698
+ SQL (0.000165) SELECT version FROM schema_migrations
2699
+ SQL (0.000259) SELECT version FROM schema_migrations
2700
+ SQL (0.000369) SHOW TABLES
2701
+ SQL (0.092692) SHOW FIELDS FROM `accounts`
2702
+ SQL (0.001862) describe `accounts`
2703
+ SQL (0.000231) SHOW KEYS FROM `accounts`
2704
+ SQL (0.000868) SHOW FIELDS FROM `comments`
2705
+ SQL (0.001637) describe `comments`
2706
+ SQL (0.000602) SHOW KEYS FROM `comments`
2707
+ SQL (0.058131) SHOW FIELDS FROM `images`
2708
+ SQL (0.001797) describe `images`
2709
+ SQL (0.000673) SHOW KEYS FROM `images`
2710
+ SQL (0.001234) SHOW FIELDS FROM `options`
2711
+ SQL (0.001858) describe `options`
2712
+ SQL (0.000649) SHOW KEYS FROM `options`
2713
+ SQL (0.001118) SHOW FIELDS FROM `photos`
2714
+ SQL (0.000970) describe `photos`
2715
+ SQL (0.000694) SHOW KEYS FROM `photos`
2716
+ SQL (0.001352) SHOW FIELDS FROM `photos_tags`
2717
+ SQL (0.001153) describe `photos_tags`
2718
+ SQL (0.061887) SHOW KEYS FROM `photos_tags`
2719
+ SQL (0.001736) SHOW FIELDS FROM `posts`
2720
+ SQL (0.001944) describe `posts`
2721
+ SQL (0.000297) SHOW KEYS FROM `posts`
2722
+ SQL (0.001271) SHOW FIELDS FROM `products`
2723
+ SQL (0.001645) describe `products`
2724
+ SQL (0.000851) SHOW KEYS FROM `products`
2725
+ SQL (0.000773) SHOW FIELDS FROM `projects`
2726
+ SQL (0.001984) describe `projects`
2727
+ SQL (0.000578) SHOW KEYS FROM `projects`
2728
+ SQL (0.001079) SHOW FIELDS FROM `somethings`
2729
+ SQL (0.001471) describe `somethings`
2730
+ SQL (0.000252) SHOW KEYS FROM `somethings`
2731
+ SQL (0.000988) SHOW FIELDS FROM `tags`
2732
+ SQL (0.001380) describe `tags`
2733
+ SQL (0.000847) SHOW KEYS FROM `tags`
2734
+ SQL (0.070098) SHOW FIELDS FROM `users`
2735
+ SQL (0.001747) describe `users`
2736
+ SQL (0.000645) SHOW KEYS FROM `users`
2737
+ SQL (0.000104) SET SQL_AUTO_IS_NULL=0
2738
+ SQL (0.105228) DROP DATABASE IF EXISTS `resource_controller_test`
2739
+ SQL (0.000362) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2740
+ SQL (0.000090) SET SQL_AUTO_IS_NULL=0
2741
+ SQL (0.035327) SHOW TABLES
2742
+ SQL (0.002135) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2743
+ SQL (0.000334) SHOW TABLES
2744
+ SQL (0.001652) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` bigint(11) DEFAULT NULL NULL, `author` varchar(255) DEFAULT NULL NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
2745
+ SQL (0.000249) SHOW TABLES
2746
+ SQL (0.001592) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` bigint(11) DEFAULT NULL NULL, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
2747
+ SQL (0.000298) SHOW TABLES
2748
+ SQL (0.002188) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` bigint(11) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2749
+ SQL (0.000267) SHOW TABLES
2750
+ SQL (0.001628) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL, `account_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2751
+ SQL (0.000311) SHOW TABLES
2752
+ SQL (0.001708) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` bigint(11) DEFAULT NULL NULL, `tag_id` bigint(11) DEFAULT NULL NULL) ENGINE=InnoDB
2753
+ SQL (0.000270) SHOW TABLES
2754
+ SQL (0.001556) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NULL, `body` text DEFAULT NULL NULL) ENGINE=InnoDB
2755
+ SQL (0.000252) SHOW TABLES
2756
+ SQL (0.001779) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2757
+ SQL (0.000393) SHOW TABLES
2758
+ SQL (0.002153) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2759
+ SQL (0.000349) SHOW TABLES
2760
+ SQL (0.001785) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2761
+ SQL (0.000453) SHOW TABLES
2762
+ SQL (0.001714) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL NULL) ENGINE=InnoDB
2763
+ SQL (0.000281) SHOW TABLES
2764
+ SQL (0.001678) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL NULL, `updated_at` datetime DEFAULT NULL NULL) ENGINE=InnoDB
2765
+ SQL (0.000529) SHOW TABLES
2766
+ SQL (0.001839) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
2767
+ SQL (0.028582) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
2768
+ SQL (0.000402) SHOW TABLES
2769
+ SQL (0.000259) SELECT version FROM `schema_migrations`
2770
+ SQL (0.000429) INSERT INTO `schema_migrations` (version) VALUES ('12')
2771
+ SQL (0.000914) INSERT INTO `schema_migrations` (version) VALUES ('1')
2772
+ SQL (0.000415) INSERT INTO `schema_migrations` (version) VALUES ('2')
2773
+ SQL (0.000441) INSERT INTO `schema_migrations` (version) VALUES ('3')
2774
+ SQL (0.000331) INSERT INTO `schema_migrations` (version) VALUES ('4')
2775
+ SQL (0.000457) INSERT INTO `schema_migrations` (version) VALUES ('5')
2776
+ SQL (0.000358) INSERT INTO `schema_migrations` (version) VALUES ('6')
2777
+ SQL (0.000458) INSERT INTO `schema_migrations` (version) VALUES ('7')
2778
+ SQL (0.000360) INSERT INTO `schema_migrations` (version) VALUES ('8')
2779
+ SQL (0.000551) INSERT INTO `schema_migrations` (version) VALUES ('9')
2780
+ SQL (0.000439) INSERT INTO `schema_migrations` (version) VALUES ('10')
2781
+ SQL (0.000224) SET SQL_AUTO_IS_NULL=0
2782
+ SQL (0.001603) CREATE TABLE `schema_info` (version int(11))
2783
+ SQL (0.000399) INSERT INTO `schema_info` (version) VALUES(0)
2784
+ SQL (0.000308) SELECT version FROM schema_info
2785
+ SQL (0.000138) SELECT version FROM schema_info
2786
+ SQL (0.000112) SELECT version FROM schema_info
2787
+ SQL (0.000101) SELECT version FROM schema_info
2788
+ SQL (0.000092) SELECT version FROM schema_info
2789
+ SQL (0.000092) SELECT version FROM schema_info
2790
+ SQL (0.000090) SELECT version FROM schema_info
2791
+ SQL (0.000091) SELECT version FROM schema_info
2792
+ SQL (0.000089) SELECT version FROM schema_info
2793
+ SQL (0.000091) SELECT version FROM schema_info
2794
+ SQL (0.000089) SELECT version FROM schema_info
2795
+ SQL (0.000090) SELECT version FROM schema_info
2796
+ SQL (0.000191) SET SQL_AUTO_IS_NULL=0
2797
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2798
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2799
+ SQL (0.000318) SELECT version FROM schema_info
2800
+ Migrating to CreatePosts (1)
2801
+ SQL (0.000000) Mysql::Error: Table 'posts' already exists: CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT '') ENGINE=InnoDB
2802
+ SQL (0.000226) SET SQL_AUTO_IS_NULL=0
2803
+ SQL (0.016363) DROP DATABASE IF EXISTS `resource_controller_test`
2804
+ SQL (0.000125) SET SQL_AUTO_IS_NULL=0
2805
+ SQL (0.014521) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_general_ci`
2806
+ SQL (0.000246) SET SQL_AUTO_IS_NULL=0
2807
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2808
+ SQL (0.001726) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2809
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2810
+ SQL (0.030334) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2811
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2812
+ SQL (0.027443) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2813
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2814
+ SQL (0.019737) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2815
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2816
+ SQL (0.006508) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2817
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2818
+ SQL (0.032609) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2819
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2820
+ SQL (0.001751) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2821
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2822
+ SQL (0.004022) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2823
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2824
+ SQL (0.001652) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2825
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2826
+ SQL (0.004059) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2827
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2828
+ SQL (0.001642) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2829
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2830
+ SQL (0.004857) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2831
+ SQL (0.001440) CREATE TABLE `schema_info` (version int(11))
2832
+ SQL (0.000771) INSERT INTO `schema_info` (version) VALUES(0)
2833
+ SQL (0.015746) SHOW FIELDS FROM `schema_info`
2834
+ SQL (0.000492) UPDATE schema_info SET version = 12
2835
+ SQL (0.000212) SET SQL_AUTO_IS_NULL=0
2836
+ SQL (0.000000) Mysql::Error: Table 'schema_info' already exists: CREATE TABLE `schema_info` (version int(11))
2837
+ SQL (0.000329) SELECT version FROM schema_info
2838
+ SQL (0.000096) SELECT version FROM schema_info
2839
+ SQL (0.000093) SELECT version FROM schema_info
2840
+ SQL (0.000090) SELECT version FROM schema_info
2841
+ SQL (0.000092) SELECT version FROM schema_info
2842
+ SQL (0.000089) SELECT version FROM schema_info
2843
+ SQL (0.000120) SELECT version FROM schema_info
2844
+ SQL (0.000091) SELECT version FROM schema_info
2845
+ SQL (0.000194) SELECT version FROM schema_info
2846
+ SQL (0.000107) SELECT version FROM schema_info
2847
+ SQL (0.000099) SELECT version FROM schema_info
2848
+ SQL (0.000090) SELECT version FROM schema_info
2849
+ SQL (0.000157) SELECT * FROM schema_info
2850
+ SQL (0.000356) SHOW TABLES
2851
+ SQL (0.001511) SHOW FIELDS FROM `accounts`
2852
+ SQL (0.001227) describe `accounts`
2853
+ SQL (0.000453) SHOW KEYS FROM `accounts`
2854
+ SQL (0.016890) SHOW FIELDS FROM `comments`
2855
+ SQL (0.001334) describe `comments`
2856
+ SQL (0.000587) SHOW KEYS FROM `comments`
2857
+ SQL (0.001355) SHOW FIELDS FROM `images`
2858
+ SQL (0.004875) describe `images`
2859
+ SQL (0.000288) SHOW KEYS FROM `images`
2860
+ SQL (0.001290) SHOW FIELDS FROM `options`
2861
+ SQL (0.005047) describe `options`
2862
+ SQL (0.000309) SHOW KEYS FROM `options`
2863
+ SQL (0.001316) SHOW FIELDS FROM `photos`
2864
+ SQL (0.001220) describe `photos`
2865
+ SQL (0.000519) SHOW KEYS FROM `photos`
2866
+ SQL (0.003831) SHOW FIELDS FROM `photos_tags`
2867
+ SQL (0.001654) describe `photos_tags`
2868
+ SQL (0.000208) SHOW KEYS FROM `photos_tags`
2869
+ SQL (0.001349) SHOW FIELDS FROM `posts`
2870
+ SQL (0.046616) describe `posts`
2871
+ SQL (0.000548) SHOW KEYS FROM `posts`
2872
+ SQL (0.001633) SHOW FIELDS FROM `products`
2873
+ SQL (0.004317) describe `products`
2874
+ SQL (0.000663) SHOW KEYS FROM `products`
2875
+ SQL (0.001307) SHOW FIELDS FROM `projects`
2876
+ SQL (0.001126) describe `projects`
2877
+ SQL (0.004286) SHOW KEYS FROM `projects`
2878
+ SQL (0.001372) SHOW FIELDS FROM `somethings`
2879
+ SQL (0.001570) describe `somethings`
2880
+ SQL (0.004727) SHOW KEYS FROM `somethings`
2881
+ SQL (0.001297) SHOW FIELDS FROM `tags`
2882
+ SQL (0.002011) describe `tags`
2883
+ SQL (0.000223) SHOW KEYS FROM `tags`
2884
+ SQL (0.004051) SHOW FIELDS FROM `users`
2885
+ SQL (0.001732) describe `users`
2886
+ SQL (0.000743) SHOW KEYS FROM `users`
2887
+ SQL (0.000097) SET SQL_AUTO_IS_NULL=0
2888
+ SQL (0.013273) DROP DATABASE IF EXISTS `resource_controller_test`
2889
+ SQL (0.000382) CREATE DATABASE `resource_controller_test` DEFAULT CHARACTER SET `utf8`
2890
+ SQL (0.000097) SET SQL_AUTO_IS_NULL=0
2891
+ SQL (0.000000) Mysql::Error: Unknown table 'accounts': DROP TABLE `accounts`
2892
+ SQL (0.028025) CREATE TABLE `accounts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2893
+ SQL (0.000000) Mysql::Error: Unknown table 'comments': DROP TABLE `comments`
2894
+ SQL (0.001687) CREATE TABLE `comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `post_id` int(11) DEFAULT NULL, `author` varchar(255) DEFAULT NULL, `body` text DEFAULT NULL) ENGINE=InnoDB
2895
+ SQL (0.000000) Mysql::Error: Unknown table 'images': DROP TABLE `images`
2896
+ SQL (0.004615) CREATE TABLE `images` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11) DEFAULT NULL, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2897
+ SQL (0.000000) Mysql::Error: Unknown table 'options': DROP TABLE `options`
2898
+ SQL (0.001794) CREATE TABLE `options` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `product_id` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2899
+ SQL (0.000000) Mysql::Error: Unknown table 'photos': DROP TABLE `photos`
2900
+ SQL (0.001626) CREATE TABLE `photos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL, `account_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2901
+ SQL (0.000000) Mysql::Error: Unknown table 'photos_tags': DROP TABLE `photos_tags`
2902
+ SQL (0.001662) CREATE TABLE `photos_tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `photo_id` int(11) DEFAULT NULL, `tag_id` int(11) DEFAULT NULL) ENGINE=InnoDB
2903
+ SQL (0.000000) Mysql::Error: Unknown table 'posts': DROP TABLE `posts`
2904
+ SQL (0.001654) CREATE TABLE `posts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '', `body` text DEFAULT NULL) ENGINE=InnoDB
2905
+ SQL (0.000000) Mysql::Error: Unknown table 'products': DROP TABLE `products`
2906
+ SQL (0.001608) CREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2907
+ SQL (0.000000) Mysql::Error: Unknown table 'projects': DROP TABLE `projects`
2908
+ SQL (0.002067) CREATE TABLE `projects` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2909
+ SQL (0.000000) Mysql::Error: Unknown table 'somethings': DROP TABLE `somethings`
2910
+ SQL (0.022313) CREATE TABLE `somethings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2911
+ SQL (0.000000) Mysql::Error: Unknown table 'tags': DROP TABLE `tags`
2912
+ SQL (0.001668) CREATE TABLE `tags` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
2913
+ SQL (0.000000) Mysql::Error: Unknown table 'users': DROP TABLE `users`
2914
+ SQL (0.004667) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime DEFAULT NULL, `updated_at` datetime DEFAULT NULL) ENGINE=InnoDB
2915
+ SQL (0.001308) CREATE TABLE `schema_info` (version int(11))
2916
+ SQL (0.000385) INSERT INTO `schema_info` (version) VALUES(0)
2917
+ SQL (0.042245) SHOW FIELDS FROM `schema_info`
2918
+ SQL (0.000326) UPDATE schema_info SET version = 12