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.
Files changed (53) hide show
  1. data/Gemfile +12 -9
  2. data/README.rdoc +4 -3
  3. data/Rakefile +11 -1
  4. data/app/views/streamit/streams/fetch.html.erb +3 -1
  5. data/lib/generators/streamit/streamit_generator.rb +26 -0
  6. data/lib/generators/templates/stream.rb +4 -0
  7. data/lib/generators/templates/streamit.rb +1 -1
  8. data/lib/streamit.rb +10 -22
  9. data/lib/streamit/async_queue.rb +32 -0
  10. data/lib/streamit/dsl.rb +1 -1
  11. data/lib/streamit/engine.rb +1 -7
  12. data/lib/streamit/orm/mongo_mapper.rb +1 -1
  13. data/lib/streamit/version.rb +3 -0
  14. data/test/dummy/Rakefile +7 -0
  15. data/test/dummy/app/{models → model}/stream.rb +0 -0
  16. data/test/dummy/app/model/user.rb +3 -0
  17. data/test/dummy/config.ru +4 -0
  18. data/test/dummy/config/application.rb +2 -29
  19. data/test/dummy/config/database.yml +22 -0
  20. data/test/dummy/config/initializers/inflections.rb +10 -0
  21. data/test/dummy/config/initializers/mime_types.rb +5 -0
  22. data/test/dummy/config/initializers/streamit.rb +1 -1
  23. data/test/dummy/db/development.sqlite3 +0 -0
  24. data/test/dummy/db/schema.rb +46 -0
  25. data/test/dummy/db/test.sqlite3 +0 -0
  26. data/test/dummy/log/development.log +1902 -0
  27. data/test/dummy/log/production.log +0 -0
  28. data/test/dummy/log/server.log +0 -0
  29. data/test/dummy/log/test.log +18904 -0
  30. data/test/dummy/public/404.html +26 -0
  31. data/test/dummy/public/422.html +26 -0
  32. data/test/dummy/public/500.html +26 -0
  33. data/test/dummy/public/favicon.ico +0 -0
  34. data/test/dummy/tmp/capybara/capybara-20110207142855.html +31 -0
  35. data/test/dummy/tmp/capybara/capybara-20110207143000.html +31 -0
  36. data/test/dummy/tmp/capybara/capybara-20110207143054.html +31 -0
  37. data/test/dummy/tmp/capybara/capybara-20110207144949.html +31 -0
  38. data/test/dummy/tmp/capybara/capybara-20110207145341.html +33 -0
  39. data/test/generators/streamit_generator_test.rb +17 -0
  40. data/test/integration/navigation_test.rb +2 -2
  41. data/test/stream_test.rb +9 -0
  42. data/test/streamit_test.rb +7 -7
  43. data/test/support/fixtures.rb +6 -7
  44. data/test/test_helper.rb +9 -5
  45. data/test/tmp/app/models/goblin.rb +4 -0
  46. data/test/tmp/app/views/streamit/streams/_stream.html.erb +3 -0
  47. data/test/tmp/config/initializers/streamit.rb +3 -0
  48. data/test/tmp/config/locales/streamit.en.yml +4 -0
  49. metadata +127 -28
  50. data/TODO +0 -4
  51. data/lib/generators/streamit_generator.rb +0 -39
  52. data/lib/streamit/orm/active_record.rb +0 -21
  53. 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
- gem "rails", "3.0.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
- gem 'bson_ext', "~> 1.3.1"
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
@@ -33,9 +33,10 @@ watching.rb
33
33
  en.yml
34
34
 
35
35
  en:
36
- users:
37
- update:
38
- image_url: "edited profile image"
36
+ streamit:
37
+ users:
38
+ update:
39
+ image_url: "edited profile image"
39
40
 
40
41
  user.rb
41
42
 
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
@@ -1 +1,3 @@
1
- <%= render @streams.all %>
1
+ <% @streams.each do |stream| %>
2
+ <%= render "streamit/streams/stream", :stream => stream %>
3
+ <% 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
@@ -0,0 +1,4 @@
1
+ class <%= class_name %>
2
+ include MongoMapper::Document
3
+ include Streamit::ORM::MongoMapper
4
+ end
@@ -1,3 +1,3 @@
1
1
  Streamit.setup do |config|
2
- require 'streamit/orm/mongo_mapper'
2
+ config.set_store { ::<%= class_name %> }
3
3
  end
@@ -1,5 +1,4 @@
1
- require 'active_support/core_ext/hash'
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
- # insert to queue
28
- self.queue << args
32
+ enqueue(args)
29
33
  end
30
34
 
31
- # Queue related methods
32
- def self.finish!
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
@@ -7,7 +7,7 @@ module Streamit
7
7
  # Sample usage:
8
8
  #
9
9
  # stream :create, :actor => :watcher,
10
- # :receiver => :watched_item
10
+ # :receiver => :item
11
11
  #
12
12
  # stream :update, :attributes => :image_url,
13
13
  #
@@ -1,6 +1,6 @@
1
1
  module Streamit
2
2
  class Engine < ::Rails::Engine
3
- config.streamit = ActiveSupport::OrderedOptions.new
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, lambda { |num| where(:started_at.gt => Time.now - num.to_i.seconds) }
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!
@@ -0,0 +1,3 @@
1
+ module Streamit
2
+ VERSION = '0.0.7'.freeze
3
+ end
@@ -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
@@ -0,0 +1,3 @@
1
+ class User < ActiveRecord::Base
2
+ stream :create
3
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -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
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -1,3 +1,3 @@
1
1
  Streamit.setup do |config|
2
- require 'streamit/orm/mongo_mapper'
2
+ config.set_store { ::Stream }
3
3
  end
@@ -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
@@ -0,0 +1,1902 @@
1
+ SQL (0.4ms)  SELECT name
2
+ FROM sqlite_master
3
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
+ 
5
+ SQL (0.1ms) select sqlite_version(*)
6
+ SQL (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
8
+ SQL (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+ SQL (0.1ms) SELECT name
10
+ FROM sqlite_master
11
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
12
+ SQL (0.1ms)  SELECT name
13
+ FROM sqlite_master
14
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
15
+ 
16
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
17
+ Migrating to CreateItems (20110204210910)
18
+ SQL (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
19
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110204210910')
20
+ Migrating to CreateUsers (20110204210955)
21
+ SQL (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime) 
22
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110204210955')
23
+ Migrating to CreateWatchings (20110204211021)
24
+ SQL (0.3ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) 
25
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110204211021')
26
+ SQL (0.2ms)  SELECT name
27
+ FROM sqlite_master
28
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
29
+ 
30
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
31
+ SQL (0.1ms)  SELECT name
32
+ FROM sqlite_master
33
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
34
+ 
35
+ SQL (0.0ms) PRAGMA index_list("items")
36
+ SQL (0.0ms) PRAGMA index_list("users")
37
+ SQL (0.0ms) PRAGMA index_list("watchings")
38
+ SQL (0.2ms)  SELECT name
39
+ FROM sqlite_master
40
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
41
+ 
42
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
43
+ SQL (0.3ms) select sqlite_version(*)
44
+ SQL (0.1ms) SELECT name
45
+ FROM sqlite_master
46
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
47
+ SQL (2.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
48
+ SQL (0.3ms) SELECT name
49
+ FROM sqlite_master
50
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
51
+ SQL (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime) 
52
+ SQL (0.2ms) SELECT name
53
+ FROM sqlite_master
54
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
55
+ SQL (2.0ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) 
56
+ SQL (0.2ms) SELECT name
57
+ FROM sqlite_master
58
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
59
+ SQL (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
60
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
61
+ SQL (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
62
+ SQL (0.2ms) SELECT name
63
+ FROM sqlite_master
64
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
65
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
66
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
67
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
68
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
69
+ SQL (0.5ms)  SELECT name
70
+ FROM sqlite_master
71
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
72
+ 
73
+ SQL (0.1ms) SELECT name
74
+ FROM sqlite_master
75
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
76
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
77
+ Migrating to CreateItems (20110204210910)
78
+ Migrating to CreateUsers (20110204210955)
79
+ Migrating to CreateWatchings (20110204211021)
80
+ SQL (0.1ms) select sqlite_version(*)
81
+ SQL (0.1ms)  SELECT name
82
+ FROM sqlite_master
83
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
84
+ 
85
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
86
+ SQL (0.1ms)  SELECT name
87
+ FROM sqlite_master
88
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
89
+ 
90
+ SQL (0.0ms) PRAGMA index_list("items")
91
+ SQL (0.0ms) PRAGMA index_list("users")
92
+ SQL (0.0ms) PRAGMA index_list("watchings")
93
+ SQL (0.2ms)  SELECT name
94
+ FROM sqlite_master
95
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
96
+ 
97
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
98
+ SQL (0.3ms) select sqlite_version(*)
99
+ SQL (0.1ms) SELECT name
100
+ FROM sqlite_master
101
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
102
+ SQL (1.8ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
103
+ SQL (0.1ms) SELECT name
104
+ FROM sqlite_master
105
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
106
+ SQL (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime) 
107
+ SQL (0.1ms) SELECT name
108
+ FROM sqlite_master
109
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
110
+ SQL (2.1ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) 
111
+ SQL (0.1ms) SELECT name
112
+ FROM sqlite_master
113
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
114
+ SQL (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
115
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
116
+ SQL (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
117
+ SQL (0.1ms) SELECT name
118
+ FROM sqlite_master
119
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
120
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
121
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
122
+ SQL (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
123
+ SQL (1.8ms) 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
+ SQL (0.6ms)  SELECT name
126
+ FROM sqlite_master
127
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
128
+ 
129
+ SQL (0.4ms) SELECT name
130
+ FROM sqlite_master
131
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
132
+ SQL (0.5ms)  SELECT name
133
+ FROM sqlite_master
134
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
135
+ 
136
+ SQL (0.1ms) SELECT name
137
+ FROM sqlite_master
138
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
139
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
140
+ Migrating to CreateItems (20110204210910)
141
+ Migrating to CreateUsers (20110204210955)
142
+ Migrating to CreateWatchings (20110204211021)
143
+ Migrating to CreateStream (20110204225810)
144
+ SQL (0.1ms) select sqlite_version(*)
145
+ SQL (0.4ms) 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) 
146
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
147
+ SQL (0.2ms)  SELECT name
148
+ FROM sqlite_master
149
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
150
+ 
151
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
152
+ SQL (0.1ms)  SELECT name
153
+ FROM sqlite_master
154
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
155
+ 
156
+ SQL (0.0ms) PRAGMA index_list("items")
157
+ SQL (0.0ms) PRAGMA index_list("streams")
158
+ SQL (0.0ms) PRAGMA index_list("users")
159
+ SQL (0.0ms) PRAGMA index_list("watchings")
160
+ SQL (0.2ms) SELECT name
161
+ FROM sqlite_master
162
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
163
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
164
+ SQL (0.2ms) select sqlite_version(*)
165
+ SQL (0.1ms)  SELECT name
166
+ FROM sqlite_master
167
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
168
+ 
169
+ SQL (2.0ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
170
+ SQL (0.3ms)  SELECT name
171
+ FROM sqlite_master
172
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
173
+ 
174
+ SQL (1.4ms) 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
+ SQL (0.2ms)  SELECT name
176
+ FROM sqlite_master
177
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
178
+ 
179
+ SQL (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
180
+ SQL (0.1ms)  SELECT name
181
+ FROM sqlite_master
182
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
183
+ 
184
+ SQL (1.3ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
185
+ SQL (0.1ms)  SELECT name
186
+ FROM sqlite_master
187
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
188
+ 
189
+ SQL (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
190
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
191
+ SQL (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
192
+ SQL (0.2ms)  SELECT name
193
+ FROM sqlite_master
194
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
195
+ 
196
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
197
+ SQL (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
198
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
199
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
200
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
201
+ SQL (0.6ms)  SELECT name
202
+ FROM sqlite_master
203
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
204
+ 
205
+ SQL (0.1ms) SELECT name
206
+ FROM sqlite_master
207
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
208
+ SQL (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
209
+ Migrating to CreateItems (20110204210910)
210
+ Migrating to CreateUsers (20110204210955)
211
+ Migrating to CreateWatchings (20110204211021)
212
+ Migrating to CreateStream (20110204225810)
213
+ SQL (0.1ms) select sqlite_version(*)
214
+ SQL (0.2ms)  SELECT name
215
+ FROM sqlite_master
216
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
217
+ 
218
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
219
+ SQL (0.1ms)  SELECT name
220
+ FROM sqlite_master
221
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
222
+ 
223
+ SQL (0.0ms) PRAGMA index_list("items")
224
+ SQL (0.0ms) PRAGMA index_list("streams")
225
+ SQL (0.0ms) PRAGMA index_list("users")
226
+ SQL (0.0ms) PRAGMA index_list("watchings")
227
+ SQL (0.2ms) SELECT name
228
+ FROM sqlite_master
229
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
230
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
231
+ SQL (0.2ms) select sqlite_version(*)
232
+ SQL (0.1ms)  SELECT name
233
+ FROM sqlite_master
234
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
235
+ 
236
+ SQL (1.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
237
+ SQL (0.1ms)  SELECT name
238
+ FROM sqlite_master
239
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
240
+ 
241
+ SQL (1.3ms) 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
+ SQL (0.1ms)  SELECT name
243
+ FROM sqlite_master
244
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
245
+ 
246
+ SQL (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
247
+ SQL (0.1ms)  SELECT name
248
+ FROM sqlite_master
249
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
250
+ 
251
+ SQL (1.2ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
252
+ SQL (0.1ms)  SELECT name
253
+ FROM sqlite_master
254
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
255
+ 
256
+ SQL (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
257
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
258
+ SQL (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
259
+ SQL (0.1ms)  SELECT name
260
+ FROM sqlite_master
261
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
262
+ 
263
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
264
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
265
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
266
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
267
+ SQL (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
268
+ SQL (0.5ms)  SELECT name
269
+ FROM sqlite_master
270
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
271
+ 
272
+ SQL (0.1ms) SELECT name
273
+ FROM sqlite_master
274
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
275
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
276
+ SQL (0.2ms) select sqlite_version(*)
277
+ SQL (0.1ms)  SELECT name
278
+ FROM sqlite_master
279
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
280
+ 
281
+ SQL (2.8ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
282
+ SQL (0.1ms)  SELECT name
283
+ FROM sqlite_master
284
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
285
+ 
286
+ SQL (1.5ms) 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
+ SQL (0.1ms)  SELECT name
288
+ FROM sqlite_master
289
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
290
+ 
291
+ SQL (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
292
+ SQL (0.1ms)  SELECT name
293
+ FROM sqlite_master
294
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
295
+ 
296
+ SQL (1.4ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
297
+ SQL (0.1ms)  SELECT name
298
+ FROM sqlite_master
299
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
300
+ 
301
+ SQL (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
302
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
303
+ SQL (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
304
+ SQL (0.1ms)  SELECT name
305
+ FROM sqlite_master
306
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
307
+ 
308
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
309
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
310
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
311
+ SQL (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
312
+ SQL (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
313
+ SQL (0.5ms)  SELECT name
314
+ FROM sqlite_master
315
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
316
+ 
317
+ SQL (0.1ms) SELECT name
318
+ FROM sqlite_master
319
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
320
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
321
+ SQL (0.1ms) SELECT name
322
+ FROM sqlite_master
323
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
324
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
325
+ Migrating to CreateStream (20110204225810)
326
+ SQL (0.0ms) select sqlite_version(*)
327
+ SQL (0.6ms) DROP TABLE "streams"
328
+ AREL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
329
+ SQL (0.3ms)  SELECT name
330
+ FROM sqlite_master
331
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
332
+ 
333
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
334
+ SQL (0.1ms)  SELECT name
335
+ FROM sqlite_master
336
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
337
+ 
338
+ SQL (0.0ms) PRAGMA index_list("items")
339
+ SQL (0.0ms) PRAGMA index_list("users")
340
+ SQL (0.0ms) PRAGMA index_list("watchings")
341
+ SQL (0.5ms)  SELECT name
342
+ FROM sqlite_master
343
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
344
+ 
345
+ SQL (0.1ms) SELECT name
346
+ FROM sqlite_master
347
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
348
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
349
+ Migrating to CreateItems (20110204210910)
350
+ Migrating to CreateUsers (20110204210955)
351
+ Migrating to CreateWatchings (20110204211021)
352
+ Migrating to CreateStream (20110204225810)
353
+ SQL (0.1ms) select sqlite_version(*)
354
+ SQL (0.5ms) 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) 
355
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
356
+ SQL (0.2ms)  SELECT name
357
+ FROM sqlite_master
358
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
359
+ 
360
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
361
+ SQL (0.1ms)  SELECT name
362
+ FROM sqlite_master
363
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
364
+ 
365
+ SQL (0.0ms) PRAGMA index_list("items")
366
+ SQL (0.0ms) PRAGMA index_list("streams")
367
+ SQL (0.0ms) PRAGMA index_list("users")
368
+ SQL (0.0ms) PRAGMA index_list("watchings")
369
+ SQL (0.2ms) SELECT name
370
+ FROM sqlite_master
371
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
372
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
373
+ SQL (0.2ms) select sqlite_version(*)
374
+ SQL (0.1ms)  SELECT name
375
+ FROM sqlite_master
376
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
377
+ 
378
+ SQL (2.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
379
+ SQL (0.3ms)  SELECT name
380
+ FROM sqlite_master
381
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
382
+ 
383
+ SQL (1.3ms) 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
+ SQL (0.1ms)  SELECT name
385
+ FROM sqlite_master
386
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
387
+ 
388
+ SQL (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
389
+ SQL (0.4ms)  SELECT name
390
+ FROM sqlite_master
391
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
392
+ 
393
+ SQL (2.0ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
394
+ SQL (0.2ms)  SELECT name
395
+ FROM sqlite_master
396
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
397
+ 
398
+ SQL (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
399
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
400
+ SQL (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
401
+ SQL (0.1ms)  SELECT name
402
+ FROM sqlite_master
403
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
404
+ 
405
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
406
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
407
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
408
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
409
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
410
+ SQL (0.5ms)  SELECT name
411
+ FROM sqlite_master
412
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
413
+ 
414
+ SQL (0.1ms) SELECT name
415
+ FROM sqlite_master
416
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
417
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
418
+ SQL (0.2ms) select sqlite_version(*)
419
+ SQL (0.1ms)  SELECT name
420
+ FROM sqlite_master
421
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
422
+ 
423
+ SQL (1.6ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
424
+ SQL (0.1ms)  SELECT name
425
+ FROM sqlite_master
426
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
427
+ 
428
+ SQL (1.3ms) 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
+ SQL (0.1ms)  SELECT name
430
+ FROM sqlite_master
431
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
432
+ 
433
+ SQL (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
434
+ SQL (0.1ms)  SELECT name
435
+ FROM sqlite_master
436
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
437
+ 
438
+ SQL (1.3ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
439
+ SQL (0.1ms)  SELECT name
440
+ FROM sqlite_master
441
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
442
+ 
443
+ SQL (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
444
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
445
+ SQL (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
446
+ SQL (0.1ms)  SELECT name
447
+ FROM sqlite_master
448
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
449
+ 
450
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
451
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
452
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
453
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
454
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
455
+ SQL (0.5ms)  SELECT name
456
+ FROM sqlite_master
457
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
458
+ 
459
+ SQL (0.1ms) SELECT name
460
+ FROM sqlite_master
461
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
462
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
463
+ SQL (0.1ms) SELECT name
464
+ FROM sqlite_master
465
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
466
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
467
+ Migrating to CreateStream (20110204225810)
468
+ SQL (0.0ms) select sqlite_version(*)
469
+ SQL (0.9ms) DROP TABLE "streams"
470
+ AREL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
471
+ SQL (0.2ms)  SELECT name
472
+ FROM sqlite_master
473
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
474
+ 
475
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
476
+ SQL (0.1ms)  SELECT name
477
+ FROM sqlite_master
478
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
479
+ 
480
+ SQL (0.0ms) PRAGMA index_list("items")
481
+ SQL (0.0ms) PRAGMA index_list("users")
482
+ SQL (0.0ms) PRAGMA index_list("watchings")
483
+ SQL (0.5ms)  SELECT name
484
+ FROM sqlite_master
485
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
486
+ 
487
+ SQL (0.1ms) SELECT name
488
+ FROM sqlite_master
489
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
490
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
491
+ Migrating to CreateItems (20110204210910)
492
+ Migrating to CreateUsers (20110204210955)
493
+ Migrating to CreateWatchings (20110204211021)
494
+ Migrating to CreateStream (20110204225810)
495
+ SQL (0.1ms) select sqlite_version(*)
496
+ SQL (0.5ms) 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) 
497
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
498
+ SQL (0.3ms)  SELECT name
499
+ FROM sqlite_master
500
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
501
+ 
502
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
503
+ SQL (0.1ms)  SELECT name
504
+ FROM sqlite_master
505
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
506
+ 
507
+ SQL (0.0ms) PRAGMA index_list("items")
508
+ SQL (0.0ms) PRAGMA index_list("streams")
509
+ SQL (0.0ms) PRAGMA index_list("users")
510
+ SQL (0.0ms) PRAGMA index_list("watchings")
511
+ SQL (0.2ms) SELECT name
512
+ FROM sqlite_master
513
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
514
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
515
+ SQL (0.2ms) select sqlite_version(*)
516
+ SQL (0.1ms)  SELECT name
517
+ FROM sqlite_master
518
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
519
+ 
520
+ SQL (1.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
521
+ SQL (0.3ms)  SELECT name
522
+ FROM sqlite_master
523
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
524
+ 
525
+ SQL (1.6ms) 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
+ SQL (0.2ms)  SELECT name
527
+ FROM sqlite_master
528
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
529
+ 
530
+ SQL (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
531
+ SQL (0.1ms)  SELECT name
532
+ FROM sqlite_master
533
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
534
+ 
535
+ SQL (1.3ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
536
+ SQL (0.1ms)  SELECT name
537
+ FROM sqlite_master
538
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
539
+ 
540
+ SQL (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
541
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
542
+ SQL (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
543
+ SQL (0.1ms)  SELECT name
544
+ FROM sqlite_master
545
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
546
+ 
547
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
548
+ SQL (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
549
+ SQL (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
550
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
551
+ SQL (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
552
+ SQL (0.5ms)  SELECT name
553
+ FROM sqlite_master
554
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
555
+ 
556
+ SQL (0.1ms) SELECT name
557
+ FROM sqlite_master
558
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
559
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
560
+ SQL (0.3ms) select sqlite_version(*)
561
+ SQL (0.1ms)  SELECT name
562
+ FROM sqlite_master
563
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
564
+ 
565
+ SQL (2.7ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
566
+ SQL (0.1ms)  SELECT name
567
+ FROM sqlite_master
568
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
569
+ 
570
+ SQL (1.4ms) 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
+ SQL (0.1ms)  SELECT name
572
+ FROM sqlite_master
573
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
574
+ 
575
+ SQL (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
576
+ SQL (0.1ms)  SELECT name
577
+ FROM sqlite_master
578
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
579
+ 
580
+ SQL (1.1ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
581
+ SQL (0.1ms)  SELECT name
582
+ FROM sqlite_master
583
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
584
+ 
585
+ SQL (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
586
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
587
+ SQL (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
588
+ SQL (0.1ms)  SELECT name
589
+ FROM sqlite_master
590
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
591
+ 
592
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
593
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
594
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
595
+ SQL (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
596
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
597
+ SQL (0.6ms)  SELECT name
598
+ FROM sqlite_master
599
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
600
+ 
601
+ SQL (0.6ms) SELECT name
602
+ FROM sqlite_master
603
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
604
+ SQL (0.5ms)  SELECT name
605
+ FROM sqlite_master
606
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
607
+ 
608
+ SQL (0.5ms) SELECT name
609
+ FROM sqlite_master
610
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
611
+ SQL (0.5ms)  SELECT name
612
+ FROM sqlite_master
613
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
614
+ 
615
+ SQL (0.5ms) SELECT name
616
+ FROM sqlite_master
617
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
618
+ SQL (0.5ms)  SELECT name
619
+ FROM sqlite_master
620
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
621
+ 
622
+ SQL (0.6ms) SELECT name
623
+ FROM sqlite_master
624
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
625
+ SQL (0.5ms)  SELECT name
626
+ FROM sqlite_master
627
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
628
+ 
629
+ SQL (0.4ms) SELECT name
630
+ FROM sqlite_master
631
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
632
+ SQL (0.4ms)  SELECT name
633
+ FROM sqlite_master
634
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
635
+ 
636
+ SQL (0.5ms) SELECT name
637
+ FROM sqlite_master
638
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
639
+ SQL (0.4ms)  SELECT name
640
+ FROM sqlite_master
641
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
642
+ 
643
+ SQL (0.5ms) SELECT name
644
+ FROM sqlite_master
645
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
646
+ SQL (0.4ms)  SELECT name
647
+ FROM sqlite_master
648
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
649
+ 
650
+ SQL (0.5ms) SELECT name
651
+ FROM sqlite_master
652
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
653
+ SQL (0.5ms)  SELECT name
654
+ FROM sqlite_master
655
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
656
+ 
657
+ SQL (0.3ms) SELECT name
658
+ FROM sqlite_master
659
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
660
+ SQL (0.5ms)  SELECT name
661
+ FROM sqlite_master
662
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
663
+ 
664
+ SQL (0.5ms) SELECT name
665
+ FROM sqlite_master
666
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
667
+ SQL (0.5ms)  SELECT name
668
+ FROM sqlite_master
669
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
670
+ 
671
+ SQL (0.5ms) SELECT name
672
+ FROM sqlite_master
673
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
674
+ SQL (0.5ms)  SELECT name
675
+ FROM sqlite_master
676
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
677
+ 
678
+ SQL (0.4ms) SELECT name
679
+ FROM sqlite_master
680
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
681
+ SQL (0.5ms)  SELECT name
682
+ FROM sqlite_master
683
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
684
+ 
685
+ SQL (0.1ms) SELECT name
686
+ FROM sqlite_master
687
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
688
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
689
+ SQL (0.1ms) SELECT name
690
+ FROM sqlite_master
691
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
692
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
693
+ Migrating to CreateStream (20110204225810)
694
+ SQL (0.0ms) select sqlite_version(*)
695
+ SQL (1.3ms) DROP TABLE "streams"
696
+ AREL (0.5ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
697
+ SQL (0.2ms)  SELECT name
698
+ FROM sqlite_master
699
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
700
+ 
701
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
702
+ SQL (0.1ms)  SELECT name
703
+ FROM sqlite_master
704
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
705
+ 
706
+ SQL (0.0ms) PRAGMA index_list("items")
707
+ SQL (0.0ms) PRAGMA index_list("users")
708
+ SQL (0.0ms) PRAGMA index_list("watchings")
709
+ SQL (0.5ms)  SELECT name
710
+ FROM sqlite_master
711
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
712
+ 
713
+ SQL (0.1ms) SELECT name
714
+ FROM sqlite_master
715
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
716
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
717
+ SQL (0.5ms)  SELECT name
718
+ FROM sqlite_master
719
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
720
+ 
721
+ SQL (0.1ms) SELECT name
722
+ FROM sqlite_master
723
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
724
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
725
+ Migrating to CreateItems (20110204210910)
726
+ Migrating to CreateUsers (20110204210955)
727
+ Migrating to CreateWatchings (20110204211021)
728
+ Migrating to CreateStream (20110204225810)
729
+ SQL (0.1ms) select sqlite_version(*)
730
+ SQL (0.6ms) 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) 
731
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110204225810')
732
+ SQL (0.2ms)  SELECT name
733
+ FROM sqlite_master
734
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
735
+ 
736
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
737
+ SQL (0.1ms)  SELECT name
738
+ FROM sqlite_master
739
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
740
+ 
741
+ SQL (0.0ms) PRAGMA index_list("items")
742
+ SQL (0.1ms) PRAGMA index_list("streams")
743
+ SQL (0.0ms) PRAGMA index_list("users")
744
+ SQL (0.0ms) PRAGMA index_list("watchings")
745
+ SQL (0.2ms) SELECT name
746
+ FROM sqlite_master
747
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
748
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
749
+ SQL (0.2ms) select sqlite_version(*)
750
+ SQL (0.1ms)  SELECT name
751
+ FROM sqlite_master
752
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
753
+ 
754
+ SQL (1.8ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
755
+ SQL (0.1ms)  SELECT name
756
+ FROM sqlite_master
757
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
758
+ 
759
+ SQL (1.4ms) 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
+ SQL (0.1ms)  SELECT name
761
+ FROM sqlite_master
762
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
763
+ 
764
+ SQL (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
765
+ SQL (0.1ms)  SELECT name
766
+ FROM sqlite_master
767
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
768
+ 
769
+ SQL (1.2ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
770
+ SQL (0.1ms)  SELECT name
771
+ FROM sqlite_master
772
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
773
+ 
774
+ SQL (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
775
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
776
+ SQL (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
777
+ SQL (0.1ms)  SELECT name
778
+ FROM sqlite_master
779
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
780
+ 
781
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
782
+ SQL (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
783
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
784
+ SQL (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
785
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
786
+ SQL (0.6ms)  SELECT name
787
+ FROM sqlite_master
788
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
789
+ 
790
+ SQL (0.2ms) SELECT name
791
+ FROM sqlite_master
792
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
793
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
794
+ SQL (0.2ms) select sqlite_version(*)
795
+ SQL (0.1ms)  SELECT name
796
+ FROM sqlite_master
797
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
798
+ 
799
+ SQL (1.8ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
800
+ SQL (0.1ms)  SELECT name
801
+ FROM sqlite_master
802
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
803
+ 
804
+ SQL (1.4ms) 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
+ SQL (0.1ms)  SELECT name
806
+ FROM sqlite_master
807
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
808
+ 
809
+ SQL (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
810
+ SQL (0.1ms)  SELECT name
811
+ FROM sqlite_master
812
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
813
+ 
814
+ SQL (1.2ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
815
+ SQL (0.2ms)  SELECT name
816
+ FROM sqlite_master
817
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
818
+ 
819
+ SQL (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
820
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
821
+ SQL (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
822
+ SQL (0.1ms)  SELECT name
823
+ FROM sqlite_master
824
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
825
+ 
826
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
827
+ SQL (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204225810')
828
+ SQL (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
829
+ SQL (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
830
+ SQL (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204211021')
831
+ SQL (0.5ms)  SELECT name
832
+ FROM sqlite_master
833
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
834
+ 
835
+ SQL (0.1ms) SELECT name
836
+ FROM sqlite_master
837
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
838
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
839
+ SQL (0.1ms) SELECT name
840
+ FROM sqlite_master
841
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
842
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
843
+ Migrating to CreateStream (20110204225810)
844
+ SQL (0.0ms) select sqlite_version(*)
845
+ SQL (0.6ms) DROP TABLE "streams"
846
+ AREL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110204225810'
847
+ SQL (0.2ms)  SELECT name
848
+ FROM sqlite_master
849
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
850
+ 
851
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
852
+ SQL (0.1ms)  SELECT name
853
+ FROM sqlite_master
854
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
855
+ 
856
+ SQL (0.0ms) PRAGMA index_list("items")
857
+ SQL (0.0ms) PRAGMA index_list("users")
858
+ SQL (0.1ms) PRAGMA index_list("watchings")
859
+ SQL (0.5ms)  SELECT name
860
+ FROM sqlite_master
861
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
862
+ 
863
+ SQL (0.1ms) SELECT name
864
+ FROM sqlite_master
865
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
866
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
867
+ Migrating to CreateItems (20110204210910)
868
+ Migrating to CreateUsers (20110204210955)
869
+ Migrating to CreateWatchings (20110204211021)
870
+ Migrating to CreateStreams (20110206230646)
871
+ SQL (0.0ms) select sqlite_version(*)
872
+ SQL (0.5ms) 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)) 
873
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110206230646')
874
+ SQL (0.2ms)  SELECT name
875
+ FROM sqlite_master
876
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
877
+ 
878
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
879
+ SQL (0.1ms)  SELECT name
880
+ FROM sqlite_master
881
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
882
+ 
883
+ SQL (0.0ms) PRAGMA index_list("items")
884
+ SQL (0.0ms) PRAGMA index_list("streams")
885
+ SQL (0.0ms) PRAGMA index_list("users")
886
+ SQL (0.0ms) PRAGMA index_list("watchings")
887
+ SQL (0.5ms)  SELECT name
888
+ FROM sqlite_master
889
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
890
+ 
891
+ SQL (0.1ms) SELECT name
892
+ FROM sqlite_master
893
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
894
+ SQL (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
895
+ SQL (0.2ms) select sqlite_version(*)
896
+ SQL (0.1ms)  SELECT name
897
+ FROM sqlite_master
898
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
899
+ 
900
+ SQL (3.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
901
+ SQL (0.1ms)  SELECT name
902
+ FROM sqlite_master
903
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
904
+ 
905
+ SQL (1.6ms) 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
+ SQL (0.1ms)  SELECT name
907
+ FROM sqlite_master
908
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
909
+ 
910
+ SQL (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_url" varchar(255), "created_at" datetime, "updated_at" datetime)
911
+ SQL (0.2ms)  SELECT name
912
+ FROM sqlite_master
913
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
914
+ 
915
+ SQL (1.2ms) CREATE TABLE "watchings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)
916
+ SQL (0.1ms)  SELECT name
917
+ FROM sqlite_master
918
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
919
+ 
920
+ SQL (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
921
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
922
+ SQL (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
923
+ SQL (0.1ms)  SELECT name
924
+ FROM sqlite_master
925
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
926
+ 
927
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
928
+ SQL (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110206230646')
929
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210910')
930
+ SQL (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20110204210955')
931
+ SQL (1.2ms) 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
+ Stream Load (0.4ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC
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
+ Stream Load (0.6ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC
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
+ SQL (0.3ms) SELECT name
984
+ FROM sqlite_master
985
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
986
+ AREL (0.5ms) INSERT 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')
987
+ AREL (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
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
+ Stream Load (0.5ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC
1003
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
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
+ AREL (0.4ms) 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
+ AREL (0.2ms) 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:26.387334', 2, 'User', 2, 'User', 2, 'User')
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
+ User Load (0.2ms) 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
+ User Load (0.4ms) SELECT "users".* FROM "users"
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
+ AREL (0.4ms) 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
+ AREL (0.2ms) 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:51.214601', 3, 'User', 3, 'User', 3, 'User')
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
+ User Load (0.2ms) 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
+ User Load (0.5ms) SELECT "users".* FROM "users"
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
+ Stream Load (0.5ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC
1074
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1075
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1076
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
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
+ Stream Load (1.0ms) SELECT "streams".* FROM "streams" ORDER BY started_at ASC LIMIT 1
1081
+ Stream Load (0.4ms) SELECT "streams".* FROM "streams" WHERE (id < -1) ORDER BY started_at DESC
1082
+ Stream Load (0.5ms) SELECT "streams".* FROM "streams" WHERE (id < 1) ORDER BY started_at DESC
1083
+ Stream Load (0.8ms) 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
+ Stream Load (0.6ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1089
+ SQL (0.3ms) SELECT name
1090
+ FROM sqlite_master
1091
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
1092
+ User Load (21.4ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1093
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1094
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
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
+ Stream Load (0.3ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1103
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1104
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1105
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1106
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1107
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1108
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1109
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1110
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1111
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
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
+ Stream Load (0.5ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1128
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1129
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1130
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1131
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1132
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1133
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1135
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1136
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
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
+ AREL (0.5ms) 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
+ AREL (0.2ms) 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 20:45:03.161098', 4, 'User', NULL, NULL, NULL, NULL)
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
+ User Load (0.3ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1179
+ AREL (0.4ms) UPDATE "users" SET "image_url" = 'adark.png', "updated_at" = '2011-02-07 20:45:18.405675' WHERE ("users"."id" = 4)
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
+ User Load (0.3ms) 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
+ User Load (0.4ms) SELECT "users".* FROM "users"
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
+ Stream Load (1.0ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1202
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1203
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1204
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1205
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1206
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1207
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1208
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1209
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1210
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1211
+ CACHE (0.0ms) 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
+ User Load (0.5ms) SELECT "users".* FROM "users"
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
+ User Load (0.1ms) 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
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1244
+ AREL (0.6ms) UPDATE "users" SET "image_url" = 'adar2k.png', "updated_at" = '2011-02-07 20:46:27.533027' WHERE ("users"."id" = 4)
1245
+ AREL (0.2ms) INSERT 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)
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
+ User Load (0.1ms) 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
+ Stream Load (1.5ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1268
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1269
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1270
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1271
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1272
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1273
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1274
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1275
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1276
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1277
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1278
+ CACHE (0.0ms) 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
+ Stream Load (1.6ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1287
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1288
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1289
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1290
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1291
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1292
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1293
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1294
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1296
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1
1297
+ CACHE (0.0ms) 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
+ User Load (0.4ms) SELECT "users".* FROM "users"
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
+ User Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1355
+ AREL (0.5ms) UPDATE "users" SET "name" = 'krada0', "updated_at" = '2011-02-07 20:52:27.232440' WHERE ("users"."id" = 4)
1356
+ AREL (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
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
+ Stream Load (2.1ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1379
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1380
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1381
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1382
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1383
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1384
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1385
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1386
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1387
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
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
+ Stream Load (2.0ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1396
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1397
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1398
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1399
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1400
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1401
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1402
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1403
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1404
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
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
+ Stream Load (2.0ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1435
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1436
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1437
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1438
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1439
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1440
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1441
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1442
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1443
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
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
+ Stream Load (2.0ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1466
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1467
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1468
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1469
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1470
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1471
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1472
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1473
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
1474
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 2) LIMIT 1
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
+ User Load (0.5ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1507
+ AREL (0.3ms) UPDATE "users" SET "image_url" = 'irpook', "updated_at" = '2011-02-07 20:56:37.888832' WHERE ("users"."id" = 3)
1508
+ AREL (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
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
+ Stream Load (2.5ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1524
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1525
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1526
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1527
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1528
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1529
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1530
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
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
+ AREL (0.4ms) 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
+ AREL (0.2ms) 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 20:57:38.106106', 5, 'User', NULL, NULL, NULL, NULL)
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
+ User Load (0.2ms) 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
+ Stream Load (3.1ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1563
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1564
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1566
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1567
+ CACHE (0.0ms) 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
+ Stream Load (2.9ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1576
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1577
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1578
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1579
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1580
+ CACHE (0.0ms) 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
+ Stream Load (3.0ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1617
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1618
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1619
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1620
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1621
+ CACHE (0.0ms) 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
+ Stream Load (2.9ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1630
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1631
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1632
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1633
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1634
+ CACHE (0.0ms) 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
+ Stream Load (2.9ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1643
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1644
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1645
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1646
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1647
+ CACHE (0.0ms) 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
+ Stream Load (2.9ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1656
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1657
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1658
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1659
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1660
+ CACHE (0.0ms) 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
+ Stream Load (3.1ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1676
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1677
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1678
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1679
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1680
+ CACHE (0.0ms) 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
+ Stream Load (38.5ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1696
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1697
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1698
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1699
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1700
+ CACHE (0.0ms) 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
+ Stream Load (2.9ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1716
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1717
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1719
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1720
+ CACHE (0.0ms) 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
+ Stream Load (2.9ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
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
+ Stream Load (2.8ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1877
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1878
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1879
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1880
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1881
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
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
+ Stream Load (2.9ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 5
1890
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 5) LIMIT 1
1891
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 3) LIMIT 1
1892
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1893
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
1894
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE ("users"."id" = 4) LIMIT 1
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
+ Stream Load (1.6ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC
1899
+ Stream Load (0.6ms) SELECT "streams".* FROM "streams" ORDER BY started_at ASC LIMIT 1
1900
+ Stream Load (1.3ms) SELECT "streams".* FROM "streams" ORDER BY started_at DESC LIMIT 1
1901
+ Creating scope :from. Overwriting existing method Stream.from.
1902
+ Stream Load (1.9ms) SELECT "streams".* FROM "streams" WHERE (id > 3) ORDER BY started_at DESC