to_spreadsheet 0.9 → 0.9.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/README.rdoc +61 -0
- data/Rakefile +3 -11
- data/lib/to_spreadsheet/action_pack_renderers.rb +1 -0
- data/lib/to_spreadsheet/version.rb +1 -1
- data/lib/to_spreadsheet/xls.rb +20 -3
- metadata +18 -63
- data/README +0 -48
- data/test/test_app/Gemfile +0 -10
- data/test/test_app/Gemfile.lock +0 -88
- data/test/test_app/README +0 -1
- data/test/test_app/Rakefile +0 -7
- data/test/test_app/app/controllers/application_controller.rb +0 -3
- data/test/test_app/app/controllers/contacts_controller.rb +0 -7
- data/test/test_app/app/models/contact.rb +0 -3
- data/test/test_app/app/views/contacts/_table.erb +0 -24
- data/test/test_app/app/views/contacts/index.html.erb +0 -1
- data/test/test_app/app/views/contacts/index.xls.erb +0 -1
- data/test/test_app/app/views/layouts/application.html.erb +0 -7
- data/test/test_app/config/application.rb +0 -15
- data/test/test_app/config/boot.rb +0 -6
- data/test/test_app/config/database.yml +0 -22
- data/test/test_app/config/environment.rb +0 -5
- data/test/test_app/config/environments/development.rb +0 -26
- data/test/test_app/config/environments/production.rb +0 -49
- data/test/test_app/config/environments/test.rb +0 -35
- data/test/test_app/config/initializers/backtrace_silencers.rb +0 -7
- data/test/test_app/config/initializers/inflections.rb +0 -10
- data/test/test_app/config/initializers/mime_types.rb +0 -5
- data/test/test_app/config/initializers/secret_token.rb +0 -7
- data/test/test_app/config/initializers/session_store.rb +0 -8
- data/test/test_app/config/locales/en.yml +0 -5
- data/test/test_app/config/routes.rb +0 -4
- data/test/test_app/config.ru +0 -4
- data/test/test_app/db/development.sqlite3 +0 -0
- data/test/test_app/db/migrate/01_create_contacts.rb +0 -15
- data/test/test_app/db/schema.rb +0 -21
- data/test/test_app/db/seeds.rb +0 -7
- data/test/test_app/db/test.sqlite3 +0 -0
- data/test/test_app/log/development.log +0 -509
- data/test/test_app/log/production.log +0 -0
- data/test/test_app/log/server.log +0 -0
- data/test/test_app/log/test.log +0 -104
- data/test/test_app/script/rails +0 -6
- data/test/test_app/test/fixtures/contacts.yml +0 -5
- data/test/test_app/test/integration/rails_integration_test.rb +0 -14
- data/test/test_app/test/test_helper.rb +0 -7
- data/test/test_app/test/unit/contact_test.rb +0 -7
- data/test/test_helper.rb +0 -1
@@ -1,24 +0,0 @@
|
|
1
|
-
<table>
|
2
|
-
<caption>Test caption</caption>
|
3
|
-
<thead>
|
4
|
-
<tr>
|
5
|
-
<th>Name</th>
|
6
|
-
<th>Website</th>
|
7
|
-
<th>Age</th>
|
8
|
-
</tr>
|
9
|
-
</thead>
|
10
|
-
<tbody>
|
11
|
-
<% contacts.each do |contact| %>
|
12
|
-
<tr>
|
13
|
-
<td><%= contact.name %></td>
|
14
|
-
<td><%= contact.website %></td>
|
15
|
-
<td><%= contact.age %></td>
|
16
|
-
</tr>
|
17
|
-
<% end %>
|
18
|
-
</tbody>
|
19
|
-
<tfoot>
|
20
|
-
<tr>
|
21
|
-
<td>footer stuff</td>
|
22
|
-
</tr>
|
23
|
-
</tfoot>
|
24
|
-
</table>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= render 'contacts/table', :contacts => @contacts %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= render 'contacts/table', :contacts => @contacts %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
Bundler.require(:default, Rails.env) if defined?(Bundler)
|
6
|
-
|
7
|
-
module TestApp
|
8
|
-
class Application < Rails::Application
|
9
|
-
# Configure the default encoding used in templates for Ruby 1.9.
|
10
|
-
config.encoding = "utf-8"
|
11
|
-
|
12
|
-
# Configure sensitive parameters which will be filtered from the log file.
|
13
|
-
config.filter_parameters += [:password]
|
14
|
-
end
|
15
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
development:
|
4
|
-
adapter: sqlite3
|
5
|
-
database: db/development.sqlite3
|
6
|
-
pool: 5
|
7
|
-
timeout: 5000
|
8
|
-
|
9
|
-
# Warning: The database defined as "test" will be erased and
|
10
|
-
# re-generated from your development database when you run "rake".
|
11
|
-
# Do not set this db to the same as development or production.
|
12
|
-
test:
|
13
|
-
adapter: sqlite3
|
14
|
-
database: db/test.sqlite3
|
15
|
-
pool: 5
|
16
|
-
timeout: 5000
|
17
|
-
|
18
|
-
production:
|
19
|
-
adapter: sqlite3
|
20
|
-
database: db/production.sqlite3
|
21
|
-
pool: 5
|
22
|
-
timeout: 5000
|
@@ -1,26 +0,0 @@
|
|
1
|
-
TestApp::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 webserver 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_view.debug_rjs = true
|
15
|
-
config.action_controller.perform_caching = false
|
16
|
-
|
17
|
-
# Don't care if the mailer can't send
|
18
|
-
config.action_mailer.raise_delivery_errors = false
|
19
|
-
|
20
|
-
# Print deprecation notices to the Rails logger
|
21
|
-
config.active_support.deprecation = :log
|
22
|
-
|
23
|
-
# Only use best-standards-support built into browsers
|
24
|
-
config.action_dispatch.best_standards_support = :builtin
|
25
|
-
end
|
26
|
-
|
@@ -1,49 +0,0 @@
|
|
1
|
-
TestApp::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# The production environment is meant for finished, "live" apps.
|
5
|
-
# Code is not reloaded between requests
|
6
|
-
config.cache_classes = true
|
7
|
-
|
8
|
-
# Full error reports are disabled and caching is turned on
|
9
|
-
config.consider_all_requests_local = false
|
10
|
-
config.action_controller.perform_caching = true
|
11
|
-
|
12
|
-
# Specifies the header that your server uses for sending files
|
13
|
-
config.action_dispatch.x_sendfile_header = "X-Sendfile"
|
14
|
-
|
15
|
-
# For nginx:
|
16
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
|
17
|
-
|
18
|
-
# If you have no front-end server that supports something like X-Sendfile,
|
19
|
-
# just comment this out and Rails will serve the files
|
20
|
-
|
21
|
-
# See everything in the log (default is :info)
|
22
|
-
# config.log_level = :debug
|
23
|
-
|
24
|
-
# Use a different logger for distributed setups
|
25
|
-
# config.logger = SyslogLogger.new
|
26
|
-
|
27
|
-
# Use a different cache store in production
|
28
|
-
# config.cache_store = :mem_cache_store
|
29
|
-
|
30
|
-
# Disable Rails's static asset server
|
31
|
-
# In production, Apache or nginx will already do this
|
32
|
-
config.serve_static_assets = false
|
33
|
-
|
34
|
-
# Enable serving of images, stylesheets, and javascripts from an asset server
|
35
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
36
|
-
|
37
|
-
# Disable delivery errors, bad email addresses will be ignored
|
38
|
-
# config.action_mailer.raise_delivery_errors = false
|
39
|
-
|
40
|
-
# Enable threaded mode
|
41
|
-
# config.threadsafe!
|
42
|
-
|
43
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
44
|
-
# the I18n.default_locale when a translation can not be found)
|
45
|
-
config.i18n.fallbacks = true
|
46
|
-
|
47
|
-
# Send deprecation notices to registered listeners
|
48
|
-
config.active_support.deprecation = :notify
|
49
|
-
end
|
@@ -1,35 +0,0 @@
|
|
1
|
-
TestApp::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
|
-
# Log error messages when you accidentally call methods on nil.
|
11
|
-
config.whiny_nils = true
|
12
|
-
|
13
|
-
# Show full error reports and disable caching
|
14
|
-
config.consider_all_requests_local = true
|
15
|
-
config.action_controller.perform_caching = false
|
16
|
-
|
17
|
-
# Raise exceptions instead of rendering exception templates
|
18
|
-
config.action_dispatch.show_exceptions = false
|
19
|
-
|
20
|
-
# Disable request forgery protection in test environment
|
21
|
-
config.action_controller.allow_forgery_protection = false
|
22
|
-
|
23
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
24
|
-
# The :test delivery method accumulates sent emails in the
|
25
|
-
# ActionMailer::Base.deliveries array.
|
26
|
-
config.action_mailer.delivery_method = :test
|
27
|
-
|
28
|
-
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
29
|
-
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
30
|
-
# like if you have constraints or database-specific column types
|
31
|
-
# config.active_record.schema_format = :sql
|
32
|
-
|
33
|
-
# Print deprecation notices to the stderr
|
34
|
-
config.active_support.deprecation = :stderr
|
35
|
-
end
|
@@ -1,7 +0,0 @@
|
|
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!
|
@@ -1,10 +0,0 @@
|
|
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
|
@@ -1,7 +0,0 @@
|
|
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
|
-
TestApp::Application.config.secret_token = 'c362f09b453ec024bd3095ac4dcaa4e2e4205195349962f8ce03094a7644679625ea123c322123a33da3a6bd040998a7df03efcf3073bbc179b2c3ab2f542cc4'
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
TestApp::Application.config.session_store :cookie_store, :key => '_test_app_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
|
-
# TestApp::Application.config.session_store :active_record_store
|
data/test/test_app/config.ru
DELETED
Binary file
|
data/test/test_app/db/schema.rb
DELETED
@@ -1,21 +0,0 @@
|
|
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 => 1) do
|
14
|
-
|
15
|
-
create_table "contacts", :force => true do |t|
|
16
|
-
t.string "name"
|
17
|
-
t.string "website"
|
18
|
-
t.integer "age"
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
data/test/test_app/db/seeds.rb
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
-
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
-
#
|
4
|
-
# Examples:
|
5
|
-
#
|
6
|
-
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
|
7
|
-
# Mayor.create(:name => 'Daley', :city => cities.first)
|
Binary file
|
@@ -1,509 +0,0 @@
|
|
1
|
-
[1m[36mSQL (43.0ms)[0m [1m SELECT name
|
2
|
-
FROM sqlite_master
|
3
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
-
[0m
|
5
|
-
[1m[35mSQL (1.0ms)[0m select sqlite_version(*)
|
6
|
-
[1m[36mSQL (5.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
-
[1m[35mSQL (1.0ms)[0m PRAGMA index_list("schema_migrations")
|
8
|
-
[1m[36mSQL (5.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
10
|
-
FROM sqlite_master
|
11
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
12
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
13
|
-
FROM sqlite_master
|
14
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
-
[0m
|
16
|
-
[1m[35mSQL (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
17
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
18
|
-
FROM sqlite_master
|
19
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
20
|
-
[0m
|
21
|
-
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
22
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
23
|
-
FROM sqlite_master
|
24
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
25
|
-
[0m
|
26
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
27
|
-
FROM sqlite_master
|
28
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
29
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
30
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
31
|
-
FROM sqlite_master
|
32
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
33
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
34
|
-
FROM sqlite_master
|
35
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
36
|
-
[0m
|
37
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
38
|
-
FROM sqlite_master
|
39
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
40
|
-
[1m[36mSQL (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
41
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
42
|
-
FROM sqlite_master
|
43
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
44
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
45
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
46
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
47
|
-
[1m[35mSQL (3.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
48
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
49
|
-
FROM sqlite_master
|
50
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
51
|
-
[0m
|
52
|
-
[1m[35mSQL (1.0ms)[0m SELECT version FROM "schema_migrations"
|
53
|
-
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
54
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
55
|
-
FROM sqlite_master
|
56
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
57
|
-
[0m
|
58
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
59
|
-
FROM sqlite_master
|
60
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
61
|
-
[1m[36mSQL (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
62
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
63
|
-
FROM sqlite_master
|
64
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
65
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
66
|
-
[1m[35mSQL (6.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
67
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
68
|
-
[1m[35mSQL (4.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
69
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
70
|
-
FROM sqlite_master
|
71
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
72
|
-
[0m
|
73
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
74
|
-
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
75
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
76
|
-
FROM sqlite_master
|
77
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
78
|
-
[0m
|
79
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
80
|
-
FROM sqlite_master
|
81
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
82
|
-
[1m[36mSQL (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
83
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
84
|
-
FROM sqlite_master
|
85
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
86
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
87
|
-
[1m[35mSQL (3.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
88
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
89
|
-
[1m[35mSQL (3.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
90
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
91
|
-
FROM sqlite_master
|
92
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
93
|
-
[0m
|
94
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
95
|
-
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
96
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
97
|
-
FROM sqlite_master
|
98
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
99
|
-
[0m
|
100
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
101
|
-
FROM sqlite_master
|
102
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
103
|
-
[1m[36mSQL (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
104
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
105
|
-
FROM sqlite_master
|
106
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
107
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
108
|
-
[1m[35mSQL (6.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
109
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
110
|
-
[1m[35mSQL (9.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
111
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
112
|
-
FROM sqlite_master
|
113
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
114
|
-
[0m
|
115
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
116
|
-
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
117
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
118
|
-
FROM sqlite_master
|
119
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
120
|
-
[0m
|
121
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
122
|
-
FROM sqlite_master
|
123
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
124
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
125
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
126
|
-
FROM sqlite_master
|
127
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
128
|
-
[1m[36mSQL (1.0ms)[0m [1mselect sqlite_version(*)[0m
|
129
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
130
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
131
|
-
[1m[35mSQL (3.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
132
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
133
|
-
FROM sqlite_master
|
134
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
135
|
-
[0m
|
136
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
137
|
-
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
138
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
139
|
-
FROM sqlite_master
|
140
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
141
|
-
[0m
|
142
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
143
|
-
FROM sqlite_master
|
144
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
145
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
146
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
147
|
-
FROM sqlite_master
|
148
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
149
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
150
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
151
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
152
|
-
[1m[35mSQL (3.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
153
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
154
|
-
FROM sqlite_master
|
155
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
156
|
-
[0m
|
157
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
158
|
-
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
159
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
160
|
-
FROM sqlite_master
|
161
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
162
|
-
[0m
|
163
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
164
|
-
FROM sqlite_master
|
165
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
166
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
167
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
168
|
-
FROM sqlite_master
|
169
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
170
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
171
|
-
[1m[35mSQL (32.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
172
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
173
|
-
[1m[35mSQL (3.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
174
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
175
|
-
FROM sqlite_master
|
176
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
177
|
-
[0m
|
178
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
179
|
-
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
180
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
181
|
-
FROM sqlite_master
|
182
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
183
|
-
[0m
|
184
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
185
|
-
FROM sqlite_master
|
186
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
187
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
188
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
189
|
-
FROM sqlite_master
|
190
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
191
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
192
|
-
[1m[35mSQL (3.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
193
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
194
|
-
[1m[35mSQL (4.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
195
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
196
|
-
FROM sqlite_master
|
197
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
198
|
-
[0m
|
199
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
200
|
-
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
201
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
202
|
-
FROM sqlite_master
|
203
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
204
|
-
[0m
|
205
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
206
|
-
FROM sqlite_master
|
207
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
208
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
209
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
210
|
-
FROM sqlite_master
|
211
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
212
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
213
|
-
[1m[35mSQL (3.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
214
|
-
[1m[36mSQL (1.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
215
|
-
[1m[35mSQL (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
216
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
217
|
-
FROM sqlite_master
|
218
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
219
|
-
[0m
|
220
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
221
|
-
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
222
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
223
|
-
FROM sqlite_master
|
224
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
225
|
-
[0m
|
226
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
227
|
-
FROM sqlite_master
|
228
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
229
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
230
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
231
|
-
FROM sqlite_master
|
232
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
233
|
-
[1m[36mSQL (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
234
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
235
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
236
|
-
[1m[35mSQL (4.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
237
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
238
|
-
FROM sqlite_master
|
239
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
240
|
-
[0m
|
241
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
242
|
-
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
243
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
244
|
-
FROM sqlite_master
|
245
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
246
|
-
[0m
|
247
|
-
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
248
|
-
[1m[36mSQL (5.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
249
|
-
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
250
|
-
[1m[36mSQL (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
251
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
252
|
-
FROM sqlite_master
|
253
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
254
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
255
|
-
[1m[35mSQL (5.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
256
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
257
|
-
FROM sqlite_master
|
258
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
259
|
-
[0m
|
260
|
-
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
261
|
-
[1m[36mSQL (4.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
262
|
-
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
263
|
-
[1m[36mSQL (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
264
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
265
|
-
FROM sqlite_master
|
266
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
267
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
268
|
-
[1m[35mSQL (5.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
269
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
270
|
-
FROM sqlite_master
|
271
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
272
|
-
[0m
|
273
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
274
|
-
FROM sqlite_master
|
275
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
276
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
277
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
278
|
-
FROM sqlite_master
|
279
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
280
|
-
[0m
|
281
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
282
|
-
FROM sqlite_master
|
283
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
284
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
285
|
-
Migrating to CreateContacts (1)
|
286
|
-
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
287
|
-
[1m[36mSQL (1.0ms)[0m [1mCREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "website" varchar(255), "age" integer) [0m
|
288
|
-
[1m[35mSQL (0.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('1')
|
289
|
-
[1m[36mSQL (3.0ms)[0m [1m SELECT name
|
290
|
-
FROM sqlite_master
|
291
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
292
|
-
[0m
|
293
|
-
[1m[35mSQL (1.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
294
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
295
|
-
FROM sqlite_master
|
296
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
297
|
-
[0m
|
298
|
-
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("contacts")
|
299
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
300
|
-
FROM sqlite_master
|
301
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
302
|
-
[0m
|
303
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
304
|
-
FROM sqlite_master
|
305
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
306
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
307
|
-
[1m[35mSQL (1.0ms)[0m select sqlite_version(*)
|
308
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
309
|
-
FROM sqlite_master
|
310
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
311
|
-
[0m
|
312
|
-
[1m[35mSQL (5.0ms)[0m CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "website" varchar(255), "age" integer)
|
313
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
314
|
-
FROM sqlite_master
|
315
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
316
|
-
[0m
|
317
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
318
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
319
|
-
[1m[35mSQL (4.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
320
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
321
|
-
FROM sqlite_master
|
322
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
323
|
-
[0m
|
324
|
-
[1m[35mSQL (1.0ms)[0m SELECT version FROM "schema_migrations"
|
325
|
-
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
326
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
327
|
-
FROM sqlite_master
|
328
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
329
|
-
[0m
|
330
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
331
|
-
FROM sqlite_master
|
332
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
333
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
334
|
-
[1m[35mSQL (1.0ms)[0m select sqlite_version(*)
|
335
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
336
|
-
FROM sqlite_master
|
337
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
338
|
-
[0m
|
339
|
-
[1m[35mSQL (6.0ms)[0m CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "website" varchar(255), "age" integer)
|
340
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
341
|
-
FROM sqlite_master
|
342
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
343
|
-
[0m
|
344
|
-
[1m[35mSQL (6.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
345
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
346
|
-
[1m[35mSQL (4.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
347
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
348
|
-
FROM sqlite_master
|
349
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
350
|
-
[0m
|
351
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
352
|
-
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
353
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
354
|
-
FROM sqlite_master
|
355
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
356
|
-
[0m
|
357
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
358
|
-
FROM sqlite_master
|
359
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
360
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
361
|
-
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
362
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
363
|
-
FROM sqlite_master
|
364
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
365
|
-
[0m
|
366
|
-
[1m[35mSQL (59.0ms)[0m CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "website" varchar(255), "age" integer)
|
367
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
368
|
-
FROM sqlite_master
|
369
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
370
|
-
[0m
|
371
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
372
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
373
|
-
[1m[35mSQL (4.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
374
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
375
|
-
FROM sqlite_master
|
376
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
377
|
-
[0m
|
378
|
-
[1m[35mSQL (1.0ms)[0m SELECT version FROM "schema_migrations"
|
379
|
-
[1m[36mSQL (4.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
380
|
-
|
381
|
-
|
382
|
-
Started GET "/" for 127.0.0.1 at 2011-03-15 02:12:42 +0100
|
383
|
-
|
384
|
-
|
385
|
-
Started GET "/contacts.html" for 127.0.0.1 at 2011-03-15 02:12:47 +0100
|
386
|
-
Processing by ContactsController#index as HTML
|
387
|
-
[1m[36mContact Load (1.0ms)[0m [1mSELECT "contacts".* FROM "contacts"[0m
|
388
|
-
Rendered contacts/_table.erb (0.0ms)
|
389
|
-
Rendered contacts/index.html.erb within layouts/application (7.0ms)
|
390
|
-
Completed 200 OK in 281ms (Views: 30.0ms | ActiveRecord: 1.0ms)
|
391
|
-
|
392
|
-
|
393
|
-
Started GET "/favicon.ico" for 127.0.0.1 at 2011-03-15 02:12:48 +0100
|
394
|
-
|
395
|
-
ActionController::RoutingError (No route matches "/favicon.ico"):
|
396
|
-
|
397
|
-
|
398
|
-
Rendered c:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
|
399
|
-
|
400
|
-
|
401
|
-
Started GET "/contacts.xls" for 127.0.0.1 at 2011-03-15 02:13:37 +0100
|
402
|
-
Processing by ContactsController#index as XLS
|
403
|
-
[1m[35mContact Load (0.0ms)[0m SELECT "contacts".* FROM "contacts"
|
404
|
-
Rendered contacts/_table.erb (1.0ms)
|
405
|
-
Rendered contacts/index.xls.erb (5.0ms)
|
406
|
-
Rendered text template (0.0ms)
|
407
|
-
Sent data (20.0ms)
|
408
|
-
Completed 200 OK in 71ms (Views: 58.0ms | ActiveRecord: 0.0ms)
|
409
|
-
|
410
|
-
|
411
|
-
Started GET "/contacts.xls" for 127.0.0.1 at 2011-03-15 02:14:32 +0100
|
412
|
-
Processing by ContactsController#index as XLS
|
413
|
-
[1m[36mContact Load (1.0ms)[0m [1mSELECT "contacts".* FROM "contacts"[0m
|
414
|
-
Rendered contacts/_table.erb (0.0ms)
|
415
|
-
Rendered contacts/index.xls.erb (5.0ms)
|
416
|
-
Rendered text template (0.0ms)
|
417
|
-
Sent data (1.0ms)
|
418
|
-
Completed 200 OK in 76ms (Views: 40.0ms | ActiveRecord: 1.0ms)
|
419
|
-
|
420
|
-
|
421
|
-
Started GET "/contacts.xls" for 127.0.0.1 at 2011-03-15 02:15:10 +0100
|
422
|
-
Processing by ContactsController#index as XLS
|
423
|
-
[1m[36mContact Load (1.0ms)[0m [1mSELECT "contacts".* FROM "contacts"[0m
|
424
|
-
Rendered contacts/_table.erb (1.0ms)
|
425
|
-
Rendered contacts/index.xls.erb (5.0ms)
|
426
|
-
Rendered text template (0.0ms)
|
427
|
-
Sent data (20.0ms)
|
428
|
-
Completed 200 OK in 300ms (Views: 61.0ms | ActiveRecord: 1.0ms)
|
429
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
430
|
-
FROM sqlite_master
|
431
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
432
|
-
[0m
|
433
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
434
|
-
FROM sqlite_master
|
435
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
436
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
437
|
-
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
438
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
439
|
-
FROM sqlite_master
|
440
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
441
|
-
[0m
|
442
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "website" varchar(255), "age" integer)
|
443
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
444
|
-
FROM sqlite_master
|
445
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
446
|
-
[0m
|
447
|
-
[1m[35mSQL (4.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
448
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
449
|
-
[1m[35mSQL (4.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
450
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
451
|
-
FROM sqlite_master
|
452
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
453
|
-
[0m
|
454
|
-
[1m[35mSQL (1.0ms)[0m SELECT version FROM "schema_migrations"
|
455
|
-
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
456
|
-
[1m[36mSQL (119.0ms)[0m [1m SELECT name
|
457
|
-
FROM sqlite_master
|
458
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
459
|
-
[0m
|
460
|
-
[1m[35mSQL (1.0ms)[0m SELECT name
|
461
|
-
FROM sqlite_master
|
462
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
463
|
-
[1m[36mSQL (1.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
464
|
-
[1m[35mSQL (1.0ms)[0m select sqlite_version(*)
|
465
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
466
|
-
FROM sqlite_master
|
467
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
468
|
-
[0m
|
469
|
-
[1m[35mSQL (30.0ms)[0m CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "website" varchar(255), "age" integer)
|
470
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
471
|
-
FROM sqlite_master
|
472
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
473
|
-
[0m
|
474
|
-
[1m[35mSQL (41.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
475
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
476
|
-
[1m[35mSQL (9.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
477
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
478
|
-
FROM sqlite_master
|
479
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
480
|
-
[0m
|
481
|
-
[1m[35mSQL (0.0ms)[0m SELECT version FROM "schema_migrations"
|
482
|
-
[1m[36mSQL (8.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
483
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
484
|
-
FROM sqlite_master
|
485
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
486
|
-
[0m
|
487
|
-
[1m[35mSQL (0.0ms)[0m SELECT name
|
488
|
-
FROM sqlite_master
|
489
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
490
|
-
[1m[36mSQL (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
491
|
-
[1m[35mSQL (1.0ms)[0m select sqlite_version(*)
|
492
|
-
[1m[36mSQL (2.0ms)[0m [1m SELECT name
|
493
|
-
FROM sqlite_master
|
494
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
495
|
-
[0m
|
496
|
-
[1m[35mSQL (10.0ms)[0m CREATE TABLE "contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "website" varchar(255), "age" integer)
|
497
|
-
[1m[36mSQL (0.0ms)[0m [1m SELECT name
|
498
|
-
FROM sqlite_master
|
499
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
500
|
-
[0m
|
501
|
-
[1m[35mSQL (23.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
502
|
-
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
503
|
-
[1m[35mSQL (8.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
504
|
-
[1m[36mSQL (1.0ms)[0m [1m SELECT name
|
505
|
-
FROM sqlite_master
|
506
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
507
|
-
[0m
|
508
|
-
[1m[35mSQL (1.0ms)[0m SELECT version FROM "schema_migrations"
|
509
|
-
[1m[36mSQL (12.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|