blogger_engine 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +37 -0
  5. data/app/assets/javascripts/blogger/application.js +13 -0
  6. data/app/assets/javascripts/blogger/articles.js +2 -0
  7. data/app/assets/javascripts/blogger/comments.js +2 -0
  8. data/app/assets/stylesheets/blogger/application.css +15 -0
  9. data/app/assets/stylesheets/blogger/articles.css +4 -0
  10. data/app/assets/stylesheets/blogger/comments.css +4 -0
  11. data/app/assets/stylesheets/scaffold.css +56 -0
  12. data/app/controllers/blogger/application_controller.rb +4 -0
  13. data/app/controllers/blogger/articles_controller.rb +62 -0
  14. data/app/controllers/blogger/comments_controller.rb +17 -0
  15. data/app/helpers/blogger/application_helper.rb +4 -0
  16. data/app/helpers/blogger/articles_helper.rb +4 -0
  17. data/app/helpers/blogger/comments_helper.rb +4 -0
  18. data/app/models/blogger/article.rb +15 -0
  19. data/app/models/blogger/comment.rb +4 -0
  20. data/app/views/blogger/articles/_form.html.erb +29 -0
  21. data/app/views/blogger/articles/edit.html.erb +6 -0
  22. data/app/views/blogger/articles/index.html.erb +29 -0
  23. data/app/views/blogger/articles/new.html.erb +5 -0
  24. data/app/views/blogger/articles/show.html.erb +22 -0
  25. data/app/views/blogger/comments/_comment.html.erb +1 -0
  26. data/app/views/blogger/comments/_form.html.erb +8 -0
  27. data/app/views/layouts/blogger/application.html.erb +15 -0
  28. data/config/initializers/assets.rb +1 -0
  29. data/config/routes.rb +6 -0
  30. data/db/migrate/20150322200045_create_blogger_articles.rb +10 -0
  31. data/db/migrate/20150322202121_create_blogger_comments.rb +10 -0
  32. data/db/migrate/20150323010458_add_author_id_to_blogger_articles.rb +5 -0
  33. data/lib/blogger.rb +9 -0
  34. data/lib/blogger/engine.rb +5 -0
  35. data/lib/blogger/version.rb +3 -0
  36. data/lib/tasks/blogger_tasks.rake +4 -0
  37. data/test/blogger_test.rb +7 -0
  38. data/test/controllers/blogger/articles_controller_test.rb +51 -0
  39. data/test/controllers/blogger/comments_controller_test.rb +9 -0
  40. data/test/dummy/README.rdoc +28 -0
  41. data/test/dummy/Rakefile +6 -0
  42. data/test/dummy/app/assets/javascripts/application.js +13 -0
  43. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  44. data/test/dummy/app/controllers/application_controller.rb +5 -0
  45. data/test/dummy/app/helpers/application_helper.rb +2 -0
  46. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  47. data/test/dummy/bin/bundle +3 -0
  48. data/test/dummy/bin/rails +4 -0
  49. data/test/dummy/bin/rake +4 -0
  50. data/test/dummy/bin/setup +29 -0
  51. data/test/dummy/config.ru +4 -0
  52. data/test/dummy/config/application.rb +26 -0
  53. data/test/dummy/config/boot.rb +5 -0
  54. data/test/dummy/config/database.yml +25 -0
  55. data/test/dummy/config/environment.rb +5 -0
  56. data/test/dummy/config/environments/development.rb +41 -0
  57. data/test/dummy/config/environments/production.rb +79 -0
  58. data/test/dummy/config/environments/test.rb +42 -0
  59. data/test/dummy/config/initializers/assets.rb +11 -0
  60. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  61. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  62. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  63. data/test/dummy/config/initializers/inflections.rb +16 -0
  64. data/test/dummy/config/initializers/mime_types.rb +4 -0
  65. data/test/dummy/config/initializers/session_store.rb +3 -0
  66. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  67. data/test/dummy/config/locales/en.yml +23 -0
  68. data/test/dummy/config/routes.rb +4 -0
  69. data/test/dummy/config/secrets.yml +22 -0
  70. data/test/dummy/db/development.sqlite3 +0 -0
  71. data/test/dummy/db/schema.rb +30 -0
  72. data/test/dummy/log/development.log +277 -0
  73. data/test/dummy/public/404.html +67 -0
  74. data/test/dummy/public/422.html +67 -0
  75. data/test/dummy/public/500.html +66 -0
  76. data/test/dummy/public/favicon.ico +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/18620df37479ef239dbca82e4e2c88b9 +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/2380a1312c92daad5bbec7d681785f83 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/275b79e00400843a0561d69d30516a10 +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/2c8d9e436990782275148b1a4e1a9b06 +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/320d097947296b8a25ada62c537d836b +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/46a9e4ecc26e6906cc43870865ff3846 +0 -0
  83. data/test/dummy/tmp/cache/assets/development/sprockets/601848f617752da354dfbd77e3d22528 +0 -0
  84. data/test/dummy/tmp/cache/assets/development/sprockets/6571f700c96faf44a3c1729a8f83cb48 +0 -0
  85. data/test/dummy/tmp/cache/assets/development/sprockets/9e7f240b6f9cade86eb65f6f703dbf74 +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sprockets/ab18bc4ea73e5f6dd2553905d42f6402 +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sprockets/ab2a0a8fab8751a75bc8586201320848 +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sprockets/bbae4a2e8593a0acf281af3a0d3b419e +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sprockets/d1750b2d96bc1de41d8d0a5d6d55337f +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/d1f5fc9f3d2a953feefbfa98b132597c +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/e7b551f0ca3eb6df84585d207b6d3f2c +0 -0
  92. data/test/fixtures/blogger/articles.yml +9 -0
  93. data/test/fixtures/blogger/comments.yml +9 -0
  94. data/test/integration/navigation_test.rb +10 -0
  95. data/test/models/blogger/article_test.rb +9 -0
  96. data/test/models/blogger/comment_test.rb +9 -0
  97. data/test/test_helper.rb +20 -0
  98. metadata +229 -0
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+
3
+ mount Blogger::Engine => "/blogger"
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 960333161fa705980fb5718b5ca57ddd2d87bd56dd0398f7afecdd4cc47e69dcba87c88aee75bf4ae0122046c3df46057d0785ebaecbff046c55b868474d5c6b
15
+
16
+ test:
17
+ secret_key_base: a00a04dbda01fd22107cf6fbe1ba1901926ce929d4533aec17bbf0348b79fd46192dbd62b9addac62067ac9b77bb5c5c201449f59d3d5f7232b51a27b6c39552
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
Binary file
@@ -0,0 +1,30 @@
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 that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20150322202121) do
15
+
16
+ create_table "blogger_articles", force: :cascade do |t|
17
+ t.string "title"
18
+ t.text "text"
19
+ t.datetime "created_at", null: false
20
+ t.datetime "updated_at", null: false
21
+ end
22
+
23
+ create_table "blogger_comments", force: :cascade do |t|
24
+ t.integer "article_id"
25
+ t.text "text"
26
+ t.datetime "created_at", null: false
27
+ t.datetime "updated_at", null: false
28
+ end
29
+
30
+ end
@@ -0,0 +1,277 @@
1
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.4ms) select sqlite_version(*)
3
+  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateBloggerArticles (20150322200045)
6
+  (0.1ms) begin transaction
7
+  (1.1ms) CREATE TABLE "blogger_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150322200045"]]
9
+  (1.0ms) commit transaction
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+
12
+
13
+ Started GET "/" for ::1 at 2015-03-22 16:10:35 -0400
14
+ Processing by Rails::WelcomeController#index as HTML
15
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/railties-4.2.1/lib/rails/templates/rails/welcome/index.html.erb (3.2ms)
16
+ Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
17
+
18
+
19
+ Started GET "/blogger/articles" for ::1 at 2015-03-22 16:11:01 -0400
20
+ Processing by Blogger::ArticlesController#index as HTML
21
+ Blogger::Article Load (3.1ms) SELECT "blogger_articles".* FROM "blogger_articles"
22
+ Rendered /Users/erickuhn19/Desktop/learn_to_program/codecademy/blogger/app/views/blogger/articles/index.html.erb within layouts/blogger/application (31.4ms)
23
+ Completed 500 Internal Server Error in 152ms (ActiveRecord: 3.4ms)
24
+
25
+ ActionView::Template::Error (Asset filtered out and will not be served: add `Rails.application.config.assets.precompile += %w( scaffold.css )` to `config/initializers/assets.rb` and restart your server):
26
+ 3: <head>
27
+ 4: <title>Blogger</title>
28
+ 5: <%= stylesheet_link_tag "blogger/application", media: "all" %>
29
+ 6: <%= stylesheet_link_tag "scaffold" %>
30
+ 7: <%= javascript_include_tag "blogger/application" %>
31
+ 8: <%= csrf_meta_tags %>
32
+ 9: </head>
33
+ sprockets-rails (2.2.4) lib/sprockets/rails/helper.rb:193:in `check_errors_for'
34
+ sprockets-rails (2.2.4) lib/sprockets/rails/helper.rb:159:in `block in stylesheet_link_tag'
35
+ sprockets-rails (2.2.4) lib/sprockets/rails/helper.rb:158:in `map'
36
+ sprockets-rails (2.2.4) lib/sprockets/rails/helper.rb:158:in `stylesheet_link_tag'
37
+ /Users/erickuhn19/Desktop/learn_to_program/codecademy/blogger/app/views/layouts/blogger/application.html.erb:6:in `___sers_erickuhn____esktop_learn_to_program_codecademy_blogger_app_views_layouts_blogger_application_html_erb__2573579792262237846_70262811960200'
38
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
39
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
40
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
41
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
42
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
43
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
44
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
45
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
46
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
47
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
48
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
49
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
50
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
51
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
52
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
53
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
54
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
55
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
56
+ /Users/erickuhn19/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
57
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
58
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
59
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
60
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
61
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
62
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
63
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
64
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
65
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
66
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
67
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
68
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
69
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
70
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
71
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
72
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
73
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
74
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
75
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
76
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
77
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
78
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
79
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
80
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
82
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
83
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
84
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
85
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
86
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
87
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
88
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
89
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
90
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
91
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
92
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
93
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
94
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
95
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
96
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
97
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
98
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
99
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
100
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
101
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
102
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
103
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
104
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
105
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
106
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
107
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
108
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
109
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
110
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
111
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
112
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
113
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
114
+ activerecord (4.2.1) lib/active_record/migration.rb:378:in `call'
115
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
116
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
117
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
118
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
119
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
120
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
121
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
122
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
123
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
124
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
125
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
126
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
127
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
128
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
129
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
130
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
131
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
132
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
133
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
134
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
135
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
136
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
137
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
138
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
139
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
140
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
141
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
142
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
143
+ /Users/erickuhn19/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
144
+ /Users/erickuhn19/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
145
+ /Users/erickuhn19/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
146
+
147
+
148
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.7ms)
149
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms)
150
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
151
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (31.6ms)
152
+
153
+
154
+ Started GET "/blogger/articles" for ::1 at 2015-03-22 16:17:10 -0400
155
+ Processing by Blogger::ArticlesController#index as HTML
156
+ Blogger::Article Load (2.2ms) SELECT "blogger_articles".* FROM "blogger_articles"
157
+ Rendered /Users/erickuhn19/Desktop/learn_to_program/codecademy/blogger/app/views/blogger/articles/index.html.erb within layouts/blogger/application (25.4ms)
158
+ Completed 200 OK in 153ms (Views: 117.7ms | ActiveRecord: 2.5ms)
159
+
160
+
161
+ Started GET "/assets/blogger/articles-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-03-22 16:17:11 -0400
162
+
163
+
164
+ Started GET "/assets/blogger/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for ::1 at 2015-03-22 16:17:11 -0400
165
+
166
+
167
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-03-22 16:17:11 -0400
168
+
169
+
170
+ Started GET "/assets/blogger/articles-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-03-22 16:17:11 -0400
171
+
172
+
173
+ Started GET "/assets/blogger/application-5443590960d4ffbddd98865912808a33.js?body=1" for ::1 at 2015-03-22 16:17:11 -0400
174
+
175
+
176
+ Started GET "/blogger" for ::1 at 2015-03-22 16:19:00 -0400
177
+
178
+ ActionController::RoutingError (uninitialized constant Blogger::ArticleController):
179
+ activesupport (4.2.1) lib/active_support/inflector/methods.rb:263:in `const_get'
180
+ activesupport (4.2.1) lib/active_support/inflector/methods.rb:263:in `block in constantize'
181
+ activesupport (4.2.1) lib/active_support/inflector/methods.rb:259:in `each'
182
+ activesupport (4.2.1) lib/active_support/inflector/methods.rb:259:in `inject'
183
+ activesupport (4.2.1) lib/active_support/inflector/methods.rb:259:in `constantize'
184
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:70:in `controller_reference'
185
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:60:in `controller'
186
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:39:in `serve'
187
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
188
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
189
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
190
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
191
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
192
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
193
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
194
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
195
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
196
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
197
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
198
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
199
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
200
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
201
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
202
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
203
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
204
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
205
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
206
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
207
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
208
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
209
+ activerecord (4.2.1) lib/active_record/migration.rb:378:in `call'
210
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
211
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
212
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
213
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
214
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
215
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
216
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
217
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
218
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
219
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
220
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
221
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
222
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
223
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
224
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
225
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
226
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
227
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
228
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
229
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
230
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
231
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
232
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
233
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
234
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
235
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
236
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
237
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
238
+ /Users/erickuhn19/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
239
+ /Users/erickuhn19/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
240
+ /Users/erickuhn19/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
241
+
242
+
243
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.9ms)
244
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms)
245
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
246
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (24.9ms)
247
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.5ms)
248
+ Rendered /Users/erickuhn19/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (88.5ms)
249
+
250
+
251
+ Started GET "/blogger" for ::1 at 2015-03-22 16:19:37 -0400
252
+ Processing by Blogger::ArticlesController#index as HTML
253
+ Blogger::Article Load (0.9ms) SELECT "blogger_articles".* FROM "blogger_articles"
254
+ Rendered /Users/erickuhn19/Desktop/learn_to_program/codecademy/blogger/app/views/blogger/articles/index.html.erb within layouts/blogger/application (8.5ms)
255
+ Completed 200 OK in 116ms (Views: 111.2ms | ActiveRecord: 1.1ms)
256
+
257
+
258
+ Started GET "/assets/blogger/articles-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-03-22 16:19:37 -0400
259
+
260
+
261
+ Started GET "/assets/blogger/application-4bd47aa5304440469cdae59cbeafed2c.css?body=1" for ::1 at 2015-03-22 16:19:37 -0400
262
+
263
+
264
+ Started GET "/assets/blogger/articles-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-03-22 16:19:37 -0400
265
+
266
+
267
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-03-22 16:19:37 -0400
268
+
269
+
270
+ Started GET "/assets/blogger/application-5443590960d4ffbddd98865912808a33.js?body=1" for ::1 at 2015-03-22 16:19:37 -0400
271
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
272
+ Migrating to CreateBloggerComments (20150322202121)
273
+  (0.1ms) begin transaction
274
+  (0.7ms) CREATE TABLE "blogger_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "article_id" integer, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
275
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150322202121"]]
276
+  (1.5ms) commit transaction
277
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"