streamit 0.0.6.2 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +12 -9
- data/README.rdoc +4 -3
- data/Rakefile +11 -1
- data/app/views/streamit/streams/fetch.html.erb +3 -1
- data/lib/generators/streamit/streamit_generator.rb +26 -0
- data/lib/generators/templates/stream.rb +4 -0
- data/lib/generators/templates/streamit.rb +1 -1
- data/lib/streamit.rb +10 -22
- data/lib/streamit/async_queue.rb +32 -0
- data/lib/streamit/dsl.rb +1 -1
- data/lib/streamit/engine.rb +1 -7
- data/lib/streamit/orm/mongo_mapper.rb +1 -1
- data/lib/streamit/version.rb +3 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/{models → model}/stream.rb +0 -0
- data/test/dummy/app/model/user.rb +3 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +2 -29
- data/test/dummy/config/database.yml +22 -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/streamit.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +46 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1902 -0
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/log/server.log +0 -0
- data/test/dummy/log/test.log +18904 -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/tmp/capybara/capybara-20110207142855.html +31 -0
- data/test/dummy/tmp/capybara/capybara-20110207143000.html +31 -0
- data/test/dummy/tmp/capybara/capybara-20110207143054.html +31 -0
- data/test/dummy/tmp/capybara/capybara-20110207144949.html +31 -0
- data/test/dummy/tmp/capybara/capybara-20110207145341.html +33 -0
- data/test/generators/streamit_generator_test.rb +17 -0
- data/test/integration/navigation_test.rb +2 -2
- data/test/stream_test.rb +9 -0
- data/test/streamit_test.rb +7 -7
- data/test/support/fixtures.rb +6 -7
- data/test/test_helper.rb +9 -5
- data/test/tmp/app/models/goblin.rb +4 -0
- data/test/tmp/app/views/streamit/streams/_stream.html.erb +3 -0
- data/test/tmp/config/initializers/streamit.rb +3 -0
- data/test/tmp/config/locales/streamit.en.yml +4 -0
- metadata +127 -28
- data/TODO +0 -4
- data/lib/generators/streamit_generator.rb +0 -39
- data/lib/streamit/orm/active_record.rb +0 -21
- data/test/dummy/app/models/user.rb +0 -7
data/Gemfile
CHANGED
@@ -1,14 +1,17 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
|
4
|
-
gem "capybara", ">= 0.4.0"
|
5
|
-
gem "sqlite3-ruby", :require => "sqlite3"
|
6
|
-
|
7
|
-
gem "mocha", ">= 0.9.10"
|
8
|
-
gem "shoulda-context", "1.0.0.beta1"
|
9
|
-
gem "launchy", ">= 0.3.7"
|
10
|
-
gem "timecop", ">= 0.3.5"
|
3
|
+
# gemspec
|
11
4
|
|
5
|
+
gem "rails", "3.0.3"
|
6
|
+
gem 'bson_ext', "~> 1.3.1"
|
12
7
|
gem "mongo_mapper", "~> 0.9.1"
|
13
8
|
gem "mongo", "~> 1.3.1"
|
14
|
-
|
9
|
+
|
10
|
+
group :test do
|
11
|
+
gem "sqlite3-ruby", :require => "sqlite3"
|
12
|
+
gem "capybara", ">= 0.4.0"
|
13
|
+
gem "mocha", ">= 0.9.10"
|
14
|
+
gem "shoulda-context", "1.0.0.beta1"
|
15
|
+
gem "launchy", ">= 0.3.7"
|
16
|
+
gem "timecop", ">= 0.3.5"
|
17
|
+
end
|
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -8,7 +8,6 @@ end
|
|
8
8
|
|
9
9
|
require 'rake'
|
10
10
|
require 'rake/rdoctask'
|
11
|
-
|
12
11
|
require 'rake/testtask'
|
13
12
|
|
14
13
|
Rake::TestTask.new(:test) do |t|
|
@@ -27,3 +26,14 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
27
26
|
rdoc.rdoc_files.include('README.rdoc')
|
28
27
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
29
28
|
end
|
29
|
+
|
30
|
+
$:.unshift File.expand_path("../lib", __FILE__)
|
31
|
+
require "streamit/version"
|
32
|
+
|
33
|
+
task :build do
|
34
|
+
system "gem build streamit.gemspec"
|
35
|
+
end
|
36
|
+
|
37
|
+
task :release => :build do
|
38
|
+
system "gem push streamit-#{Streamit::VERSION}.gem"
|
39
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Streamit
|
2
|
+
module Generators
|
3
|
+
class StreamitGenerator < Rails::Generators::NamedBase
|
4
|
+
namespace "streamit"
|
5
|
+
source_root File.expand_path("../../templates", __FILE__)
|
6
|
+
|
7
|
+
desc "Generates a model with the given NAME with streamit configuration"
|
8
|
+
|
9
|
+
def copy_model
|
10
|
+
template "stream.rb", "app/models/#{file_name}.rb"
|
11
|
+
end
|
12
|
+
|
13
|
+
def copy_initializer
|
14
|
+
template "streamit.rb", "config/initializers/streamit.rb"
|
15
|
+
end
|
16
|
+
|
17
|
+
def copy_locale
|
18
|
+
copy_file "../../streamit/locales/en.yml", "config/locales/streamit.en.yml"
|
19
|
+
end
|
20
|
+
|
21
|
+
def copy_stream_view
|
22
|
+
copy_file "_stream.html.erb", "app/views/streamit/streams/_stream.html.erb"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/streamit.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
require
|
2
|
-
require "mongo_mapper"
|
1
|
+
require "streamit/async_queue"
|
3
2
|
|
4
3
|
# We are required to choose a database name
|
5
4
|
MongoMapper.database = "streamit-#{Rails.env}"
|
@@ -8,6 +7,12 @@ module Streamit
|
|
8
7
|
autoload :DSL, 'streamit/dsl'
|
9
8
|
autoload :Store, 'streamit/store'
|
10
9
|
|
10
|
+
module ORM
|
11
|
+
autoload :MongoMapper, 'streamit/orm/mongo_mapper'
|
12
|
+
end
|
13
|
+
|
14
|
+
extend AsyncQueue
|
15
|
+
|
11
16
|
def self.setup
|
12
17
|
yield self
|
13
18
|
end
|
@@ -24,30 +29,13 @@ module Streamit
|
|
24
29
|
def self.store; end
|
25
30
|
|
26
31
|
def self.save_stream!(args)
|
27
|
-
|
28
|
-
self.queue << args
|
32
|
+
enqueue(args)
|
29
33
|
end
|
30
34
|
|
31
|
-
|
32
|
-
|
33
|
-
queue << nil
|
34
|
-
thread.join
|
35
|
-
@thread = nil
|
36
|
-
thread
|
35
|
+
def self.process(args)
|
36
|
+
store.save_stream!(args)
|
37
37
|
end
|
38
38
|
|
39
|
-
def self.queue
|
40
|
-
@queue ||= Queue.new
|
41
|
-
end
|
42
|
-
|
43
|
-
def self.thread
|
44
|
-
@thread ||= Thread.new do
|
45
|
-
while args = queue.pop
|
46
|
-
store.save_stream!(args)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
39
|
end
|
52
40
|
|
53
41
|
require 'streamit/engine'
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module Streamit
|
2
|
+
module AsyncQueue
|
3
|
+
|
4
|
+
def enqueue(args)
|
5
|
+
queue << args
|
6
|
+
end
|
7
|
+
|
8
|
+
def finish!
|
9
|
+
queue << nil
|
10
|
+
thread.join
|
11
|
+
@thread = nil
|
12
|
+
thread
|
13
|
+
end
|
14
|
+
|
15
|
+
def queue
|
16
|
+
@queue ||= Queue.new
|
17
|
+
end
|
18
|
+
|
19
|
+
def thread
|
20
|
+
@thread ||= Thread.new do
|
21
|
+
while args = queue.pop
|
22
|
+
process(args)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def process(args)
|
28
|
+
raise NotImplementedError
|
29
|
+
end
|
30
|
+
|
31
|
+
end # AsyncQueue
|
32
|
+
end # Streamit
|
data/lib/streamit/dsl.rb
CHANGED
data/lib/streamit/engine.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Streamit
|
2
2
|
class Engine < ::Rails::Engine
|
3
|
-
config.streamit =
|
3
|
+
config.streamit = Streamit
|
4
4
|
|
5
5
|
initializer "streamit.active_record" do
|
6
6
|
ActiveSupport.on_load(:active_record) do
|
@@ -8,11 +8,5 @@ module Streamit
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
-
initializer "streamit.set_store" do |app|
|
12
|
-
if app.config.streamit.set_store
|
13
|
-
Streamit.set_store(&app.config.streamit.set_store)
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
11
|
end # Engine
|
18
12
|
end # Streamit
|
@@ -12,7 +12,7 @@ module Streamit
|
|
12
12
|
belongs_to :subject, :polymorphic => true
|
13
13
|
belongs_to :receiver, :polymorphic => true
|
14
14
|
|
15
|
-
scope :ago,
|
15
|
+
scope :ago, lambda { |num| where(:started_at.gte => Time.now - num.to_i.seconds) }
|
16
16
|
end
|
17
17
|
|
18
18
|
def save_stream!
|
data/test/dummy/Rakefile
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require File.expand_path('../config/application', __FILE__)
|
5
|
+
require 'rake'
|
6
|
+
|
7
|
+
Dummy::Application.load_tasks
|
File without changes
|
@@ -6,39 +6,12 @@ require "action_controller/railtie"
|
|
6
6
|
require "action_view/railtie"
|
7
7
|
require "action_mailer/railtie"
|
8
8
|
|
9
|
-
Bundler.require
|
9
|
+
Bundler.require :default, :test
|
10
|
+
|
10
11
|
require "streamit"
|
11
12
|
|
12
13
|
module Dummy
|
13
14
|
class Application < Rails::Application
|
14
|
-
# Set stream store
|
15
|
-
config.streamit.set_store = lambda { ::Stream }
|
16
|
-
|
17
|
-
# Settings in config/environments/* take precedence over those specified here.
|
18
|
-
# Application configuration should go into files in config/initializers
|
19
|
-
# -- all .rb files in that directory are automatically loaded.
|
20
|
-
|
21
|
-
# Custom directories with classes and modules you want to be autoloadable.
|
22
|
-
# config.autoload_paths += %W(#{config.root}/extras)
|
23
|
-
|
24
|
-
# Only load the plugins named here, in the order given (default is alphabetical).
|
25
|
-
# :all can be used as a placeholder for all plugins not explicitly named.
|
26
|
-
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
27
|
-
|
28
|
-
# Activate observers that should always be running.
|
29
|
-
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
30
|
-
|
31
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
32
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
33
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
34
|
-
|
35
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
36
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
37
|
-
# config.i18n.default_locale = :de
|
38
|
-
|
39
|
-
# JavaScript files you want as :defaults (application.js is always included).
|
40
|
-
# config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
|
41
|
-
|
42
15
|
# Configure the default encoding used in templates for Ruby 1.9.
|
43
16
|
config.encoding = "utf-8"
|
44
17
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3-ruby (not necessary on OS X Leopard)
|
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
|
@@ -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
|
Binary file
|
@@ -0,0 +1,46 @@
|
|
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 => 20110206230646) do
|
14
|
+
|
15
|
+
create_table "items", :force => true do |t|
|
16
|
+
t.string "title"
|
17
|
+
t.datetime "created_at"
|
18
|
+
t.datetime "updated_at"
|
19
|
+
end
|
20
|
+
|
21
|
+
create_table "streams", :force => true do |t|
|
22
|
+
t.string "stream_type"
|
23
|
+
t.datetime "started_at"
|
24
|
+
t.integer "actor_id"
|
25
|
+
t.string "actor_type"
|
26
|
+
t.integer "subject_id"
|
27
|
+
t.string "subject_type"
|
28
|
+
t.integer "receiver_id"
|
29
|
+
t.string "receiver_type"
|
30
|
+
end
|
31
|
+
|
32
|
+
create_table "users", :force => true do |t|
|
33
|
+
t.string "name"
|
34
|
+
t.string "image_url"
|
35
|
+
t.datetime "created_at"
|
36
|
+
t.datetime "updated_at"
|
37
|
+
end
|
38
|
+
|
39
|
+
create_table "watchings", :force => true do |t|
|
40
|
+
t.integer "user_id"
|
41
|
+
t.integer "item_id"
|
42
|
+
t.datetime "created_at"
|
43
|
+
t.datetime "updated_at"
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
Binary file
|
@@ -0,0 +1,1902 @@
|
|
1
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
2
|
+
FROM sqlite_master
|
3
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
+
[0m
|
5
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
6
|
+
[1m[36mSQL (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
8
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
10
|
+
FROM sqlite_master
|
11
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
12
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
13
|
+
FROM sqlite_master
|
14
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
+
[0m
|
16
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
17
|
+
Migrating to CreateItems (20110204210910)
|
18
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
19
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110204210910')
|
20
|
+
Migrating to CreateUsers (20110204210955)
|
21
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
22
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110204210955')
|
23
|
+
Migrating to CreateWatchings (20110204211021)
|
24
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
25
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110204211021')
|
26
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
27
|
+
FROM sqlite_master
|
28
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
29
|
+
[0m
|
30
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
31
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
32
|
+
FROM sqlite_master
|
33
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
34
|
+
[0m
|
35
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
36
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
37
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("watchings")
|
38
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
39
|
+
FROM sqlite_master
|
40
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
41
|
+
[0m
|
42
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
43
|
+
[1m[36mSQL (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
44
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
45
|
+
FROM sqlite_master
|
46
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
47
|
+
[1m[36mSQL (2.2ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
48
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
49
|
+
FROM sqlite_master
|
50
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
51
|
+
[1m[36mSQL (1.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
52
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
53
|
+
FROM sqlite_master
|
54
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
55
|
+
[1m[36mSQL (2.0ms)[0m [1mCREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
56
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
57
|
+
FROM sqlite_master
|
58
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
59
|
+
[1m[36mSQL (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
60
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
61
|
+
[1m[36mSQL (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
62
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
63
|
+
FROM sqlite_master
|
64
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
65
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
66
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
67
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210910')[0m
|
68
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
|
69
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
70
|
+
FROM sqlite_master
|
71
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
72
|
+
[0m
|
73
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
74
|
+
FROM sqlite_master
|
75
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
76
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
77
|
+
Migrating to CreateItems (20110204210910)
|
78
|
+
Migrating to CreateUsers (20110204210955)
|
79
|
+
Migrating to CreateWatchings (20110204211021)
|
80
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
81
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
82
|
+
FROM sqlite_master
|
83
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
84
|
+
[0m
|
85
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
86
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
87
|
+
FROM sqlite_master
|
88
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
89
|
+
[0m
|
90
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
91
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
92
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("watchings")
|
93
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
94
|
+
FROM sqlite_master
|
95
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
96
|
+
[0m
|
97
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
98
|
+
[1m[36mSQL (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
99
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
100
|
+
FROM sqlite_master
|
101
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
102
|
+
[1m[36mSQL (1.8ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
103
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
104
|
+
FROM sqlite_master
|
105
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
106
|
+
[1m[36mSQL (1.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
107
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
108
|
+
FROM sqlite_master
|
109
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
110
|
+
[1m[36mSQL (2.1ms)[0m [1mCREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
111
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
112
|
+
FROM sqlite_master
|
113
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
114
|
+
[1m[36mSQL (2.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
115
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
116
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
117
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
118
|
+
FROM sqlite_master
|
119
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
120
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
121
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
122
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210910')[0m
|
123
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
|
124
|
+
DEPRECATION WARNING: human_name has been deprecated, please use model_name.human instead. (called from irb_binding at (irb):6)
|
125
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
126
|
+
FROM sqlite_master
|
127
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
128
|
+
[0m
|
129
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
130
|
+
FROM sqlite_master
|
131
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
132
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
133
|
+
FROM sqlite_master
|
134
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
135
|
+
[0m
|
136
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
137
|
+
FROM sqlite_master
|
138
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
139
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
140
|
+
Migrating to CreateItems (20110204210910)
|
141
|
+
Migrating to CreateUsers (20110204210955)
|
142
|
+
Migrating to CreateWatchings (20110204211021)
|
143
|
+
Migrating to CreateStream (20110204225810)
|
144
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
145
|
+
[1m[36mSQL (0.4ms)[0m [1mCREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "steam_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
146
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
|
147
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
148
|
+
FROM sqlite_master
|
149
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
150
|
+
[0m
|
151
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
152
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
153
|
+
FROM sqlite_master
|
154
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
155
|
+
[0m
|
156
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
157
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("streams")[0m
|
158
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
159
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("watchings")[0m
|
160
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
161
|
+
FROM sqlite_master
|
162
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
163
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
164
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
165
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
166
|
+
FROM sqlite_master
|
167
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
168
|
+
[0m
|
169
|
+
[1m[35mSQL (2.0ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
170
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
171
|
+
FROM sqlite_master
|
172
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
173
|
+
[0m
|
174
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "steam_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
175
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
176
|
+
FROM sqlite_master
|
177
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
178
|
+
[0m
|
179
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
180
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
181
|
+
FROM sqlite_master
|
182
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
183
|
+
[0m
|
184
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
185
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
186
|
+
FROM sqlite_master
|
187
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
188
|
+
[0m
|
189
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
190
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
191
|
+
[1m[35mSQL (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
192
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
193
|
+
FROM sqlite_master
|
194
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
195
|
+
[0m
|
196
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
197
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
198
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
199
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
200
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
201
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
202
|
+
FROM sqlite_master
|
203
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
204
|
+
[0m
|
205
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
206
|
+
FROM sqlite_master
|
207
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
208
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
209
|
+
Migrating to CreateItems (20110204210910)
|
210
|
+
Migrating to CreateUsers (20110204210955)
|
211
|
+
Migrating to CreateWatchings (20110204211021)
|
212
|
+
Migrating to CreateStream (20110204225810)
|
213
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
214
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
215
|
+
FROM sqlite_master
|
216
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
217
|
+
[0m
|
218
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
219
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
220
|
+
FROM sqlite_master
|
221
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
222
|
+
[0m
|
223
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
224
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("streams")[0m
|
225
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
226
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("watchings")[0m
|
227
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
228
|
+
FROM sqlite_master
|
229
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
230
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
231
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
232
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
233
|
+
FROM sqlite_master
|
234
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
235
|
+
[0m
|
236
|
+
[1m[35mSQL (1.2ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
237
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
238
|
+
FROM sqlite_master
|
239
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
240
|
+
[0m
|
241
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "steam_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
242
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
243
|
+
FROM sqlite_master
|
244
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
245
|
+
[0m
|
246
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
247
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
248
|
+
FROM sqlite_master
|
249
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
250
|
+
[0m
|
251
|
+
[1m[35mSQL (1.2ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
252
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
253
|
+
FROM sqlite_master
|
254
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
255
|
+
[0m
|
256
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
257
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
258
|
+
[1m[35mSQL (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
259
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
260
|
+
FROM sqlite_master
|
261
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
262
|
+
[0m
|
263
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
264
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
265
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
266
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
267
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
268
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
269
|
+
FROM sqlite_master
|
270
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
271
|
+
[0m
|
272
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
273
|
+
FROM sqlite_master
|
274
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
275
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
276
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
277
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
278
|
+
FROM sqlite_master
|
279
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
280
|
+
[0m
|
281
|
+
[1m[35mSQL (2.8ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
282
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
283
|
+
FROM sqlite_master
|
284
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
285
|
+
[0m
|
286
|
+
[1m[35mSQL (1.5ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "steam_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
287
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
288
|
+
FROM sqlite_master
|
289
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
290
|
+
[0m
|
291
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
292
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
293
|
+
FROM sqlite_master
|
294
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
295
|
+
[0m
|
296
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
297
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
298
|
+
FROM sqlite_master
|
299
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
300
|
+
[0m
|
301
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
302
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
303
|
+
[1m[35mSQL (1.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
304
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
305
|
+
FROM sqlite_master
|
306
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
307
|
+
[0m
|
308
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
309
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
310
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
311
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
312
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
313
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
314
|
+
FROM sqlite_master
|
315
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
316
|
+
[0m
|
317
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
318
|
+
FROM sqlite_master
|
319
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
320
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
321
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
322
|
+
FROM sqlite_master
|
323
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
324
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
325
|
+
Migrating to CreateStream (20110204225810)
|
326
|
+
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
327
|
+
[1m[36mSQL (0.6ms)[0m [1mDROP TABLE "streams"[0m
|
328
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
|
329
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
330
|
+
FROM sqlite_master
|
331
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
332
|
+
[0m
|
333
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
334
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
335
|
+
FROM sqlite_master
|
336
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
337
|
+
[0m
|
338
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
339
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
340
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("watchings")
|
341
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
342
|
+
FROM sqlite_master
|
343
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
344
|
+
[0m
|
345
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
346
|
+
FROM sqlite_master
|
347
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
348
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
349
|
+
Migrating to CreateItems (20110204210910)
|
350
|
+
Migrating to CreateUsers (20110204210955)
|
351
|
+
Migrating to CreateWatchings (20110204211021)
|
352
|
+
Migrating to CreateStream (20110204225810)
|
353
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
354
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "steam_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
355
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
|
356
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
357
|
+
FROM sqlite_master
|
358
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
359
|
+
[0m
|
360
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
361
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
362
|
+
FROM sqlite_master
|
363
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
364
|
+
[0m
|
365
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
366
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("streams")[0m
|
367
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
368
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("watchings")[0m
|
369
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
370
|
+
FROM sqlite_master
|
371
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
372
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
373
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
374
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
375
|
+
FROM sqlite_master
|
376
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
377
|
+
[0m
|
378
|
+
[1m[35mSQL (2.2ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
379
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
380
|
+
FROM sqlite_master
|
381
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
382
|
+
[0m
|
383
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "steam_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
384
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
385
|
+
FROM sqlite_master
|
386
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
387
|
+
[0m
|
388
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
389
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
390
|
+
FROM sqlite_master
|
391
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
392
|
+
[0m
|
393
|
+
[1m[35mSQL (2.0ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
394
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
395
|
+
FROM sqlite_master
|
396
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
397
|
+
[0m
|
398
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
399
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
400
|
+
[1m[35mSQL (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
401
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
402
|
+
FROM sqlite_master
|
403
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
404
|
+
[0m
|
405
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
406
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
407
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
408
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
409
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
410
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
411
|
+
FROM sqlite_master
|
412
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
413
|
+
[0m
|
414
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
415
|
+
FROM sqlite_master
|
416
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
417
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
418
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
419
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
420
|
+
FROM sqlite_master
|
421
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
422
|
+
[0m
|
423
|
+
[1m[35mSQL (1.6ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
424
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
425
|
+
FROM sqlite_master
|
426
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
427
|
+
[0m
|
428
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "steam_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
429
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
430
|
+
FROM sqlite_master
|
431
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
432
|
+
[0m
|
433
|
+
[1m[35mSQL (1.2ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
434
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
435
|
+
FROM sqlite_master
|
436
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
437
|
+
[0m
|
438
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
439
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
440
|
+
FROM sqlite_master
|
441
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
442
|
+
[0m
|
443
|
+
[1m[35mSQL (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
444
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
445
|
+
[1m[35mSQL (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
446
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
447
|
+
FROM sqlite_master
|
448
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
449
|
+
[0m
|
450
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
451
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
452
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
453
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
454
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
455
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
456
|
+
FROM sqlite_master
|
457
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
458
|
+
[0m
|
459
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
460
|
+
FROM sqlite_master
|
461
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
462
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
463
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
464
|
+
FROM sqlite_master
|
465
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
466
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
467
|
+
Migrating to CreateStream (20110204225810)
|
468
|
+
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
469
|
+
[1m[36mSQL (0.9ms)[0m [1mDROP TABLE "streams"[0m
|
470
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
|
471
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
472
|
+
FROM sqlite_master
|
473
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
474
|
+
[0m
|
475
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
476
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
477
|
+
FROM sqlite_master
|
478
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
479
|
+
[0m
|
480
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
481
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
482
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("watchings")
|
483
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
484
|
+
FROM sqlite_master
|
485
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
486
|
+
[0m
|
487
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
488
|
+
FROM sqlite_master
|
489
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
490
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
491
|
+
Migrating to CreateItems (20110204210910)
|
492
|
+
Migrating to CreateUsers (20110204210955)
|
493
|
+
Migrating to CreateWatchings (20110204211021)
|
494
|
+
Migrating to CreateStream (20110204225810)
|
495
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
496
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
497
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
|
498
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
499
|
+
FROM sqlite_master
|
500
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
501
|
+
[0m
|
502
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
503
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
504
|
+
FROM sqlite_master
|
505
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
506
|
+
[0m
|
507
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
508
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("streams")[0m
|
509
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
510
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("watchings")[0m
|
511
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
512
|
+
FROM sqlite_master
|
513
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
514
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
515
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
516
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
517
|
+
FROM sqlite_master
|
518
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
519
|
+
[0m
|
520
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
521
|
+
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
522
|
+
FROM sqlite_master
|
523
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
524
|
+
[0m
|
525
|
+
[1m[35mSQL (1.6ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
526
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
527
|
+
FROM sqlite_master
|
528
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
529
|
+
[0m
|
530
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
531
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
532
|
+
FROM sqlite_master
|
533
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
534
|
+
[0m
|
535
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
536
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
537
|
+
FROM sqlite_master
|
538
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
539
|
+
[0m
|
540
|
+
[1m[35mSQL (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
541
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
542
|
+
[1m[35mSQL (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
543
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
544
|
+
FROM sqlite_master
|
545
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
546
|
+
[0m
|
547
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
548
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
549
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
550
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
551
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
552
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
553
|
+
FROM sqlite_master
|
554
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
555
|
+
[0m
|
556
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
557
|
+
FROM sqlite_master
|
558
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
559
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
560
|
+
[1m[35mSQL (0.3ms)[0m select sqlite_version(*)
|
561
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
562
|
+
FROM sqlite_master
|
563
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
564
|
+
[0m
|
565
|
+
[1m[35mSQL (2.7ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
566
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
567
|
+
FROM sqlite_master
|
568
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
569
|
+
[0m
|
570
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
571
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
572
|
+
FROM sqlite_master
|
573
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
574
|
+
[0m
|
575
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
576
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
577
|
+
FROM sqlite_master
|
578
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
579
|
+
[0m
|
580
|
+
[1m[35mSQL (1.1ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
581
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
582
|
+
FROM sqlite_master
|
583
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
584
|
+
[0m
|
585
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
586
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
587
|
+
[1m[35mSQL (1.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
588
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
589
|
+
FROM sqlite_master
|
590
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
591
|
+
[0m
|
592
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
593
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
594
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
595
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
596
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
597
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
598
|
+
FROM sqlite_master
|
599
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
600
|
+
[0m
|
601
|
+
[1m[35mSQL (0.6ms)[0m SELECT name
|
602
|
+
FROM sqlite_master
|
603
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
604
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
605
|
+
FROM sqlite_master
|
606
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
607
|
+
[0m
|
608
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
609
|
+
FROM sqlite_master
|
610
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
611
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
612
|
+
FROM sqlite_master
|
613
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
614
|
+
[0m
|
615
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
616
|
+
FROM sqlite_master
|
617
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
618
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
619
|
+
FROM sqlite_master
|
620
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
621
|
+
[0m
|
622
|
+
[1m[35mSQL (0.6ms)[0m SELECT name
|
623
|
+
FROM sqlite_master
|
624
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
625
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
626
|
+
FROM sqlite_master
|
627
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
628
|
+
[0m
|
629
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
630
|
+
FROM sqlite_master
|
631
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
632
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
633
|
+
FROM sqlite_master
|
634
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
635
|
+
[0m
|
636
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
637
|
+
FROM sqlite_master
|
638
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
639
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
640
|
+
FROM sqlite_master
|
641
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
642
|
+
[0m
|
643
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
644
|
+
FROM sqlite_master
|
645
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
646
|
+
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
647
|
+
FROM sqlite_master
|
648
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
649
|
+
[0m
|
650
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
651
|
+
FROM sqlite_master
|
652
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
653
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
654
|
+
FROM sqlite_master
|
655
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
656
|
+
[0m
|
657
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
658
|
+
FROM sqlite_master
|
659
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
660
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
661
|
+
FROM sqlite_master
|
662
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
663
|
+
[0m
|
664
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
665
|
+
FROM sqlite_master
|
666
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
667
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
668
|
+
FROM sqlite_master
|
669
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
670
|
+
[0m
|
671
|
+
[1m[35mSQL (0.5ms)[0m SELECT name
|
672
|
+
FROM sqlite_master
|
673
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
674
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
675
|
+
FROM sqlite_master
|
676
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
677
|
+
[0m
|
678
|
+
[1m[35mSQL (0.4ms)[0m SELECT name
|
679
|
+
FROM sqlite_master
|
680
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
681
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
682
|
+
FROM sqlite_master
|
683
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
684
|
+
[0m
|
685
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
686
|
+
FROM sqlite_master
|
687
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
688
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
689
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
690
|
+
FROM sqlite_master
|
691
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
692
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
693
|
+
Migrating to CreateStream (20110204225810)
|
694
|
+
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
695
|
+
[1m[36mSQL (1.3ms)[0m [1mDROP TABLE "streams"[0m
|
696
|
+
[1m[35mAREL (0.5ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
|
697
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
698
|
+
FROM sqlite_master
|
699
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
700
|
+
[0m
|
701
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
702
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
703
|
+
FROM sqlite_master
|
704
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
705
|
+
[0m
|
706
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
707
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
708
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("watchings")
|
709
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
710
|
+
FROM sqlite_master
|
711
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
712
|
+
[0m
|
713
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
714
|
+
FROM sqlite_master
|
715
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
716
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
717
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
718
|
+
FROM sqlite_master
|
719
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
720
|
+
[0m
|
721
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
722
|
+
FROM sqlite_master
|
723
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
724
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
725
|
+
Migrating to CreateItems (20110204210910)
|
726
|
+
Migrating to CreateUsers (20110204210955)
|
727
|
+
Migrating to CreateWatchings (20110204211021)
|
728
|
+
Migrating to CreateStream (20110204225810)
|
729
|
+
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
730
|
+
[1m[36mSQL (0.6ms)[0m [1mCREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "started_at" datetime, "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
731
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
|
732
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
733
|
+
FROM sqlite_master
|
734
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
735
|
+
[0m
|
736
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
737
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
738
|
+
FROM sqlite_master
|
739
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
740
|
+
[0m
|
741
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
742
|
+
[1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("streams")[0m
|
743
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
744
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("watchings")[0m
|
745
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
746
|
+
FROM sqlite_master
|
747
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
748
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
749
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
750
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
751
|
+
FROM sqlite_master
|
752
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
753
|
+
[0m
|
754
|
+
[1m[35mSQL (1.8ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
755
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
756
|
+
FROM sqlite_master
|
757
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
758
|
+
[0m
|
759
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "started_at" datetime, "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
760
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
761
|
+
FROM sqlite_master
|
762
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
763
|
+
[0m
|
764
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
765
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
766
|
+
FROM sqlite_master
|
767
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
768
|
+
[0m
|
769
|
+
[1m[35mSQL (1.2ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
770
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
771
|
+
FROM sqlite_master
|
772
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
773
|
+
[0m
|
774
|
+
[1m[35mSQL (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
775
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
776
|
+
[1m[35mSQL (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
777
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
778
|
+
FROM sqlite_master
|
779
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
780
|
+
[0m
|
781
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
782
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
783
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
784
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
785
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
786
|
+
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
787
|
+
FROM sqlite_master
|
788
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
789
|
+
[0m
|
790
|
+
[1m[35mSQL (0.2ms)[0m SELECT name
|
791
|
+
FROM sqlite_master
|
792
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
793
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
794
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
795
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
796
|
+
FROM sqlite_master
|
797
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
798
|
+
[0m
|
799
|
+
[1m[35mSQL (1.8ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
800
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
801
|
+
FROM sqlite_master
|
802
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
803
|
+
[0m
|
804
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "started_at" datetime, "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255), "created_at" datetime, "updated_at" datetime)
|
805
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
806
|
+
FROM sqlite_master
|
807
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
808
|
+
[0m
|
809
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
810
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
811
|
+
FROM sqlite_master
|
812
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
813
|
+
[0m
|
814
|
+
[1m[35mSQL (1.2ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
815
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
816
|
+
FROM sqlite_master
|
817
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
818
|
+
[0m
|
819
|
+
[1m[35mSQL (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
820
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
821
|
+
[1m[35mSQL (1.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
822
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
823
|
+
FROM sqlite_master
|
824
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
825
|
+
[0m
|
826
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
827
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204225810')[0m
|
828
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
829
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
830
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
831
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
832
|
+
FROM sqlite_master
|
833
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
834
|
+
[0m
|
835
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
836
|
+
FROM sqlite_master
|
837
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
838
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
839
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
840
|
+
FROM sqlite_master
|
841
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
842
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
843
|
+
Migrating to CreateStream (20110204225810)
|
844
|
+
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
845
|
+
[1m[36mSQL (0.6ms)[0m [1mDROP TABLE "streams"[0m
|
846
|
+
[1m[35mAREL (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
|
847
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
848
|
+
FROM sqlite_master
|
849
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
850
|
+
[0m
|
851
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
852
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
853
|
+
FROM sqlite_master
|
854
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
855
|
+
[0m
|
856
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
857
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
858
|
+
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("watchings")
|
859
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
860
|
+
FROM sqlite_master
|
861
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
862
|
+
[0m
|
863
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
864
|
+
FROM sqlite_master
|
865
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
866
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
867
|
+
Migrating to CreateItems (20110204210910)
|
868
|
+
Migrating to CreateUsers (20110204210955)
|
869
|
+
Migrating to CreateWatchings (20110204211021)
|
870
|
+
Migrating to CreateStreams (20110206230646)
|
871
|
+
[1m[35mSQL (0.0ms)[0m select sqlite_version(*)
|
872
|
+
[1m[36mSQL (0.5ms)[0m [1mCREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "started_at" datetime, "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255)) [0m
|
873
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110206230646')
|
874
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
875
|
+
FROM sqlite_master
|
876
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
877
|
+
[0m
|
878
|
+
[1m[35mSQL (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
879
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
880
|
+
FROM sqlite_master
|
881
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
882
|
+
[0m
|
883
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("items")
|
884
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("streams")[0m
|
885
|
+
[1m[35mSQL (0.0ms)[0m PRAGMA index_list("users")
|
886
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("watchings")[0m
|
887
|
+
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
888
|
+
FROM sqlite_master
|
889
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
890
|
+
[0m
|
891
|
+
[1m[35mSQL (0.1ms)[0m SELECT name
|
892
|
+
FROM sqlite_master
|
893
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
894
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
|
895
|
+
[1m[35mSQL (0.2ms)[0m select sqlite_version(*)
|
896
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
897
|
+
FROM sqlite_master
|
898
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
899
|
+
[0m
|
900
|
+
[1m[35mSQL (3.2ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
|
901
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
902
|
+
FROM sqlite_master
|
903
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
904
|
+
[0m
|
905
|
+
[1m[35mSQL (1.6ms)[0m CREATE TABLE "streams" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "stream_type" varchar(255), "started_at" datetime, "actor_id" integer, "actor_type" varchar(255), "subject_id" integer, "subject_type" varchar(255), "receiver_id" integer, "receiver_type" varchar(255))
|
906
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
907
|
+
FROM sqlite_master
|
908
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
909
|
+
[0m
|
910
|
+
[1m[35mSQL (1.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
|
911
|
+
[1m[36mSQL (0.2ms)[0m [1m SELECT name
|
912
|
+
FROM sqlite_master
|
913
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
914
|
+
[0m
|
915
|
+
[1m[35mSQL (1.2ms)[0m CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
|
916
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
917
|
+
FROM sqlite_master
|
918
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
919
|
+
[0m
|
920
|
+
[1m[35mSQL (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
921
|
+
[1m[36mSQL (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
922
|
+
[1m[35mSQL (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
923
|
+
[1m[36mSQL (0.1ms)[0m [1m SELECT name
|
924
|
+
FROM sqlite_master
|
925
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
926
|
+
[0m
|
927
|
+
[1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
|
928
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110206230646')[0m
|
929
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
|
930
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20110204210955')[0m
|
931
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
|
932
|
+
|
933
|
+
|
934
|
+
Started GET "/" for 127.0.0.1 at 2011-02-06 16:05:49 -0800
|
935
|
+
|
936
|
+
ActionController::RoutingError (No route matches "/"):
|
937
|
+
|
938
|
+
|
939
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.6ms)
|
940
|
+
|
941
|
+
|
942
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-02-06 16:05:55 -0800
|
943
|
+
Processing by UsersController#new as HTML
|
944
|
+
Rendered users/_form.html.erb (8.5ms)
|
945
|
+
Rendered users/new.html.erb within layouts/application (11.8ms)
|
946
|
+
Completed 200 OK in 59ms (Views: 16.0ms | ActiveRecord: 0.0ms)
|
947
|
+
|
948
|
+
|
949
|
+
Started GET "/recent_streams" for 127.0.0.1 at 2011-02-06 16:06:33 -0800
|
950
|
+
Processing by StreamitController#recent as HTML
|
951
|
+
[1m[36mStream Load (0.4ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC[0m
|
952
|
+
Rendered collection (0.0ms)
|
953
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/recent.html.erb within layouts/application (2.9ms)
|
954
|
+
Completed 200 OK in 98ms (Views: 6.9ms | ActiveRecord: 0.4ms)
|
955
|
+
|
956
|
+
|
957
|
+
Started GET "/" for 127.0.0.1 at 2011-02-06 17:21:33 -0800
|
958
|
+
|
959
|
+
ActionController::RoutingError (No route matches "/"):
|
960
|
+
|
961
|
+
|
962
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms)
|
963
|
+
|
964
|
+
|
965
|
+
Started GET "/" for 127.0.0.1 at 2011-02-06 17:22:05 -0800
|
966
|
+
Processing by StreamitController#recent as HTML
|
967
|
+
[1m[36mStream Load (0.6ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC[0m
|
968
|
+
Rendered streamit/_stream.html.erb (0.0ms)
|
969
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/recent.html.erb within layouts/application (4.2ms)
|
970
|
+
Completed 200 OK in 70ms (Views: 8.8ms | ActiveRecord: 0.6ms)
|
971
|
+
|
972
|
+
|
973
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-02-06 17:23:05 -0800
|
974
|
+
Processing by UsersController#new as HTML
|
975
|
+
Rendered users/_form.html.erb (9.3ms)
|
976
|
+
Rendered users/new.html.erb within layouts/application (12.7ms)
|
977
|
+
Completed 200 OK in 90ms (Views: 16.8ms | ActiveRecord: 0.0ms)
|
978
|
+
|
979
|
+
|
980
|
+
Started POST "/users" for 127.0.0.1 at 2011-02-06 17:23:10 -0800
|
981
|
+
Processing by UsersController#create as HTML
|
982
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"+lVhVI4EBKV5UdK6xrhGgfVmOUSQ9hmfuEQedMfNMsg=", "user"=>{"name"=>"kaka", "image_url"=>""}, "commit"=>"Create User"}
|
983
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
984
|
+
FROM sqlite_master
|
985
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
986
|
+
[1m[36mAREL (0.5ms)[0m [1mINSERT INTO "users" ("name", "image_url", "created_at", "updated_at") VALUES ('kaka', '', '2011-02-07 01:23:10.270800', '2011-02-07 01:23:10.270800')[0m
|
987
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.create', '2011-02-07 01:23:10.294071', 1, 'User', 1, 'User', 1, 'User')
|
988
|
+
Redirected to http://localhost:3000/users/1
|
989
|
+
Completed 302 Found in 109ms
|
990
|
+
|
991
|
+
|
992
|
+
Started GET "/users/1" for 127.0.0.1 at 2011-02-06 17:23:10 -0800
|
993
|
+
Processing by UsersController#show as HTML
|
994
|
+
Parameters: {"id"=>"1"}
|
995
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
996
|
+
Rendered users/show.html.erb within layouts/application (45.7ms)
|
997
|
+
Completed 200 OK in 64ms (Views: 52.0ms | ActiveRecord: 1.1ms)
|
998
|
+
|
999
|
+
|
1000
|
+
Started GET "/" for 127.0.0.1 at 2011-02-06 17:23:13 -0800
|
1001
|
+
Processing by StreamitController#recent as HTML
|
1002
|
+
[1m[35mStream Load (0.5ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC
|
1003
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1004
|
+
Rendered streamit/_stream.html.erb (29.1ms)
|
1005
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/recent.html.erb within layouts/application (33.0ms)
|
1006
|
+
Completed 200 OK in 76ms (Views: 36.8ms | ActiveRecord: 0.7ms)
|
1007
|
+
|
1008
|
+
|
1009
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-02-06 17:23:23 -0800
|
1010
|
+
Processing by UsersController#new as HTML
|
1011
|
+
Rendered users/_form.html.erb (6.1ms)
|
1012
|
+
Rendered users/new.html.erb within layouts/application (9.4ms)
|
1013
|
+
Completed 200 OK in 62ms (Views: 13.4ms | ActiveRecord: 0.0ms)
|
1014
|
+
|
1015
|
+
|
1016
|
+
Started POST "/users" for 127.0.0.1 at 2011-02-06 17:23:26 -0800
|
1017
|
+
Processing by UsersController#create as HTML
|
1018
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"+lVhVI4EBKV5UdK6xrhGgfVmOUSQ9hmfuEQedMfNMsg=", "user"=>{"name"=>"sasa", "image_url"=>""}, "commit"=>"Create User"}
|
1019
|
+
[1m[35mAREL (0.4ms)[0m INSERT INTO "users" ("name", "image_url", "created_at", "updated_at") VALUES ('sasa', '', '2011-02-07 01:23:26.382557', '2011-02-07 01:23:26.382557')
|
1020
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.create', '2011-02-07 01:23:26.387334', 2, 'User', 2, 'User', 2, 'User')[0m
|
1021
|
+
Redirected to http://localhost:3000/users/2
|
1022
|
+
Completed 302 Found in 89ms
|
1023
|
+
|
1024
|
+
|
1025
|
+
Started GET "/users/2" for 127.0.0.1 at 2011-02-06 17:23:26 -0800
|
1026
|
+
Processing by UsersController#show as HTML
|
1027
|
+
Parameters: {"id"=>"2"}
|
1028
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1029
|
+
Rendered users/show.html.erb within layouts/application (8.9ms)
|
1030
|
+
Completed 200 OK in 27ms (Views: 14.5ms | ActiveRecord: 0.7ms)
|
1031
|
+
|
1032
|
+
|
1033
|
+
Started GET "/users" for 127.0.0.1 at 2011-02-06 17:23:32 -0800
|
1034
|
+
Processing by UsersController#index as HTML
|
1035
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users"[0m
|
1036
|
+
Rendered users/index.html.erb within layouts/application (8.9ms)
|
1037
|
+
Completed 200 OK in 23ms (Views: 12.9ms | ActiveRecord: 0.4ms)
|
1038
|
+
|
1039
|
+
|
1040
|
+
Started GET "/users/new" for 127.0.0.1 at 2011-02-06 17:23:35 -0800
|
1041
|
+
Processing by UsersController#new as HTML
|
1042
|
+
Rendered users/_form.html.erb (5.8ms)
|
1043
|
+
Rendered users/new.html.erb within layouts/application (8.7ms)
|
1044
|
+
Completed 200 OK in 24ms (Views: 13.0ms | ActiveRecord: 0.0ms)
|
1045
|
+
|
1046
|
+
|
1047
|
+
Started POST "/users" for 127.0.0.1 at 2011-02-06 17:23:51 -0800
|
1048
|
+
Processing by UsersController#create as HTML
|
1049
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"+lVhVI4EBKV5UdK6xrhGgfVmOUSQ9hmfuEQedMfNMsg=", "user"=>{"name"=>"koopri", "image_url"=>""}, "commit"=>"Create User"}
|
1050
|
+
[1m[35mAREL (0.4ms)[0m INSERT INTO "users" ("name", "image_url", "created_at", "updated_at") VALUES ('koopri', '', '2011-02-07 01:23:51.210071', '2011-02-07 01:23:51.210071')
|
1051
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.create', '2011-02-07 01:23:51.214601', 3, 'User', 3, 'User', 3, 'User')[0m
|
1052
|
+
Redirected to http://localhost:3000/users/3
|
1053
|
+
Completed 302 Found in 87ms
|
1054
|
+
|
1055
|
+
|
1056
|
+
Started GET "/users/3" for 127.0.0.1 at 2011-02-06 17:23:51 -0800
|
1057
|
+
Processing by UsersController#show as HTML
|
1058
|
+
Parameters: {"id"=>"3"}
|
1059
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1060
|
+
Rendered users/show.html.erb within layouts/application (7.3ms)
|
1061
|
+
Completed 200 OK in 23ms (Views: 10.9ms | ActiveRecord: 0.7ms)
|
1062
|
+
|
1063
|
+
|
1064
|
+
Started GET "/users" for 127.0.0.1 at 2011-02-06 17:23:53 -0800
|
1065
|
+
Processing by UsersController#index as HTML
|
1066
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users"[0m
|
1067
|
+
Rendered users/index.html.erb within layouts/application (10.6ms)
|
1068
|
+
Completed 200 OK in 25ms (Views: 14.7ms | ActiveRecord: 0.5ms)
|
1069
|
+
|
1070
|
+
|
1071
|
+
Started GET "/" for 127.0.0.1 at 2011-02-06 17:23:58 -0800
|
1072
|
+
Processing by StreamitController#recent as HTML
|
1073
|
+
[1m[35mStream Load (0.5ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC
|
1074
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1075
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1076
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1077
|
+
Rendered streamit/_stream.html.erb (30.2ms)
|
1078
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/recent.html.erb within layouts/application (34.0ms)
|
1079
|
+
Completed 200 OK in 45ms (Views: 37.0ms | ActiveRecord: 1.1ms)
|
1080
|
+
[1m[36mStream Load (1.0ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at ASC LIMIT 1[0m
|
1081
|
+
[1m[35mStream Load (0.4ms)[0m SELECT "streams".* FROM "streams" WHERE (id < -1) ORDER BY started_at DESC
|
1082
|
+
[1m[36mStream Load (0.5ms)[0m [1mSELECT "streams".* FROM "streams" WHERE (id < 1) ORDER BY started_at DESC[0m
|
1083
|
+
[1m[35mStream Load (0.8ms)[0m SELECT "streams".* FROM "streams" WHERE (id > -1) ORDER BY started_at DESC
|
1084
|
+
|
1085
|
+
|
1086
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:41:44 -0800
|
1087
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1088
|
+
[1m[36mStream Load (0.6ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1089
|
+
[1m[35mSQL (0.3ms)[0m SELECT name
|
1090
|
+
FROM sqlite_master
|
1091
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1092
|
+
[1m[36mUser Load (21.4ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1093
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1094
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1095
|
+
Rendered streamit/_stream.html.erb (111.4ms)
|
1096
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (115.6ms)
|
1097
|
+
Completed 200 OK in 211ms (Views: 97.4ms | ActiveRecord: 22.6ms)
|
1098
|
+
|
1099
|
+
|
1100
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:43:41 -0800
|
1101
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1102
|
+
[1m[35mStream Load (0.3ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1103
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1104
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1105
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1106
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1107
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1108
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1109
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1110
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1111
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1112
|
+
Rendered streamit/_stream.html.erb (63.9ms)
|
1113
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (67.5ms)
|
1114
|
+
Completed 200 OK in 78ms (Views: 70.7ms | ActiveRecord: 0.9ms)
|
1115
|
+
|
1116
|
+
|
1117
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:43:59 -0800
|
1118
|
+
|
1119
|
+
ActionController::RoutingError (uninitialized constant StreamitController):
|
1120
|
+
|
1121
|
+
|
1122
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
|
1123
|
+
|
1124
|
+
|
1125
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:44:31 -0800
|
1126
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1127
|
+
[1m[35mStream Load (0.5ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1128
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1129
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1130
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1131
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1132
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1133
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1134
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1135
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1136
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1137
|
+
Rendered streamit/_stream.html.erb (65.6ms)
|
1138
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (69.3ms)
|
1139
|
+
Completed 200 OK in 79ms (Views: 72.2ms | ActiveRecord: 1.1ms)
|
1140
|
+
|
1141
|
+
|
1142
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:44:48 -0800
|
1143
|
+
Processing by UsersController#new as HTML
|
1144
|
+
Rendered users/_form.html.erb (5.7ms)
|
1145
|
+
Rendered users/new.html.erb within layouts/application (8.9ms)
|
1146
|
+
Completed 200 OK in 24ms (Views: 12.9ms | ActiveRecord: 0.0ms)
|
1147
|
+
|
1148
|
+
|
1149
|
+
Started POST "/users" for 192.168.1.104 at 2011-02-07 12:45:03 -0800
|
1150
|
+
Processing by UsersController#create as HTML
|
1151
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"cJImqf82741LsvHvi01cvpVCJiEG+onXkEnr81QEEp8=", "user"=>{"name"=>"krada", "image_url"=>""}, "commit"=>"Create User"}
|
1152
|
+
[1m[35mAREL (0.5ms)[0m INSERT INTO "users" ("name", "image_url", "created_at", "updated_at") VALUES ('krada', '', '2011-02-07 20:45:03.111695', '2011-02-07 20:45:03.111695')
|
1153
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.create', '2011-02-07 20:45:03.161098', 4, 'User', NULL, NULL, NULL, NULL)[0m
|
1154
|
+
Redirected to http://192.168.1.71:3000/users/4
|
1155
|
+
Completed 302 Found in 95ms
|
1156
|
+
|
1157
|
+
|
1158
|
+
Started GET "/users/4" for 192.168.1.104 at 2011-02-07 12:45:03 -0800
|
1159
|
+
Processing by UsersController#show as HTML
|
1160
|
+
Parameters: {"id"=>"4"}
|
1161
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1162
|
+
Rendered users/show.html.erb within layouts/application (8.5ms)
|
1163
|
+
Completed 200 OK in 62ms (Views: 13.0ms | ActiveRecord: 0.3ms)
|
1164
|
+
|
1165
|
+
|
1166
|
+
Started GET "/users/4/edit" for 192.168.1.104 at 2011-02-07 12:45:05 -0800
|
1167
|
+
Processing by UsersController#edit as HTML
|
1168
|
+
Parameters: {"id"=>"4"}
|
1169
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1170
|
+
Rendered users/_form.html.erb (7.6ms)
|
1171
|
+
Rendered users/edit.html.erb within layouts/application (10.9ms)
|
1172
|
+
Completed 200 OK in 26ms (Views: 14.6ms | ActiveRecord: 0.1ms)
|
1173
|
+
|
1174
|
+
|
1175
|
+
Started POST "/users/4" for 192.168.1.104 at 2011-02-07 12:45:18 -0800
|
1176
|
+
Processing by UsersController#update as HTML
|
1177
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"cJImqf82741LsvHvi01cvpVCJiEG+onXkEnr81QEEp8=", "user"=>{"name"=>"krada", "image_url"=>"adark.png"}, "commit"=>"Update User", "id"=>"4"}
|
1178
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1179
|
+
[1m[36mAREL (0.4ms)[0m [1mUPDATE "users" SET "image_url" = 'adark.png', "updated_at" = '2011-02-07 20:45:18.405675' WHERE ("users"."id" = 4)[0m
|
1180
|
+
Redirected to http://192.168.1.71:3000/users/4
|
1181
|
+
Completed 302 Found in 22ms
|
1182
|
+
|
1183
|
+
|
1184
|
+
Started GET "/users/4" for 192.168.1.104 at 2011-02-07 12:45:18 -0800
|
1185
|
+
Processing by UsersController#show as HTML
|
1186
|
+
Parameters: {"id"=>"4"}
|
1187
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1188
|
+
Rendered users/show.html.erb within layouts/application (7.5ms)
|
1189
|
+
Completed 200 OK in 23ms (Views: 11.5ms | ActiveRecord: 0.3ms)
|
1190
|
+
|
1191
|
+
|
1192
|
+
Started GET "/users" for 192.168.1.104 at 2011-02-07 12:45:20 -0800
|
1193
|
+
Processing by UsersController#index as HTML
|
1194
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users"[0m
|
1195
|
+
Rendered users/index.html.erb within layouts/application (11.0ms)
|
1196
|
+
Completed 200 OK in 25ms (Views: 14.9ms | ActiveRecord: 0.4ms)
|
1197
|
+
|
1198
|
+
|
1199
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:45:27 -0800
|
1200
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1201
|
+
[1m[35mStream Load (1.0ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1202
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1203
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1204
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1205
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1206
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1207
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1208
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1209
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1210
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1211
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1212
|
+
Rendered streamit/_stream.html.erb (70.1ms)
|
1213
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (74.5ms)
|
1214
|
+
Completed 200 OK in 85ms (Views: 76.9ms | ActiveRecord: 1.7ms)
|
1215
|
+
|
1216
|
+
|
1217
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:46:20 -0800
|
1218
|
+
Processing by UsersController#new as HTML
|
1219
|
+
Rendered users/_form.html.erb (5.6ms)
|
1220
|
+
Rendered users/new.html.erb within layouts/application (8.6ms)
|
1221
|
+
Completed 200 OK in 23ms (Views: 12.1ms | ActiveRecord: 0.0ms)
|
1222
|
+
|
1223
|
+
|
1224
|
+
Started GET "/users" for 192.168.1.104 at 2011-02-07 12:46:22 -0800
|
1225
|
+
Processing by UsersController#index as HTML
|
1226
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users"[0m
|
1227
|
+
Rendered users/index.html.erb within layouts/application (10.9ms)
|
1228
|
+
Completed 200 OK in 60ms (Views: 14.7ms | ActiveRecord: 0.5ms)
|
1229
|
+
|
1230
|
+
|
1231
|
+
Started GET "/users/4/edit" for 192.168.1.104 at 2011-02-07 12:46:24 -0800
|
1232
|
+
Processing by UsersController#edit as HTML
|
1233
|
+
Parameters: {"id"=>"4"}
|
1234
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1235
|
+
Rendered users/_form.html.erb (7.6ms)
|
1236
|
+
Rendered users/edit.html.erb within layouts/application (10.8ms)
|
1237
|
+
Completed 200 OK in 26ms (Views: 14.3ms | ActiveRecord: 0.1ms)
|
1238
|
+
|
1239
|
+
|
1240
|
+
Started POST "/users/4" for 192.168.1.104 at 2011-02-07 12:46:27 -0800
|
1241
|
+
Processing by UsersController#update as HTML
|
1242
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"cJImqf82741LsvHvi01cvpVCJiEG+onXkEnr81QEEp8=", "user"=>{"name"=>"krada", "image_url"=>"adar2k.png"}, "commit"=>"Update User", "id"=>"4"}
|
1243
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1244
|
+
[1m[35mAREL (0.6ms)[0m UPDATE "users" SET "image_url" = 'adar2k.png', "updated_at" = '2011-02-07 20:46:27.533027' WHERE ("users"."id" = 4)
|
1245
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.update.image_url', '2011-02-07 20:46:27.534446', 4, 'User', NULL, NULL, NULL, NULL)[0m
|
1246
|
+
Redirected to http://192.168.1.71:3000/users/4
|
1247
|
+
Completed 302 Found in 84ms
|
1248
|
+
|
1249
|
+
|
1250
|
+
Started GET "/users/4" for 192.168.1.104 at 2011-02-07 12:46:27 -0800
|
1251
|
+
Processing by UsersController#show as HTML
|
1252
|
+
Parameters: {"id"=>"4"}
|
1253
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1254
|
+
Rendered users/show.html.erb within layouts/application (7.3ms)
|
1255
|
+
Completed 200 OK in 58ms (Views: 11.0ms | ActiveRecord: 0.1ms)
|
1256
|
+
|
1257
|
+
|
1258
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:46:33 -0800
|
1259
|
+
Processing by UsersController#new as HTML
|
1260
|
+
Rendered users/_form.html.erb (5.4ms)
|
1261
|
+
Rendered users/new.html.erb within layouts/application (8.2ms)
|
1262
|
+
Completed 200 OK in 23ms (Views: 11.7ms | ActiveRecord: 0.0ms)
|
1263
|
+
|
1264
|
+
|
1265
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:46:39 -0800
|
1266
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1267
|
+
[1m[36mStream Load (1.5ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1268
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1269
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1270
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1271
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1272
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1273
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1274
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1275
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1276
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1277
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1278
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1279
|
+
Rendered streamit/_stream.html.erb (31.9ms)
|
1280
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (36.8ms)
|
1281
|
+
Completed 200 OK in 47ms (Views: 38.6ms | ActiveRecord: 2.2ms)
|
1282
|
+
|
1283
|
+
|
1284
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:49:55 -0800
|
1285
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1286
|
+
[1m[36mStream Load (1.6ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1287
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1288
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1289
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1290
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1291
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1292
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1293
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1294
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1295
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1296
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1[0m
|
1297
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
|
1298
|
+
Rendered streamit/_stream.html.erb (32.6ms)
|
1299
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (37.5ms)
|
1300
|
+
Completed 200 OK in 48ms (Views: 39.4ms | ActiveRecord: 2.3ms)
|
1301
|
+
|
1302
|
+
|
1303
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:50:29 -0800
|
1304
|
+
Processing by UsersController#new as HTML
|
1305
|
+
Rendered users/_form.html.erb (5.5ms)
|
1306
|
+
Rendered users/new.html.erb within layouts/application (8.3ms)
|
1307
|
+
Completed 200 OK in 25ms (Views: 12.1ms | ActiveRecord: 0.0ms)
|
1308
|
+
|
1309
|
+
|
1310
|
+
Started GET "/users" for 192.168.1.104 at 2011-02-07 12:50:37 -0800
|
1311
|
+
Processing by UsersController#index as HTML
|
1312
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users"[0m
|
1313
|
+
Rendered users/index.html.erb within layouts/application (10.8ms)
|
1314
|
+
Completed 200 OK in 24ms (Views: 14.4ms | ActiveRecord: 0.4ms)
|
1315
|
+
|
1316
|
+
|
1317
|
+
Started GET "/users/4/edit" for 192.168.1.104 at 2011-02-07 12:51:52 -0800
|
1318
|
+
Processing by UsersController#edit as HTML
|
1319
|
+
Parameters: {"id"=>"4"}
|
1320
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1321
|
+
Rendered users/_form.html.erb (22.2ms)
|
1322
|
+
Rendered users/edit.html.erb within layouts/application (23.5ms)
|
1323
|
+
Completed in 39ms
|
1324
|
+
|
1325
|
+
ActionView::Template::Error (syntax error on line 7, col 8: ` name: "edited profile name"'):
|
1326
|
+
12: <% end %>
|
1327
|
+
13:
|
1328
|
+
14: <div class="field">
|
1329
|
+
15: <%= f.label :name %><br />
|
1330
|
+
16: <%= f.text_field :name %>
|
1331
|
+
17: </div>
|
1332
|
+
18: <div class="field">
|
1333
|
+
app/views/users/_form.html.erb:15:in `block in _app_views_users__form_html_erb___1293843684713123512_2164756080__2732965321806857657'
|
1334
|
+
app/views/users/_form.html.erb:1:in `_app_views_users__form_html_erb___1293843684713123512_2164756080__2732965321806857657'
|
1335
|
+
app/views/users/edit.html.erb:3:in `_app_views_users_edit_html_erb__3748370425029449986_2164810620_1574195836159631576'
|
1336
|
+
|
1337
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
|
1338
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.5ms)
|
1339
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.7ms)
|
1340
|
+
|
1341
|
+
|
1342
|
+
Started GET "/users/4/edit" for 192.168.1.104 at 2011-02-07 12:52:15 -0800
|
1343
|
+
Processing by UsersController#edit as HTML
|
1344
|
+
Parameters: {"id"=>"4"}
|
1345
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1346
|
+
Rendered users/_form.html.erb (45.4ms)
|
1347
|
+
Rendered users/edit.html.erb within layouts/application (48.7ms)
|
1348
|
+
Completed 200 OK in 63ms (Views: 52.2ms | ActiveRecord: 0.1ms)
|
1349
|
+
|
1350
|
+
|
1351
|
+
Started POST "/users/4" for 192.168.1.104 at 2011-02-07 12:52:27 -0800
|
1352
|
+
Processing by UsersController#update as HTML
|
1353
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"cJImqf82741LsvHvi01cvpVCJiEG+onXkEnr81QEEp8=", "user"=>{"name"=>"krada0", "image_url"=>"adar2k.png"}, "commit"=>"Update User", "id"=>"4"}
|
1354
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1355
|
+
[1m[36mAREL (0.5ms)[0m [1mUPDATE "users" SET "name" = 'krada0', "updated_at" = '2011-02-07 20:52:27.232440' WHERE ("users"."id" = 4)[0m
|
1356
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.update.default', '2011-02-07 20:52:27.233841', 4, 'User', NULL, NULL, NULL, NULL)
|
1357
|
+
Redirected to http://192.168.1.71:3000/users/4
|
1358
|
+
Completed 302 Found in 82ms
|
1359
|
+
|
1360
|
+
|
1361
|
+
Started GET "/users/4" for 192.168.1.104 at 2011-02-07 12:52:27 -0800
|
1362
|
+
Processing by UsersController#show as HTML
|
1363
|
+
Parameters: {"id"=>"4"}
|
1364
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1365
|
+
Rendered users/show.html.erb within layouts/application (8.0ms)
|
1366
|
+
Completed 200 OK in 24ms (Views: 12.1ms | ActiveRecord: 0.2ms)
|
1367
|
+
|
1368
|
+
|
1369
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:52:31 -0800
|
1370
|
+
Processing by UsersController#new as HTML
|
1371
|
+
Rendered users/_form.html.erb (5.7ms)
|
1372
|
+
Rendered users/new.html.erb within layouts/application (8.6ms)
|
1373
|
+
Completed 200 OK in 24ms (Views: 12.4ms | ActiveRecord: 0.0ms)
|
1374
|
+
|
1375
|
+
|
1376
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:52:37 -0800
|
1377
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1378
|
+
[1m[35mStream Load (2.1ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1379
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1380
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1381
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1382
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1383
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1384
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1385
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1386
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1387
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1388
|
+
Rendered streamit/_stream.html.erb (66.8ms)
|
1389
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (72.3ms)
|
1390
|
+
Completed 200 OK in 82ms (Views: 73.7ms | ActiveRecord: 2.6ms)
|
1391
|
+
|
1392
|
+
|
1393
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:53:01 -0800
|
1394
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1395
|
+
[1m[35mStream Load (2.0ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1396
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1397
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1398
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1399
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1400
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1401
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1402
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1403
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1404
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1405
|
+
Rendered streamit/_stream.html.erb (67.4ms)
|
1406
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (72.7ms)
|
1407
|
+
Completed 200 OK in 83ms (Views: 74.2ms | ActiveRecord: 2.5ms)
|
1408
|
+
|
1409
|
+
|
1410
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:55:11 -0800
|
1411
|
+
|
1412
|
+
SyntaxError (/Users/linhe/Projects/streamit/config/routes.rb:4: syntax error, unexpected ':', expecting keyword_end
|
1413
|
+
get 'update/:id' => 'streams#update' :as => update_streams
|
1414
|
+
^):
|
1415
|
+
|
1416
|
+
|
1417
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
1418
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
|
1419
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.1ms)
|
1420
|
+
|
1421
|
+
|
1422
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:55:23 -0800
|
1423
|
+
|
1424
|
+
NameError (undefined local variable or method `recent_streams' for #<ActionDispatch::Routing::Mapper:0x0000010238c950>):
|
1425
|
+
|
1426
|
+
|
1427
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
1428
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
1429
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.9ms)
|
1430
|
+
|
1431
|
+
|
1432
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:55:46 -0800
|
1433
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1434
|
+
[1m[35mStream Load (2.0ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1435
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1436
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1437
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1438
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1439
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1440
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1441
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1442
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1443
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1444
|
+
Rendered streamit/_stream.html.erb (72.8ms)
|
1445
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (78.9ms)
|
1446
|
+
Completed in 91ms
|
1447
|
+
|
1448
|
+
ActionView::Template::Error (No route matches {:action=>"recent", :controller=>"streamit"}):
|
1449
|
+
9: <body>
|
1450
|
+
10: <ul id="navigation">
|
1451
|
+
11: <li><%= link_to "Home", root_path %></li>
|
1452
|
+
12: <li><%= link_to "Recent Streams", recent_streams_path %></li>
|
1453
|
+
13: </ul>
|
1454
|
+
14: <%= yield %>
|
1455
|
+
15:
|
1456
|
+
app/views/layouts/application.html.erb:12:in `_app_views_layouts_application_html_erb__3726651925724134527_2153225760_1574195836159631576'
|
1457
|
+
|
1458
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
1459
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.9ms)
|
1460
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.9ms)
|
1461
|
+
|
1462
|
+
|
1463
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:56:17 -0800
|
1464
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1465
|
+
[1m[35mStream Load (2.0ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1466
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1467
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1468
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1469
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1470
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1471
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1472
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1473
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
|
1474
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1[0m
|
1475
|
+
Rendered streamit/_stream.html.erb (65.5ms)
|
1476
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (71.3ms)
|
1477
|
+
Completed 200 OK in 81ms (Views: 72.8ms | ActiveRecord: 2.5ms)
|
1478
|
+
|
1479
|
+
|
1480
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:56:20 -0800
|
1481
|
+
Processing by UsersController#new as HTML
|
1482
|
+
Rendered users/_form.html.erb (5.6ms)
|
1483
|
+
Rendered users/new.html.erb within layouts/application (8.8ms)
|
1484
|
+
Completed 200 OK in 58ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
1485
|
+
|
1486
|
+
|
1487
|
+
Started GET "/users" for 192.168.1.104 at 2011-02-07 12:56:22 -0800
|
1488
|
+
Processing by UsersController#index as HTML
|
1489
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users"
|
1490
|
+
Rendered users/index.html.erb within layouts/application (11.1ms)
|
1491
|
+
Completed 200 OK in 25ms (Views: 15.0ms | ActiveRecord: 0.5ms)
|
1492
|
+
|
1493
|
+
|
1494
|
+
Started GET "/users/3/edit" for 192.168.1.104 at 2011-02-07 12:56:27 -0800
|
1495
|
+
Processing by UsersController#edit as HTML
|
1496
|
+
Parameters: {"id"=>"3"}
|
1497
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1498
|
+
Rendered users/_form.html.erb (43.3ms)
|
1499
|
+
Rendered users/edit.html.erb within layouts/application (47.0ms)
|
1500
|
+
Completed 200 OK in 62ms (Views: 50.6ms | ActiveRecord: 0.1ms)
|
1501
|
+
|
1502
|
+
|
1503
|
+
Started POST "/users/3" for 192.168.1.104 at 2011-02-07 12:56:37 -0800
|
1504
|
+
Processing by UsersController#update as HTML
|
1505
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"cJImqf82741LsvHvi01cvpVCJiEG+onXkEnr81QEEp8=", "user"=>{"name"=>"koopri", "image_url"=>"irpook"}, "commit"=>"Update User", "id"=>"3"}
|
1506
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1507
|
+
[1m[36mAREL (0.3ms)[0m [1mUPDATE "users" SET "image_url" = 'irpook', "updated_at" = '2011-02-07 20:56:37.888832' WHERE ("users"."id" = 3)[0m
|
1508
|
+
[1m[35mAREL (0.2ms)[0m INSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.update.default', '2011-02-07 20:56:37.890033', 3, 'User', NULL, NULL, NULL, NULL)
|
1509
|
+
Redirected to http://192.168.1.71:3000/users/3
|
1510
|
+
Completed 302 Found in 81ms
|
1511
|
+
|
1512
|
+
|
1513
|
+
Started GET "/users/3" for 192.168.1.104 at 2011-02-07 12:56:37 -0800
|
1514
|
+
Processing by UsersController#show as HTML
|
1515
|
+
Parameters: {"id"=>"3"}
|
1516
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1517
|
+
Rendered users/show.html.erb within layouts/application (7.8ms)
|
1518
|
+
Completed 200 OK in 26ms (Views: 11.5ms | ActiveRecord: 0.2ms)
|
1519
|
+
|
1520
|
+
|
1521
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:56:40 -0800
|
1522
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1523
|
+
[1m[35mStream Load (2.5ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1524
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1525
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1526
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1527
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1528
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1529
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1530
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1531
|
+
Rendered streamit/_stream.html.erb (33.1ms)
|
1532
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (41.0ms)
|
1533
|
+
Completed 200 OK in 87ms (Views: 42.1ms | ActiveRecord: 3.0ms)
|
1534
|
+
|
1535
|
+
|
1536
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 12:57:25 -0800
|
1537
|
+
Processing by UsersController#new as HTML
|
1538
|
+
Rendered users/_form.html.erb (5.6ms)
|
1539
|
+
Rendered users/new.html.erb within layouts/application (8.8ms)
|
1540
|
+
Completed 200 OK in 24ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
1541
|
+
|
1542
|
+
|
1543
|
+
Started POST "/users" for 192.168.1.104 at 2011-02-07 12:57:38 -0800
|
1544
|
+
Processing by UsersController#create as HTML
|
1545
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"cJImqf82741LsvHvi01cvpVCJiEG+onXkEnr81QEEp8=", "user"=>{"name"=>"Mosquita", "image_url"=>"mos.png"}, "commit"=>"Create User"}
|
1546
|
+
[1m[35mAREL (0.4ms)[0m INSERT INTO "users" ("name", "image_url", "created_at", "updated_at") VALUES ('Mosquita', 'mos.png', '2011-02-07 20:57:38.101846', '2011-02-07 20:57:38.101846')
|
1547
|
+
[1m[36mAREL (0.2ms)[0m [1mINSERT INTO "streams" ("stream_type", "started_at", "actor_id", "actor_type", "subject_id", "subject_type", "receiver_id", "receiver_type") VALUES ('streamit.users.create', '2011-02-07 20:57:38.106106', 5, 'User', NULL, NULL, NULL, NULL)[0m
|
1548
|
+
Redirected to http://192.168.1.71:3000/users/5
|
1549
|
+
Completed 302 Found in 81ms
|
1550
|
+
|
1551
|
+
|
1552
|
+
Started GET "/users/5" for 192.168.1.104 at 2011-02-07 12:57:38 -0800
|
1553
|
+
Processing by UsersController#show as HTML
|
1554
|
+
Parameters: {"id"=>"5"}
|
1555
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1556
|
+
Rendered users/show.html.erb within layouts/application (7.9ms)
|
1557
|
+
Completed 200 OK in 24ms (Views: 11.7ms | ActiveRecord: 0.2ms)
|
1558
|
+
|
1559
|
+
|
1560
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:57:39 -0800
|
1561
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1562
|
+
[1m[36mStream Load (3.1ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1563
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1564
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1565
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1566
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1567
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1568
|
+
Rendered streamit/_stream.html.erb (64.3ms)
|
1569
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (71.5ms)
|
1570
|
+
Completed 200 OK in 82ms (Views: 72.2ms | ActiveRecord: 3.7ms)
|
1571
|
+
|
1572
|
+
|
1573
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 12:58:27 -0800
|
1574
|
+
Processing by Streamit::StreamsController#recent as HTML
|
1575
|
+
[1m[36mStream Load (2.9ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1576
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1577
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1578
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1579
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1580
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1581
|
+
Rendered streamit/_stream.html.erb (63.5ms)
|
1582
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.html.erb within layouts/application (70.6ms)
|
1583
|
+
Completed in 81ms
|
1584
|
+
|
1585
|
+
ActionView::Template::Error (No route matches {:controller=>"streamit/streams", :action=>"update"}):
|
1586
|
+
10: <ul id="navigation">
|
1587
|
+
11: <li><%= link_to "Home", root_path %></li>
|
1588
|
+
12: <li><%= link_to "Recent Streams", streamit_recent_streams_path %></li>
|
1589
|
+
13: <li><%= link_to "Update Streams", streamit_update_streams_path, :remote => true %></li>
|
1590
|
+
14: </ul>
|
1591
|
+
15: <%= yield %>
|
1592
|
+
16:
|
1593
|
+
app/views/layouts/application.html.erb:13:in `_app_views_layouts_application_html_erb__3726651925724134527_2160254000_1574195836159631576'
|
1594
|
+
|
1595
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
1596
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.1ms)
|
1597
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.3ms)
|
1598
|
+
|
1599
|
+
|
1600
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 13:00:00 -0800
|
1601
|
+
Processing by UsersController#new as HTML
|
1602
|
+
Rendered users/_form.html.erb (5.5ms)
|
1603
|
+
Rendered users/new.html.erb within layouts/application (8.7ms)
|
1604
|
+
Completed 200 OK in 23ms (Views: 12.2ms | ActiveRecord: 0.0ms)
|
1605
|
+
|
1606
|
+
|
1607
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 13:00:48 -0800
|
1608
|
+
Processing by UsersController#new as HTML
|
1609
|
+
Rendered users/_form.html.erb (5.6ms)
|
1610
|
+
Rendered users/new.html.erb within layouts/application (8.8ms)
|
1611
|
+
Completed 200 OK in 59ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
1612
|
+
|
1613
|
+
|
1614
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:01:01 -0800
|
1615
|
+
Processing by Streamit::StreamsController#recent as JS
|
1616
|
+
[1m[36mStream Load (3.0ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1617
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1618
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1619
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1620
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1621
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1622
|
+
Rendered streamit/_stream.html.erb (63.9ms)
|
1623
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (68.9ms)
|
1624
|
+
Completed 200 OK in 82ms (Views: 72.8ms | ActiveRecord: 3.6ms)
|
1625
|
+
|
1626
|
+
|
1627
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:01:17 -0800
|
1628
|
+
Processing by Streamit::StreamsController#recent as JS
|
1629
|
+
[1m[36mStream Load (2.9ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1630
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1631
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1632
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1633
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1634
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1635
|
+
Rendered streamit/_stream.html.erb (63.8ms)
|
1636
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (68.6ms)
|
1637
|
+
Completed 200 OK in 81ms (Views: 71.9ms | ActiveRecord: 3.5ms)
|
1638
|
+
|
1639
|
+
|
1640
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:02:49 -0800
|
1641
|
+
Processing by Streamit::StreamsController#recent as JS
|
1642
|
+
[1m[36mStream Load (2.9ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1643
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1644
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1645
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1646
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1647
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1648
|
+
Rendered streamit/_stream.html.erb (64.3ms)
|
1649
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (69.1ms)
|
1650
|
+
Completed 200 OK in 82ms (Views: 72.3ms | ActiveRecord: 3.5ms)
|
1651
|
+
|
1652
|
+
|
1653
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:02:59 -0800
|
1654
|
+
Processing by Streamit::StreamsController#recent as JS
|
1655
|
+
[1m[36mStream Load (2.9ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1656
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1657
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1658
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1659
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1660
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1661
|
+
Rendered streamit/_stream.html.erb (63.5ms)
|
1662
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (68.3ms)
|
1663
|
+
Completed 200 OK in 81ms (Views: 71.6ms | ActiveRecord: 3.4ms)
|
1664
|
+
|
1665
|
+
|
1666
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 13:19:32 -0800
|
1667
|
+
Processing by UsersController#new as HTML
|
1668
|
+
Rendered users/_form.html.erb (5.4ms)
|
1669
|
+
Rendered users/new.html.erb within layouts/application (8.6ms)
|
1670
|
+
Completed 200 OK in 23ms (Views: 12.1ms | ActiveRecord: 0.0ms)
|
1671
|
+
|
1672
|
+
|
1673
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:19:34 -0800
|
1674
|
+
Processing by Streamit::StreamsController#recent as JS
|
1675
|
+
[1m[36mStream Load (3.1ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1676
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1677
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1678
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1679
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1680
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1681
|
+
Rendered streamit/_stream.html.erb (65.1ms)
|
1682
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (70.2ms)
|
1683
|
+
Completed 200 OK in 84ms (Views: 73.6ms | ActiveRecord: 3.6ms)
|
1684
|
+
|
1685
|
+
|
1686
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 13:19:46 -0800
|
1687
|
+
Processing by UsersController#new as HTML
|
1688
|
+
Rendered users/_form.html.erb (5.8ms)
|
1689
|
+
Rendered users/new.html.erb within layouts/application (9.0ms)
|
1690
|
+
Completed 200 OK in 24ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
1691
|
+
|
1692
|
+
|
1693
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:19:48 -0800
|
1694
|
+
Processing by Streamit::StreamsController#recent as JS
|
1695
|
+
[1m[36mStream Load (38.5ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1696
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1697
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1698
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1699
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1700
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1701
|
+
Rendered streamit/_stream.html.erb (30.3ms)
|
1702
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (70.8ms)
|
1703
|
+
Completed 200 OK in 83ms (Views: 38.5ms | ActiveRecord: 39.0ms)
|
1704
|
+
|
1705
|
+
|
1706
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 13:20:55 -0800
|
1707
|
+
Processing by UsersController#new as HTML
|
1708
|
+
Rendered users/_form.html.erb (5.7ms)
|
1709
|
+
Rendered users/new.html.erb within layouts/application (9.2ms)
|
1710
|
+
Completed 200 OK in 58ms (Views: 12.9ms | ActiveRecord: 0.0ms)
|
1711
|
+
|
1712
|
+
|
1713
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:20:56 -0800
|
1714
|
+
Processing by Streamit::StreamsController#recent as JS
|
1715
|
+
[1m[36mStream Load (2.9ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1716
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
|
1717
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1[0m
|
1718
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1719
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1720
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1721
|
+
Rendered streamit/_stream.html.erb (66.0ms)
|
1722
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (70.8ms)
|
1723
|
+
Completed 200 OK in 84ms (Views: 74.2ms | ActiveRecord: 3.5ms)
|
1724
|
+
|
1725
|
+
|
1726
|
+
Started GET "/" for 192.168.1.104 at 2011-02-07 13:21:08 -0800
|
1727
|
+
Processing by UsersController#new as HTML
|
1728
|
+
Rendered users/_form.html.erb (5.5ms)
|
1729
|
+
Rendered users/new.html.erb within layouts/application (8.7ms)
|
1730
|
+
Completed 200 OK in 23ms (Views: 12.2ms | ActiveRecord: 0.0ms)
|
1731
|
+
|
1732
|
+
|
1733
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:21:09 -0800
|
1734
|
+
Processing by Streamit::StreamsController#recent as JS
|
1735
|
+
[1m[36mStream Load (2.9ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5[0m
|
1736
|
+
ERROR: compiling _app_views_streamit__stream_html_erb___1897344455068889214_2165730520__3347833179983144880 RAISED /Users/linhe/Projects/streamit/test/dummy/app/views/streamit/_stream.html.erb:2: syntax error, unexpected tIDENTIFIER, expecting ')'
|
1737
|
+
...in_words(stream.started_at) ago );@output_buffer.safe_concat...
|
1738
|
+
... ^
|
1739
|
+
Function body: def _app_views_streamit__stream_html_erb___1897344455068889214_2165730520__3347833179983144880(local_assigns)
|
1740
|
+
_old_virtual_path, @_virtual_path = @_virtual_path, "streamit/_stream";_old_output_buffer = @output_buffer;stream_counter = local_assigns[:stream_counter];stream = local_assigns[:stream];;@output_buffer = ActionView::OutputBuffer.new;@output_buffer.append= content_tag_for(:li, stream) do @output_buffer.safe_concat('
|
1741
|
+
');@output_buffer.safe_concat(' ');@output_buffer.append= ( stream.actor.name );@output_buffer.safe_concat(' ');@output_buffer.append= ( stream.stream_type_in_words );@output_buffer.safe_concat(' ');@output_buffer.append= ( stream.subject );@output_buffer.safe_concat(' to ');@output_buffer.append= ( stream.receiver );@output_buffer.safe_concat(' ');@output_buffer.append= ( time_ago_in_words(stream.started_at) ago );@output_buffer.safe_concat('
|
1742
|
+
'); end ;@output_buffer.to_s
|
1743
|
+
ensure
|
1744
|
+
@_virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
|
1745
|
+
end
|
1746
|
+
Backtrace: /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/template.rb:255:in `module_eval'
|
1747
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/template.rb:255:in `compile'
|
1748
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/template.rb:134:in `block in render'
|
1749
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:54:in `instrument'
|
1750
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
|
1751
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:300:in `block in collection_with_template'
|
1752
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:297:in `each'
|
1753
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:297:in `collection_with_template'
|
1754
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:280:in `render_collection'
|
1755
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:255:in `block in render'
|
1756
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
|
1757
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
1758
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
|
1759
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:253:in `render'
|
1760
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/partials.rb:378:in `_render_partial'
|
1761
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:22:in `render'
|
1762
|
+
/Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb:1:in `___sers_linhe__rojects_streamit_app_views_streamit_streams_recent_js_erb___183912632733294565_2166178000_1574195836159631576'
|
1763
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/template.rb:135:in `block in render'
|
1764
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:54:in `instrument'
|
1765
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/template.rb:127:in `render'
|
1766
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:59:in `block in _render_template'
|
1767
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
|
1768
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
1769
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
|
1770
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:56:in `_render_template'
|
1771
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_view/render/rendering.rb:26:in `render'
|
1772
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:114:in `_render_template'
|
1773
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:108:in `render_to_body'
|
1774
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
|
1775
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
|
1776
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:101:in `render_to_string'
|
1777
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:92:in `render'
|
1778
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:17:in `render'
|
1779
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
|
1780
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
|
1781
|
+
/Users/linhe/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
|
1782
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
|
1783
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
|
1784
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
|
1785
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
|
1786
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
|
1787
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
1788
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/mime_responds.rb:261:in `block in retrieve_response_from_mimes'
|
1789
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/responder.rb:190:in `call'
|
1790
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/responder.rb:190:in `default_render'
|
1791
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/responder.rb:136:in `to_format'
|
1792
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/responder.rb:119:in `respond'
|
1793
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/responder.rb:112:in `call'
|
1794
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/mime_responds.rb:232:in `respond_with'
|
1795
|
+
/Users/linhe/Projects/streamit/app/controllers/streamit/streams_controller.rb:8:in `recent'
|
1796
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
1797
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in `process_action'
|
1798
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11:in `process_action'
|
1799
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
1800
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:435:in `_run__4235093788197326872__process_action__1034733778990130581__callbacks'
|
1801
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
|
1802
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93:in `run_callbacks'
|
1803
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
|
1804
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
1805
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `block in instrument'
|
1806
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
1807
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in `instrument'
|
1808
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
1809
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
|
1810
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120:in `process'
|
1811
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40:in `process'
|
1812
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal.rb:138:in `dispatch'
|
1813
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
1814
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal.rb:178:in `block in action'
|
1815
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62:in `call'
|
1816
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
|
1817
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:27:in `call'
|
1818
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148:in `block in call'
|
1819
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:93:in `block in recognize'
|
1820
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:75:in `optimized_each'
|
1821
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:92:in `recognize'
|
1822
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139:in `call'
|
1823
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:492:in `call'
|
1824
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
1825
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/head.rb:14:in `call'
|
1826
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in `call'
|
1827
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
1828
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/flash.rb:182:in `call'
|
1829
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
|
1830
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/cookies.rb:295:in `call'
|
1831
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:32:in `block in call'
|
1832
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
|
1833
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:12:in `cache'
|
1834
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:31:in `call'
|
1835
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:353:in `call'
|
1836
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
|
1837
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:415:in `_run_call_callbacks'
|
1838
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
|
1839
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/sendfile.rb:107:in `call'
|
1840
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
|
1841
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/show_exceptions.rb:46:in `call'
|
1842
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/rack/logger.rb:13:in `call'
|
1843
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/runtime.rb:17:in `call'
|
1844
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
1845
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11:in `block in call'
|
1846
|
+
<internal:prelude>:10:in `synchronize'
|
1847
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11:in `call'
|
1848
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/static.rb:30:in `call'
|
1849
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/application.rb:168:in `call'
|
1850
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/application.rb:77:in `method_missing'
|
1851
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14:in `call'
|
1852
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/content_length.rb:13:in `call'
|
1853
|
+
/Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in `service'
|
1854
|
+
/Users/linhe/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
1855
|
+
/Users/linhe/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
1856
|
+
/Users/linhe/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
1857
|
+
Rendered streamit/_stream.html.erb (0.9ms)
|
1858
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (5.7ms)
|
1859
|
+
Completed in 19ms
|
1860
|
+
|
1861
|
+
ActionView::Template::Error (/Users/linhe/Projects/streamit/test/dummy/app/views/streamit/_stream.html.erb:2: syntax error, unexpected tIDENTIFIER, expecting ')'
|
1862
|
+
...in_words(stream.started_at) ago );@output_buffer.safe_concat...
|
1863
|
+
... ^):
|
1864
|
+
1: <%= content_tag_for(:li, stream) do %>
|
1865
|
+
2: <%= stream.actor.name %> <%= stream.stream_type_in_words %> <%= stream.subject %> to <%= stream.receiver %> <%= time_ago_in_words(stream.started_at) ago %>
|
1866
|
+
3: <% end %>
|
1867
|
+
|
1868
|
+
|
1869
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
1870
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.6ms)
|
1871
|
+
Rendered /Users/linhe/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.9ms)
|
1872
|
+
|
1873
|
+
|
1874
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:21:19 -0800
|
1875
|
+
Processing by Streamit::StreamsController#recent as JS
|
1876
|
+
[1m[35mStream Load (2.8ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1877
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1[0m
|
1878
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1879
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1880
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1881
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1882
|
+
Rendered streamit/_stream.html.erb (65.7ms)
|
1883
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (70.4ms)
|
1884
|
+
Completed 200 OK in 83ms (Views: 73.9ms | ActiveRecord: 6.3ms)
|
1885
|
+
|
1886
|
+
|
1887
|
+
Started GET "/streamit/recent" for 192.168.1.104 at 2011-02-07 13:22:33 -0800
|
1888
|
+
Processing by Streamit::StreamsController#recent as JS
|
1889
|
+
[1m[35mStream Load (2.9ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
|
1890
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1[0m
|
1891
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
|
1892
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1893
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
|
1894
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1[0m
|
1895
|
+
Rendered streamit/_stream.html.erb (65.3ms)
|
1896
|
+
Rendered /Users/linhe/Projects/streamit/app/views/streamit/streams/recent.js.erb (70.2ms)
|
1897
|
+
Completed 200 OK in 83ms (Views: 73.5ms | ActiveRecord: 3.4ms)
|
1898
|
+
[1m[36mStream Load (1.6ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC[0m
|
1899
|
+
[1m[35mStream Load (0.6ms)[0m SELECT "streams".* FROM "streams" ORDER BY started_at ASC LIMIT 1
|
1900
|
+
[1m[36mStream Load (1.3ms)[0m [1mSELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 1[0m
|
1901
|
+
Creating scope :from. Overwriting existing method Stream.from.
|
1902
|
+
[1m[36mStream Load (1.9ms)[0m [1mSELECT "streams".* FROM "streams" WHERE (id > 3) ORDER BY started_at DESC[0m
|