gemstonemerchant 0.0.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 (93) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +20 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/javascripts/gemstonemerchant/application.js +13 -0
  6. data/app/assets/javascripts/gemstonemerchant/cart.js +2 -0
  7. data/app/assets/javascripts/gemstonemerchant/products.js +2 -0
  8. data/app/assets/stylesheets/gemstonemerchant/application.css +15 -0
  9. data/app/assets/stylesheets/gemstonemerchant/cart.css +4 -0
  10. data/app/assets/stylesheets/gemstonemerchant/products.css +4 -0
  11. data/app/assets/stylesheets/scaffold.css +56 -0
  12. data/app/controllers/gemstonemerchant/application_controller.rb +4 -0
  13. data/app/controllers/gemstonemerchant/cart_controller.rb +44 -0
  14. data/app/controllers/gemstonemerchant/products_controller.rb +62 -0
  15. data/app/helpers/gemstonemerchant/application_helper.rb +4 -0
  16. data/app/helpers/gemstonemerchant/cart_helper.rb +4 -0
  17. data/app/helpers/gemstonemerchant/products_helper.rb +4 -0
  18. data/app/models/gemstonemerchant/category.rb +7 -0
  19. data/app/models/gemstonemerchant/line_item.rb +18 -0
  20. data/app/models/gemstonemerchant/product.rb +17 -0
  21. data/app/models/gemstonemerchant/purchase.rb +21 -0
  22. data/app/models/gemstonemerchant/user.rb +42 -0
  23. data/app/uploaders/gemstonemerchant/images_uploader.rb +51 -0
  24. data/app/views/gemstonemerchant/cart/show.html.erb +27 -0
  25. data/app/views/gemstonemerchant/products/_form.html.erb +33 -0
  26. data/app/views/gemstonemerchant/products/edit.html.erb +6 -0
  27. data/app/views/gemstonemerchant/products/index.html.erb +43 -0
  28. data/app/views/gemstonemerchant/products/new.html.erb +5 -0
  29. data/app/views/gemstonemerchant/products/show.html.erb +42 -0
  30. data/app/views/layouts/gemstonemerchant/application.html.erb +14 -0
  31. data/config/initializers/devise.rb +268 -0
  32. data/config/locales/devise.en.yml +59 -0
  33. data/config/routes.rb +17 -0
  34. data/lib/gemstonemerchant.rb +4 -0
  35. data/lib/gemstonemerchant/engine.rb +5 -0
  36. data/lib/gemstonemerchant/version.rb +3 -0
  37. data/lib/generators/gemstonemerchant/install_generator.rb +10 -0
  38. data/lib/generators/install_generator.rb +7 -0
  39. data/lib/tasks/gemstonemerchant_tasks.rake +4 -0
  40. data/test/controllers/gemstonemerchant/cart_controller_test.rb +11 -0
  41. data/test/controllers/gemstonemerchant/products_controller_test.rb +51 -0
  42. data/test/dummy/README.rdoc +28 -0
  43. data/test/dummy/Rakefile +6 -0
  44. data/test/dummy/app/assets/javascripts/application.js +13 -0
  45. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  46. data/test/dummy/app/controllers/application_controller.rb +5 -0
  47. data/test/dummy/app/helpers/application_helper.rb +2 -0
  48. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  49. data/test/dummy/bin/bundle +3 -0
  50. data/test/dummy/bin/rails +4 -0
  51. data/test/dummy/bin/rake +4 -0
  52. data/test/dummy/config.ru +4 -0
  53. data/test/dummy/config/application.rb +23 -0
  54. data/test/dummy/config/boot.rb +5 -0
  55. data/test/dummy/config/database.yml +25 -0
  56. data/test/dummy/config/environment.rb +5 -0
  57. data/test/dummy/config/environments/development.rb +37 -0
  58. data/test/dummy/config/environments/production.rb +82 -0
  59. data/test/dummy/config/environments/test.rb +39 -0
  60. data/test/dummy/config/initializers/assets.rb +8 -0
  61. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  62. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  63. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  64. data/test/dummy/config/initializers/inflections.rb +16 -0
  65. data/test/dummy/config/initializers/mime_types.rb +4 -0
  66. data/test/dummy/config/initializers/session_store.rb +3 -0
  67. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  68. data/test/dummy/config/locales/en.yml +23 -0
  69. data/test/dummy/config/mongoid.yml +69 -0
  70. data/test/dummy/config/routes.rb +4 -0
  71. data/test/dummy/config/secrets.yml +22 -0
  72. data/test/dummy/db/development.sqlite3 +0 -0
  73. data/test/dummy/log/development.log +349 -0
  74. data/test/dummy/public/404.html +67 -0
  75. data/test/dummy/public/422.html +67 -0
  76. data/test/dummy/public/500.html +66 -0
  77. data/test/dummy/public/favicon.ico +0 -0
  78. data/test/fixtures/gemstonemerchant/categories.yml +7 -0
  79. data/test/fixtures/gemstonemerchant/line_items.yml +9 -0
  80. data/test/fixtures/gemstonemerchant/products.yml +13 -0
  81. data/test/fixtures/gemstonemerchant/purchases.yml +11 -0
  82. data/test/fixtures/gemstonemerchant/users.yml +11 -0
  83. data/test/gemstonemerchant_test.rb +7 -0
  84. data/test/helpers/gemstonemerchant/cart_helper_test.rb +6 -0
  85. data/test/helpers/gemstonemerchant/products_helper_test.rb +6 -0
  86. data/test/integration/navigation_test.rb +10 -0
  87. data/test/models/gemstonemerchant/category_test.rb +9 -0
  88. data/test/models/gemstonemerchant/line_item_test.rb +9 -0
  89. data/test/models/gemstonemerchant/product_test.rb +9 -0
  90. data/test/models/gemstonemerchant/purchase_test.rb +9 -0
  91. data/test/models/gemstonemerchant/user_test.rb +9 -0
  92. data/test/test_helper.rb +15 -0
  93. metadata +244 -0
@@ -0,0 +1,39 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Print deprecation notices to the stderr.
35
+ config.active_support.deprecation = :stderr
36
+
37
+ # Raises error for missing translations
38
+ # config.action_view.raise_on_missing_translations = true
39
+ end
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Precompile additional assets.
7
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
8
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,69 @@
1
+ development:
2
+ # Configure available database sessions. (required)
3
+ sessions:
4
+ # Defines the default session. (required)
5
+ default:
6
+ # Defines the name of the default database that Mongoid can connect to.
7
+ # (required).
8
+ database: dummy_development
9
+ # Provides the hosts the default session can connect to. Must be an array
10
+ # of host:port pairs. (required)
11
+ hosts:
12
+ - localhost:27017
13
+ options:
14
+ # Change the default write concern. (default = { w: 1 })
15
+ # write:
16
+ # w: 1
17
+
18
+ # Change the default consistency model to primary, secondary.
19
+ # 'secondary' will send reads to secondaries, 'primary' sends everything
20
+ # to master. (default: primary)
21
+ # read: secondary_preferred
22
+
23
+ # How many times Moped should attempt to retry an operation after
24
+ # failure. (default: The number of nodes in the cluster)
25
+ # max_retries: 20
26
+
27
+ # The time in seconds that Moped should wait before retrying an
28
+ # operation on failure. (default: 0.25)
29
+ # retry_interval: 0.25
30
+ # Configure Mongoid specific options. (optional)
31
+ options:
32
+ # Includes the root model name in json serialization. (default: false)
33
+ # include_root_in_json: false
34
+
35
+ # Include the _type field in serializaion. (default: false)
36
+ # include_type_for_serialization: false
37
+
38
+ # Preload all models in development, needed when models use
39
+ # inheritance. (default: false)
40
+ # preload_models: false
41
+
42
+ # Protect id and type from mass assignment. (default: true)
43
+ # protect_sensitive_fields: true
44
+
45
+ # Raise an error when performing a #find and the document is not found.
46
+ # (default: true)
47
+ # raise_not_found_error: true
48
+
49
+ # Raise an error when defining a scope with the same name as an
50
+ # existing method. (default: false)
51
+ # scope_overwrite_exception: false
52
+
53
+ # Use Active Support's time zone in conversions. (default: true)
54
+ # use_activesupport_time_zone: true
55
+
56
+ # Ensure all times are UTC in the app side. (default: false)
57
+ # use_utc: false
58
+ test:
59
+ sessions:
60
+ default:
61
+ database: dummy_test
62
+ hosts:
63
+ - localhost:27017
64
+ options:
65
+ read: primary
66
+ # In the test environment we lower the retries and retry interval to
67
+ # low amounts for fast failures.
68
+ max_retries: 1
69
+ retry_interval: 0
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount Gemstonemerchant::Engine => "/gemstonemerchant"
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 5f4087170e75d91e626c489ced26ac9ecd8e6187815f1b82818a212476056dcc90c7936523e64bb106d7ce7b364bfbb5e5dd3b6d6b7d1b8a70f16fe669eac991
15
+
16
+ test:
17
+ secret_key_base: 576c7edcc3392e08d0b3e31cbc8f4c8ff8a3c0f8adaf01897fe14ba9482058a98aa6a25f1ca218944bb0785e9cf046ac987cfd5e85c0ac802ae254799b95a7f5
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
File without changes
@@ -0,0 +1,349 @@
1
+
2
+
3
+ Started GET "/" for 127.0.0.1 at 2014-06-28 23:31:45 -0300
4
+ Processing by Rails::WelcomeController#index as HTML
5
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/railties-4.1.2/lib/rails/templates/rails/welcome/index.html.erb (55.4ms)
6
+ Completed 200 OK in 292ms (Views: 291.3ms | ActiveRecord: 0.0ms)
7
+
8
+
9
+ Started GET "/cart" for 127.0.0.1 at 2014-06-28 23:32:02 -0300
10
+
11
+ ActionController::RoutingError (No route matches [GET] "/cart"):
12
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
13
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
14
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
15
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
16
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
17
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
18
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
19
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
20
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
21
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
22
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
23
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
24
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
25
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
26
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
27
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
28
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
29
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
30
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
31
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
32
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
33
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
34
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
35
+
36
+
37
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
38
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms)
39
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.1ms)
40
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (44.2ms)
41
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (282.2ms)
42
+
43
+
44
+ Started GET "/cart.html" for 127.0.0.1 at 2014-06-28 23:32:19 -0300
45
+
46
+ ActionController::RoutingError (No route matches [GET] "/cart.html"):
47
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
48
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
49
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
50
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
51
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
52
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
53
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
54
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
55
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
56
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
57
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
58
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
59
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
60
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
61
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
62
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
63
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
64
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
65
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
66
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
67
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
68
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
69
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
70
+
71
+
72
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
73
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms)
74
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.1ms)
75
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms)
76
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (53.4ms)
77
+
78
+
79
+ Started GET "/cart.html" for 127.0.0.1 at 2014-06-28 23:32:21 -0300
80
+
81
+ ActionController::RoutingError (No route matches [GET] "/cart.html"):
82
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
83
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
84
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
85
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
86
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
87
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
88
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
89
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
90
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
91
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
92
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
93
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
94
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
95
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
96
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
97
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
98
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
99
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
100
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
101
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
102
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
103
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
104
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
105
+
106
+
107
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
108
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.6ms)
109
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.6ms)
110
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.0ms)
111
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (54.0ms)
112
+
113
+
114
+ Started GET "/cart.html" for 127.0.0.1 at 2014-06-28 23:32:24 -0300
115
+
116
+ ActionController::RoutingError (No route matches [GET] "/cart.html"):
117
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
118
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
119
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
120
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
121
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
122
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
123
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
124
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
125
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
126
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
127
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
128
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
129
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
130
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
131
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
132
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
133
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
134
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
135
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
136
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
137
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
138
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
139
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
140
+
141
+
142
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms)
143
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
144
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.8ms)
145
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.4ms)
146
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (50.5ms)
147
+
148
+
149
+ Started GET "/users/sign_in" for 127.0.0.1 at 2014-06-28 23:32:35 -0300
150
+
151
+ ActionController::RoutingError (No route matches [GET] "/users/sign_in"):
152
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
153
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
154
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
155
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
156
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
157
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
158
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
159
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
160
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
161
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
162
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
163
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
164
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
165
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
166
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
167
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
168
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
169
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
170
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
171
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
172
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
173
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
174
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
175
+
176
+
177
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
178
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
179
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.2ms)
180
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.1ms)
181
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (58.1ms)
182
+
183
+
184
+ Started GET "/gemstonemerchant/cart/show" for 127.0.0.1 at 2014-06-28 23:33:00 -0300
185
+
186
+ ActionController::RoutingError (No route matches [GET] "/gemstonemerchant/cart/show"):
187
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
188
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
189
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
190
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
191
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
192
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
193
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
194
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
195
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
196
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
197
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
198
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
199
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
200
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
201
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
202
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
203
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
204
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
205
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
206
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
207
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
208
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
209
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
210
+
211
+
212
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
213
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
214
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.7ms)
215
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.3ms)
216
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (52.2ms)
217
+
218
+
219
+ Started GET "/gemstonemerchant/cart" for 127.0.0.1 at 2014-06-28 23:33:03 -0300
220
+ Processing by Gemstonemerchant::CartController#show as HTML
221
+ Rendered /home/lucas/Proyectos/gemstonemerchant/app/views/gemstonemerchant/cart/show.html.erb within layouts/gemstonemerchant/application (35.3ms)
222
+ Completed 500 Internal Server Error in 417ms
223
+
224
+ ActionView::Template::Error (undefined method `line_items' for nil:NilClass):
225
+ 1: <h1>Shopping Cart</h1>
226
+ 2: <% unless @cart.line_items.any? %>
227
+ 3: <p>You don't have any items in your cart. <%= link_to "Go Add Some", products_path %>
228
+ 4: <% end %>
229
+ 5: <table width="100%">
230
+ /home/lucas/Proyectos/gemstonemerchant/app/views/gemstonemerchant/cart/show.html.erb:2:in `__home_lucas__royectos_gemstonemerchant_app_views_gemstonemerchant_cart_show_html_erb__278248625__592810878'
231
+ actionview (4.1.2) lib/action_view/template.rb:145:in `block in render'
232
+ activesupport (4.1.2) lib/active_support/notifications.rb:161:in `instrument'
233
+ actionview (4.1.2) lib/action_view/template.rb:339:in `instrument'
234
+ actionview (4.1.2) lib/action_view/template.rb:143:in `render'
235
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
236
+ actionview (4.1.2) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
237
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
238
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
239
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
240
+ actionview (4.1.2) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
241
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template'
242
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
243
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
244
+ actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:17:in `render'
245
+ actionview (4.1.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
246
+ actionview (4.1.2) lib/action_view/renderer/renderer.rb:23:in `render'
247
+ actionview (4.1.2) lib/action_view/rendering.rb:99:in `_render_template'
248
+ actionpack (4.1.2) lib/action_controller/metal/streaming.rb:217:in `_render_template'
249
+ actionview (4.1.2) lib/action_view/rendering.rb:82:in `render_to_body'
250
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
251
+ actionpack (4.1.2) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
252
+ actionpack (4.1.2) lib/abstract_controller/rendering.rb:25:in `render'
253
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:16:in `render'
254
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
255
+ activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
256
+ /usr/local/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
257
+ activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
258
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
259
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
260
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
261
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
262
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
263
+ actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
264
+ actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action'
265
+ actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
266
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
267
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
268
+ actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
269
+ actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
270
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
271
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument'
272
+ activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
273
+ activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument'
274
+ actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
275
+ actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
276
+ activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
277
+ actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process'
278
+ actionview (4.1.2) lib/action_view/rendering.rb:30:in `process'
279
+ actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch'
280
+ actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
281
+ actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action'
282
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call'
283
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
284
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call'
285
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
286
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
287
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
288
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
289
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
290
+ railties (4.1.2) lib/rails/railtie.rb:194:in `public_send'
291
+ railties (4.1.2) lib/rails/railtie.rb:194:in `method_missing'
292
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
293
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each'
294
+ actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call'
295
+ actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call'
296
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
297
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
298
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
299
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
300
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
301
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
302
+ actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
303
+ actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call'
304
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
305
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
306
+ actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
307
+ activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call'
308
+ activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
309
+ activerecord (4.1.2) lib/active_record/migration.rb:380:in `call'
310
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
311
+ activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
312
+ actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
313
+ actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
314
+ actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
315
+ actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
316
+ actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
317
+ railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
318
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
319
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
320
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
321
+ activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
322
+ railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
323
+ actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
324
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
325
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
326
+ activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
327
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
328
+ actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
329
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
330
+ railties (4.1.2) lib/rails/engine.rb:514:in `call'
331
+ railties (4.1.2) lib/rails/application.rb:144:in `call'
332
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
333
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
334
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
335
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
336
+ /usr/local/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
337
+ /usr/local/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
338
+
339
+
340
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
341
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (139.7ms)
342
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (251.0ms)
343
+
344
+
345
+ Started GET "/gemstonemerchant/users/sign_in" for 127.0.0.1 at 2014-06-28 23:33:16 -0300
346
+ Processing by Devise::SessionsController#new as HTML
347
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/devise-3.2.4/app/views/devise/shared/_links.erb (2.9ms)
348
+ Rendered /usr/local/lib/ruby/gems/2.0.0/gems/devise-3.2.4/app/views/devise/sessions/new.html.erb (896.2ms)
349
+ Completed 200 OK in 1031ms (Views: 979.9ms | ActiveRecord: 0.0ms)