control 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. data/Gemfile +3 -0
  2. data/README.md +87 -0
  3. data/Rakefile +18 -0
  4. data/control.gemspec +19 -0
  5. data/db/migrate/create_transitions.rb +18 -0
  6. data/db/schema.rb +14 -0
  7. data/lib/control/errors.rb +19 -0
  8. data/lib/control/state.rb +135 -0
  9. data/lib/control/transition.rb +53 -0
  10. data/lib/control/workflow.rb +52 -0
  11. data/lib/generators/control_install/USAGE +8 -0
  12. data/lib/generators/control_install/control_install_generator.rb +22 -0
  13. data/test/lib/control/state_test.rb +80 -0
  14. data/test/lib/control/transition_test.rb +84 -0
  15. data/test/lib/control/workflow_test.rb +107 -0
  16. data/test/rails_app/Gemfile +22 -0
  17. data/test/rails_app/Gemfile.lock +130 -0
  18. data/test/rails_app/README.rdoc +261 -0
  19. data/test/rails_app/Rakefile +7 -0
  20. data/test/rails_app/app/assets/images/rails.png +0 -0
  21. data/test/rails_app/app/assets/javascripts/application.js +15 -0
  22. data/test/rails_app/app/assets/javascripts/assemblies.js.coffee +3 -0
  23. data/test/rails_app/app/assets/javascripts/boxes.js.coffee +3 -0
  24. data/test/rails_app/app/assets/javascripts/products.js.coffee +3 -0
  25. data/test/rails_app/app/assets/javascripts/rejects.js.coffee +3 -0
  26. data/test/rails_app/app/assets/javascripts/validates.js.coffee +3 -0
  27. data/test/rails_app/app/assets/stylesheets/application.css +13 -0
  28. data/test/rails_app/app/assets/stylesheets/assemblies.css.scss +3 -0
  29. data/test/rails_app/app/assets/stylesheets/boxes.css.scss +3 -0
  30. data/test/rails_app/app/assets/stylesheets/products.css.scss +8 -0
  31. data/test/rails_app/app/assets/stylesheets/rejects.css.scss +3 -0
  32. data/test/rails_app/app/assets/stylesheets/scaffolds.css.scss +56 -0
  33. data/test/rails_app/app/assets/stylesheets/validates.css.scss +3 -0
  34. data/test/rails_app/app/controllers/application_controller.rb +3 -0
  35. data/test/rails_app/app/controllers/assemblies_controller.rb +88 -0
  36. data/test/rails_app/app/controllers/boxes_controller.rb +88 -0
  37. data/test/rails_app/app/controllers/products_controller.rb +83 -0
  38. data/test/rails_app/app/controllers/rejects_controller.rb +88 -0
  39. data/test/rails_app/app/controllers/validates_controller.rb +88 -0
  40. data/test/rails_app/app/helpers/application_helper.rb +2 -0
  41. data/test/rails_app/app/helpers/assemblies_helper.rb +2 -0
  42. data/test/rails_app/app/helpers/boxes_helper.rb +2 -0
  43. data/test/rails_app/app/helpers/products_helper.rb +14 -0
  44. data/test/rails_app/app/helpers/rejects_helper.rb +2 -0
  45. data/test/rails_app/app/helpers/validates_helper.rb +2 -0
  46. data/test/rails_app/app/models/assembly.rb +6 -0
  47. data/test/rails_app/app/models/box.rb +5 -0
  48. data/test/rails_app/app/models/product.rb +8 -0
  49. data/test/rails_app/app/models/reject.rb +6 -0
  50. data/test/rails_app/app/models/validate.rb +6 -0
  51. data/test/rails_app/app/views/assemblies/_form.html.erb +24 -0
  52. data/test/rails_app/app/views/assemblies/edit.html.erb +6 -0
  53. data/test/rails_app/app/views/assemblies/index.html.erb +25 -0
  54. data/test/rails_app/app/views/assemblies/new.html.erb +5 -0
  55. data/test/rails_app/app/views/assemblies/show.html.erb +14 -0
  56. data/test/rails_app/app/views/boxes/_form.html.erb +24 -0
  57. data/test/rails_app/app/views/boxes/edit.html.erb +6 -0
  58. data/test/rails_app/app/views/boxes/index.html.erb +25 -0
  59. data/test/rails_app/app/views/boxes/new.html.erb +5 -0
  60. data/test/rails_app/app/views/boxes/show.html.erb +14 -0
  61. data/test/rails_app/app/views/layouts/application.html.erb +14 -0
  62. data/test/rails_app/app/views/products/_form.html.erb +21 -0
  63. data/test/rails_app/app/views/products/edit.html.erb +6 -0
  64. data/test/rails_app/app/views/products/index.html.erb +23 -0
  65. data/test/rails_app/app/views/products/new.html.erb +5 -0
  66. data/test/rails_app/app/views/products/show.html.erb +34 -0
  67. data/test/rails_app/app/views/rejects/_form.html.erb +20 -0
  68. data/test/rails_app/app/views/rejects/edit.html.erb +6 -0
  69. data/test/rails_app/app/views/rejects/index.html.erb +23 -0
  70. data/test/rails_app/app/views/rejects/new.html.erb +5 -0
  71. data/test/rails_app/app/views/rejects/show.html.erb +9 -0
  72. data/test/rails_app/app/views/validates/_form.html.erb +40 -0
  73. data/test/rails_app/app/views/validates/edit.html.erb +6 -0
  74. data/test/rails_app/app/views/validates/index.html.erb +33 -0
  75. data/test/rails_app/app/views/validates/new.html.erb +5 -0
  76. data/test/rails_app/app/views/validates/show.html.erb +35 -0
  77. data/test/rails_app/config.ru +4 -0
  78. data/test/rails_app/config/application.rb +59 -0
  79. data/test/rails_app/config/boot.rb +6 -0
  80. data/test/rails_app/config/database.yml +25 -0
  81. data/test/rails_app/config/environment.rb +5 -0
  82. data/test/rails_app/config/environments/development.rb +37 -0
  83. data/test/rails_app/config/environments/production.rb +67 -0
  84. data/test/rails_app/config/environments/test.rb +37 -0
  85. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  86. data/test/rails_app/config/initializers/inflections.rb +15 -0
  87. data/test/rails_app/config/initializers/mime_types.rb +5 -0
  88. data/test/rails_app/config/initializers/secret_token.rb +7 -0
  89. data/test/rails_app/config/initializers/session_store.rb +8 -0
  90. data/test/rails_app/config/initializers/wrap_parameters.rb +14 -0
  91. data/test/rails_app/config/locales/en.yml +5 -0
  92. data/test/rails_app/config/routes.rb +68 -0
  93. data/test/rails_app/db/development.sqlite3 +0 -0
  94. data/test/rails_app/db/migrate/20120126165218_create_products.rb +8 -0
  95. data/test/rails_app/db/migrate/20120126165821_add_codename_to_products.rb +6 -0
  96. data/test/rails_app/db/migrate/20120126173019_create_validates.rb +14 -0
  97. data/test/rails_app/db/migrate/20120126173232_create_assemblies.rb +10 -0
  98. data/test/rails_app/db/migrate/20120126173516_create_boxes.rb +10 -0
  99. data/test/rails_app/db/migrate/20120126173539_create_rejects.rb +9 -0
  100. data/test/rails_app/db/migrate/20120126174101_create_transitions.rb +18 -0
  101. data/test/rails_app/db/schema.rb +64 -0
  102. data/test/rails_app/db/seeds.rb +7 -0
  103. data/test/rails_app/db/test.sqlite3 +0 -0
  104. data/test/rails_app/doc/README_FOR_APP +2 -0
  105. data/test/rails_app/log/development.log +8963 -0
  106. data/test/rails_app/log/test.log +321 -0
  107. data/test/rails_app/public/404.html +26 -0
  108. data/test/rails_app/public/422.html +26 -0
  109. data/test/rails_app/public/500.html +25 -0
  110. data/test/rails_app/public/favicon.ico +0 -0
  111. data/test/rails_app/public/index.html.old +241 -0
  112. data/test/rails_app/public/robots.txt +5 -0
  113. data/test/rails_app/script/rails +6 -0
  114. data/test/rails_app/test/fixtures/assemblies.yml +9 -0
  115. data/test/rails_app/test/fixtures/boxes.yml +9 -0
  116. data/test/rails_app/test/fixtures/products.yml +11 -0
  117. data/test/rails_app/test/fixtures/rejects.yml +7 -0
  118. data/test/rails_app/test/fixtures/validates.yml +17 -0
  119. data/test/rails_app/test/functional/assemblies_controller_test.rb +49 -0
  120. data/test/rails_app/test/functional/boxes_controller_test.rb +49 -0
  121. data/test/rails_app/test/functional/products_controller_test.rb +49 -0
  122. data/test/rails_app/test/functional/rejects_controller_test.rb +49 -0
  123. data/test/rails_app/test/functional/validates_controller_test.rb +49 -0
  124. data/test/rails_app/test/performance/browsing_test.rb +12 -0
  125. data/test/rails_app/test/test_helper.rb +13 -0
  126. data/test/rails_app/test/unit/assembly_test.rb +7 -0
  127. data/test/rails_app/test/unit/box_test.rb +7 -0
  128. data/test/rails_app/test/unit/helpers/assemblies_helper_test.rb +4 -0
  129. data/test/rails_app/test/unit/helpers/boxes_helper_test.rb +4 -0
  130. data/test/rails_app/test/unit/helpers/products_helper_test.rb +4 -0
  131. data/test/rails_app/test/unit/helpers/rejects_helper_test.rb +4 -0
  132. data/test/rails_app/test/unit/helpers/validates_helper_test.rb +4 -0
  133. data/test/rails_app/test/unit/product_test.rb +7 -0
  134. data/test/rails_app/test/unit/reject_test.rb +7 -0
  135. data/test/rails_app/test/unit/validate_test.rb +7 -0
  136. data/test/rails_app/tmp/cache/assets/CD7/6F0/sprockets%2Fbd3936370d0f952ada5774e2230046ed +0 -0
  137. data/test/rails_app/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  138. data/test/rails_app/tmp/cache/assets/CDF/890/sprockets%2F1380c8a9a90c9434c33ea3a2b759546f +0 -0
  139. data/test/rails_app/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +0 -0
  140. data/test/rails_app/tmp/cache/assets/CF1/E50/sprockets%2F627ffd39f3642a2a236775d77839fac3 +0 -0
  141. data/test/rails_app/tmp/cache/assets/CFC/170/sprockets%2F80efc018414af123b11d0c6485e87b1b +0 -0
  142. data/test/rails_app/tmp/cache/assets/D0B/B40/sprockets%2F2eace11b521905c77d38470c975fa28a +0 -0
  143. data/test/rails_app/tmp/cache/assets/D13/8E0/sprockets%2F4476d1e237763ebe413a93e0ae559e6b +0 -0
  144. data/test/rails_app/tmp/cache/assets/D13/E20/sprockets%2F382583b312ba3d6f09b596f6bb63a98b +0 -0
  145. data/test/rails_app/tmp/cache/assets/D15/750/sprockets%2F4cc25a6e69224dc83fed65a4242479c5 +0 -0
  146. data/test/rails_app/tmp/cache/assets/D1B/3B0/sprockets%2F0098fc768cb8d9c834fcb13163c85b54 +0 -0
  147. data/test/rails_app/tmp/cache/assets/D20/C40/sprockets%2F46d84fd895a96b157269bd6b7bae2623 +0 -0
  148. data/test/rails_app/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  149. data/test/rails_app/tmp/cache/assets/D3F/4A0/sprockets%2Fba62c891c908a4219fb4d2005f886aee +0 -0
  150. data/test/rails_app/tmp/cache/assets/D45/C10/sprockets%2F29eede3408740d29d159a8367d1abe4e +0 -0
  151. data/test/rails_app/tmp/cache/assets/D4B/EC0/sprockets%2Fb261fa987a3e88f07b352eba69495e3b +0 -0
  152. data/test/rails_app/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  153. data/test/rails_app/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  154. data/test/rails_app/tmp/cache/assets/D65/620/sprockets%2Fc821c64ad244b34cd1c92ce6e4844f2a +0 -0
  155. data/test/rails_app/tmp/cache/assets/D78/F10/sprockets%2Fc81a77308c5e0c2b8efc69bece538149 +0 -0
  156. data/test/rails_app/tmp/cache/assets/D7B/040/sprockets%2F2ea981ebd7b7a34bd9d75f626f81c526 +0 -0
  157. data/test/rails_app/tmp/cache/assets/D9C/4A0/sprockets%2Fc15750bf0161f2878cf9da9bb1a84ecb +0 -0
  158. data/test/rails_app/tmp/cache/assets/DA2/120/sprockets%2Fdfd12e4fb8ce07a2d3c4856974a2f4e3 +0 -0
  159. data/test/rails_app/tmp/cache/assets/DA9/180/sprockets%2F1eca18f8334b5ce5f73e18d778bc7e3b +0 -0
  160. data/test/rails_app/tmp/cache/assets/DB4/120/sprockets%2Fc4ad185fad2acc8f1133bb2a80f400d7 +0 -0
  161. data/test/rails_app/tmp/cache/assets/DD2/B40/sprockets%2Ff8f229b2c6e61975aca38da7a1cb7b8c +0 -0
  162. data/test/rails_app/tmp/cache/assets/DD5/CF0/sprockets%2Fac6d0c5baedfe70588f57e99b0c4c722 +0 -0
  163. data/test/rails_app/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  164. data/test/rails_app/tmp/cache/assets/DDD/AE0/sprockets%2F524b597ade6bc1d79c9a4ffd6e3682bd +0 -0
  165. data/test/rails_app/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  166. data/test/rails_app/tmp/cache/assets/E06/E60/sprockets%2F1afcf29a4e0c835cb47d9bf28cf8a86b +0 -0
  167. data/test/rails_app/tmp/cache/assets/E19/2A0/sprockets%2F10fcfbe6ebae11a40c8eac41939a1b9a +0 -0
  168. data/test/rails_app/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6 +0 -0
  169. data/test/rails_app/tmp/cache/assets/E35/980/sprockets%2Fa5beac77f747ffbc71d32edecf38904a +0 -0
  170. data/test/rails_app/tmp/cache/sass/0caf4829b2adaabee514492a80140305d59a00b9/assemblies.css.scssc +0 -0
  171. data/test/rails_app/tmp/cache/sass/0caf4829b2adaabee514492a80140305d59a00b9/boxes.css.scssc +0 -0
  172. data/test/rails_app/tmp/cache/sass/0caf4829b2adaabee514492a80140305d59a00b9/products.css.scssc +0 -0
  173. data/test/rails_app/tmp/cache/sass/0caf4829b2adaabee514492a80140305d59a00b9/rejects.css.scssc +0 -0
  174. data/test/rails_app/tmp/cache/sass/0caf4829b2adaabee514492a80140305d59a00b9/scaffolds.css.scssc +0 -0
  175. data/test/rails_app/tmp/cache/sass/0caf4829b2adaabee514492a80140305d59a00b9/validates.css.scssc +0 -0
  176. data/test/test_helper.rb +67 -0
  177. data/test/test_schema.rb +32 -0
  178. metadata +210 -1
@@ -0,0 +1,321 @@
1
+  (0.1ms) begin transaction
2
+ Fixture Delete (0.4ms) DELETE FROM "boxes"
3
+ Fixture Insert (0.3ms) INSERT INTO "boxes" ("ribbon_color", "product_id", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 980190962)
4
+ Fixture Insert (0.1ms) INSERT INTO "boxes" ("ribbon_color", "product_id", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 298486374)
5
+ Fixture Delete (0.1ms) DELETE FROM "rejects"
6
+ Fixture Insert (0.1ms) INSERT INTO "rejects" ("product_id", "created_at", "updated_at", "id") VALUES (1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 980190962)
7
+ Fixture Insert (0.1ms) INSERT INTO "rejects" ("product_id", "created_at", "updated_at", "id") VALUES (1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 298486374)
8
+ Fixture Delete (0.1ms) DELETE FROM "products"
9
+ Fixture Insert (0.1ms) INSERT INTO "products" ("created_at", "updated_at", "id") VALUES ('2012-01-27 15:27:47', '2012-01-27 15:27:47', 980190962)
10
+ Fixture Insert (0.1ms) INSERT INTO "products" ("created_at", "updated_at", "id") VALUES ('2012-01-27 15:27:47', '2012-01-27 15:27:47', 298486374)
11
+ Fixture Delete (0.1ms) DELETE FROM "validates"
12
+ Fixture Insert (0.1ms) INSERT INTO "validates" ("standing_test", "sitting_test", "fat_guy_test", "evel_knievel_jumping_test", "tester", "product_id", "created_at", "updated_at", "id") VALUES ('f', 'f', 'f', 'f', 'MyString', 1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 980190962)
13
+ Fixture Insert (0.1ms) INSERT INTO "validates" ("standing_test", "sitting_test", "fat_guy_test", "evel_knievel_jumping_test", "tester", "product_id", "created_at", "updated_at", "id") VALUES ('f', 'f', 'f', 'f', 'MyString', 1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 298486374)
14
+ Fixture Delete (0.1ms) DELETE FROM "assemblies"
15
+ Fixture Insert (0.1ms) INSERT INTO "assemblies" ("assembler", "product_id", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 980190962)
16
+ Fixture Insert (0.1ms) INSERT INTO "assemblies" ("assembler", "product_id", "created_at", "updated_at", "id") VALUES ('MyString', 1, '2012-01-27 15:27:47', '2012-01-27 15:27:47', 298486374)
17
+  (76.0ms) commit transaction
18
+  (0.1ms) begin transaction
19
+ Assembly Load (0.4ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", 980190962]]
20
+  (0.1ms) SELECT COUNT(*) FROM "assemblies"
21
+ Processing by AssembliesController#create as HTML
22
+ Parameters: {"assembly"=>{"id"=>"980190962", "assembler"=>"MyString", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}}
23
+  (0.1ms) SAVEPOINT active_record_1
24
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
25
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
26
+ Completed 500 Internal Server Error in 50ms
27
+  (0.1ms) rollback transaction
28
+  (0.1ms) begin transaction
29
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", 980190962]]
30
+  (0.1ms) SELECT COUNT(*) FROM "assemblies" 
31
+ Processing by AssembliesController#destroy as HTML
32
+ Parameters: {"id"=>"980190962"}
33
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", "980190962"]]
34
+  (0.1ms) SAVEPOINT active_record_1
35
+ SQL (0.3ms) DELETE FROM "assemblies" WHERE "assemblies"."id" = ? [["id", 980190962]]
36
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37
+ Redirected to http://test.host/assemblies
38
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
39
+  (0.1ms) SELECT COUNT(*) FROM "assemblies"
40
+  (0.2ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", 980190962]]
43
+ Processing by AssembliesController#edit as HTML
44
+ Parameters: {"id"=>"980190962"}
45
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", "980190962"]]
46
+ Rendered assemblies/_form.html.erb (9.2ms)
47
+ Completed 200 OK in 63ms (Views: 61.8ms | ActiveRecord: 0.1ms)
48
+  (0.1ms) rollback transaction
49
+  (0.1ms) begin transaction
50
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", 980190962]]
51
+ Processing by AssembliesController#index as HTML
52
+ Assembly Load (0.2ms) SELECT "assemblies".* FROM "assemblies"
53
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
54
+  (0.1ms) rollback transaction
55
+  (0.1ms) begin transaction
56
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", 980190962]]
57
+ Processing by AssembliesController#new as HTML
58
+ Completed 200 OK in 35ms (Views: 34.7ms | ActiveRecord: 0.0ms)
59
+  (0.1ms) rollback transaction
60
+  (0.1ms) begin transaction
61
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", 980190962]]
62
+ Processing by AssembliesController#show as HTML
63
+ Parameters: {"id"=>"980190962"}
64
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", "980190962"]]
65
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
66
+ Completed 500 Internal Server Error in 12ms
67
+  (0.1ms) rollback transaction
68
+  (0.1ms) begin transaction
69
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", 980190962]]
70
+ Processing by AssembliesController#update as HTML
71
+ Parameters: {"assembly"=>{"id"=>"980190962", "assembler"=>"MyString", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}, "id"=>"980190962"}
72
+ Assembly Load (0.1ms) SELECT "assemblies".* FROM "assemblies" WHERE "assemblies"."id" = ? LIMIT 1 [["id", "980190962"]]
73
+  (0.1ms) SAVEPOINT active_record_1
74
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
75
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
76
+ Completed 500 Internal Server Error in 5ms
77
+  (0.1ms) rollback transaction
78
+  (0.1ms) begin transaction
79
+ Box Load (0.2ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", 980190962]]
80
+  (0.1ms) SELECT COUNT(*) FROM "boxes" 
81
+ Processing by BoxesController#create as HTML
82
+ Parameters: {"box"=>{"id"=>"980190962", "ribbon_color"=>"MyString", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}}
83
+  (0.1ms) SAVEPOINT active_record_1
84
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
85
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
86
+ Completed 500 Internal Server Error in 7ms
87
+  (0.1ms) rollback transaction
88
+  (0.1ms) begin transaction
89
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", 980190962]]
90
+  (0.1ms) SELECT COUNT(*) FROM "boxes"
91
+ Processing by BoxesController#destroy as HTML
92
+ Parameters: {"id"=>"980190962"}
93
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", "980190962"]]
94
+  (0.1ms) SAVEPOINT active_record_1
95
+ SQL (0.3ms) DELETE FROM "boxes" WHERE "boxes"."id" = ? [["id", 980190962]]
96
+  (0.1ms) RELEASE SAVEPOINT active_record_1
97
+ Redirected to http://test.host/boxes
98
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
99
+  (0.1ms) SELECT COUNT(*) FROM "boxes" 
100
+  (0.2ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", 980190962]]
103
+ Processing by BoxesController#edit as HTML
104
+ Parameters: {"id"=>"980190962"}
105
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", "980190962"]]
106
+ Rendered boxes/_form.html.erb (5.2ms)
107
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.1ms)
108
+  (0.1ms) rollback transaction
109
+  (0.1ms) begin transaction
110
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", 980190962]]
111
+ Processing by BoxesController#index as HTML
112
+ Box Load (0.2ms) SELECT "boxes".* FROM "boxes" 
113
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
114
+  (0.1ms) rollback transaction
115
+  (0.1ms) begin transaction
116
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", 980190962]]
117
+ Processing by BoxesController#new as HTML
118
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
119
+  (0.1ms) rollback transaction
120
+  (0.1ms) begin transaction
121
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", 980190962]]
122
+ Processing by BoxesController#show as HTML
123
+ Parameters: {"id"=>"980190962"}
124
+ Box Load (0.2ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", "980190962"]]
125
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
126
+ Completed 500 Internal Server Error in 44ms
127
+  (0.1ms) rollback transaction
128
+  (0.1ms) begin transaction
129
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", 980190962]]
130
+ Processing by BoxesController#update as HTML
131
+ Parameters: {"box"=>{"id"=>"980190962", "ribbon_color"=>"MyString", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}, "id"=>"980190962"}
132
+ Box Load (0.1ms) SELECT "boxes".* FROM "boxes" WHERE "boxes"."id" = ? LIMIT 1 [["id", "980190962"]]
133
+  (0.1ms) SAVEPOINT active_record_1
134
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
135
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
136
+ Completed 500 Internal Server Error in 6ms
137
+  (0.1ms) rollback transaction
138
+  (0.1ms) begin transaction
139
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190962]]
140
+  (0.2ms) SELECT COUNT(*) FROM "products"
141
+ Processing by ProductsController#create as HTML
142
+ Parameters: {"product"=>{"id"=>"980190962", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC", "codename"=>nil}}
143
+  (0.1ms) SAVEPOINT active_record_1
144
+ SQL (0.6ms) INSERT INTO "products" ("codename", "created_at", "updated_at") VALUES (?, ?, ?) [["codename", nil], ["created_at", Fri, 27 Jan 2012 15:27:47 UTC +00:00], ["updated_at", Fri, 27 Jan 2012 15:27:47 UTC +00:00]]
145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146
+ Redirected to http://test.host/products/980190963
147
+ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
148
+  (0.1ms) SELECT COUNT(*) FROM "products"
149
+  (0.2ms) rollback transaction
150
+  (0.1ms) begin transaction
151
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190962]]
152
+  (0.2ms) SELECT COUNT(*) FROM "products"
153
+ Processing by ProductsController#destroy as HTML
154
+ Parameters: {"id"=>"980190962"}
155
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", "980190962"]]
156
+  (0.1ms) SAVEPOINT active_record_1
157
+ SQL (0.3ms) DELETE FROM "products" WHERE "products"."id" = ? [["id", 980190962]]
158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
159
+ Redirected to http://test.host/products
160
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
161
+  (0.1ms) SELECT COUNT(*) FROM "products" 
162
+  (0.2ms) rollback transaction
163
+  (0.1ms) begin transaction
164
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190962]]
165
+ Processing by ProductsController#edit as HTML
166
+ Parameters: {"id"=>"980190962"}
167
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", "980190962"]]
168
+ Rendered products/_form.html.erb (3.5ms)
169
+ Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.2ms)
170
+  (0.1ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190962]]
173
+ Processing by ProductsController#index as HTML
174
+ Product Load (0.2ms) SELECT "products".* FROM "products" 
175
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.2ms)
176
+  (0.2ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190962]]
179
+ Processing by ProductsController#new as HTML
180
+ Rendered products/_form.html.erb (2.5ms)
181
+ Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms)
182
+  (0.1ms) rollback transaction
183
+  (0.1ms) begin transaction
184
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190962]]
185
+ Processing by ProductsController#show as HTML
186
+ Parameters: {"id"=>"980190962"}
187
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", "980190962"]]
188
+ Control::Transition Load (0.2ms) SELECT "transitions".* FROM "transitions" WHERE "transitions"."workflow_class" = 'Product' AND "transitions"."workflow_id" = 980190962 ORDER BY "transitions"."id" DESC LIMIT 1
189
+ Control::Transition Load (0.2ms) SELECT "transitions".* FROM "transitions" WHERE "transitions"."workflow_class" = 'Product' AND "transitions"."workflow_id" = 980190962
190
+ Completed 200 OK in 18ms (Views: 15.9ms | ActiveRecord: 0.8ms)
191
+  (0.1ms) rollback transaction
192
+  (0.1ms) begin transaction
193
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 980190962]]
194
+ Processing by ProductsController#update as HTML
195
+ Parameters: {"product"=>{"id"=>"980190962", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC", "codename"=>nil}, "id"=>"980190962"}
196
+ Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", "980190962"]]
197
+  (0.1ms) SAVEPOINT active_record_1
198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
199
+ Redirected to http://test.host/products/980190962
200
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
201
+  (0.1ms) rollback transaction
202
+  (0.1ms) begin transaction
203
+ Reject Load (0.2ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", 980190962]]
204
+  (0.2ms) SELECT COUNT(*) FROM "rejects"
205
+ Processing by RejectsController#create as HTML
206
+ Parameters: {"reject"=>{"id"=>"980190962", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}}
207
+  (0.1ms) SAVEPOINT active_record_1
208
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
209
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
210
+ Completed 500 Internal Server Error in 6ms
211
+  (0.1ms) rollback transaction
212
+  (0.1ms) begin transaction
213
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", 980190962]]
214
+  (0.1ms) SELECT COUNT(*) FROM "rejects" 
215
+ Processing by RejectsController#destroy as HTML
216
+ Parameters: {"id"=>"980190962"}
217
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", "980190962"]]
218
+  (0.1ms) SAVEPOINT active_record_1
219
+ SQL (0.3ms) DELETE FROM "rejects" WHERE "rejects"."id" = ? [["id", 980190962]]
220
+  (0.1ms) RELEASE SAVEPOINT active_record_1
221
+ Redirected to http://test.host/rejects
222
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
223
+  (0.1ms) SELECT COUNT(*) FROM "rejects"
224
+  (0.2ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", 980190962]]
227
+ Processing by RejectsController#edit as HTML
228
+ Parameters: {"id"=>"980190962"}
229
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", "980190962"]]
230
+ Rendered rejects/_form.html.erb (3.9ms)
231
+ Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.1ms)
232
+  (0.1ms) rollback transaction
233
+  (0.1ms) begin transaction
234
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", 980190962]]
235
+ Processing by RejectsController#index as HTML
236
+ Reject Load (0.2ms) SELECT "rejects".* FROM "rejects"
237
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
238
+  (0.1ms) rollback transaction
239
+  (0.1ms) begin transaction
240
+ Reject Load (0.2ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", 980190962]]
241
+ Processing by RejectsController#new as HTML
242
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
243
+  (0.1ms) rollback transaction
244
+  (0.1ms) begin transaction
245
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", 980190962]]
246
+ Processing by RejectsController#show as HTML
247
+ Parameters: {"id"=>"980190962"}
248
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", "980190962"]]
249
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
250
+ Completed 500 Internal Server Error in 6ms
251
+  (0.1ms) rollback transaction
252
+  (0.1ms) begin transaction
253
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", 980190962]]
254
+ Processing by RejectsController#update as HTML
255
+ Parameters: {"reject"=>{"id"=>"980190962", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}, "id"=>"980190962"}
256
+ Reject Load (0.1ms) SELECT "rejects".* FROM "rejects" WHERE "rejects"."id" = ? LIMIT 1 [["id", "980190962"]]
257
+  (0.1ms) SAVEPOINT active_record_1
258
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
259
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
260
+ Completed 500 Internal Server Error in 6ms
261
+  (0.1ms) rollback transaction
262
+  (0.1ms) begin transaction
263
+ Validate Load (0.3ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", 980190962]]
264
+  (0.1ms) SELECT COUNT(*) FROM "validates" 
265
+ Processing by ValidatesController#create as HTML
266
+ Parameters: {"validate"=>{"id"=>"980190962", "standing_test"=>false, "sitting_test"=>false, "fat_guy_test"=>false, "evel_knievel_jumping_test"=>false, "tester"=>"MyString", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}}
267
+  (0.1ms) SAVEPOINT active_record_1
268
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
269
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
270
+ Completed 500 Internal Server Error in 6ms
271
+  (0.1ms) rollback transaction
272
+  (0.1ms) begin transaction
273
+ Validate Load (0.2ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", 980190962]]
274
+  (0.2ms) SELECT COUNT(*) FROM "validates"
275
+ Processing by ValidatesController#destroy as HTML
276
+ Parameters: {"id"=>"980190962"}
277
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", "980190962"]]
278
+  (0.1ms) SAVEPOINT active_record_1
279
+ SQL (0.3ms) DELETE FROM "validates" WHERE "validates"."id" = ? [["id", 980190962]]
280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
281
+ Redirected to http://test.host/validates
282
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
283
+  (0.1ms) SELECT COUNT(*) FROM "validates" 
284
+  (0.2ms) rollback transaction
285
+  (0.1ms) begin transaction
286
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", 980190962]]
287
+ Processing by ValidatesController#edit as HTML
288
+ Parameters: {"id"=>"980190962"}
289
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", "980190962"]]
290
+ Rendered validates/_form.html.erb (8.3ms)
291
+ Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.1ms)
292
+  (0.1ms) rollback transaction
293
+  (0.1ms) begin transaction
294
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", 980190962]]
295
+ Processing by ValidatesController#index as HTML
296
+ Validate Load (0.3ms) SELECT "validates".* FROM "validates" 
297
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
298
+  (0.1ms) rollback transaction
299
+  (0.1ms) begin transaction
300
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", 980190962]]
301
+ Processing by ValidatesController#new as HTML
302
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
303
+  (0.1ms) rollback transaction
304
+  (0.1ms) begin transaction
305
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", 980190962]]
306
+ Processing by ValidatesController#show as HTML
307
+ Parameters: {"id"=>"980190962"}
308
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", "980190962"]]
309
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
310
+ Completed 500 Internal Server Error in 6ms
311
+  (0.1ms) rollback transaction
312
+  (0.1ms) begin transaction
313
+ Validate Load (0.3ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", 980190962]]
314
+ Processing by ValidatesController#update as HTML
315
+ Parameters: {"validate"=>{"id"=>"980190962", "standing_test"=>false, "sitting_test"=>false, "fat_guy_test"=>false, "evel_knievel_jumping_test"=>false, "tester"=>"MyString", "product_id"=>"1", "created_at"=>"2012-01-27 15:27:47 UTC", "updated_at"=>"2012-01-27 15:27:47 UTC"}, "id"=>"980190962"}
316
+ Validate Load (0.1ms) SELECT "validates".* FROM "validates" WHERE "validates"."id" = ? LIMIT 1 [["id", "980190962"]]
317
+  (0.1ms) SAVEPOINT active_record_1
318
+ Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1
319
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
320
+ Completed 500 Internal Server Error in 6ms
321
+  (0.1ms) rollback transaction
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,241 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Ruby on Rails: Welcome aboard</title>
5
+ <style type="text/css" media="screen">
6
+ body {
7
+ margin: 0;
8
+ margin-bottom: 25px;
9
+ padding: 0;
10
+ background-color: #f0f0f0;
11
+ font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
12
+ font-size: 13px;
13
+ color: #333;
14
+ }
15
+
16
+ h1 {
17
+ font-size: 28px;
18
+ color: #000;
19
+ }
20
+
21
+ a {color: #03c}
22
+ a:hover {
23
+ background-color: #03c;
24
+ color: white;
25
+ text-decoration: none;
26
+ }
27
+
28
+
29
+ #page {
30
+ background-color: #f0f0f0;
31
+ width: 750px;
32
+ margin: 0;
33
+ margin-left: auto;
34
+ margin-right: auto;
35
+ }
36
+
37
+ #content {
38
+ float: left;
39
+ background-color: white;
40
+ border: 3px solid #aaa;
41
+ border-top: none;
42
+ padding: 25px;
43
+ width: 500px;
44
+ }
45
+
46
+ #sidebar {
47
+ float: right;
48
+ width: 175px;
49
+ }
50
+
51
+ #footer {
52
+ clear: both;
53
+ }
54
+
55
+ #header, #about, #getting-started {
56
+ padding-left: 75px;
57
+ padding-right: 30px;
58
+ }
59
+
60
+
61
+ #header {
62
+ background-image: url("assets/rails.png");
63
+ background-repeat: no-repeat;
64
+ background-position: top left;
65
+ height: 64px;
66
+ }
67
+ #header h1, #header h2 {margin: 0}
68
+ #header h2 {
69
+ color: #888;
70
+ font-weight: normal;
71
+ font-size: 16px;
72
+ }
73
+
74
+
75
+ #about h3 {
76
+ margin: 0;
77
+ margin-bottom: 10px;
78
+ font-size: 14px;
79
+ }
80
+
81
+ #about-content {
82
+ background-color: #ffd;
83
+ border: 1px solid #fc0;
84
+ margin-left: -55px;
85
+ margin-right: -10px;
86
+ }
87
+ #about-content table {
88
+ margin-top: 10px;
89
+ margin-bottom: 10px;
90
+ font-size: 11px;
91
+ border-collapse: collapse;
92
+ }
93
+ #about-content td {
94
+ padding: 10px;
95
+ padding-top: 3px;
96
+ padding-bottom: 3px;
97
+ }
98
+ #about-content td.name {color: #555}
99
+ #about-content td.value {color: #000}
100
+
101
+ #about-content ul {
102
+ padding: 0;
103
+ list-style-type: none;
104
+ }
105
+
106
+ #about-content.failure {
107
+ background-color: #fcc;
108
+ border: 1px solid #f00;
109
+ }
110
+ #about-content.failure p {
111
+ margin: 0;
112
+ padding: 10px;
113
+ }
114
+
115
+
116
+ #getting-started {
117
+ border-top: 1px solid #ccc;
118
+ margin-top: 25px;
119
+ padding-top: 15px;
120
+ }
121
+ #getting-started h1 {
122
+ margin: 0;
123
+ font-size: 20px;
124
+ }
125
+ #getting-started h2 {
126
+ margin: 0;
127
+ font-size: 14px;
128
+ font-weight: normal;
129
+ color: #333;
130
+ margin-bottom: 25px;
131
+ }
132
+ #getting-started ol {
133
+ margin-left: 0;
134
+ padding-left: 0;
135
+ }
136
+ #getting-started li {
137
+ font-size: 18px;
138
+ color: #888;
139
+ margin-bottom: 25px;
140
+ }
141
+ #getting-started li h2 {
142
+ margin: 0;
143
+ font-weight: normal;
144
+ font-size: 18px;
145
+ color: #333;
146
+ }
147
+ #getting-started li p {
148
+ color: #555;
149
+ font-size: 13px;
150
+ }
151
+
152
+
153
+ #sidebar ul {
154
+ margin-left: 0;
155
+ padding-left: 0;
156
+ }
157
+ #sidebar ul h3 {
158
+ margin-top: 25px;
159
+ font-size: 16px;
160
+ padding-bottom: 10px;
161
+ border-bottom: 1px solid #ccc;
162
+ }
163
+ #sidebar li {
164
+ list-style-type: none;
165
+ }
166
+ #sidebar ul.links li {
167
+ margin-bottom: 5px;
168
+ }
169
+
170
+ .filename {
171
+ font-style: italic;
172
+ }
173
+ </style>
174
+ <script type="text/javascript">
175
+ function about() {
176
+ info = document.getElementById('about-content');
177
+ if (window.XMLHttpRequest)
178
+ { xhr = new XMLHttpRequest(); }
179
+ else
180
+ { xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
181
+ xhr.open("GET","rails/info/properties",false);
182
+ xhr.send("");
183
+ info.innerHTML = xhr.responseText;
184
+ info.style.display = 'block'
185
+ }
186
+ </script>
187
+ </head>
188
+ <body>
189
+ <div id="page">
190
+ <div id="sidebar">
191
+ <ul id="sidebar-items">
192
+ <li>
193
+ <h3>Browse the documentation</h3>
194
+ <ul class="links">
195
+ <li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
196
+ <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
197
+ <li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
198
+ <li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
199
+ </ul>
200
+ </li>
201
+ </ul>
202
+ </div>
203
+
204
+ <div id="content">
205
+ <div id="header">
206
+ <h1>Welcome aboard</h1>
207
+ <h2>You&rsquo;re riding Ruby on Rails!</h2>
208
+ </div>
209
+
210
+ <div id="about">
211
+ <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
212
+ <div id="about-content" style="display: none"></div>
213
+ </div>
214
+
215
+ <div id="getting-started">
216
+ <h1>Getting started</h1>
217
+ <h2>Here&rsquo;s how to get rolling:</h2>
218
+
219
+ <ol>
220
+ <li>
221
+ <h2>Use <code>rails generate</code> to create your models and controllers</h2>
222
+ <p>To see all available options, run it without parameters.</p>
223
+ </li>
224
+
225
+ <li>
226
+ <h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
227
+ <p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
228
+ </li>
229
+
230
+ <li>
231
+ <h2>Create your database</h2>
232
+ <p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
233
+ </li>
234
+ </ol>
235
+ </div>
236
+ </div>
237
+
238
+ <div id="footer">&nbsp;</div>
239
+ </div>
240
+ </body>
241
+ </html>