uhoh1 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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +40 -0
- data/app/assets/javascripts/uhoh1/application.js +15 -0
- data/app/assets/stylesheets/uhoh1/application.css +13 -0
- data/app/controllers/uhoh1/application_controller.rb +4 -0
- data/app/helpers/uhoh1/application_helper.rb +4 -0
- data/app/views/layouts/uhoh1/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/lib/tasks/uhoh1_tasks.rake +4 -0
- data/lib/uhoh1.rb +4 -0
- data/lib/uhoh1/engine.rb +5 -0
- data/lib/uhoh1/version.rb +3 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/javascripts/products.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/assets/stylesheets/products.css +4 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/products_controller.rb +83 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/products_helper.rb +2 -0
- data/test/dummy/app/models/product.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/products/_form.html.erb +25 -0
- data/test/dummy/app/views/products/edit.html.erb +6 -0
- data/test/dummy/app/views/products/index.html.erb +25 -0
- data/test/dummy/app/views/products/new.html.erb +5 -0
- data/test/dummy/app/views/products/show.html.erb +15 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20140825044423_create_products.rb +10 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/log/development.log +187 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/products.yml +9 -0
- data/test/dummy/test/functional/products_controller_test.rb +49 -0
- data/test/dummy/test/unit/helpers/products_helper_test.rb +4 -0
- data/test/dummy/test/unit/product_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/C23/400/sprockets%2F31710301f0d68b89727f5de964446610 +0 -0
- data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
- data/test/dummy/tmp/cache/assets/CB2/7F0/sprockets%2F9d79a842f086f17d3420e5cb88710c10 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/DB0/sprockets%2F06991b057becc4b32d864f3863b3140e +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D54/F30/sprockets%2F8ea40d0224e2d772232dcbfbf0fc3005 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D6A/220/sprockets%2Fd87140a2bf31949b147b76f6a6abbc8a +0 -0
- data/test/dummy/tmp/cache/assets/D71/520/sprockets%2F30ec6fc4049a9849b8f80ea74a7b0bd2 +0 -0
- data/test/dummy/tmp/cache/assets/D99/A20/sprockets%2F552b4516be6f766a2da35c26be2f1ecf +0 -0
- data/test/dummy/tmp/cache/assets/DAF/940/sprockets%2F6f0bb36f849be67c6128d28cfa99bce3 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- data/test/uhoh1_test.rb +7 -0
- metadata +216 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Dummy::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
|
+
# Configure static asset server for tests with Cache-Control for performance
|
|
11
|
+
config.serve_static_assets = true
|
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
|
13
|
+
|
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
|
15
|
+
config.whiny_nils = true
|
|
16
|
+
|
|
17
|
+
# Show full error reports and disable caching
|
|
18
|
+
config.consider_all_requests_local = true
|
|
19
|
+
config.action_controller.perform_caching = false
|
|
20
|
+
|
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
|
22
|
+
config.action_dispatch.show_exceptions = false
|
|
23
|
+
|
|
24
|
+
# Disable request forgery protection in test environment
|
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
|
26
|
+
|
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
|
29
|
+
# ActionMailer::Base.deliveries array.
|
|
30
|
+
config.action_mailer.delivery_method = :test
|
|
31
|
+
|
|
32
|
+
# Raise exception on mass assignment protection for Active Record models
|
|
33
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
|
34
|
+
|
|
35
|
+
# Print deprecation notices to the stderr
|
|
36
|
+
config.active_support.deprecation = :stderr
|
|
37
|
+
end
|
|
@@ -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,15 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Add new inflection rules using the following format
|
|
4
|
+
# (all these examples are active by default):
|
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
|
8
|
+
# inflect.irregular 'person', 'people'
|
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
|
10
|
+
# end
|
|
11
|
+
#
|
|
12
|
+
# These inflection rules are supported but not enabled by default:
|
|
13
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
|
14
|
+
# inflect.acronym 'RESTful'
|
|
15
|
+
# end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
|
7
|
+
Dummy::Application.config.secret_token = '2cc374fa54931ad800a041eb7073559a2b16284e7211f8b15a5076ddf3542693e67f21d744e8ff1da3b98d02143477391d7c257651a01c71c2822c5bda613a67'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
|
4
|
+
|
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
|
6
|
+
# which shouldn't be used to store highly confidential information
|
|
7
|
+
# (create the session table with "rails generate session_migration")
|
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
|
@@ -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]
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Disable root element in JSON by default.
|
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
|
13
|
+
self.include_root_in_json = false
|
|
14
|
+
end
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# encoding: UTF-8
|
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
|
5
|
+
#
|
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
|
7
|
+
# database schema. If you need to create the application database on another
|
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
11
|
+
#
|
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
|
13
|
+
|
|
14
|
+
ActiveRecord::Schema.define(:version => 20140825044423) do
|
|
15
|
+
|
|
16
|
+
create_table "products", :force => true do |t|
|
|
17
|
+
t.string "item"
|
|
18
|
+
t.integer "price"
|
|
19
|
+
t.datetime "created_at", :null => false
|
|
20
|
+
t.datetime "updated_at", :null => false
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
end
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
Connecting to database specified by database.yml
|
|
2
|
+
Connecting to database specified by database.yml
|
|
3
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
|
4
|
+
[1m[35m (171.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
5
|
+
[1m[36m (234.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
6
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
7
|
+
Migrating to CreateProducts (20140825044423)
|
|
8
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
9
|
+
[1m[35m (0.0ms)[0m CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item" varchar(255), "price" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
10
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140825044423')[0m
|
|
11
|
+
[1m[35m (140.4ms)[0m commit transaction
|
|
12
|
+
[1m[36m (15.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Started GET "/" for 127.0.0.1 at 2014-08-25 10:15:17 +0530
|
|
16
|
+
Connecting to database specified by database.yml
|
|
17
|
+
|
|
18
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
|
19
|
+
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
20
|
+
actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
21
|
+
railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
|
|
22
|
+
railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
|
|
23
|
+
activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
|
|
24
|
+
railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
|
|
25
|
+
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
26
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
|
27
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
|
28
|
+
activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
29
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
|
30
|
+
actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
|
|
31
|
+
railties (3.2.19) lib/rails/engine.rb:484:in `call'
|
|
32
|
+
railties (3.2.19) lib/rails/application.rb:231:in `call'
|
|
33
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
|
34
|
+
railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
35
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
|
36
|
+
c:/Ruby200/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
|
37
|
+
c:/Ruby200/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
|
38
|
+
c:/Ruby200/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
Rendered c:/Ruby200/lib/ruby/gems/2.0.0/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (15.6ms)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
Started GET "/products" for 127.0.0.1 at 2014-08-25 10:15:29 +0530
|
|
45
|
+
Processing by ProductsController#index as HTML
|
|
46
|
+
[1m[36mProduct Load (0.0ms)[0m [1mSELECT "products".* FROM "products" [0m
|
|
47
|
+
Rendered products/index.html.erb within layouts/application (0.0ms)
|
|
48
|
+
Compiled products.css (0ms) (pid 868)
|
|
49
|
+
Compiled scaffold.css (0ms) (pid 868)
|
|
50
|
+
Compiled application.css (343ms) (pid 868)
|
|
51
|
+
Compiled jquery.js (15ms) (pid 868)
|
|
52
|
+
Compiled jquery_ujs.js (0ms) (pid 868)
|
|
53
|
+
Compiled products.js (0ms) (pid 868)
|
|
54
|
+
Compiled application.js (187ms) (pid 868)
|
|
55
|
+
Completed 200 OK in 904.9ms (Views: 764.5ms | ActiveRecord: 0.0ms)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:30 +0530
|
|
59
|
+
Served asset /application.css - 304 Not Modified (234ms)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
Started GET "/assets/products.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:30 +0530
|
|
63
|
+
Served asset /products.css - 200 OK (0ms)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:30 +0530
|
|
67
|
+
Served asset /scaffold.css - 200 OK (15ms)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:30 +0530
|
|
71
|
+
Served asset /jquery.js - 304 Not Modified (15ms)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:30 +0530
|
|
75
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:30 +0530
|
|
79
|
+
Served asset /application.js - 304 Not Modified (15ms)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
Started GET "/assets/products.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:30 +0530
|
|
83
|
+
Served asset /products.js - 200 OK (0ms)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
Started GET "/products/new" for 127.0.0.1 at 2014-08-25 10:15:34 +0530
|
|
87
|
+
Processing by ProductsController#new as HTML
|
|
88
|
+
Rendered products/_form.html.erb (62.4ms)
|
|
89
|
+
Rendered products/new.html.erb within layouts/application (109.2ms)
|
|
90
|
+
Completed 200 OK in 140.4ms (Views: 124.8ms | ActiveRecord: 0.0ms)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:34 +0530
|
|
94
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:34 +0530
|
|
98
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:34 +0530
|
|
102
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:34 +0530
|
|
106
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
Started POST "/products" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
110
|
+
Processing by ProductsController#create as HTML
|
|
111
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"NB+ijA9NUBt589kNX7T3Igm256nb96DM4brc4lXl6vk=", "product"=>{"item"=>"keyboard", "price"=>"30020"}, "commit"=>"Create Product"}
|
|
112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
113
|
+
[1m[36mSQL (124.9ms)[0m [1mINSERT INTO "products" ("created_at", "item", "price", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Mon, 25 Aug 2014 04:45:46 UTC +00:00], ["item", "keyboard"], ["price", 30020], ["updated_at", Mon, 25 Aug 2014 04:45:46 UTC +00:00]]
|
|
114
|
+
[1m[35m (171.8ms)[0m commit transaction
|
|
115
|
+
Redirected to http://localhost:3000/products/1
|
|
116
|
+
Completed 302 Found in 296.7ms (ActiveRecord: 296.7ms)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
Started GET "/products/1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
120
|
+
Processing by ProductsController#show as HTML
|
|
121
|
+
Parameters: {"id"=>"1"}
|
|
122
|
+
[1m[36mProduct Load (0.0ms)[0m [1mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
|
123
|
+
Rendered products/show.html.erb within layouts/application (0.0ms)
|
|
124
|
+
Completed 200 OK in 15.6ms (Views: 15.6ms | ActiveRecord: 0.0ms)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
128
|
+
Served asset /application.css - 304 Not Modified (15ms)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
Started GET "/assets/products.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
132
|
+
Served asset /products.css - 304 Not Modified (0ms)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
136
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
140
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
Started GET "/assets/products.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
144
|
+
Served asset /products.js - 304 Not Modified (0ms)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
148
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:46 +0530
|
|
152
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
Started GET "/products" for 127.0.0.1 at 2014-08-25 10:15:47 +0530
|
|
156
|
+
Processing by ProductsController#index as HTML
|
|
157
|
+
[1m[35mProduct Load (0.0ms)[0m SELECT "products".* FROM "products"
|
|
158
|
+
Rendered products/index.html.erb within layouts/application (0.0ms)
|
|
159
|
+
Completed 200 OK in 15.6ms (Views: 15.6ms | ActiveRecord: 0.0ms)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:48 +0530
|
|
163
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:48 +0530
|
|
167
|
+
Served asset /jquery_ujs.js - 304 Not Modified (15ms)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:48 +0530
|
|
171
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:48 +0530
|
|
175
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
Started GET "/assets/products.css?body=1" for 127.0.0.1 at 2014-08-25 10:15:48 +0530
|
|
179
|
+
Served asset /products.css - 304 Not Modified (0ms)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
Started GET "/assets/products.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:48 +0530
|
|
183
|
+
Served asset /products.js - 304 Not Modified (0ms)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-25 10:15:48 +0530
|
|
187
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
|
@@ -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,6 @@
|
|
|
1
|
+
#!/usr/bin/env ruby.exe
|
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
3
|
+
|
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
|
6
|
+
require 'rails/commands'
|