rails_sandbox_server 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +32 -0
- data/app/controllers/rails_sandbox_server/sandbox_controller.rb +49 -0
- data/config/routes.rb +5 -0
- data/lib/rails_sandbox_server/engine.rb +5 -0
- data/lib/rails_sandbox_server/version.rb +3 -0
- data/lib/rails_sandbox_server.rb +18 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/javascripts/articles.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/assets/stylesheets/articles.css +4 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/articles_controller.rb +59 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/articles_helper.rb +2 -0
- data/test/dummy/app/models/article.rb +2 -0
- data/test/dummy/app/views/articles/_form.html.erb +25 -0
- data/test/dummy/app/views/articles/edit.html.erb +6 -0
- data/test/dummy/app/views/articles/index.html.erb +27 -0
- data/test/dummy/app/views/articles/new.html.erb +5 -0
- data/test/dummy/app/views/articles/show.html.erb +14 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +39 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +59 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20150314042338_create_articles.rb +10 -0
- data/test/dummy/db/schema.rb +23 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +279 -0
- data/test/dummy/log/test.log +5865 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/another_fixtures/another_articles.yml +7 -0
- data/test/dummy/test/another_fixtures/articles.yml +7 -0
- data/test/dummy/test/controllers/articles_controller_test.rb +51 -0
- data/test/dummy/test/fixtures/articles.yml +9 -0
- data/test/dummy/test/helpers/articles_helper_test.rb +4 -0
- data/test/dummy/test/models/article_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2Me4STLJD3IHURApjrU2rLfgYDNFlhQ60_nDx618xmQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5jwebbiF9udpdRrZ_csV4FaqHzTUC2oQEAoFaHLs7aw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BSiMxNeGTC692zobwmuMlxnswPnCNTnh9HXubPMMpjc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BWP7t3k4_i_YuxmI4s7hGy7oglEabhM0Jh71eB_JiOU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Cvp9yl21BXjS24i-d7y0zoSJrXt26nkQm7hiarCnWk8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/F4WepConqOMhTaXGZf2BJmZ64W8xLWXrM-yD8MB1Mmc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FURGai1z5y__38P8KYHKjgyZll5PmJKfXgXgoofiAqA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gn5TuU1oBSqLRKrAnOoZQJbSZKyqBqp5QhFwUe2Sz0k.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JLV9iEsUhtcVIB3ggp9F0L1sXevvcZeuM5Q3ANf0F_Q.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KDE-uoUuTQlyxEGvrCOa58gjMWRcDPjHCQJklD8DOtw.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XiSHuRE8cwpZAgu-LoQFIGrTkgs8C7ky6xNFswfItL4.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z53ErphZfpF7s92LlVuhjcHQB_PnK5ibuXK_3KNZsco.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bPW9oPgt58Je-SSd2XgVWJwo8zWC_RL55csjCu5TJtA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dphXxQV1ZyMzvKy0tXw9loofG0G8_4MC_ZXSE_eHnFI.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eISuf5WKUmPtF28HVt1UsCxtn8rMrNECb_cIKIi2mo0.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hC-LoD1APW_071bOOPCjyD_WWcMwwOtTXxzmmACgjN4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ivyNPf79WhlMN1XjjETEt_5gWv6DzKs_gtbX9g241D4.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mP7zUIJou6_enWuNvrwLqWdQE2XiEDHgMSdGptLBcQo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/n0OkXugoqdLIv52_xrb4z7Mp8JfUFcRrM28ausBM0Lc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tpWsWpomFXXRhgW8piH0yQxqOEqnnT6or_qw4deuFQY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ueUKzEuwfsdekdLse17KFuIJS2k1SubogYoMtLyU7YA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vLLEqh7xR1YgUwwzKlHZ3GQ5SjvG036PVwiOwLtI6P8.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wG_whueNWUbRh4wvgMhX2f7EtoDSqX1y_OwF9RgjLvc.cache +2 -0
- data/test/rails_sandbox_server_test.rb +7 -0
- data/test/sandbox_controller_test.rb +20 -0
- data/test/test_helper.rb +18 -0
- metadata +267 -0
@@ -0,0 +1,39 @@
|
|
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 asset server for tests with Cache-Control for performance.
|
16
|
+
config.static_cache_control = 'public, max-age=3600'
|
17
|
+
|
18
|
+
# Show full error reports and disable caching.
|
19
|
+
config.consider_all_requests_local = true
|
20
|
+
config.action_controller.perform_caching = false
|
21
|
+
|
22
|
+
# Raise exceptions instead of rendering exception templates.
|
23
|
+
config.action_dispatch.show_exceptions = false
|
24
|
+
|
25
|
+
# Disable request forgery protection in test environment.
|
26
|
+
config.action_controller.allow_forgery_protection = false
|
27
|
+
|
28
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
29
|
+
# The :test delivery method accumulates sent emails in the
|
30
|
+
# ActionMailer::Base.deliveries array.
|
31
|
+
config.action_mailer.delivery_method = :test
|
32
|
+
|
33
|
+
# Print deprecation notices to the stderr.
|
34
|
+
config.active_support.deprecation = :stderr
|
35
|
+
|
36
|
+
# Raises error for missing translations
|
37
|
+
# config.action_view.raise_on_missing_translations = true
|
38
|
+
config.active_support.test_order = :random
|
39
|
+
end
|
@@ -0,0 +1,8 @@
|
|
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
|
+
# Precompile additional assets.
|
7
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
8
|
+
# 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,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,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,59 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
resources :articles
|
3
|
+
mount RailsSandboxServer::Engine => '/sandbox'
|
4
|
+
|
5
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
6
|
+
# See how all your routes lay out with "rake routes".
|
7
|
+
|
8
|
+
# You can have the root of your site routed with "root"
|
9
|
+
# root 'welcome#index'
|
10
|
+
|
11
|
+
# Example of regular route:
|
12
|
+
# get 'products/:id' => 'catalog#view'
|
13
|
+
|
14
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
15
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
16
|
+
|
17
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
18
|
+
# resources :products
|
19
|
+
|
20
|
+
# Example resource route with options:
|
21
|
+
# resources :products do
|
22
|
+
# member do
|
23
|
+
# get 'short'
|
24
|
+
# post 'toggle'
|
25
|
+
# end
|
26
|
+
#
|
27
|
+
# collection do
|
28
|
+
# get 'sold'
|
29
|
+
# end
|
30
|
+
# end
|
31
|
+
|
32
|
+
# Example resource route with sub-resources:
|
33
|
+
# resources :products do
|
34
|
+
# resources :comments, :sales
|
35
|
+
# resource :seller
|
36
|
+
# end
|
37
|
+
|
38
|
+
# Example resource route with more complex sub-resources:
|
39
|
+
# resources :products do
|
40
|
+
# resources :comments
|
41
|
+
# resources :sales do
|
42
|
+
# get 'recent', on: :collection
|
43
|
+
# end
|
44
|
+
# end
|
45
|
+
|
46
|
+
# Example resource route with concerns:
|
47
|
+
# concern :toggleable do
|
48
|
+
# post 'toggle'
|
49
|
+
# end
|
50
|
+
# resources :posts, concerns: :toggleable
|
51
|
+
# resources :photos, concerns: :toggleable
|
52
|
+
|
53
|
+
# Example resource route within a namespace:
|
54
|
+
# namespace :admin do
|
55
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
56
|
+
# # (app/controllers/admin/products_controller.rb)
|
57
|
+
# resources :products
|
58
|
+
# end
|
59
|
+
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: 1fefa7c25f50cde54343766c1a8cb24c5e98b65eb9cdca46ffe4bd7854b61a6930a367c28038d519fd13016defaf4ad07932a2854481ba5f3af5eb7814e3a0f2
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: 43280d648d6d6f758b28a119bf0d35b04e3b4018c13275909305005dd18337097da54c3ffbe9efaaf9dd69e572e1b1326d3a3a056360ce0c499d96a83d13cf69
|
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,23 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20150314042338) do
|
15
|
+
|
16
|
+
create_table "articles", force: :cascade do |t|
|
17
|
+
t.string "title"
|
18
|
+
t.text "content"
|
19
|
+
t.datetime "created_at"
|
20
|
+
t.datetime "updated_at"
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
Binary file
|
@@ -0,0 +1,279 @@
|
|
1
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateArticles (20150314042338)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/PMAC151S/work/lib/rails_sandbox_server/test/dummy/db/migrate/20150314042338_create_articles.rb:7)
|
8
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "content" text, "created_at" datetime, "updated_at" datetime)
|
9
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150314042338"]]
|
10
|
+
[1m[35m (0.8ms)[0m commit transaction
|
11
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
12
|
+
|
13
|
+
|
14
|
+
Started GET "/" for ::1 at 2015-06-26 08:35:46 +0900
|
15
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
16
|
+
Processing by Rails::WelcomeController#index as HTML
|
17
|
+
[1m[35m (0.1ms)[0m begin transaction
|
18
|
+
begin transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fc8509424b8>
|
19
|
+
Rendered /Users/PMAC151S/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/templates/rails/welcome/index.html.erb (5.4ms)
|
20
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.1ms)
|
21
|
+
|
22
|
+
|
23
|
+
Started GET "/articles/" for ::1 at 2015-06-26 08:37:30 +0900
|
24
|
+
Processing by ArticlesController#index as HTML
|
25
|
+
[1m[36mArticle Load (1.3ms)[0m [1mSELECT "articles".* FROM "articles"[0m
|
26
|
+
Rendered articles/index.html.erb within layouts/application (3.7ms)
|
27
|
+
Completed 200 OK in 288ms (Views: 282.1ms | ActiveRecord: 1.4ms)
|
28
|
+
|
29
|
+
|
30
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 08:37:31 +0900
|
31
|
+
|
32
|
+
|
33
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 08:37:31 +0900
|
34
|
+
|
35
|
+
|
36
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 08:37:31 +0900
|
37
|
+
|
38
|
+
|
39
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 08:37:31 +0900
|
40
|
+
|
41
|
+
|
42
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 08:37:31 +0900
|
43
|
+
|
44
|
+
|
45
|
+
Started POST "/sandbox/setup" for 127.0.0.1 at 2015-06-26 08:38:05 +0900
|
46
|
+
Processing by SandboxController#setup as */*
|
47
|
+
Parameters: {"fixture"=>"articles"}
|
48
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
49
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "articles"[0m
|
50
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-25 23:38:05', '2015-06-25 23:38:05', 980190962)
|
51
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-25 23:38:05', '2015-06-25 23:38:05', 298486374)[0m
|
52
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
53
|
+
Rendered text template (0.0ms)
|
54
|
+
Completed 200 OK in 11ms (Views: 2.1ms | ActiveRecord: 1.4ms)
|
55
|
+
|
56
|
+
|
57
|
+
Started GET "/articles/" for ::1 at 2015-06-26 08:38:27 +0900
|
58
|
+
Processing by ArticlesController#index as HTML
|
59
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles"[0m
|
60
|
+
Rendered articles/index.html.erb within layouts/application (4.2ms)
|
61
|
+
Completed 200 OK in 20ms (Views: 19.7ms | ActiveRecord: 0.1ms)
|
62
|
+
|
63
|
+
|
64
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 08:38:27 +0900
|
65
|
+
|
66
|
+
|
67
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 08:38:27 +0900
|
68
|
+
|
69
|
+
|
70
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 08:38:27 +0900
|
71
|
+
|
72
|
+
|
73
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 08:38:27 +0900
|
74
|
+
|
75
|
+
|
76
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 08:38:27 +0900
|
77
|
+
|
78
|
+
|
79
|
+
Started GET "/sandbox/rollback" for 127.0.0.1 at 2015-06-26 08:38:46 +0900
|
80
|
+
Processing by SandboxController#rollback as */*
|
81
|
+
rollback transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fc8509424b8>
|
82
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
83
|
+
Rendered text template (0.0ms)
|
84
|
+
Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
85
|
+
|
86
|
+
|
87
|
+
Started GET "/articles/" for ::1 at 2015-06-26 08:38:48 +0900
|
88
|
+
Processing by ArticlesController#index as HTML
|
89
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
90
|
+
begin transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fc84d8939e8>
|
91
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles"
|
92
|
+
Rendered articles/index.html.erb within layouts/application (0.6ms)
|
93
|
+
Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.2ms)
|
94
|
+
|
95
|
+
|
96
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 08:38:48 +0900
|
97
|
+
|
98
|
+
|
99
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 08:38:48 +0900
|
100
|
+
|
101
|
+
|
102
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 08:38:48 +0900
|
103
|
+
|
104
|
+
|
105
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 08:38:48 +0900
|
106
|
+
|
107
|
+
|
108
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 08:38:48 +0900
|
109
|
+
|
110
|
+
|
111
|
+
Started POST "/sandbox/setup" for 127.0.0.1 at 2015-06-26 08:39:24 +0900
|
112
|
+
Processing by SandboxController#setup as */*
|
113
|
+
Parameters: {"fixtures"=>"articles"}
|
114
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
115
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
116
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-25 23:39:24', '2015-06-25 23:39:24', 980190962)[0m
|
117
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-25 23:39:24', '2015-06-25 23:39:24', 298486374)
|
118
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
119
|
+
Rendered text template (0.0ms)
|
120
|
+
Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
121
|
+
|
122
|
+
|
123
|
+
Started GET "/articles/" for ::1 at 2015-06-26 08:39:26 +0900
|
124
|
+
Processing by ArticlesController#index as HTML
|
125
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles"
|
126
|
+
Rendered articles/index.html.erb within layouts/application (1.7ms)
|
127
|
+
Completed 200 OK in 26ms (Views: 25.4ms | ActiveRecord: 0.1ms)
|
128
|
+
|
129
|
+
|
130
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 08:39:26 +0900
|
131
|
+
|
132
|
+
|
133
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 08:39:26 +0900
|
134
|
+
|
135
|
+
|
136
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 08:39:26 +0900
|
137
|
+
|
138
|
+
|
139
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 08:39:26 +0900
|
140
|
+
|
141
|
+
|
142
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 08:39:26 +0900
|
143
|
+
|
144
|
+
|
145
|
+
Started GET "/sandbox/rollback" for 127.0.0.1 at 2015-06-26 08:39:33 +0900
|
146
|
+
Processing by SandboxController#rollback as */*
|
147
|
+
rollback transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fc84d8939e8>
|
148
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
149
|
+
Rendered text template (0.0ms)
|
150
|
+
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
151
|
+
|
152
|
+
|
153
|
+
Started GET "/articles/" for ::1 at 2015-06-26 08:39:35 +0900
|
154
|
+
Processing by ArticlesController#index as HTML
|
155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
156
|
+
begin transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fc850d26b88>
|
157
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles"[0m
|
158
|
+
Rendered articles/index.html.erb within layouts/application (0.5ms)
|
159
|
+
Completed 200 OK in 38ms (Views: 37.2ms | ActiveRecord: 0.2ms)
|
160
|
+
|
161
|
+
|
162
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 08:39:35 +0900
|
163
|
+
|
164
|
+
|
165
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 08:39:35 +0900
|
166
|
+
|
167
|
+
|
168
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 08:39:35 +0900
|
169
|
+
|
170
|
+
|
171
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 08:39:35 +0900
|
172
|
+
|
173
|
+
|
174
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 08:39:35 +0900
|
175
|
+
|
176
|
+
|
177
|
+
Started POST "/sandbox/setup" for 127.0.0.1 at 2015-06-26 08:42:31 +0900
|
178
|
+
Processing by SandboxController#setup as */*
|
179
|
+
Parameters: {"fixtures"=>"articles", "fixtures_dir"=>"/Users/PMAC151S/work/lib/rails_sandbox_server"}
|
180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
181
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "articles"[0m
|
182
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('HOGEHUGAMyString', 'MyText', '2015-06-25 23:42:31', '2015-06-25 23:42:31', 980190962)
|
183
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-25 23:42:31', '2015-06-25 23:42:31', 298486374)[0m
|
184
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
185
|
+
Rendered text template (0.0ms)
|
186
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
187
|
+
|
188
|
+
|
189
|
+
Started GET "/articles/" for ::1 at 2015-06-26 08:42:36 +0900
|
190
|
+
Processing by ArticlesController#index as HTML
|
191
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles"[0m
|
192
|
+
Rendered articles/index.html.erb within layouts/application (1.0ms)
|
193
|
+
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.1ms)
|
194
|
+
|
195
|
+
|
196
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 08:42:36 +0900
|
197
|
+
|
198
|
+
|
199
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 08:42:36 +0900
|
200
|
+
|
201
|
+
|
202
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 08:42:36 +0900
|
203
|
+
|
204
|
+
|
205
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 08:42:36 +0900
|
206
|
+
|
207
|
+
|
208
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 08:42:36 +0900
|
209
|
+
|
210
|
+
|
211
|
+
Started GET "/sandbox/rollback" for 127.0.0.1 at 2015-06-26 08:43:57 +0900
|
212
|
+
Processing by SandboxController#rollback as */*
|
213
|
+
rollback transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fc850d26b88>
|
214
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
215
|
+
Rendered text template (0.0ms)
|
216
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
217
|
+
|
218
|
+
|
219
|
+
Started POST "/sandbox/setup" for 127.0.0.1 at 2015-06-26 08:44:11 +0900
|
220
|
+
Processing by SandboxController#setup as */*
|
221
|
+
Parameters: {"fixtures"=>["articles"]}
|
222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
223
|
+
begin transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fc8522cf138>
|
224
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
225
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "articles"[0m
|
226
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-25 23:44:11', '2015-06-25 23:44:11', 980190962)
|
227
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("title", "content", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-25 23:44:11', '2015-06-25 23:44:11', 298486374)[0m
|
228
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
229
|
+
Rendered text template (0.0ms)
|
230
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
231
|
+
|
232
|
+
|
233
|
+
Started GET "/articles/" for ::1 at 2015-06-26 08:44:14 +0900
|
234
|
+
Processing by ArticlesController#index as HTML
|
235
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles"[0m
|
236
|
+
Rendered articles/index.html.erb within layouts/application (1.2ms)
|
237
|
+
Completed 200 OK in 36ms (Views: 35.7ms | ActiveRecord: 0.1ms)
|
238
|
+
|
239
|
+
|
240
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 08:44:14 +0900
|
241
|
+
|
242
|
+
|
243
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 08:44:14 +0900
|
244
|
+
|
245
|
+
|
246
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 08:44:14 +0900
|
247
|
+
|
248
|
+
|
249
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 08:44:14 +0900
|
250
|
+
|
251
|
+
|
252
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 08:44:14 +0900
|
253
|
+
|
254
|
+
|
255
|
+
Started GET "/articles/" for ::1 at 2015-06-26 11:48:11 +0900
|
256
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
257
|
+
Processing by ArticlesController#index as HTML
|
258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
259
|
+
begin transaction #<ActiveRecord::ConnectionAdapters::RealTransaction:0x007fd9ac75d338>
|
260
|
+
[1m[36mArticle Load (0.6ms)[0m [1mSELECT "articles".* FROM "articles"[0m
|
261
|
+
Rendered articles/index.html.erb within layouts/application (4.8ms)
|
262
|
+
Completed 200 OK in 233ms (Views: 229.7ms | ActiveRecord: 0.8ms)
|
263
|
+
|
264
|
+
|
265
|
+
Started GET "/assets/scaffold.self.css?body=1" for ::1 at 2015-06-26 11:48:12 +0900
|
266
|
+
|
267
|
+
|
268
|
+
Started GET "/assets/articles.self.css?body=1" for ::1 at 2015-06-26 11:48:12 +0900
|
269
|
+
|
270
|
+
|
271
|
+
Started GET "/assets/application.self.css?body=1" for ::1 at 2015-06-26 11:48:12 +0900
|
272
|
+
|
273
|
+
|
274
|
+
Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 11:48:12 +0900
|
275
|
+
|
276
|
+
|
277
|
+
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 11:48:12 +0900
|
278
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
279
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|