mechanize_store 0.0.4 → 0.0.5

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 (31) hide show
  1. checksums.yaml +8 -8
  2. data/README.rdoc +19 -1
  3. data/app/controllers/mechanize_store/products_controller.rb +1 -1
  4. data/app/views/mechanize_store/products/_form.html.erb +2 -1
  5. data/app/views/mechanize_store/products/show.html.erb +2 -2
  6. data/config/locales/mechanize_store.pt-BR.yml +1 -1
  7. data/db/migrate/20140402140832_create_mechanize_store_products.rb +1 -1
  8. data/lib/mechanize_store/version.rb +1 -1
  9. data/spec/dummy/db/development.sqlite3 +0 -0
  10. data/spec/dummy/db/migrate/{20140424193635_create_mechanize_store_freights.mechanize_store.rb → 20140508135827_create_mechanize_store_freights.mechanize_store.rb} +0 -0
  11. data/spec/dummy/db/migrate/{20140424193636_create_mechanize_store_order_statuses.mechanize_store.rb → 20140508135828_create_mechanize_store_order_statuses.mechanize_store.rb} +0 -0
  12. data/spec/dummy/db/migrate/{20140424193637_create_mechanize_store_payment_statuses.mechanize_store.rb → 20140508135829_create_mechanize_store_payment_statuses.mechanize_store.rb} +0 -0
  13. data/spec/dummy/db/migrate/{20140424193638_create_mechanize_store_payment_types.mechanize_store.rb → 20140508135830_create_mechanize_store_payment_types.mechanize_store.rb} +0 -0
  14. data/spec/dummy/db/migrate/{20140424193639_create_mechanize_store_payments.mechanize_store.rb → 20140508135831_create_mechanize_store_payments.mechanize_store.rb} +0 -0
  15. data/spec/dummy/db/migrate/{20140424193640_create_mechanize_store_flags.mechanize_store.rb → 20140508135832_create_mechanize_store_flags.mechanize_store.rb} +0 -0
  16. data/spec/dummy/db/migrate/{20140424193641_create_mechanize_store_products.mechanize_store.rb → 20140508135833_create_mechanize_store_products.mechanize_store.rb} +1 -1
  17. data/spec/dummy/db/migrate/{20140424193642_create_mechanize_store_product_photos.mechanize_store.rb → 20140508135834_create_mechanize_store_product_photos.mechanize_store.rb} +0 -0
  18. data/spec/dummy/db/migrate/{20140424193643_create_mechanize_store_orders.mechanize_store.rb → 20140508135835_create_mechanize_store_orders.mechanize_store.rb} +0 -0
  19. data/spec/dummy/db/migrate/{20140424193644_create_mechanize_store_product_categories.mechanize_store.rb → 20140508135836_create_mechanize_store_product_categories.mechanize_store.rb} +0 -0
  20. data/spec/dummy/db/migrate/{20140424193645_add_width_to_mechanize_store_product.mechanize_store.rb → 20140508135837_add_width_to_mechanize_store_product.mechanize_store.rb} +0 -0
  21. data/spec/dummy/db/migrate/{20140424193646_create_mechanize_store_order_items.mechanize_store.rb → 20140508135838_create_mechanize_store_order_items.mechanize_store.rb} +0 -0
  22. data/spec/dummy/db/migrate/{20140424193647_add_payment_type_id_to_payment.mechanize_store.rb → 20140508135839_add_payment_type_id_to_payment.mechanize_store.rb} +0 -0
  23. data/spec/dummy/db/migrate/{20140424193648_add_time_to_freight.mechanize_store.rb → 20140508135840_add_time_to_freight.mechanize_store.rb} +0 -0
  24. data/spec/dummy/db/schema.rb +2 -2
  25. data/spec/dummy/log/development.log +480 -0
  26. data/spec/dummy/log/test.log +1271 -0
  27. data/spec/dummy/public/photos/1/medium.png +0 -0
  28. data/spec/dummy/public/photos/1/thumb.png +0 -0
  29. data/spec/factories/mechanize_store_products.rb +2 -1
  30. metadata +30 -32
  31. data/spec/dummy/db/test.sqlite3 +0 -0
@@ -24929,3 +24929,483 @@ Migrating to CreateMechanizeStoreOrderItems (20140409191457)
24929
24929
  MechanizeStore::Product Load (0.2ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" ORDER BY "mechanize_store_products"."id" ASC LIMIT 1
24930
24930
  MechanizeStore::Product Load (0.3ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" ORDER BY "mechanize_store_products"."id" ASC LIMIT 1
24931
24931
  MechanizeStore::Product Load (0.2ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" ORDER BY "mechanize_store_products"."id" ASC LIMIT 1
24932
+
24933
+
24934
+ Started GET "/" for 127.0.0.1 at 2014-05-08 10:55:30 -0300
24935
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
24936
+
24937
+ ActiveRecord::PendingMigrationError (Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue.):
24938
+ activerecord (4.0.4) lib/active_record/migration.rb:383:in `check_pending!'
24939
+ activerecord (4.0.4) lib/active_record/migration.rb:370:in `call'
24940
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
24941
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__4138770746872140624__call__callbacks'
24942
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
24943
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
24944
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
24945
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
24946
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
24947
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
24948
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
24949
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
24950
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
24951
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
24952
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
24953
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
24954
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
24955
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
24956
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
24957
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
24958
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
24959
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
24960
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
24961
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
24962
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
24963
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
24964
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
24965
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
24966
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
24967
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
24968
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
24969
+
24970
+
24971
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
24972
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
24973
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
24974
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.6ms)
24975
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24976
+ Migrating to CreateMechanizeStoreFreights (20140424193635)
24977
+  (0.1ms) begin transaction
24978
+  (0.1ms) CREATE TABLE "mechanize_store_freights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" float, "service" varchar(255), "order_id" integer, "zipcode" varchar(255), "created_at" datetime, "updated_at" datetime) 
24979
+ SQLite3::SQLException: table "mechanize_store_freights" already exists: CREATE TABLE "mechanize_store_freights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" float, "service" varchar(255), "order_id" integer, "zipcode" varchar(255), "created_at" datetime, "updated_at" datetime)
24980
+  (0.0ms) rollback transaction
24981
+  (7.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24982
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24983
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
24984
+ Migrating to CreateMechanizeStoreFreights (20140508135625)
24985
+  (0.1ms) begin transaction
24986
+  (0.4ms) CREATE TABLE "mechanize_store_freights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" float, "service" varchar(255), "order_id" integer, "zipcode" varchar(255), "created_at" datetime, "updated_at" datetime) 
24987
+  (0.1ms) CREATE INDEX "index_mechanize_store_freights_on_order_id" ON "mechanize_store_freights" ("order_id")
24988
+ SQL (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135625"]]
24989
+  (0.8ms) commit transaction
24990
+ Migrating to CreateMechanizeStoreOrderStatuses (20140508135626)
24991
+  (0.1ms) begin transaction
24992
+  (0.3ms) CREATE TABLE "mechanize_store_order_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
24993
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135626"]]
24994
+  (0.7ms) commit transaction
24995
+ Migrating to CreateMechanizeStorePaymentStatuses (20140508135627)
24996
+  (0.1ms) begin transaction
24997
+  (0.3ms) CREATE TABLE "mechanize_store_payment_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
24998
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135627"]]
24999
+  (0.7ms) commit transaction
25000
+ Migrating to CreateMechanizeStorePaymentTypes (20140508135628)
25001
+  (0.1ms) begin transaction
25002
+  (0.3ms) CREATE TABLE "mechanize_store_payment_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
25003
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135628"]]
25004
+  (0.8ms) commit transaction
25005
+ Migrating to CreateMechanizeStorePayments (20140508135629)
25006
+  (0.1ms) begin transaction
25007
+  (0.3ms) CREATE TABLE "mechanize_store_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "payment_status_id" integer, "value" float, "paid_value" float, "paid_in" datetime, "plot" integer, "flag_id" integer, "created_at" datetime, "updated_at" datetime)
25008
+  (0.1ms) CREATE INDEX "index_mechanize_store_payments_on_payment_status_id" ON "mechanize_store_payments" ("payment_status_id")
25009
+  (0.1ms) CREATE INDEX "index_mechanize_store_payments_on_flag_id" ON "mechanize_store_payments" ("flag_id")
25010
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135629"]]
25011
+  (0.7ms) commit transaction
25012
+ Migrating to CreateMechanizeStoreFlags (20140508135630)
25013
+  (0.1ms) begin transaction
25014
+  (0.3ms) CREATE TABLE "mechanize_store_flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
25015
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135630"]]
25016
+  (0.7ms) commit transaction
25017
+ Migrating to CreateMechanizeStoreProducts (20140508135631)
25018
+  (0.1ms) begin transaction
25019
+  (0.3ms) CREATE TABLE "mechanize_store_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "short_description" varchar(255), "price" float, "weight" float, "lenght" float, "height" float, "product_category_id" integer, "created_at" datetime, "updated_at" datetime)
25020
+  (0.1ms) CREATE INDEX "index_mechanize_store_products_on_product_category_id" ON "mechanize_store_products" ("product_category_id")
25021
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135631"]]
25022
+  (0.7ms) commit transaction
25023
+ Migrating to CreateMechanizeStoreProductPhotos (20140508135632)
25024
+  (0.1ms) begin transaction
25025
+  (0.3ms) CREATE TABLE "mechanize_store_product_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_file_name" varchar(255), "file_content_type" varchar(255), "file_file_size" integer, "file_updated_at" datetime, "product_id" integer, "created_at" datetime, "updated_at" datetime) 
25026
+  (0.1ms) CREATE INDEX "index_mechanize_store_product_photos_on_product_id" ON "mechanize_store_product_photos" ("product_id")
25027
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135632"]]
25028
+  (0.8ms) commit transaction
25029
+ Migrating to CreateMechanizeStoreOrders (20140508135633)
25030
+  (0.1ms) begin transaction
25031
+  (0.3ms) CREATE TABLE "mechanize_store_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_status_id" integer, "store_id" integer, "delivery_date" datetime, "created_at" datetime, "updated_at" datetime)
25032
+  (0.1ms) CREATE INDEX "index_mechanize_store_orders_on_order_status_id" ON "mechanize_store_orders" ("order_status_id")
25033
+  (0.1ms) CREATE INDEX "index_mechanize_store_orders_on_store_id" ON "mechanize_store_orders" ("store_id")
25034
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135633"]]
25035
+  (0.7ms) commit transaction
25036
+ Migrating to CreateMechanizeStoreProductCategories (20140508135634)
25037
+  (0.1ms) begin transaction
25038
+  (0.3ms) CREATE TABLE "mechanize_store_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "product_category_id" integer, "created_at" datetime, "updated_at" datetime)
25039
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135634"]]
25040
+  (0.8ms) commit transaction
25041
+ Migrating to AddWidthToMechanizeStoreProduct (20140508135635)
25042
+  (0.1ms) begin transaction
25043
+  (0.4ms) ALTER TABLE "mechanize_store_products" ADD "width" float
25044
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135635"]]
25045
+  (0.6ms) commit transaction
25046
+ Migrating to CreateMechanizeStoreOrderItems (20140508135636)
25047
+  (0.1ms) begin transaction
25048
+  (0.6ms) CREATE TABLE "mechanize_store_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" integer, "price" float, "order_id" integer, "product_id" integer, "created_at" datetime, "updated_at" datetime)
25049
+  (0.3ms) CREATE INDEX "index_mechanize_store_order_items_on_order_id" ON "mechanize_store_order_items" ("order_id")
25050
+  (0.2ms) CREATE INDEX "index_mechanize_store_order_items_on_product_id" ON "mechanize_store_order_items" ("product_id")
25051
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135636"]]
25052
+  (0.8ms) commit transaction
25053
+ Migrating to AddPaymentTypeIdToPayment (20140508135637)
25054
+  (0.1ms) begin transaction
25055
+  (0.4ms) ALTER TABLE "mechanize_store_payments" ADD "payment_type_id" integer
25056
+  (0.2ms) CREATE INDEX "index_mechanize_store_payments_on_payment_type_id" ON "mechanize_store_payments" ("payment_type_id")
25057
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135637"]]
25058
+  (0.8ms) commit transaction
25059
+ Migrating to AddTimeToFreight (20140508135638)
25060
+  (0.1ms) begin transaction
25061
+  (0.5ms) ALTER TABLE "mechanize_store_freights" ADD "delivery_time" integer
25062
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135638"]]
25063
+  (0.8ms) commit transaction
25064
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25065
+
25066
+
25067
+ Started GET "/" for 127.0.0.1 at 2014-05-08 10:56:44 -0300
25068
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
25069
+ Processing by Rails::WelcomeController#index as HTML
25070
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/railties-4.0.4/lib/rails/templates/rails/welcome/index.html.erb (2.6ms)
25071
+ Completed 200 OK in 54ms (Views: 13.3ms | ActiveRecord: 0.0ms)
25072
+
25073
+
25074
+ Started GET "/products/" for 127.0.0.1 at 2014-05-08 10:56:48 -0300
25075
+
25076
+ ActionController::RoutingError (No route matches [GET] "/products"):
25077
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
25078
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
25079
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
25080
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
25081
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
25082
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
25083
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
25084
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
25085
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
25086
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
25087
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
25088
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
25089
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
25090
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
25091
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
25092
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
25093
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
25094
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
25095
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
25096
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
25097
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
25098
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
25099
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
25100
+
25101
+
25102
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
25103
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
25104
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.7ms)
25105
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.6ms)
25106
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (61.2ms)
25107
+
25108
+
25109
+ Started GET "/store/products/" for 127.0.0.1 at 2014-05-08 10:56:53 -0300
25110
+
25111
+ ActionController::RoutingError (No route matches [GET] "/store/products"):
25112
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
25113
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
25114
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
25115
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
25116
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
25117
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
25118
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
25119
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
25120
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
25121
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
25122
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
25123
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
25124
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
25125
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
25126
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
25127
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
25128
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
25129
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
25130
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
25131
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
25132
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
25133
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
25134
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
25135
+
25136
+
25137
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (36.0ms)
25138
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
25139
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.0ms)
25140
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
25141
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (72.0ms)
25142
+
25143
+
25144
+ Started GET "/mechanize_store/products/" for 127.0.0.1 at 2014-05-08 10:57:05 -0300
25145
+ Processing by MechanizeStore::ProductsController#index as HTML
25146
+ MechanizeStore::Product Load (0.2ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" LIMIT 30 OFFSET 0
25147
+ Rendered /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/index.html.erb (13.0ms)
25148
+ Completed 200 OK in 29ms (Views: 15.9ms | ActiveRecord: 0.2ms)
25149
+
25150
+
25151
+ Started GET "/mechanize_store/products/new" for 127.0.0.1 at 2014-05-08 10:57:37 -0300
25152
+ Processing by MechanizeStore::ProductsController#new as HTML
25153
+ Rendered /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/_form.html.erb (187.4ms)
25154
+ Rendered /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/new.html.erb (190.5ms)
25155
+ Completed 500 Internal Server Error in 197ms
25156
+
25157
+ ActionView::Template::Error (undefined method `length' for #<MechanizeStore::Product:0x007f929b938f48>):
25158
+ 7: <%= f.input :short_description %>
25159
+ 8: <%= f.input :price %>
25160
+ 9: <%= f.input :weight %>
25161
+ 10: <%= f.input :length %>
25162
+ 11: <%= f.input :width %>
25163
+ 12: <%= f.input :height %>
25164
+ 13: <%= f.association :product_category %>
25165
+ activemodel (4.0.4) lib/active_model/attribute_methods.rb:439:in `method_missing'
25166
+ activerecord (4.0.4) lib/active_record/attribute_methods.rb:167:in `method_missing'
25167
+ actionpack (4.0.4) lib/action_view/helpers/tags/base.rb:28:in `value'
25168
+ actionpack (4.0.4) lib/action_view/helpers/tags/base.rb:37:in `value_before_type_cast'
25169
+ actionpack (4.0.4) lib/action_view/helpers/tags/text_field.rb:9:in `block in render'
25170
+ actionpack (4.0.4) lib/action_view/helpers/tags/text_field.rb:9:in `fetch'
25171
+ actionpack (4.0.4) lib/action_view/helpers/tags/text_field.rb:9:in `render'
25172
+ actionpack (4.0.4) lib/action_view/helpers/form_helper.rb:771:in `text_field'
25173
+ actionpack (4.0.4) lib/action_view/helpers/form_helper.rb:1262:in `text_field'
25174
+ simple_form (3.0.1) lib/simple_form/inputs/string_input.rb:12:in `input'
25175
+ simple_form (3.0.1) lib/simple_form/components/label_input.rb:11:in `label_input'
25176
+ simple_form (3.0.1) lib/simple_form/wrappers/many.rb:29:in `block in render'
25177
+ simple_form (3.0.1) lib/simple_form/wrappers/many.rb:27:in `each'
25178
+ simple_form (3.0.1) lib/simple_form/wrappers/many.rb:27:in `render'
25179
+ simple_form (3.0.1) lib/simple_form/wrappers/root.rb:15:in `render'
25180
+ simple_form (3.0.1) lib/simple_form/form_builder.rb:120:in `input'
25181
+ /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/_form.html.erb:10:in `block in ___sers_wilbert_apps_mechanize_store_app_views_mechanize_store_products__form_html_erb__499618614516975847_70133825557440'
25182
+ actionpack (4.0.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
25183
+ actionpack (4.0.4) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
25184
+ actionpack (4.0.4) lib/action_view/helpers/capture_helper.rb:38:in `capture'
25185
+ actionpack (4.0.4) lib/action_view/helpers/form_helper.rb:435:in `form_for'
25186
+ simple_form (3.0.1) lib/simple_form/action_view_extensions/form_helper.rb:22:in `block in simple_form_for'
25187
+ simple_form (3.0.1) lib/simple_form/action_view_extensions/form_helper.rb:41:in `with_simple_form_field_error_proc'
25188
+ simple_form (3.0.1) lib/simple_form/action_view_extensions/form_helper.rb:21:in `simple_form_for'
25189
+ /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/_form.html.erb:1:in `___sers_wilbert_apps_mechanize_store_app_views_mechanize_store_products__form_html_erb__499618614516975847_70133825557440'
25190
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
25191
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
25192
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
25193
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
25194
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
25195
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
25196
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
25197
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
25198
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
25199
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
25200
+ actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:278:in `render'
25201
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:47:in `render_partial'
25202
+ actionpack (4.0.4) lib/action_view/helpers/rendering_helper.rb:27:in `render'
25203
+ /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/new.html.erb:9:in `___sers_wilbert_apps_mechanize_store_app_views_mechanize_store_products_new_html_erb__3246596182593902060_70133826054780'
25204
+ actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render'
25205
+ activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument'
25206
+ actionpack (4.0.4) lib/action_view/template.rb:141:in `render'
25207
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
25208
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
25209
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
25210
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
25211
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
25212
+ actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
25213
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
25214
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
25215
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
25216
+ actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
25217
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
25218
+ actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render'
25219
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template'
25220
+ actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template'
25221
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body'
25222
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
25223
+ actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
25224
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render'
25225
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render'
25226
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
25227
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
25228
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
25229
+ activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
25230
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
25231
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
25232
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
25233
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
25234
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
25235
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:233:in `default_render'
25236
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html'
25237
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond'
25238
+ actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call'
25239
+ actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with'
25240
+ /Users/wilbert/apps/mechanize_store/app/controllers/mechanize_store/products_controller.rb:21:in `new'
25241
+ actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
25242
+ actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action'
25243
+ actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
25244
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
25245
+ activesupport (4.0.4) lib/active_support/callbacks.rb:403:in `_run__3904820799887369030__process_action__callbacks'
25246
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
25247
+ actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action'
25248
+ actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
25249
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
25250
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument'
25251
+ activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
25252
+ activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument'
25253
+ actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
25254
+ actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
25255
+ activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
25256
+ actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process'
25257
+ actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
25258
+ actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
25259
+ actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
25260
+ actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
25261
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
25262
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
25263
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
25264
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
25265
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
25266
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
25267
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
25268
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
25269
+ railties (4.0.4) lib/rails/railtie/configurable.rb:30:in `method_missing'
25270
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
25271
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
25272
+ actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
25273
+ actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
25274
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
25275
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
25276
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
25277
+ actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
25278
+ actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
25279
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
25280
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
25281
+ actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
25282
+ activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
25283
+ activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
25284
+ activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
25285
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
25286
+ activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3327147194253802824__call__callbacks'
25287
+ activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
25288
+ actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
25289
+ actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
25290
+ actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
25291
+ actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
25292
+ actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
25293
+ railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
25294
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
25295
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
25296
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
25297
+ activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
25298
+ railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
25299
+ actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
25300
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
25301
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
25302
+ activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
25303
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
25304
+ actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
25305
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
25306
+ railties (4.0.4) lib/rails/engine.rb:511:in `call'
25307
+ railties (4.0.4) lib/rails/application.rb:97:in `call'
25308
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
25309
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
25310
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
25311
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
25312
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
25313
+ /Users/wilbert/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
25314
+
25315
+
25316
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
25317
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
25318
+ Rendered /Users/wilbert/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.8ms)
25319
+  (7.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
25320
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
25321
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25322
+ Migrating to CreateMechanizeStoreFreights (20140508135827)
25323
+  (0.1ms) begin transaction
25324
+  (0.4ms) CREATE TABLE "mechanize_store_freights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" float, "service" varchar(255), "order_id" integer, "zipcode" varchar(255), "created_at" datetime, "updated_at" datetime) 
25325
+  (0.1ms) CREATE INDEX "index_mechanize_store_freights_on_order_id" ON "mechanize_store_freights" ("order_id")
25326
+ SQL (1.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135827"]]
25327
+  (0.7ms) commit transaction
25328
+ Migrating to CreateMechanizeStoreOrderStatuses (20140508135828)
25329
+  (0.1ms) begin transaction
25330
+  (0.4ms) CREATE TABLE "mechanize_store_order_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
25331
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135828"]]
25332
+  (0.7ms) commit transaction
25333
+ Migrating to CreateMechanizeStorePaymentStatuses (20140508135829)
25334
+  (0.1ms) begin transaction
25335
+  (0.3ms) CREATE TABLE "mechanize_store_payment_statuses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
25336
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135829"]]
25337
+  (0.7ms) commit transaction
25338
+ Migrating to CreateMechanizeStorePaymentTypes (20140508135830)
25339
+  (0.1ms) begin transaction
25340
+  (0.3ms) CREATE TABLE "mechanize_store_payment_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
25341
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135830"]]
25342
+  (0.7ms) commit transaction
25343
+ Migrating to CreateMechanizeStorePayments (20140508135831)
25344
+  (0.1ms) begin transaction
25345
+  (0.4ms) CREATE TABLE "mechanize_store_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "payment_status_id" integer, "value" float, "paid_value" float, "paid_in" datetime, "plot" integer, "flag_id" integer, "created_at" datetime, "updated_at" datetime)
25346
+  (0.1ms) CREATE INDEX "index_mechanize_store_payments_on_payment_status_id" ON "mechanize_store_payments" ("payment_status_id")
25347
+  (0.1ms) CREATE INDEX "index_mechanize_store_payments_on_flag_id" ON "mechanize_store_payments" ("flag_id")
25348
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135831"]]
25349
+  (0.7ms) commit transaction
25350
+ Migrating to CreateMechanizeStoreFlags (20140508135832)
25351
+  (0.1ms) begin transaction
25352
+  (0.3ms) CREATE TABLE "mechanize_store_flags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
25353
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135832"]]
25354
+  (0.7ms) commit transaction
25355
+ Migrating to CreateMechanizeStoreProducts (20140508135833)
25356
+  (0.1ms) begin transaction
25357
+  (0.4ms) CREATE TABLE "mechanize_store_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "description" text, "short_description" varchar(255), "price" float, "weight" float, "length" float, "height" float, "product_category_id" integer, "created_at" datetime, "updated_at" datetime)
25358
+  (0.1ms) CREATE INDEX "index_mechanize_store_products_on_product_category_id" ON "mechanize_store_products" ("product_category_id")
25359
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135833"]]
25360
+  (0.7ms) commit transaction
25361
+ Migrating to CreateMechanizeStoreProductPhotos (20140508135834)
25362
+  (0.1ms) begin transaction
25363
+  (0.5ms) CREATE TABLE "mechanize_store_product_photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_file_name" varchar(255), "file_content_type" varchar(255), "file_file_size" integer, "file_updated_at" datetime, "product_id" integer, "created_at" datetime, "updated_at" datetime) 
25364
+  (0.1ms) CREATE INDEX "index_mechanize_store_product_photos_on_product_id" ON "mechanize_store_product_photos" ("product_id")
25365
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135834"]]
25366
+  (0.8ms) commit transaction
25367
+ Migrating to CreateMechanizeStoreOrders (20140508135835)
25368
+  (0.1ms) begin transaction
25369
+  (0.5ms) CREATE TABLE "mechanize_store_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_status_id" integer, "store_id" integer, "delivery_date" datetime, "created_at" datetime, "updated_at" datetime)
25370
+  (0.2ms) CREATE INDEX "index_mechanize_store_orders_on_order_status_id" ON "mechanize_store_orders" ("order_status_id")
25371
+  (0.2ms) CREATE INDEX "index_mechanize_store_orders_on_store_id" ON "mechanize_store_orders" ("store_id")
25372
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135835"]]
25373
+  (0.7ms) commit transaction
25374
+ Migrating to CreateMechanizeStoreProductCategories (20140508135836)
25375
+  (0.1ms) begin transaction
25376
+  (0.3ms) CREATE TABLE "mechanize_store_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "product_category_id" integer, "created_at" datetime, "updated_at" datetime)
25377
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135836"]]
25378
+  (0.7ms) commit transaction
25379
+ Migrating to AddWidthToMechanizeStoreProduct (20140508135837)
25380
+  (0.1ms) begin transaction
25381
+  (0.6ms) ALTER TABLE "mechanize_store_products" ADD "width" float
25382
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135837"]]
25383
+  (0.8ms) commit transaction
25384
+ Migrating to CreateMechanizeStoreOrderItems (20140508135838)
25385
+  (0.1ms) begin transaction
25386
+  (0.4ms) CREATE TABLE "mechanize_store_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" integer, "price" float, "order_id" integer, "product_id" integer, "created_at" datetime, "updated_at" datetime)
25387
+  (0.1ms) CREATE INDEX "index_mechanize_store_order_items_on_order_id" ON "mechanize_store_order_items" ("order_id")
25388
+  (0.1ms) CREATE INDEX "index_mechanize_store_order_items_on_product_id" ON "mechanize_store_order_items" ("product_id")
25389
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135838"]]
25390
+  (0.8ms) commit transaction
25391
+ Migrating to AddPaymentTypeIdToPayment (20140508135839)
25392
+  (0.1ms) begin transaction
25393
+  (0.5ms) ALTER TABLE "mechanize_store_payments" ADD "payment_type_id" integer
25394
+  (0.2ms) CREATE INDEX "index_mechanize_store_payments_on_payment_type_id" ON "mechanize_store_payments" ("payment_type_id")
25395
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135839"]]
25396
+  (0.9ms) commit transaction
25397
+ Migrating to AddTimeToFreight (20140508135840)
25398
+  (0.1ms) begin transaction
25399
+  (0.4ms) ALTER TABLE "mechanize_store_freights" ADD "delivery_time" integer
25400
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140508135840"]]
25401
+  (0.7ms) commit transaction
25402
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25403
+
25404
+
25405
+ Started GET "/mechanize_store/products/new" for 127.0.0.1 at 2014-05-08 10:59:02 -0300
25406
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
25407
+ Processing by MechanizeStore::ProductsController#new as HTML
25408
+ MechanizeStore::ProductCategory Load (0.2ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories"
25409
+ Rendered /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/_form.html.erb (218.5ms)
25410
+ Rendered /Users/wilbert/apps/mechanize_store/app/views/mechanize_store/products/new.html.erb (242.4ms)
25411
+ Completed 200 OK in 285ms (Views: 256.7ms | ActiveRecord: 0.8ms)