to_permalink 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.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/lib/core_ext.rb +17 -0
- data/lib/tasks/to_permalink_tasks.rake +4 -0
- data/lib/to_permalink.rb +3 -0
- data/lib/to_permalink/version.rb +3 -0
- data/test/core_ext_test.rb +9 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +7 -0
- data/test/dummy/app/assets/javascripts/links.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/assets/stylesheets/links.css +4 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/links_controller.rb +83 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/links_helper.rb +2 -0
- data/test/dummy/app/models/link.rb +6 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/links/_form.html.erb +25 -0
- data/test/dummy/app/views/links/edit.html.erb +6 -0
- data/test/dummy/app/views/links/index.html.erb +25 -0
- data/test/dummy/app/views/links/new.html.erb +5 -0
- data/test/dummy/app/views/links/show.html.erb +15 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +45 -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 +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -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 +60 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20110915034248_create_links.rb +10 -0
- data/test/dummy/db/schema.rb +22 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +511 -0
- data/test/dummy/log/test.log +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/links.yml +9 -0
- data/test/dummy/test/functional/links_controller_test.rb +49 -0
- data/test/dummy/test/unit/helpers/links_helper_test.rb +4 -0
- data/test/dummy/test/unit/link_test.rb +7 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/D11/D20/sprockets%2Fcac21eac42152981882bf9e489316af4 +0 -0
- data/test/dummy/tmp/cache/assets/D31/0F0/sprockets%2Fb8fc2e1acf200934c716227c0e76bf32 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/test/dummy/tmp/cache/assets/D67/F30/sprockets%2F8cda0bc044ddde203789d2b42c9057b8 +0 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/test/dummy/tmp/cache/assets/DAA/FB0/sprockets%2Fcac5c8760fe98b26e526b1c3d97fb57a +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E2B/970/sprockets%2Fb13dda79ac8dbf0b0dcb6f0c59f6b378 +0 -0
- data/test/test_helper.rb +10 -0
- data/test/to_permalink_test.rb +7 -0
- metadata +193 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
development:
|
7
|
+
adapter: sqlite3
|
8
|
+
database: db/development.sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
# Warning: The database defined as "test" will be erased and
|
13
|
+
# re-generated from your development database when you run "rake".
|
14
|
+
# Do not set this db to the same as development or production.
|
15
|
+
test:
|
16
|
+
adapter: sqlite3
|
17
|
+
database: db/test.sqlite3
|
18
|
+
pool: 5
|
19
|
+
timeout: 5000
|
20
|
+
|
21
|
+
production:
|
22
|
+
adapter: sqlite3
|
23
|
+
database: db/production.sqlite3
|
24
|
+
pool: 5
|
25
|
+
timeout: 5000
|
@@ -0,0 +1,30 @@
|
|
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
|
+
# Do not compress assets
|
26
|
+
config.assets.compress = false
|
27
|
+
|
28
|
+
# Expands the lines which load the assets
|
29
|
+
config.assets.debug = true
|
30
|
+
end
|
@@ -0,0 +1,60 @@
|
|
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 Rails.root.join("public/assets")
|
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
|
+
# Use a different logger for distributed setups
|
37
|
+
# config.logger = SyslogLogger.new
|
38
|
+
|
39
|
+
# Use a different cache store in production
|
40
|
+
# config.cache_store = :mem_cache_store
|
41
|
+
|
42
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
43
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
44
|
+
|
45
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
46
|
+
# config.assets.precompile += %w( search.js )
|
47
|
+
|
48
|
+
# Disable delivery errors, bad email addresses will be ignored
|
49
|
+
# config.action_mailer.raise_delivery_errors = false
|
50
|
+
|
51
|
+
# Enable threaded mode
|
52
|
+
# config.threadsafe!
|
53
|
+
|
54
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
55
|
+
# the I18n.default_locale when a translation can not be found)
|
56
|
+
config.i18n.fallbacks = true
|
57
|
+
|
58
|
+
# Send deprecation notices to registered listeners
|
59
|
+
config.active_support.deprecation = :notify
|
60
|
+
end
|
@@ -0,0 +1,42 @@
|
|
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
|
+
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
33
|
+
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
34
|
+
# like if you have constraints or database-specific column types
|
35
|
+
# config.active_record.schema_format = :sql
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
|
40
|
+
# Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
|
41
|
+
config.assets.allow_debugging = true
|
42
|
+
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,10 @@
|
|
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
|
@@ -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 = '367308117942c4fad11a4aa30af1dfce7120d519f66c579fc26228dcd7c54953dff5fa144037a0a49e1e8f17324e6834d1f2c592feb883918e3711477fec1288'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters :format => [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
resources :links
|
3
|
+
|
4
|
+
# The priority is based upon order of creation:
|
5
|
+
# first created -> highest priority.
|
6
|
+
|
7
|
+
# Sample of regular route:
|
8
|
+
# match 'products/:id' => 'catalog#view'
|
9
|
+
# Keep in mind you can assign values other than :controller and :action
|
10
|
+
|
11
|
+
# Sample of named route:
|
12
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
13
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
14
|
+
|
15
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
16
|
+
# resources :products
|
17
|
+
|
18
|
+
# Sample resource route with options:
|
19
|
+
# resources :products do
|
20
|
+
# member do
|
21
|
+
# get 'short'
|
22
|
+
# post 'toggle'
|
23
|
+
# end
|
24
|
+
#
|
25
|
+
# collection do
|
26
|
+
# get 'sold'
|
27
|
+
# end
|
28
|
+
# end
|
29
|
+
|
30
|
+
# Sample resource route with sub-resources:
|
31
|
+
# resources :products do
|
32
|
+
# resources :comments, :sales
|
33
|
+
# resource :seller
|
34
|
+
# end
|
35
|
+
|
36
|
+
# Sample resource route with more complex sub-resources
|
37
|
+
# resources :products do
|
38
|
+
# resources :comments
|
39
|
+
# resources :sales do
|
40
|
+
# get 'recent', :on => :collection
|
41
|
+
# end
|
42
|
+
# end
|
43
|
+
|
44
|
+
# Sample resource route within a namespace:
|
45
|
+
# namespace :admin do
|
46
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
47
|
+
# # (app/controllers/admin/products_controller.rb)
|
48
|
+
# resources :products
|
49
|
+
# end
|
50
|
+
|
51
|
+
# You can have the root of your site routed with "root"
|
52
|
+
# just remember to delete public/index.html.
|
53
|
+
# root :to => 'welcome#index'
|
54
|
+
|
55
|
+
# See how all your routes lay out with "rake routes"
|
56
|
+
|
57
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
58
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
59
|
+
# match ':controller(/:action(/:id(.:format)))'
|
60
|
+
end
|
Binary file
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended to check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(:version => 20110915034248) do
|
14
|
+
|
15
|
+
create_table "links", :force => true do |t|
|
16
|
+
t.string "name"
|
17
|
+
t.string "permalink"
|
18
|
+
t.datetime "created_at"
|
19
|
+
t.datetime "updated_at"
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
Binary file
|
@@ -0,0 +1,511 @@
|
|
1
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (106.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (63.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreateLinks (20110915034248)
|
7
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "created_at" datetime, "updated_at" datetime)
|
8
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110915034248')[0m
|
9
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
10
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("links")
|
12
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
13
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
14
|
+
[1m[36m (123.8ms)[0m [1mCREATE TABLE "links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
15
|
+
[1m[35m (68.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
16
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
17
|
+
[1m[35m (81.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
18
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
19
|
+
[1m[35m (66.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110915034248')
|
20
|
+
|
21
|
+
|
22
|
+
Started GET "/" for 127.0.0.1 at Thu Sep 15 10:44:47 +0700 2011
|
23
|
+
|
24
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
25
|
+
|
26
|
+
|
27
|
+
Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.9ms)
|
28
|
+
|
29
|
+
|
30
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:44:55 +0700 2011
|
31
|
+
Processing by LinksController#index as HTML
|
32
|
+
[1m[36mLink Load (0.2ms)[0m [1mSELECT "links".* FROM "links" [0m
|
33
|
+
Rendered links/index.html.erb within layouts/application (1.3ms)
|
34
|
+
Compiled application.css (3ms) (pid 12549)
|
35
|
+
Compiled links.css (0ms) (pid 12549)
|
36
|
+
Compiled scaffold.css (0ms) (pid 12549)
|
37
|
+
Completed 500 Internal Server Error in 60ms
|
38
|
+
|
39
|
+
ActionView::Template::Error (couldn't find file 'jquery'
|
40
|
+
(in /home/nampt/workspace/to_permalink/test/dummy/app/assets/javascripts/application.js:7)):
|
41
|
+
3: <head>
|
42
|
+
4: <title>Dummy</title>
|
43
|
+
5: <%= stylesheet_link_tag "application" %>
|
44
|
+
6: <%= javascript_include_tag "application" %>
|
45
|
+
7: <%= csrf_meta_tags %>
|
46
|
+
8: </head>
|
47
|
+
9: <body>
|
48
|
+
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__534842829__616359028'
|
49
|
+
app/controllers/links_controller.rb:7:in `index'
|
50
|
+
|
51
|
+
Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.5ms)
|
52
|
+
Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
|
53
|
+
Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.8ms)
|
54
|
+
|
55
|
+
|
56
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:45:24 +0700 2011
|
57
|
+
Processing by LinksController#index as HTML
|
58
|
+
[1m[35mLink Load (0.1ms)[0m SELECT "links".* FROM "links"
|
59
|
+
Rendered links/index.html.erb within layouts/application (0.6ms)
|
60
|
+
Compiled application.js (2ms) (pid 12549)
|
61
|
+
Compiled links.js (0ms) (pid 12549)
|
62
|
+
Completed 200 OK in 33ms (Views: 30.6ms | ActiveRecord: 0.3ms)
|
63
|
+
|
64
|
+
|
65
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:45:24 +0700 2011
|
66
|
+
Served asset /links.css - 200 OK (4ms)
|
67
|
+
|
68
|
+
|
69
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:45:24 +0700 2011
|
70
|
+
Served asset /application.css - 200 OK (2ms)
|
71
|
+
|
72
|
+
|
73
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:45:24 +0700 2011
|
74
|
+
Served asset /scaffold.css - 200 OK (8ms)
|
75
|
+
|
76
|
+
|
77
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:45:24 +0700 2011
|
78
|
+
Served asset /links.js - 200 OK (3ms)
|
79
|
+
|
80
|
+
|
81
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:45:24 +0700 2011
|
82
|
+
Served asset /application.js - 200 OK (2ms)
|
83
|
+
|
84
|
+
|
85
|
+
Started GET "/links/new" for 127.0.0.1 at Thu Sep 15 10:45:26 +0700 2011
|
86
|
+
Processing by LinksController#new as HTML
|
87
|
+
Rendered links/_form.html.erb (12.8ms)
|
88
|
+
Rendered links/new.html.erb within layouts/application (18.8ms)
|
89
|
+
Completed 200 OK in 96ms (Views: 94.9ms | ActiveRecord: 0.3ms)
|
90
|
+
|
91
|
+
|
92
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:45:26 +0700 2011
|
93
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
94
|
+
|
95
|
+
|
96
|
+
Started POST "/links" for 127.0.0.1 at Thu Sep 15 10:45:31 +0700 2011
|
97
|
+
Processing by LinksController#create as HTML
|
98
|
+
Parameters: {"commit"=>"Create Link", "authenticity_token"=>"twnq/Ba1UmokelHC7Im7XcNHyIgKUeKg3w955XA8gVY=", "utf8"=>"✓", "link"=>{"permalink"=>"", "name"=>"đồ chó chết"}}
|
99
|
+
[1m[36mSQL (9.0ms)[0m [1mINSERT INTO "links" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 15 Sep 2011 03:45:31 UTC +00:00], ["name", "do-cho-chet"], ["permalink", "do-cho-chet"], ["updated_at", Thu, 15 Sep 2011 03:45:31 UTC +00:00]]
|
100
|
+
Redirected to http://localhost:3000/links/1
|
101
|
+
Completed 302 Found in 146ms
|
102
|
+
|
103
|
+
|
104
|
+
Started GET "/links/1" for 127.0.0.1 at Thu Sep 15 10:45:32 +0700 2011
|
105
|
+
Processing by LinksController#show as HTML
|
106
|
+
Parameters: {"id"=>"1"}
|
107
|
+
[1m[35mLink Load (0.3ms)[0m SELECT "links".* FROM "links" WHERE "links"."id" = ? LIMIT 1 [["id", "1"]]
|
108
|
+
Rendered links/show.html.erb within layouts/application (6.3ms)
|
109
|
+
Completed 200 OK in 25ms (Views: 17.6ms | ActiveRecord: 0.8ms)
|
110
|
+
|
111
|
+
|
112
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:45:32 +0700 2011
|
113
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
114
|
+
|
115
|
+
|
116
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:45:34 +0700 2011
|
117
|
+
Processing by LinksController#index as HTML
|
118
|
+
[1m[36mLink Load (0.1ms)[0m [1mSELECT "links".* FROM "links" [0m
|
119
|
+
Rendered links/index.html.erb within layouts/application (7.1ms)
|
120
|
+
Completed 200 OK in 20ms (Views: 17.5ms | ActiveRecord: 0.6ms)
|
121
|
+
|
122
|
+
|
123
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:45:34 +0700 2011
|
124
|
+
Served asset /application.js - 304 Not Modified (1ms)
|
125
|
+
|
126
|
+
|
127
|
+
Started GET "/links/new" for 127.0.0.1 at Thu Sep 15 10:47:41 +0700 2011
|
128
|
+
Processing by LinksController#new as HTML
|
129
|
+
Rendered links/_form.html.erb (8.6ms)
|
130
|
+
Rendered links/new.html.erb within layouts/application (10.0ms)
|
131
|
+
Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.3ms)
|
132
|
+
|
133
|
+
|
134
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:41 +0700 2011
|
135
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
136
|
+
|
137
|
+
|
138
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:41 +0700 2011
|
139
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
140
|
+
|
141
|
+
|
142
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:41 +0700 2011
|
143
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
144
|
+
|
145
|
+
|
146
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:47:41 +0700 2011
|
147
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
148
|
+
|
149
|
+
|
150
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:47:41 +0700 2011
|
151
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
152
|
+
|
153
|
+
|
154
|
+
Started POST "/links" for 127.0.0.1 at Thu Sep 15 10:47:51 +0700 2011
|
155
|
+
Processing by LinksController#create as HTML
|
156
|
+
Parameters: {"commit"=>"Create Link", "authenticity_token"=>"twnq/Ba1UmokelHC7Im7XcNHyIgKUeKg3w955XA8gVY=", "utf8"=>"✓", "link"=>{"permalink"=>"", "name"=>"tết ăn cơm này nọ"}}
|
157
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "links" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 15 Sep 2011 03:47:51 UTC +00:00], ["name", "tet-an-com-nay-no"], ["permalink", "tet-an-com-nay-no"], ["updated_at", Thu, 15 Sep 2011 03:47:51 UTC +00:00]]
|
158
|
+
Redirected to http://localhost:3000/links/2
|
159
|
+
Completed 302 Found in 89ms
|
160
|
+
|
161
|
+
|
162
|
+
Started GET "/links/2" for 127.0.0.1 at Thu Sep 15 10:47:51 +0700 2011
|
163
|
+
Processing by LinksController#show as HTML
|
164
|
+
Parameters: {"id"=>"2"}
|
165
|
+
[1m[36mLink Load (0.2ms)[0m [1mSELECT "links".* FROM "links" WHERE "links"."id" = ? LIMIT 1[0m [["id", "2"]]
|
166
|
+
Rendered links/show.html.erb within layouts/application (6.0ms)
|
167
|
+
Completed 200 OK in 21ms (Views: 17.7ms | ActiveRecord: 0.7ms)
|
168
|
+
|
169
|
+
|
170
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:51 +0700 2011
|
171
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
172
|
+
|
173
|
+
|
174
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:51 +0700 2011
|
175
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
176
|
+
|
177
|
+
|
178
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:51 +0700 2011
|
179
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
180
|
+
|
181
|
+
|
182
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:47:51 +0700 2011
|
183
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
184
|
+
|
185
|
+
|
186
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:47:51 +0700 2011
|
187
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
188
|
+
|
189
|
+
|
190
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:47:53 +0700 2011
|
191
|
+
Processing by LinksController#index as HTML
|
192
|
+
[1m[35mLink Load (0.1ms)[0m SELECT "links".* FROM "links"
|
193
|
+
Rendered links/index.html.erb within layouts/application (8.6ms)
|
194
|
+
Completed 200 OK in 22ms (Views: 19.5ms | ActiveRecord: 0.6ms)
|
195
|
+
|
196
|
+
|
197
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:53 +0700 2011
|
198
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
199
|
+
|
200
|
+
|
201
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:53 +0700 2011
|
202
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
203
|
+
|
204
|
+
|
205
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:47:53 +0700 2011
|
206
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
207
|
+
|
208
|
+
|
209
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:47:53 +0700 2011
|
210
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
211
|
+
|
212
|
+
|
213
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:47:53 +0700 2011
|
214
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
215
|
+
|
216
|
+
|
217
|
+
Started GET "/links/new" for 127.0.0.1 at Thu Sep 15 10:48:42 +0700 2011
|
218
|
+
Processing by LinksController#new as HTML
|
219
|
+
Rendered links/_form.html.erb (8.8ms)
|
220
|
+
Rendered links/new.html.erb within layouts/application (10.2ms)
|
221
|
+
Completed 200 OK in 22ms (Views: 20.4ms | ActiveRecord: 0.3ms)
|
222
|
+
|
223
|
+
|
224
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:42 +0700 2011
|
225
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
226
|
+
|
227
|
+
|
228
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:42 +0700 2011
|
229
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
230
|
+
|
231
|
+
|
232
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:42 +0700 2011
|
233
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
234
|
+
|
235
|
+
|
236
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:42 +0700 2011
|
237
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
238
|
+
|
239
|
+
|
240
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:42 +0700 2011
|
241
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
242
|
+
|
243
|
+
|
244
|
+
Started POST "/links" for 127.0.0.1 at Thu Sep 15 10:48:45 +0700 2011
|
245
|
+
Processing by LinksController#create as HTML
|
246
|
+
Parameters: {"commit"=>"Create Link", "authenticity_token"=>"twnq/Ba1UmokelHC7Im7XcNHyIgKUeKg3w955XA8gVY=", "utf8"=>"✓", "link"=>{"permalink"=>"", "name"=>"aaa"}}
|
247
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "links" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Thu, 15 Sep 2011 03:48:45 UTC +00:00], ["name", "aaa"], ["permalink", "aaa"], ["updated_at", Thu, 15 Sep 2011 03:48:45 UTC +00:00]]
|
248
|
+
Redirected to http://localhost:3000/links/3
|
249
|
+
Completed 302 Found in 176ms
|
250
|
+
|
251
|
+
|
252
|
+
Started GET "/links/3" for 127.0.0.1 at Thu Sep 15 10:48:45 +0700 2011
|
253
|
+
Processing by LinksController#show as HTML
|
254
|
+
Parameters: {"id"=>"3"}
|
255
|
+
[1m[35mLink Load (0.2ms)[0m SELECT "links".* FROM "links" WHERE "links"."id" = ? LIMIT 1 [["id", "3"]]
|
256
|
+
Rendered links/show.html.erb within layouts/application (5.9ms)
|
257
|
+
Completed 200 OK in 20ms (Views: 16.5ms | ActiveRecord: 0.8ms)
|
258
|
+
|
259
|
+
|
260
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:45 +0700 2011
|
261
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
262
|
+
|
263
|
+
|
264
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:45 +0700 2011
|
265
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
266
|
+
|
267
|
+
|
268
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:45 +0700 2011
|
269
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
270
|
+
|
271
|
+
|
272
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:45 +0700 2011
|
273
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
274
|
+
|
275
|
+
|
276
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:45 +0700 2011
|
277
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
278
|
+
|
279
|
+
|
280
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:48:46 +0700 2011
|
281
|
+
Processing by LinksController#index as HTML
|
282
|
+
[1m[36mLink Load (0.2ms)[0m [1mSELECT "links".* FROM "links" [0m
|
283
|
+
Rendered links/index.html.erb within layouts/application (10.4ms)
|
284
|
+
Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.7ms)
|
285
|
+
|
286
|
+
|
287
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:47 +0700 2011
|
288
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
289
|
+
|
290
|
+
|
291
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:47 +0700 2011
|
292
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
293
|
+
|
294
|
+
|
295
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:47 +0700 2011
|
296
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
297
|
+
|
298
|
+
|
299
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:47 +0700 2011
|
300
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
301
|
+
|
302
|
+
|
303
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:47 +0700 2011
|
304
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
305
|
+
|
306
|
+
|
307
|
+
Started GET "/links/new" for 127.0.0.1 at Thu Sep 15 10:48:48 +0700 2011
|
308
|
+
Processing by LinksController#new as HTML
|
309
|
+
Rendered links/_form.html.erb (8.8ms)
|
310
|
+
Rendered links/new.html.erb within layouts/application (10.2ms)
|
311
|
+
Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.3ms)
|
312
|
+
|
313
|
+
|
314
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:48 +0700 2011
|
315
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
316
|
+
|
317
|
+
|
318
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:48 +0700 2011
|
319
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
320
|
+
|
321
|
+
|
322
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:49 +0700 2011
|
323
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
324
|
+
|
325
|
+
|
326
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:49 +0700 2011
|
327
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
328
|
+
|
329
|
+
|
330
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:49 +0700 2011
|
331
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
332
|
+
|
333
|
+
|
334
|
+
Started POST "/links" for 127.0.0.1 at Thu Sep 15 10:48:54 +0700 2011
|
335
|
+
Processing by LinksController#create as HTML
|
336
|
+
Parameters: {"commit"=>"Create Link", "authenticity_token"=>"twnq/Ba1UmokelHC7Im7XcNHyIgKUeKg3w955XA8gVY=", "utf8"=>"✓", "link"=>{"permalink"=>"", "name"=>"tết ăn cơm này nọ"}}
|
337
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "links" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 15 Sep 2011 03:48:54 UTC +00:00], ["name", "tet-an-com-nay-no"], ["permalink", "tet-an-com-nay-no"], ["updated_at", Thu, 15 Sep 2011 03:48:54 UTC +00:00]]
|
338
|
+
Redirected to http://localhost:3000/links/4
|
339
|
+
Completed 302 Found in 177ms
|
340
|
+
|
341
|
+
|
342
|
+
Started GET "/links/4" for 127.0.0.1 at Thu Sep 15 10:48:54 +0700 2011
|
343
|
+
Processing by LinksController#show as HTML
|
344
|
+
Parameters: {"id"=>"4"}
|
345
|
+
[1m[36mLink Load (0.2ms)[0m [1mSELECT "links".* FROM "links" WHERE "links"."id" = ? LIMIT 1[0m [["id", "4"]]
|
346
|
+
Rendered links/show.html.erb within layouts/application (6.1ms)
|
347
|
+
Completed 200 OK in 91ms (Views: 88.1ms | ActiveRecord: 0.6ms)
|
348
|
+
|
349
|
+
|
350
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:54 +0700 2011
|
351
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
352
|
+
|
353
|
+
|
354
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:54 +0700 2011
|
355
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
356
|
+
|
357
|
+
|
358
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:54 +0700 2011
|
359
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
360
|
+
|
361
|
+
|
362
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:54 +0700 2011
|
363
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
364
|
+
|
365
|
+
|
366
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:54 +0700 2011
|
367
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
368
|
+
|
369
|
+
|
370
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:48:56 +0700 2011
|
371
|
+
Processing by LinksController#index as HTML
|
372
|
+
[1m[35mLink Load (0.2ms)[0m SELECT "links".* FROM "links"
|
373
|
+
Rendered links/index.html.erb within layouts/application (12.6ms)
|
374
|
+
Completed 200 OK in 27ms (Views: 24.1ms | ActiveRecord: 0.7ms)
|
375
|
+
|
376
|
+
|
377
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:56 +0700 2011
|
378
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
379
|
+
|
380
|
+
|
381
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:56 +0700 2011
|
382
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
383
|
+
|
384
|
+
|
385
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:56 +0700 2011
|
386
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
387
|
+
|
388
|
+
|
389
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:48:56 +0700 2011
|
390
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
391
|
+
|
392
|
+
|
393
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:48:56 +0700 2011
|
394
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
395
|
+
|
396
|
+
|
397
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:49:06 +0700 2011
|
398
|
+
Processing by LinksController#index as HTML
|
399
|
+
[1m[36mLink Load (0.2ms)[0m [1mSELECT "links".* FROM "links" [0m
|
400
|
+
Rendered links/index.html.erb within layouts/application (54.1ms)
|
401
|
+
Completed 200 OK in 75ms (Views: 73.0ms | ActiveRecord: 0.3ms)
|
402
|
+
|
403
|
+
|
404
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:07 +0700 2011
|
405
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
406
|
+
|
407
|
+
|
408
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:07 +0700 2011
|
409
|
+
Served asset /links.css - 304 Not Modified (6ms)
|
410
|
+
|
411
|
+
|
412
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:07 +0700 2011
|
413
|
+
Served asset /scaffold.css - 304 Not Modified (2ms)
|
414
|
+
|
415
|
+
|
416
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:07 +0700 2011
|
417
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
418
|
+
|
419
|
+
|
420
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:07 +0700 2011
|
421
|
+
Served asset /links.js - 304 Not Modified (1ms)
|
422
|
+
|
423
|
+
|
424
|
+
Started GET "/links/new" for 127.0.0.1 at Thu Sep 15 10:49:08 +0700 2011
|
425
|
+
Processing by LinksController#new as HTML
|
426
|
+
Rendered links/_form.html.erb (10.6ms)
|
427
|
+
Rendered links/new.html.erb within layouts/application (15.6ms)
|
428
|
+
Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.3ms)
|
429
|
+
|
430
|
+
|
431
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:08 +0700 2011
|
432
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
433
|
+
|
434
|
+
|
435
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:08 +0700 2011
|
436
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
437
|
+
|
438
|
+
|
439
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:08 +0700 2011
|
440
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
441
|
+
|
442
|
+
|
443
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:08 +0700 2011
|
444
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
445
|
+
|
446
|
+
|
447
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:08 +0700 2011
|
448
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
449
|
+
|
450
|
+
|
451
|
+
Started POST "/links" for 127.0.0.1 at Thu Sep 15 10:49:11 +0700 2011
|
452
|
+
Processing by LinksController#create as HTML
|
453
|
+
Parameters: {"commit"=>"Create Link", "authenticity_token"=>"twnq/Ba1UmokelHC7Im7XcNHyIgKUeKg3w955XA8gVY=", "utf8"=>"✓", "link"=>{"permalink"=>"", "name"=>"tết ăn cơm này nọ"}}
|
454
|
+
[1m[35mSQL (9.0ms)[0m INSERT INTO "links" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 15 Sep 2011 03:49:11 UTC +00:00], ["name", "tết ăn cơm này nọ"], ["permalink", "tet-an-com-nay-no"], ["updated_at", Thu, 15 Sep 2011 03:49:11 UTC +00:00]]
|
455
|
+
Redirected to http://localhost:3000/links/5
|
456
|
+
Completed 302 Found in 115ms
|
457
|
+
|
458
|
+
|
459
|
+
Started GET "/links/5" for 127.0.0.1 at Thu Sep 15 10:49:11 +0700 2011
|
460
|
+
Processing by LinksController#show as HTML
|
461
|
+
Parameters: {"id"=>"5"}
|
462
|
+
[1m[36mLink Load (0.3ms)[0m [1mSELECT "links".* FROM "links" WHERE "links"."id" = ? LIMIT 1[0m [["id", "5"]]
|
463
|
+
Rendered links/show.html.erb within layouts/application (6.1ms)
|
464
|
+
Completed 200 OK in 21ms (Views: 15.9ms | ActiveRecord: 0.8ms)
|
465
|
+
|
466
|
+
|
467
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:11 +0700 2011
|
468
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
469
|
+
|
470
|
+
|
471
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:11 +0700 2011
|
472
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
473
|
+
|
474
|
+
|
475
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:11 +0700 2011
|
476
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
477
|
+
|
478
|
+
|
479
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:11 +0700 2011
|
480
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
481
|
+
|
482
|
+
|
483
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:11 +0700 2011
|
484
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
485
|
+
|
486
|
+
|
487
|
+
Started GET "/links" for 127.0.0.1 at Thu Sep 15 10:49:12 +0700 2011
|
488
|
+
Processing by LinksController#index as HTML
|
489
|
+
[1m[35mLink Load (0.2ms)[0m SELECT "links".* FROM "links"
|
490
|
+
Rendered links/index.html.erb within layouts/application (13.9ms)
|
491
|
+
Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 0.6ms)
|
492
|
+
|
493
|
+
|
494
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:13 +0700 2011
|
495
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
496
|
+
|
497
|
+
|
498
|
+
Started GET "/assets/links.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:13 +0700 2011
|
499
|
+
Served asset /links.css - 304 Not Modified (0ms)
|
500
|
+
|
501
|
+
|
502
|
+
Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at Thu Sep 15 10:49:13 +0700 2011
|
503
|
+
Served asset /scaffold.css - 304 Not Modified (0ms)
|
504
|
+
|
505
|
+
|
506
|
+
Started GET "/assets/links.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:13 +0700 2011
|
507
|
+
Served asset /links.js - 304 Not Modified (0ms)
|
508
|
+
|
509
|
+
|
510
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Sep 15 10:49:13 +0700 2011
|
511
|
+
Served asset /application.js - 304 Not Modified (0ms)
|