a4nt 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/a4nt/announcements.js +2 -0
- data/app/assets/javascripts/a4nt/application.js +15 -0
- data/app/assets/stylesheets/a4nt/announcements.css +4 -0
- data/app/assets/stylesheets/a4nt/application.css +13 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/a4nt/announcements_controller.rb +87 -0
- data/app/controllers/a4nt/application_controller.rb +4 -0
- data/app/helpers/a4nt/announcements_helper.rb +4 -0
- data/app/helpers/a4nt/application_helper.rb +4 -0
- data/app/models/a4nt/announcement.rb +7 -0
- data/app/views/a4nt/announcements/_form.html.erb +37 -0
- data/app/views/a4nt/announcements/edit.html.erb +6 -0
- data/app/views/a4nt/announcements/index.html.erb +31 -0
- data/app/views/a4nt/announcements/new.html.erb +5 -0
- data/app/views/a4nt/announcements/show.html.erb +30 -0
- data/app/views/layouts/a4nt/application.html.erb +14 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20130314151144_create_a4nt_announcements.rb +13 -0
- data/lib/a4nt.rb +4 -0
- data/lib/a4nt/engine.rb +5 -0
- data/lib/a4nt/version.rb +3 -0
- data/lib/tasks/a4nt_tasks.rake +4 -0
- data/test/a4nt_test.rb +7 -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.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +26 -0
- data/test/dummy/log/development.log +543 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/cache/assets/C74/D00/sprockets%2F35a3e1d53221b566385d55604b1f2f81 +0 -0
- data/test/dummy/tmp/cache/assets/CD0/410/sprockets%2F4610e3716682bd81225d1af060dec17e +0 -0
- data/test/dummy/tmp/cache/assets/CD1/7A0/sprockets%2F1c8986854dbe744776f98066ddea5148 +0 -0
- data/test/dummy/tmp/cache/assets/D68/870/sprockets%2F00945d57ebe03c366903bdea3f280fdd +0 -0
- data/test/dummy/tmp/cache/assets/D98/1A0/sprockets%2F21fba9c5cba0584b66f4a9f314abe196 +0 -0
- data/test/dummy/tmp/cache/assets/DA4/5F0/sprockets%2Fea2842a158fbf3838d6c08ccceee4833 +0 -0
- data/test/dummy/tmp/cache/assets/DA5/880/sprockets%2F933c4e72c3d556f7f7225ddbde1d1c7e +0 -0
- data/test/dummy/tmp/cache/assets/DAA/E90/sprockets%2Fdc903ff3b8bd770c927bcb4e7bb48387 +0 -0
- data/test/dummy/tmp/cache/assets/DC0/880/sprockets%2Fc14ba2e3509e7ab8b1a33d276ed4d5dc +0 -0
- data/test/dummy/tmp/cache/assets/DCF/230/sprockets%2F1748fda09da1ed4f51ad565fc7df5a52 +0 -0
- data/test/dummy/tmp/cache/assets/E16/A70/sprockets%2Fd3cc19a7697edd9efe18d8f92f0efe30 +0 -0
- data/test/dummy/tmp/cache/assets/E39/E90/sprockets%2Fe9e458ddec5a8f3dcbe083bf77b923ab +0 -0
- data/test/dummy/tmp/cache/assets/E95/420/sprockets%2Fd6ce1bdc5f9e8e55a7dae3b2fcf82ed2 +0 -0
- data/test/dummy/tmp/cache/assets/EC3/660/sprockets%2F6dfdc90eece35f8b7e00fdd21b9ecfcd +0 -0
- data/test/fixtures/a4nt/announcements.yml +15 -0
- data/test/functional/a4nt/announcements_controller_test.rb +51 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/a4nt/announcement_test.rb +9 -0
- data/test/unit/helpers/a4nt/announcements_helper_test.rb +6 -0
- metadata +212 -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
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and disable caching
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Only use best-standards-support built into browsers
|
23
|
+
config.action_dispatch.best_standards_support = :builtin
|
24
|
+
|
25
|
+
# Raise exception on mass assignment protection for Active Record models
|
26
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
27
|
+
|
28
|
+
# Log the query plan for queries taking more than this (works
|
29
|
+
# with SQLite, MySQL, and PostgreSQL)
|
30
|
+
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
31
|
+
|
32
|
+
# Do not compress assets
|
33
|
+
config.assets.compress = false
|
34
|
+
|
35
|
+
# Expands the lines which load the assets
|
36
|
+
config.assets.debug = true
|
37
|
+
end
|
@@ -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 = 'd0a003e3e99df5dab298b2bcf9aa2988c7cc8cfd83c5412750d3db0135d9baf889083d80b30a4feb4f5e147d5a70f8ff1bb939900134efdd67d8860ecd6cffef'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
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 => 20130314151144) do
|
15
|
+
|
16
|
+
create_table "a4nt_announcements", :force => true do |t|
|
17
|
+
t.string "title"
|
18
|
+
t.string "body"
|
19
|
+
t.datetime "start_time"
|
20
|
+
t.datetime "end_time"
|
21
|
+
t.integer "position"
|
22
|
+
t.datetime "created_at", :null => false
|
23
|
+
t.datetime "updated_at", :null => false
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
@@ -0,0 +1,543 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
5
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
6
|
+
[1m[35m (1.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
7
|
+
Connecting to database specified by database.yml
|
8
|
+
[1m[36m (1.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9
|
+
Migrating to CreateA4ntAnnouncements (20130314151144)
|
10
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
11
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "a4nt_announcements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" varchar(255), "start_time" datetime, "end_time" datetime, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
13
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314151144')[0m
|
14
|
+
[1m[35m (2.4ms)[0m commit transaction
|
15
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
16
|
+
Connecting to database specified by database.yml
|
17
|
+
|
18
|
+
|
19
|
+
Started GET "/a4nt/annoucements/" for 127.0.0.1 at 2013-03-15 00:22:40 +0900
|
20
|
+
Connecting to database specified by database.yml
|
21
|
+
|
22
|
+
ActionController::RoutingError (No route matches [GET] "/a4nt/annoucements"):
|
23
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
24
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
25
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
26
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
27
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
28
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
29
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
30
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
31
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
32
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
33
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
34
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
35
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
36
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
37
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
38
|
+
railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
|
39
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
40
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
41
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
42
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
43
|
+
|
44
|
+
|
45
|
+
Rendered /Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.2ms)
|
46
|
+
|
47
|
+
|
48
|
+
Started GET "/a4nt/annoucement/" for 127.0.0.1 at 2013-03-15 00:22:43 +0900
|
49
|
+
|
50
|
+
ActionController::RoutingError (No route matches [GET] "/a4nt/annoucement"):
|
51
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
52
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
53
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
54
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
55
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
56
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
57
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
58
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
59
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
60
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
61
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
62
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
63
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
64
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
65
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
66
|
+
railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
|
67
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
68
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
69
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
70
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
71
|
+
|
72
|
+
|
73
|
+
Rendered /Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
|
74
|
+
|
75
|
+
|
76
|
+
Started GET "/a4nt/annoucements/index" for 127.0.0.1 at 2013-03-15 00:22:50 +0900
|
77
|
+
|
78
|
+
ActionController::RoutingError (No route matches [GET] "/a4nt/annoucements/index"):
|
79
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
80
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
81
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
82
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
83
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
84
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
85
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
86
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
87
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
88
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
89
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
90
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
91
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
92
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
93
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
94
|
+
railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
|
95
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
96
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
97
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
98
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
99
|
+
|
100
|
+
|
101
|
+
Rendered /Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
|
102
|
+
|
103
|
+
|
104
|
+
Started GET "/annoucements" for 127.0.0.1 at 2013-03-15 00:23:40 +0900
|
105
|
+
Connecting to database specified by database.yml
|
106
|
+
|
107
|
+
ActionController::RoutingError (No route matches [GET] "/annoucements"):
|
108
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
109
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
110
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
111
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
112
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
113
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
114
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
115
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
116
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
117
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
118
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
119
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
120
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
121
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
122
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
123
|
+
railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
|
124
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
125
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
126
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
127
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
128
|
+
|
129
|
+
|
130
|
+
Rendered /Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.3ms)
|
131
|
+
|
132
|
+
|
133
|
+
Started GET "/announcements" for 127.0.0.1 at 2013-03-15 00:23:47 +0900
|
134
|
+
|
135
|
+
ActionController::RoutingError (No route matches [GET] "/announcements"):
|
136
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
137
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
138
|
+
railties (3.2.12) lib/rails/rack/logger.rb:32:in `call_app'
|
139
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `block in call'
|
140
|
+
activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in `tagged'
|
141
|
+
railties (3.2.12) lib/rails/rack/logger.rb:16:in `call'
|
142
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
143
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
144
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
145
|
+
activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
146
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
147
|
+
actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:in `call'
|
148
|
+
railties (3.2.12) lib/rails/engine.rb:479:in `call'
|
149
|
+
railties (3.2.12) lib/rails/application.rb:223:in `call'
|
150
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
151
|
+
railties (3.2.12) lib/rails/rack/log_tailer.rb:17:in `call'
|
152
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
153
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
154
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
155
|
+
/Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
156
|
+
|
157
|
+
|
158
|
+
Rendered /Users/taka/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
|
159
|
+
|
160
|
+
|
161
|
+
Started GET "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 00:23:52 +0900
|
162
|
+
Processing by A4nt::AnnouncementsController#index as HTML
|
163
|
+
[1m[36mA4nt::Announcement Load (0.1ms)[0m [1mSELECT "a4nt_announcements".* FROM "a4nt_announcements" [0m
|
164
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/index.html.erb within layouts/a4nt/application (1.1ms)
|
165
|
+
Compiled a4nt/announcements.css (0ms) (pid 46078)
|
166
|
+
Compiled a4nt/application.css (9ms) (pid 46078)
|
167
|
+
Compiled jquery.js (26ms) (pid 46078)
|
168
|
+
Compiled jquery_ujs.js (0ms) (pid 46078)
|
169
|
+
Compiled a4nt/announcements.js (0ms) (pid 46078)
|
170
|
+
Compiled a4nt/application.js (94ms) (pid 46078)
|
171
|
+
Completed 200 OK in 196ms (Views: 153.7ms | ActiveRecord: 2.5ms)
|
172
|
+
|
173
|
+
|
174
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 00:23:52 +0900
|
175
|
+
Served asset /a4nt/announcements.css - 200 OK (7ms)
|
176
|
+
|
177
|
+
|
178
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 00:23:52 +0900
|
179
|
+
Served asset /a4nt/application.css - 200 OK (14ms)
|
180
|
+
|
181
|
+
|
182
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 00:23:52 +0900
|
183
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
184
|
+
|
185
|
+
|
186
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 00:23:52 +0900
|
187
|
+
Served asset /a4nt/application.js - 200 OK (5ms)
|
188
|
+
|
189
|
+
|
190
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 00:23:52 +0900
|
191
|
+
Served asset /a4nt/announcements.js - 200 OK (2ms)
|
192
|
+
|
193
|
+
|
194
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 00:23:52 +0900
|
195
|
+
Served asset /jquery.js - 200 OK (2ms)
|
196
|
+
|
197
|
+
|
198
|
+
Started GET "/a4nt/announcements/new" for 127.0.0.1 at 2013-03-15 00:23:56 +0900
|
199
|
+
Processing by A4nt::AnnouncementsController#new as HTML
|
200
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/_form.html.erb (28.6ms)
|
201
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/new.html.erb within layouts/a4nt/application (35.0ms)
|
202
|
+
Completed 200 OK in 73ms (Views: 62.3ms | ActiveRecord: 0.0ms)
|
203
|
+
|
204
|
+
|
205
|
+
Started POST "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 00:24:13 +0900
|
206
|
+
Processing by A4nt::AnnouncementsController#create as HTML
|
207
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lfnL+by0CmkFH9FQTszLKkQBmDjorMerRBh9NfBgsm8=", "announcement"=>{"title"=>"title", "body"=>"body", "start_time(1i)"=>"2013", "start_time(2i)"=>"3", "start_time(3i)"=>"14", "start_time(4i)"=>"15", "start_time(5i)"=>"23", "end_time(1i)"=>"2013", "end_time(2i)"=>"4", "end_time(3i)"=>"14", "end_time(4i)"=>"15", "end_time(5i)"=>"23", "position"=>"1"}, "commit"=>"Create Announcement"}
|
208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
209
|
+
[1m[36mSQL (5.6ms)[0m [1mINSERT INTO "a4nt_announcements" ("body", "created_at", "end_time", "position", "start_time", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "body"], ["created_at", Thu, 14 Mar 2013 15:24:13 UTC +00:00], ["end_time", Sun, 14 Apr 2013 15:23:00 UTC +00:00], ["position", 1], ["start_time", Thu, 14 Mar 2013 15:23:00 UTC +00:00], ["title", "title"], ["updated_at", Thu, 14 Mar 2013 15:24:13 UTC +00:00]]
|
210
|
+
[1m[35m (1.1ms)[0m commit transaction
|
211
|
+
Redirected to http://localhost:3000/a4nt/announcements/1
|
212
|
+
Completed 302 Found in 12ms (ActiveRecord: 6.7ms)
|
213
|
+
|
214
|
+
|
215
|
+
Started GET "/a4nt/announcements/1" for 127.0.0.1 at 2013-03-15 00:24:13 +0900
|
216
|
+
Processing by A4nt::AnnouncementsController#show as HTML
|
217
|
+
Parameters: {"id"=>"1"}
|
218
|
+
[1m[36mA4nt::Announcement Load (0.2ms)[0m [1mSELECT "a4nt_announcements".* FROM "a4nt_announcements" WHERE "a4nt_announcements"."id" = ? LIMIT 1[0m [["id", "1"]]
|
219
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/show.html.erb within layouts/a4nt/application (1.5ms)
|
220
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
221
|
+
|
222
|
+
|
223
|
+
Started GET "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 00:24:15 +0900
|
224
|
+
Processing by A4nt::AnnouncementsController#index as HTML
|
225
|
+
[1m[35mA4nt::Announcement Load (0.2ms)[0m SELECT "a4nt_announcements".* FROM "a4nt_announcements"
|
226
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/index.html.erb within layouts/a4nt/application (1.3ms)
|
227
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.2ms)
|
228
|
+
|
229
|
+
|
230
|
+
Started GET "/a4nt" for 127.0.0.1 at 2013-03-15 01:01:32 +0900
|
231
|
+
Connecting to database specified by database.yml
|
232
|
+
Processing by A4nt::AnnouncementsController#index as HTML
|
233
|
+
[1m[36mA4nt::Announcement Load (0.2ms)[0m [1mSELECT "a4nt_announcements".* FROM "a4nt_announcements" [0m
|
234
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/index.html.erb within layouts/a4nt/application (5.1ms)
|
235
|
+
Completed 200 OK in 81ms (Views: 40.8ms | ActiveRecord: 1.9ms)
|
236
|
+
|
237
|
+
|
238
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:33 +0900
|
239
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
240
|
+
|
241
|
+
|
242
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:33 +0900
|
243
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (3ms)
|
244
|
+
|
245
|
+
|
246
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:33 +0900
|
247
|
+
Served asset /a4nt/application.js - 304 Not Modified (6ms)
|
248
|
+
|
249
|
+
|
250
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:33 +0900
|
251
|
+
Served asset /a4nt/application.css - 304 Not Modified (3ms)
|
252
|
+
|
253
|
+
|
254
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:33 +0900
|
255
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
256
|
+
|
257
|
+
|
258
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:33 +0900
|
259
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (2ms)
|
260
|
+
|
261
|
+
|
262
|
+
Started GET "/a4nt/announcements/new" for 127.0.0.1 at 2013-03-15 01:01:38 +0900
|
263
|
+
Processing by A4nt::AnnouncementsController#new as HTML
|
264
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/_form.html.erb (14.6ms)
|
265
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/new.html.erb within layouts/a4nt/application (22.1ms)
|
266
|
+
Completed 200 OK in 27ms (Views: 26.1ms | ActiveRecord: 0.0ms)
|
267
|
+
|
268
|
+
|
269
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:38 +0900
|
270
|
+
Served asset /a4nt/application.css - 304 Not Modified (0ms)
|
271
|
+
|
272
|
+
|
273
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:38 +0900
|
274
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (0ms)
|
275
|
+
|
276
|
+
|
277
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:38 +0900
|
278
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (0ms)
|
279
|
+
|
280
|
+
|
281
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:38 +0900
|
282
|
+
Served asset /a4nt/application.js - 304 Not Modified (0ms)
|
283
|
+
|
284
|
+
|
285
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:38 +0900
|
286
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
287
|
+
|
288
|
+
|
289
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:38 +0900
|
290
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
291
|
+
|
292
|
+
|
293
|
+
Started POST "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
294
|
+
Processing by A4nt::AnnouncementsController#create as HTML
|
295
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lfnL+by0CmkFH9FQTszLKkQBmDjorMerRBh9NfBgsm8=", "announcement"=>{"title"=>"test", "body"=>"test", "start_time(1i)"=>"2013", "start_time(2i)"=>"2", "start_time(3i)"=>"14", "start_time(4i)"=>"16", "start_time(5i)"=>"01", "end_time(1i)"=>"2013", "end_time(2i)"=>"3", "end_time(3i)"=>"13", "end_time(4i)"=>"16", "end_time(5i)"=>"01", "position"=>"1"}, "commit"=>"Create Announcement"}
|
296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297
|
+
[1m[36mSQL (7.1ms)[0m [1mINSERT INTO "a4nt_announcements" ("body", "created_at", "end_time", "position", "start_time", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["body", "test"], ["created_at", Thu, 14 Mar 2013 16:01:52 UTC +00:00], ["end_time", Wed, 13 Mar 2013 16:01:00 UTC +00:00], ["position", 1], ["start_time", Thu, 14 Feb 2013 16:01:00 UTC +00:00], ["title", "test"], ["updated_at", Thu, 14 Mar 2013 16:01:52 UTC +00:00]]
|
298
|
+
[1m[35m (0.8ms)[0m commit transaction
|
299
|
+
Redirected to http://localhost:3000/a4nt/announcements/2
|
300
|
+
Completed 302 Found in 36ms (ActiveRecord: 8.0ms)
|
301
|
+
|
302
|
+
|
303
|
+
Started GET "/a4nt/announcements/2" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
304
|
+
Processing by A4nt::AnnouncementsController#show as HTML
|
305
|
+
Parameters: {"id"=>"2"}
|
306
|
+
[1m[36mA4nt::Announcement Load (0.2ms)[0m [1mSELECT "a4nt_announcements".* FROM "a4nt_announcements" WHERE "a4nt_announcements"."id" = ? LIMIT 1[0m [["id", "2"]]
|
307
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/show.html.erb within layouts/a4nt/application (1.4ms)
|
308
|
+
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)
|
309
|
+
|
310
|
+
|
311
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
312
|
+
Served asset /a4nt/application.css - 304 Not Modified (0ms)
|
313
|
+
|
314
|
+
|
315
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
316
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
317
|
+
|
318
|
+
|
319
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
320
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (0ms)
|
321
|
+
|
322
|
+
|
323
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
324
|
+
Served asset /a4nt/application.js - 304 Not Modified (0ms)
|
325
|
+
|
326
|
+
|
327
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
328
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
329
|
+
|
330
|
+
|
331
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:52 +0900
|
332
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (0ms)
|
333
|
+
|
334
|
+
|
335
|
+
Started GET "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 01:01:55 +0900
|
336
|
+
Processing by A4nt::AnnouncementsController#index as HTML
|
337
|
+
[1m[35mA4nt::Announcement Load (0.2ms)[0m SELECT "a4nt_announcements".* FROM "a4nt_announcements"
|
338
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/index.html.erb within layouts/a4nt/application (2.6ms)
|
339
|
+
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
340
|
+
|
341
|
+
|
342
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:55 +0900
|
343
|
+
Served asset /a4nt/application.css - 304 Not Modified (0ms)
|
344
|
+
|
345
|
+
|
346
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:55 +0900
|
347
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
348
|
+
|
349
|
+
|
350
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:55 +0900
|
351
|
+
Served asset /a4nt/application.js - 304 Not Modified (0ms)
|
352
|
+
|
353
|
+
|
354
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:55 +0900
|
355
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (0ms)
|
356
|
+
|
357
|
+
|
358
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:55 +0900
|
359
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
360
|
+
|
361
|
+
|
362
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:55 +0900
|
363
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (0ms)
|
364
|
+
|
365
|
+
|
366
|
+
Started GET "/a4nt/announcements/new" for 127.0.0.1 at 2013-03-15 01:01:56 +0900
|
367
|
+
Processing by A4nt::AnnouncementsController#new as HTML
|
368
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/_form.html.erb (9.8ms)
|
369
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/new.html.erb within layouts/a4nt/application (10.7ms)
|
370
|
+
Completed 200 OK in 14ms (Views: 14.2ms | ActiveRecord: 0.0ms)
|
371
|
+
|
372
|
+
|
373
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:56 +0900
|
374
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
375
|
+
|
376
|
+
|
377
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:56 +0900
|
378
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (0ms)
|
379
|
+
|
380
|
+
|
381
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:01:56 +0900
|
382
|
+
Served asset /a4nt/application.css - 304 Not Modified (0ms)
|
383
|
+
|
384
|
+
|
385
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:56 +0900
|
386
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (0ms)
|
387
|
+
|
388
|
+
|
389
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:56 +0900
|
390
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
391
|
+
|
392
|
+
|
393
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:01:56 +0900
|
394
|
+
Served asset /a4nt/application.js - 304 Not Modified (0ms)
|
395
|
+
|
396
|
+
|
397
|
+
Started POST "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
398
|
+
Processing by A4nt::AnnouncementsController#create as HTML
|
399
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lfnL+by0CmkFH9FQTszLKkQBmDjorMerRBh9NfBgsm8=", "announcement"=>{"title"=>"test3", "body"=>"test3", "start_time(1i)"=>"2013", "start_time(2i)"=>"3", "start_time(3i)"=>"14", "start_time(4i)"=>"16", "start_time(5i)"=>"01", "end_time(1i)"=>"2013", "end_time(2i)"=>"6", "end_time(3i)"=>"14", "end_time(4i)"=>"16", "end_time(5i)"=>"01", "position"=>"3"}, "commit"=>"Create Announcement"}
|
400
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
401
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "a4nt_announcements" ("body", "created_at", "end_time", "position", "start_time", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "test3"], ["created_at", Thu, 14 Mar 2013 16:02:10 UTC +00:00], ["end_time", Fri, 14 Jun 2013 16:01:00 UTC +00:00], ["position", 3], ["start_time", Thu, 14 Mar 2013 16:01:00 UTC +00:00], ["title", "test3"], ["updated_at", Thu, 14 Mar 2013 16:02:10 UTC +00:00]]
|
402
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
403
|
+
Redirected to http://localhost:3000/a4nt/announcements/3
|
404
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.3ms)
|
405
|
+
|
406
|
+
|
407
|
+
Started GET "/a4nt/announcements/3" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
408
|
+
Processing by A4nt::AnnouncementsController#show as HTML
|
409
|
+
Parameters: {"id"=>"3"}
|
410
|
+
[1m[35mA4nt::Announcement Load (0.1ms)[0m SELECT "a4nt_announcements".* FROM "a4nt_announcements" WHERE "a4nt_announcements"."id" = ? LIMIT 1 [["id", "3"]]
|
411
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/show.html.erb within layouts/a4nt/application (0.6ms)
|
412
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.1ms)
|
413
|
+
|
414
|
+
|
415
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
416
|
+
Served asset /a4nt/application.css - 304 Not Modified (0ms)
|
417
|
+
|
418
|
+
|
419
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
420
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (0ms)
|
421
|
+
|
422
|
+
|
423
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
424
|
+
Served asset /a4nt/application.js - 304 Not Modified (0ms)
|
425
|
+
|
426
|
+
|
427
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
428
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
429
|
+
|
430
|
+
|
431
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
432
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
433
|
+
|
434
|
+
|
435
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:10 +0900
|
436
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (0ms)
|
437
|
+
|
438
|
+
|
439
|
+
Started GET "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 01:02:13 +0900
|
440
|
+
Processing by A4nt::AnnouncementsController#index as HTML
|
441
|
+
[1m[36mA4nt::Announcement Load (0.2ms)[0m [1mSELECT "a4nt_announcements".* FROM "a4nt_announcements" [0m
|
442
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/index.html.erb within layouts/a4nt/application (2.9ms)
|
443
|
+
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.2ms)
|
444
|
+
|
445
|
+
|
446
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:02:13 +0900
|
447
|
+
Served asset /a4nt/application.css - 304 Not Modified (0ms)
|
448
|
+
|
449
|
+
|
450
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:13 +0900
|
451
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
452
|
+
|
453
|
+
|
454
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:13 +0900
|
455
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
456
|
+
|
457
|
+
|
458
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:02:13 +0900
|
459
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (0ms)
|
460
|
+
|
461
|
+
|
462
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:13 +0900
|
463
|
+
Served asset /a4nt/application.js - 304 Not Modified (0ms)
|
464
|
+
|
465
|
+
|
466
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:02:13 +0900
|
467
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (0ms)
|
468
|
+
Connecting to database specified by database.yml
|
469
|
+
|
470
|
+
|
471
|
+
Started GET "/a4nt/announcements/new" for 127.0.0.1 at 2013-03-15 01:03:20 +0900
|
472
|
+
Connecting to database specified by database.yml
|
473
|
+
Processing by A4nt::AnnouncementsController#new as HTML
|
474
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/_form.html.erb (29.7ms)
|
475
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/new.html.erb within layouts/a4nt/application (34.5ms)
|
476
|
+
Completed 200 OK in 95ms (Views: 54.9ms | ActiveRecord: 2.2ms)
|
477
|
+
|
478
|
+
|
479
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:03:21 +0900
|
480
|
+
Served asset /a4nt/application.css - 304 Not Modified (6ms)
|
481
|
+
|
482
|
+
|
483
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:03:21 +0900
|
484
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (3ms)
|
485
|
+
|
486
|
+
|
487
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:21 +0900
|
488
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
489
|
+
|
490
|
+
|
491
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:21 +0900
|
492
|
+
Served asset /a4nt/application.js - 304 Not Modified (18ms)
|
493
|
+
|
494
|
+
|
495
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:21 +0900
|
496
|
+
Served asset /jquery_ujs.js - 304 Not Modified (4ms)
|
497
|
+
|
498
|
+
|
499
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:21 +0900
|
500
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (2ms)
|
501
|
+
|
502
|
+
|
503
|
+
Started POST "/a4nt/announcements" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
504
|
+
Processing by A4nt::AnnouncementsController#create as HTML
|
505
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lfnL+by0CmkFH9FQTszLKkQBmDjorMerRBh9NfBgsm8=", "announcement"=>{"title"=>"future", "body"=>"future", "start_time(1i)"=>"2013", "start_time(2i)"=>"6", "start_time(3i)"=>"14", "start_time(4i)"=>"16", "start_time(5i)"=>"03", "end_time(1i)"=>"2013", "end_time(2i)"=>"9", "end_time(3i)"=>"14", "end_time(4i)"=>"16", "end_time(5i)"=>"03", "position"=>"5"}, "commit"=>"Create Announcement"}
|
506
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
507
|
+
[1m[35mSQL (4.4ms)[0m INSERT INTO "a4nt_announcements" ("body", "created_at", "end_time", "position", "start_time", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "future"], ["created_at", Thu, 14 Mar 2013 16:03:37 UTC +00:00], ["end_time", Sat, 14 Sep 2013 16:03:00 UTC +00:00], ["position", 5], ["start_time", Fri, 14 Jun 2013 16:03:00 UTC +00:00], ["title", "future"], ["updated_at", Thu, 14 Mar 2013 16:03:37 UTC +00:00]]
|
508
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
509
|
+
Redirected to http://localhost:3000/a4nt/announcements/4
|
510
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.2ms)
|
511
|
+
|
512
|
+
|
513
|
+
Started GET "/a4nt/announcements/4" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
514
|
+
Processing by A4nt::AnnouncementsController#show as HTML
|
515
|
+
Parameters: {"id"=>"4"}
|
516
|
+
[1m[35mA4nt::Announcement Load (0.3ms)[0m SELECT "a4nt_announcements".* FROM "a4nt_announcements" WHERE "a4nt_announcements"."id" = ? LIMIT 1 [["id", "4"]]
|
517
|
+
Rendered /Users/taka/work/rails/a4nt/app/views/a4nt/announcements/show.html.erb within layouts/a4nt/application (1.4ms)
|
518
|
+
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.3ms)
|
519
|
+
|
520
|
+
|
521
|
+
Started GET "/assets/a4nt/application.css?body=1" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
522
|
+
Served asset /a4nt/application.css - 304 Not Modified (0ms)
|
523
|
+
|
524
|
+
|
525
|
+
Started GET "/assets/a4nt/announcements.css?body=1" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
526
|
+
Served asset /a4nt/announcements.css - 304 Not Modified (0ms)
|
527
|
+
|
528
|
+
|
529
|
+
Started GET "/assets/a4nt/application.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
530
|
+
Served asset /a4nt/application.js - 304 Not Modified (0ms)
|
531
|
+
|
532
|
+
|
533
|
+
Started GET "/assets/a4nt/announcements.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
534
|
+
Served asset /a4nt/announcements.js - 304 Not Modified (0ms)
|
535
|
+
|
536
|
+
|
537
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
538
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
539
|
+
|
540
|
+
|
541
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-15 01:03:37 +0900
|
542
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
543
|
+
Connecting to database specified by database.yml
|