further 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +4 -0
  4. data/Rakefile +38 -0
  5. data/lib/further.rb +2 -0
  6. data/lib/further/core.rb +44 -0
  7. data/lib/further/version.rb +3 -0
  8. data/lib/generators/further/USAGE +10 -0
  9. data/lib/generators/further/further_generator.rb +16 -0
  10. data/lib/generators/further/templates/create_further_informations.rb +12 -0
  11. data/lib/generators/further/templates/further_information.rb +5 -0
  12. data/lib/tasks/further_tasks.rake +4 -0
  13. data/test/dummy/README.rdoc +261 -0
  14. data/test/dummy/Rakefile +7 -0
  15. data/test/dummy/app/assets/javascripts/application.js +15 -0
  16. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  17. data/test/dummy/app/controllers/application_controller.rb +3 -0
  18. data/test/dummy/app/controllers/sites_controller.rb +83 -0
  19. data/test/dummy/app/helpers/application_helper.rb +2 -0
  20. data/test/dummy/app/helpers/sites_helper.rb +2 -0
  21. data/test/dummy/app/models/site.rb +4 -0
  22. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/test/dummy/app/views/sites/_form.html.erb +17 -0
  24. data/test/dummy/app/views/sites/edit.html.erb +6 -0
  25. data/test/dummy/app/views/sites/index.html.erb +21 -0
  26. data/test/dummy/app/views/sites/new.html.erb +5 -0
  27. data/test/dummy/app/views/sites/show.html.erb +5 -0
  28. data/test/dummy/config.ru +4 -0
  29. data/test/dummy/config/application.rb +59 -0
  30. data/test/dummy/config/boot.rb +10 -0
  31. data/test/dummy/config/database.yml +25 -0
  32. data/test/dummy/config/environment.rb +5 -0
  33. data/test/dummy/config/environments/development.rb +37 -0
  34. data/test/dummy/config/environments/production.rb +67 -0
  35. data/test/dummy/config/environments/test.rb +37 -0
  36. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  37. data/test/dummy/config/initializers/inflections.rb +15 -0
  38. data/test/dummy/config/initializers/mime_types.rb +5 -0
  39. data/test/dummy/config/initializers/secret_token.rb +7 -0
  40. data/test/dummy/config/initializers/session_store.rb +8 -0
  41. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  42. data/test/dummy/config/locales/en.yml +5 -0
  43. data/test/dummy/config/routes.rb +59 -0
  44. data/test/dummy/db/development.sqlite3 +0 -0
  45. data/test/dummy/db/migrate/20131119113259_create_sites.rb +10 -0
  46. data/test/dummy/db/schema.rb +34 -0
  47. data/test/dummy/log/development.log +310 -0
  48. data/test/dummy/public/404.html +26 -0
  49. data/test/dummy/public/422.html +26 -0
  50. data/test/dummy/public/500.html +25 -0
  51. data/test/dummy/public/favicon.ico +0 -0
  52. data/test/dummy/script/rails +6 -0
  53. data/test/dummy/test/fixtures/further_informations.yml +9 -0
  54. data/test/dummy/test/fixtures/sites.yml +9 -0
  55. data/test/dummy/test/functional/sites_controller_test.rb +49 -0
  56. data/test/dummy/test/unit/further_information_test.rb +7 -0
  57. data/test/dummy/test/unit/helpers/sites_helper_test.rb +4 -0
  58. data/test/dummy/test/unit/site_test.rb +7 -0
  59. data/test/further_test.rb +19 -0
  60. data/test/test_helper.rb +15 -0
  61. metadata +178 -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,5 @@
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
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -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 = '0c956a5ca9925032c7a4fee4a8e89a2cd50d90ee93fad8091f66b189df5b11076efb07df90588d125bbc3b970c833c2113d105097065506438726493f7568299'
@@ -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
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,59 @@
1
+ Dummy::Application.routes.draw do
2
+ resources :sites
3
+ # The priority is based upon order of creation:
4
+ # first created -> highest priority.
5
+
6
+ # Sample of regular route:
7
+ # match 'products/:id' => 'catalog#view'
8
+ # Keep in mind you can assign values other than :controller and :action
9
+
10
+ # Sample of named route:
11
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
12
+ # This route can be invoked with purchase_url(:id => product.id)
13
+
14
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Sample resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Sample resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Sample resource route with more complex sub-resources
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', :on => :collection
40
+ # end
41
+ # end
42
+
43
+ # Sample resource route within a namespace:
44
+ # namespace :admin do
45
+ # # Directs /admin/products/* to Admin::ProductsController
46
+ # # (app/controllers/admin/products_controller.rb)
47
+ # resources :products
48
+ # end
49
+
50
+ # You can have the root of your site routed with "root"
51
+ # just remember to delete public/index.html.
52
+ # root :to => 'welcome#index'
53
+
54
+ # See how all your routes lay out with "rake routes"
55
+
56
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
57
+ # Note: This route will make all actions in every controller accessible via GET requests.
58
+ # match ':controller(/:action(/:id))(.:format)'
59
+ end
Binary file
@@ -0,0 +1,10 @@
1
+ class CreateSites < ActiveRecord::Migration
2
+ def change
3
+ create_table :sites do |t|
4
+ t.string :title
5
+ t.string :url
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,34 @@
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 => 20131124112828) do
15
+
16
+ create_table "further_informations", :force => true do |t|
17
+ t.integer "furtherable_id"
18
+ t.string "furtherable_type"
19
+ t.text "info"
20
+ t.datetime "created_at", :null => false
21
+ t.datetime "updated_at", :null => false
22
+ end
23
+
24
+ add_index "further_informations", ["furtherable_id"], :name => "index_further_informations_on_furtherable_id"
25
+ add_index "further_informations", ["furtherable_type"], :name => "index_further_informations_on_furtherable_type"
26
+
27
+ create_table "sites", :force => true do |t|
28
+ t.string "title"
29
+ t.string "url"
30
+ t.datetime "created_at", :null => false
31
+ t.datetime "updated_at", :null => false
32
+ end
33
+
34
+ end
@@ -0,0 +1,310 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+ Connecting to database specified by database.yml
6
+  (0.2ms) select sqlite_version(*)
7
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
8
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
10
+ Migrating to CreateSites (20131119113259)
11
+  (0.1ms) begin transaction
12
+  (0.6ms) CREATE TABLE "sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
13
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131119113259')
14
+  (2.0ms) commit transaction
15
+ Migrating to CreateFurtherInformations (20131124112828)
16
+  (0.1ms) begin transaction
17
+  (0.4ms) CREATE TABLE "further_informations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "furtherable_id" integer, "furtherable_type" varchar(255), "info" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
18
+  (0.1ms) CREATE INDEX "index_further_informations_on_furtherable_id" ON "further_informations" ("furtherable_id")
19
+  (0.1ms) CREATE INDEX "index_further_informations_on_furtherable_type" ON "further_informations" ("furtherable_type")
20
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131124112828')
21
+  (1.6ms) commit transaction
22
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
23
+ Connecting to database specified by database.yml
24
+ Connecting to database specified by database.yml
25
+ Connecting to database specified by database.yml
26
+
27
+
28
+ Started GET "/" for 127.0.0.1 at 2013-11-24 15:16:07 +0300
29
+
30
+ ActionController::RoutingError (No route matches [GET] "/"):
31
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
32
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
33
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
34
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
35
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
36
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
37
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
38
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
39
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
40
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
41
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
42
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
43
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
44
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
45
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
46
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
47
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
48
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
49
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
50
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
51
+
52
+
53
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
54
+
55
+
56
+ Started GET "/sites" for 127.0.0.1 at 2013-11-24 15:16:16 +0300
57
+
58
+ ActionController::RoutingError (No route matches [GET] "/sites"):
59
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
60
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
61
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
62
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
63
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
64
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
65
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
66
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
67
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
68
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
69
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
70
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
71
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
72
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
73
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
74
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
75
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
76
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
77
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
78
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
79
+
80
+
81
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.3ms)
82
+
83
+
84
+ Started GET "/sites/1" for 127.0.0.1 at 2013-11-24 15:16:24 +0300
85
+
86
+ ActionController::RoutingError (No route matches [GET] "/sites/1"):
87
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
88
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
89
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
90
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
91
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
92
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
93
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
94
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
95
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
96
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
97
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
98
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
99
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
100
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
101
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
102
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
103
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
104
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
105
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
106
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
107
+
108
+
109
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
110
+
111
+
112
+ Started GET "/sites/1" for 127.0.0.1 at 2013-11-24 15:16:43 +0300
113
+
114
+ ActionController::RoutingError (uninitialized constant SitesController):
115
+ activesupport (3.2.15) lib/active_support/inflector/methods.rb:230:in `block in constantize'
116
+ activesupport (3.2.15) lib/active_support/inflector/methods.rb:229:in `each'
117
+ activesupport (3.2.15) lib/active_support/inflector/methods.rb:229:in `constantize'
118
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
119
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:54:in `controller'
120
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:32:in `call'
121
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
122
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
123
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
124
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
125
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
126
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
127
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
128
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
129
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
130
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
131
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
132
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
133
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
134
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
135
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
136
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
137
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3057504093650317582__call__2020744056040791685__callbacks'
138
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
139
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
140
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
141
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
142
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
143
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
144
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
145
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
146
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
147
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
148
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
149
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
150
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
151
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
152
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
153
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
154
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
155
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
156
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
157
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
158
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
159
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
160
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
161
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
162
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
163
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
164
+
165
+
166
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms)
167
+
168
+
169
+ Started GET "/sites" for 127.0.0.1 at 2013-11-24 15:16:46 +0300
170
+
171
+ ActionController::RoutingError (uninitialized constant SitesController):
172
+ activesupport (3.2.15) lib/active_support/inflector/methods.rb:230:in `block in constantize'
173
+ activesupport (3.2.15) lib/active_support/inflector/methods.rb:229:in `each'
174
+ activesupport (3.2.15) lib/active_support/inflector/methods.rb:229:in `constantize'
175
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
176
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:54:in `controller'
177
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:32:in `call'
178
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
179
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
180
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
181
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
182
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
183
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
184
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
185
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
186
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
187
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
188
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
189
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
190
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
191
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
192
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
193
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
194
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3057504093650317582__call__2020744056040791685__callbacks'
195
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
196
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
197
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
198
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
199
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
200
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
201
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
202
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
203
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
204
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
205
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
206
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
207
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
208
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
209
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
210
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
211
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
212
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
213
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
214
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
215
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
216
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
217
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
218
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
219
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
220
+ /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
221
+
222
+
223
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
224
+ Connecting to database specified by database.yml
225
+ Connecting to database specified by database.yml
226
+
227
+
228
+ Started GET "/sites" for 127.0.0.1 at 2013-11-24 15:17:38 +0300
229
+
230
+ ActionController::RoutingError (uninitialized constant Further::Further::Further):
231
+ app/models/site.rb:3:in `<class:Site>'
232
+ app/models/site.rb:1:in `<top (required)>'
233
+ app/controllers/sites_controller.rb:1:in `<top (required)>'
234
+
235
+
236
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
237
+
238
+
239
+ Started GET "/sites" for 127.0.0.1 at 2013-11-24 15:18:38 +0300
240
+ Processing by SitesController#index as HTML
241
+ Rendered sites/index.html.erb within layouts/application (32.6ms)
242
+ Completed 500 Internal Server Error in 60.9ms
243
+
244
+ ActionView::Template::Error (undefined method `each' for nil:NilClass):
245
+ 7: <th></th>
246
+ 8: </tr>
247
+ 9:
248
+ 10: <% @sites.each do |site| %>
249
+ 11: <tr>
250
+ 12: <td><%= link_to 'Show', site %></td>
251
+ 13: <td><%= link_to 'Edit', edit_site_path(site) %></td>
252
+ app/views/sites/index.html.erb:10:in `_app_views_sites_index_html_erb__3640921172128072704_70248034341860'
253
+
254
+
255
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
256
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
257
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.1ms)
258
+
259
+
260
+ Started GET "/sites" for 127.0.0.1 at 2013-11-24 15:19:11 +0300
261
+
262
+ ActionController::RoutingError (uninitialized constant Further::Further::Further):
263
+ app/models/site.rb:3:in `<class:Site>'
264
+ app/models/site.rb:1:in `<top (required)>'
265
+ app/controllers/sites_controller.rb:1:in `<top (required)>'
266
+
267
+
268
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
269
+
270
+
271
+ Started GET "/sites" for 127.0.0.1 at 2013-11-24 15:19:13 +0300
272
+ Processing by SitesController#index as HTML
273
+ Rendered sites/index.html.erb within layouts/application (0.9ms)
274
+ Completed 500 Internal Server Error in 3.4ms
275
+
276
+ ActionView::Template::Error (undefined method `each' for nil:NilClass):
277
+ 7: <th></th>
278
+ 8: </tr>
279
+ 9:
280
+ 10: <% @sites.each do |site| %>
281
+ 11: <tr>
282
+ 12: <td><%= link_to 'Show', site %></td>
283
+ 13: <td><%= link_to 'Edit', edit_site_path(site) %></td>
284
+ app/views/sites/index.html.erb:10:in `_app_views_sites_index_html_erb__3640921172128072704_70248034341860'
285
+
286
+
287
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
288
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
289
+ Rendered /Users/ecleel/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.6ms)
290
+ Connecting to database specified by database.yml
291
+ Connecting to database specified by database.yml
292
+ Connecting to database specified by database.yml
293
+ Connecting to database specified by database.yml
294
+ Connecting to database specified by database.yml
295
+ Connecting to database specified by database.yml
296
+ Connecting to database specified by database.yml
297
+ Connecting to database specified by database.yml
298
+ Connecting to database specified by database.yml
299
+ Connecting to database specified by database.yml
300
+ Connecting to database specified by database.yml
301
+ Connecting to database specified by database.yml
302
+ Connecting to database specified by database.yml
303
+ Connecting to database specified by database.yml
304
+ Connecting to database specified by database.yml
305
+ Connecting to database specified by database.yml
306
+ Connecting to database specified by database.yml
307
+ Connecting to database specified by database.yml
308
+ Connecting to database specified by database.yml
309
+ Connecting to database specified by database.yml
310
+ Connecting to database specified by database.yml