webrickroll 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +40 -0
- data/app/assets/javascripts/webrickroll/application.js +15 -0
- data/app/assets/stylesheets/webrickroll/application.css +13 -0
- data/app/controllers/webrickroll/application_controller.rb +4 -0
- data/app/helpers/webrickroll/application_helper.rb +4 -0
- data/app/views/layouts/webrickroll/application.html.erb +14 -0
- data/config/initializers/webrickroll.rb +17 -0
- data/config/routes.rb +2 -0
- data/lib/tasks/webrickroll_tasks.rake +4 -0
- data/lib/webrickroll/engine.rb +5 -0
- data/lib/webrickroll/version.rb +3 -0
- data/lib/webrickroll.rb +4 -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/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -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 +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +346 -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/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- data/test/webrickroll_test.rb +7 -0
- metadata +147 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
+
config.serve_static_assets = false
|
13
|
+
|
14
|
+
# Compress JavaScripts and CSS
|
15
|
+
config.assets.compress = true
|
16
|
+
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
+
config.assets.compile = false
|
19
|
+
|
20
|
+
# Generate digests for assets URLs
|
21
|
+
config.assets.digest = true
|
22
|
+
|
23
|
+
# Defaults to nil and saved in location specified by config.assets.prefix
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
25
|
+
|
26
|
+
# Specifies the header that your server uses for sending files
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
+
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
+
# config.force_ssl = true
|
32
|
+
|
33
|
+
# See everything in the log (default is :info)
|
34
|
+
# config.log_level = :debug
|
35
|
+
|
36
|
+
# Prepend all log lines with the following tags
|
37
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
38
|
+
|
39
|
+
# Use a different logger for distributed setups
|
40
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
41
|
+
|
42
|
+
# Use a different cache store in production
|
43
|
+
# config.cache_store = :mem_cache_store
|
44
|
+
|
45
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
46
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
47
|
+
|
48
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
49
|
+
# config.assets.precompile += %w( search.js )
|
50
|
+
|
51
|
+
# Disable delivery errors, bad email addresses will be ignored
|
52
|
+
# config.action_mailer.raise_delivery_errors = false
|
53
|
+
|
54
|
+
# Enable threaded mode
|
55
|
+
# config.threadsafe!
|
56
|
+
|
57
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
58
|
+
# the I18n.default_locale when a translation can not be found)
|
59
|
+
config.i18n.fallbacks = true
|
60
|
+
|
61
|
+
# Send deprecation notices to registered listeners
|
62
|
+
config.active_support.deprecation = :notify
|
63
|
+
|
64
|
+
# Log the query plan for queries taking more than this (works
|
65
|
+
# with SQLite, MySQL, and PostgreSQL)
|
66
|
+
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
67
|
+
end
|
@@ -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 = 'cc2d15218a48f4382a476929a2415c24c8f023100068fe2e36060dc70f6c9feed33ffc4082bdc29dba0291858f081e05b2f5b75f58ac6640a1b7ae0293b46e58'
|
@@ -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
|
File without changes
|
@@ -0,0 +1,346 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
|
3
|
+
|
4
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 16:11:10 -0500
|
5
|
+
|
6
|
+
NoMethodError (undefined method `redirect' for #<Webrickroll::Middle:0x007fd9fe059be8>):
|
7
|
+
/Users/angeleah/Development/webrickroll/config/initializers/webrickroll.rb:8:in `call'
|
8
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
9
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
10
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
11
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
12
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
13
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
14
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
15
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
16
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
17
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
18
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
19
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
20
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__3663912140734189876__call__2962430266108569830__callbacks'
|
21
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
22
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
23
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
24
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
25
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
26
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
27
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
28
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
29
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
30
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
31
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
32
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
33
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
34
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
35
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
36
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
37
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
38
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
39
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
40
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
41
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
42
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
43
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
44
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
45
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
46
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
47
|
+
|
48
|
+
|
49
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
50
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.6ms)
|
51
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.2ms)
|
52
|
+
Connecting to database specified by database.yml
|
53
|
+
|
54
|
+
|
55
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 16:12:31 -0500
|
56
|
+
Connecting to database specified by database.yml
|
57
|
+
|
58
|
+
|
59
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 16:15:27 -0500
|
60
|
+
|
61
|
+
|
62
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 16:28:48 -0500
|
63
|
+
Connecting to database specified by database.yml
|
64
|
+
|
65
|
+
|
66
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:10:16 -0500
|
67
|
+
Connecting to database specified by database.yml
|
68
|
+
|
69
|
+
|
70
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:14:25 -0500
|
71
|
+
|
72
|
+
|
73
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:14:27 -0500
|
74
|
+
Connecting to database specified by database.yml
|
75
|
+
|
76
|
+
|
77
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:17:30 -0500
|
78
|
+
Connecting to database specified by database.yml
|
79
|
+
|
80
|
+
|
81
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:18:36 -0500
|
82
|
+
Connecting to database specified by database.yml
|
83
|
+
|
84
|
+
|
85
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:29:47 -0500
|
86
|
+
|
87
|
+
|
88
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:29:54 -0500
|
89
|
+
Connecting to database specified by database.yml
|
90
|
+
Connecting to database specified by database.yml
|
91
|
+
Connecting to database specified by database.yml
|
92
|
+
|
93
|
+
|
94
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:41:52 -0500
|
95
|
+
|
96
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
97
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
98
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
99
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
100
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
101
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
102
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
103
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
104
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
105
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
106
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
107
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
108
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
109
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
110
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
111
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
112
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
113
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
114
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
115
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
116
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
117
|
+
|
118
|
+
|
119
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (7.8ms)
|
120
|
+
Connecting to database specified by database.yml
|
121
|
+
Connecting to database specified by database.yml
|
122
|
+
|
123
|
+
|
124
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:43:52 -0500
|
125
|
+
|
126
|
+
|
127
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:44:23 -0500
|
128
|
+
Connecting to database specified by database.yml
|
129
|
+
|
130
|
+
|
131
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:44:41 -0500
|
132
|
+
|
133
|
+
NoMethodError (undefined method `redirect' for #<Webrickroll::Middle:0x007f9472e8b3f0>):
|
134
|
+
/Users/angeleah/Development/webrickroll/config/initializers/webrickroll.rb:8:in `call'
|
135
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
136
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
137
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
138
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
139
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
140
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
141
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
142
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
143
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
144
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
145
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
146
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
147
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1265574068949809838__call__1842829442708880472__callbacks'
|
148
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
149
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
150
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
151
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
152
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
153
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
154
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
155
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
156
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
157
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
158
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
159
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
160
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
161
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
162
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
163
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
164
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
165
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
166
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
167
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
168
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
169
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
170
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
171
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
172
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
173
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
174
|
+
|
175
|
+
|
176
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
177
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.1ms)
|
178
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.1ms)
|
179
|
+
|
180
|
+
|
181
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:45:09 -0500
|
182
|
+
|
183
|
+
NoMethodError (undefined method `redirect' for #<Webrickroll::Middle:0x007f9472e8b3f0>):
|
184
|
+
/Users/angeleah/Development/webrickroll/config/initializers/webrickroll.rb:8:in `call'
|
185
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
186
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
187
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
188
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
189
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
190
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
191
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
192
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
193
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
194
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
195
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
196
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
197
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1265574068949809838__call__1842829442708880472__callbacks'
|
198
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
199
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
200
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
201
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
202
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
203
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
204
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
205
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
206
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
207
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
208
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
209
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
210
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
211
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
212
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
213
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
214
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
215
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
216
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
217
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
218
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
219
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
220
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
221
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
222
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
223
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
224
|
+
|
225
|
+
|
226
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
227
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
|
228
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms)
|
229
|
+
Connecting to database specified by database.yml
|
230
|
+
Connecting to database specified by database.yml
|
231
|
+
|
232
|
+
|
233
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:45:45 -0500
|
234
|
+
Connecting to database specified by database.yml
|
235
|
+
|
236
|
+
|
237
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:46:34 -0500
|
238
|
+
Connecting to database specified by database.yml
|
239
|
+
|
240
|
+
|
241
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:47:36 -0500
|
242
|
+
Connecting to database specified by database.yml
|
243
|
+
|
244
|
+
|
245
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:51:29 -0500
|
246
|
+
Connecting to database specified by database.yml
|
247
|
+
|
248
|
+
|
249
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:51:52 -0500
|
250
|
+
|
251
|
+
NoMethodError (undefined method `redirect' for #<Webrickroll::Middle:0x007ff6e26f8700>):
|
252
|
+
/Users/angeleah/Development/webrickroll/config/initializers/webrickroll.rb:8:in `call'
|
253
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
254
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
255
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
256
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
257
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
258
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
259
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
260
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
261
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
262
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
263
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
264
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
265
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2967110442496722725__call__1816233660237418847__callbacks'
|
266
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
267
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
268
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
269
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
270
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
271
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
272
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
273
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
274
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
275
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
276
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
277
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
278
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
279
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
280
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
281
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
282
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
283
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
284
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
285
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
286
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
287
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
288
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
289
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
290
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
291
|
+
/Users/angeleah/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
292
|
+
|
293
|
+
|
294
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
295
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.2ms)
|
296
|
+
Rendered /Users/angeleah/.rvm/gems/ruby-1.9.2-p290@wrr/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.8ms)
|
297
|
+
Connecting to database specified by database.yml
|
298
|
+
|
299
|
+
|
300
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:55:35 -0500
|
301
|
+
Connecting to database specified by database.yml
|
302
|
+
|
303
|
+
|
304
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:56:05 -0500
|
305
|
+
|
306
|
+
|
307
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:56:10 -0500
|
308
|
+
|
309
|
+
|
310
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:56:10 -0500
|
311
|
+
|
312
|
+
|
313
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 19:56:11 -0500
|
314
|
+
Connecting to database specified by database.yml
|
315
|
+
|
316
|
+
|
317
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:00:16 -0500
|
318
|
+
Connecting to database specified by database.yml
|
319
|
+
|
320
|
+
|
321
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:01:32 -0500
|
322
|
+
|
323
|
+
|
324
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:01:52 -0500
|
325
|
+
Connecting to database specified by database.yml
|
326
|
+
|
327
|
+
|
328
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:11:11 -0500
|
329
|
+
Connecting to database specified by database.yml
|
330
|
+
|
331
|
+
|
332
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:11:48 -0500
|
333
|
+
Connecting to database specified by database.yml
|
334
|
+
|
335
|
+
|
336
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:18:08 -0500
|
337
|
+
Connecting to database specified by database.yml
|
338
|
+
|
339
|
+
|
340
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:18:41 -0500
|
341
|
+
|
342
|
+
|
343
|
+
Started GET "/" for 127.0.0.1 at 2013-05-19 20:27:48 -0500
|
344
|
+
|
345
|
+
|
346
|
+
Started GET "/cool" for 127.0.0.1 at 2013-05-19 20:28:10 -0500
|
@@ -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
|
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'
|