seymour 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,3 +1,68 @@
1
1
  # Seymour
2
2
 
3
- This project rocks and uses MIT-LICENSE.
3
+ Feed me activities, Seymour, please!
4
+
5
+ Seymour is a library for distributing activity items to Redis-backed activity feeds
6
+ in a Rails application.
7
+
8
+ ## Install
9
+
10
+ In your Gemfile
11
+
12
+ gem "seymour"
13
+
14
+ Or via command line
15
+
16
+ gem install seymour
17
+
18
+
19
+ ## Overview
20
+
21
+ Seymour provides allows an application to distribute activities to a number of interested parties. A typical activity is a small snippet of announcing an "actor" performed some action, such as a comment activity in "Coach Bob commented 'Great game, yesterday'"
22
+
23
+ ``` ruby
24
+ class Activity
25
+ belongs_to :actor
26
+ belongs_to :subject, :polymorphic => true
27
+
28
+ feed_me_seymour # acts_as_activity also works here
29
+ end
30
+
31
+ class CommentActivity < Activity
32
+ audience :team # distributes to TeamFeed by default
33
+ audience :members, :feed => "DashboardFeed"
34
+
35
+ # define methods for the audiences
36
+ delegate :team, :to => :comment
37
+ delegate :members, :to => :team
38
+
39
+ def comment
40
+ self.subject
41
+ end
42
+ end
43
+ ```
44
+
45
+ Declaring `feed_me_seymour` in the activity parent class provides `Activity` and its subclasses with the ability to set their `audience`. Activities can have any number of audiences. Each audience must be available as an instance method on comment activities.
46
+
47
+ ``` ruby
48
+ class TeamFeed < Seymour::ActivityFeed
49
+ end
50
+
51
+ class DashboardFeed < Seymour::ActivityFeed
52
+ end
53
+
54
+ ```
55
+
56
+ At some point, perhaps in a background job, we distribute the activity to our audience. Instances of seymour-enabled classes have a `distribute` method, which adds the activity id to the front of Redis lists activity feeds for each audience member. Seymour expects to find the TeamFeed and DashboardFeed classes at distribution time. Other activities can distribute to the same feeds owned by the same audience members as well.
57
+
58
+ ``` ruby
59
+ comment = Comment.create! # 'Great game, yesterday'
60
+ activity = CommentActivity.create!(:actor => comment.author, :subject => comment)
61
+
62
+ activity.distribute
63
+ ```
64
+
65
+ ## Background
66
+
67
+ This library is based on the feed architecture used to distribute activity items at [Weplay](http://weplay.com). Weplay supports activity distribution to a variety of feeds: user dashboards, game day comment pages, global points leaders, etc.
68
+
@@ -4,6 +4,8 @@ require "seymour/redis"
4
4
  require "seymour/activity_feed"
5
5
  require "seymour/acts_as_activity"
6
6
  require "seymour/distributable"
7
+ require "seymour/renderable"
8
+ require "seymour/render_controller"
7
9
 
8
10
  module Seymour
9
11
  extend self
@@ -6,8 +6,10 @@ module Seymour
6
6
  module ClassMethods
7
7
  def acts_as_activity
8
8
  include Distributable
9
+ include Renderable
9
10
  yield self if block_given?
10
11
  end
12
+ alias_method :feed_me_seymour, :acts_as_activity
11
13
  end
12
14
 
13
15
  end
@@ -12,9 +12,8 @@ module Seymour
12
12
  def audience(*names)
13
13
  options = names.extract_options!
14
14
  names.each do |name|
15
- class_name = options[:class_name] || name
16
- feed_class_name = "#{class_name.downcase.to_s.singularize}_feed".camelize
17
- audience_to_feed_classes[name] = feed_class_name
15
+ feed_name = options[:feed] || "#{name.downcase.to_s.singularize}_feed".camelize
16
+ audience_to_feed_classes[name] = feed_name
18
17
  end
19
18
  end
20
19
 
@@ -28,9 +27,9 @@ module Seymour
28
27
 
29
28
  def feeds_for(activity)
30
29
  audience_to_feed_classes.map do |audience_name, feed_class_name|
31
- activity.send(audience_name).map { |member|
30
+ activity.send(audience_name).map do |member|
32
31
  feed_class_name.constantize.new(member)
33
- }
32
+ end
34
33
  end.flatten
35
34
  end
36
35
 
@@ -0,0 +1,15 @@
1
+ module Seymour
2
+ # This controller is not mapped to a route, as that would be a security issue
3
+ # It's used internally by Activity#html, etc. --BH
4
+ class RenderController < ActionController::Base
5
+ include ActionController::Rendering
6
+ helper :all
7
+
8
+ def activity
9
+ render :partial => "activities/activity", :locals => {
10
+ :activity => request.env["seymour.activity"]
11
+ }
12
+ end
13
+
14
+ end
15
+ end
@@ -0,0 +1,36 @@
1
+ module Seymour
2
+
3
+ class RenderError < RuntimeError
4
+ end
5
+
6
+ module Renderable
7
+ extend ActiveSupport::Concern
8
+
9
+ module InstanceMethods
10
+
11
+ def render_html
12
+ render("seymour/render", "activity", "seymour.activity" => self)
13
+ rescue RenderError
14
+ return nil
15
+ end
16
+
17
+ def render(controller_name, action_name, env = {})
18
+ # TODO define proper server name
19
+ # { "REQUEST_URI" => "", "SERVER_NAME" => 'http://www.example.com' }.merge(env))
20
+
21
+ env = Rack::MockRequest.env_for("/",
22
+ { "REQUEST_URI" => "", "SERVER_NAME" => '' }.merge(env))
23
+
24
+ controller_class = "#{controller_name}_controller".classify.constantize
25
+ # status, headers, response = controller_class.action(action_name.to_sym).call(env)
26
+ status, headers, response = controller_class.action(action_name.to_sym).call(env)
27
+ raise RenderError.new("#{controller_name}##{action_name}") unless status.to_i == 200
28
+ response.body
29
+ end
30
+
31
+ end
32
+
33
+
34
+ end
35
+
36
+ end
@@ -1,3 +1,3 @@
1
1
  module Seymour
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,4 +1,3 @@
1
1
  class CommentActivity < Activity
2
- audience :authors, :class_name => "User"
3
-
2
+ audience :followers, :feed => "UserFeed"
4
3
  end
@@ -1,6 +1,6 @@
1
1
  class TestActivity < Activity
2
2
  audience :events
3
- audience :authors, :class_name => "User"
3
+ audience :authors, :feed => "UserFeed"
4
4
 
5
5
  def events
6
6
  []
@@ -1,5 +1,5 @@
1
1
  class Activity < ActiveRecord::Base
2
- acts_as_activity
2
+ feed_me_seymour
3
3
  belongs_to :actor, :class_name => "User"
4
4
  belongs_to :subject, :polymorphic => true
5
5
  end
@@ -0,0 +1 @@
1
+ <%= render :partial => "activities/#{activity.class.name.underscore}", :locals => { :activity => activity } %>
@@ -0,0 +1 @@
1
+ <p><%= activity.actor.name %> tested an activity</p>
@@ -0,0 +1,11 @@
1
+ Factory.define :user do |f|
2
+ f.name "Bob"
3
+ end
4
+
5
+ Factory.define :comment do |f|
6
+ f.author { Factory(:user) }
7
+ end
8
+
9
+ Factory.define :test_activity do |f|
10
+ f.actor { Factory(:user) }
11
+ end
@@ -3,8 +3,14 @@ require 'spec_helper'
3
3
  describe Seymour::ActsAsActivity do
4
4
 
5
5
  describe "TestActivity in dummy app" do
6
- let(:user) { User.create! }
7
- let(:activity) { TestActivity.create!(:actor => user) }
6
+ let(:activity) { Factory(:test_activity) }
7
+ let(:user) { activity.actor }
8
+
9
+ describe "render_html" do
10
+ it "should render activity html" do
11
+ activity.render_html.should == "<p>Bob tested an activity</p>"
12
+ end
13
+ end
8
14
 
9
15
  describe "distribute" do
10
16
  it "should push activity to audiences" do
@@ -0,0 +1,27 @@
1
+ require 'spec_helper'
2
+
3
+ describe Seymour::Renderable do
4
+ describe "render" do
5
+ let(:response) { mock(ActionDispatch::Response, :body => 'Lots of activity going on') }
6
+ let(:activity) { Factory(:test_activity) }
7
+
8
+ before(:each) do
9
+ ok_rack_response = lambda { |env| ['200', {}, response ] }
10
+ Seymour::RenderController.stub!(:action).and_return ok_rack_response
11
+ end
12
+
13
+ it "should render activity partial via render controller" do
14
+ response = activity.render("seymour/render", "activity", "seymour.activity" => activity)
15
+ response.should == 'Lots of activity going on'
16
+ end
17
+
18
+ it "should raise RenderError if response not OK" do
19
+ bad_rack_response = lambda { |env| ['500', {}, response ] }
20
+ Seymour::RenderController.stub!(:action).and_return bad_rack_response
21
+ calling_render = lambda {
22
+ activity.render("seymour/render", "activity", "seymour.activity" => activity)
23
+ }
24
+ calling_render.should raise_error(Seymour::RenderError)
25
+ end
26
+ end
27
+ end
@@ -11,6 +11,7 @@ $LOAD_PATH.unshift dir + '/support'
11
11
 
12
12
  require 'seymour'
13
13
  require 'test_redis'
14
+ require 'factory_girl_rails'
14
15
 
15
16
  RSpec.configure do |config|
16
17
  config.mock_with :rspec
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seymour
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-16 00:00:00.000000000Z
12
+ date: 2011-10-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70227228710500 !ruby/object:Gem::Requirement
16
+ requirement: &70109574033260 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70227228710500
24
+ version_requirements: *70109574033260
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: redis-namespace
27
- requirement: &70227228704960 !ruby/object:Gem::Requirement
27
+ requirement: &70109574031400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.1.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70227228704960
35
+ version_requirements: *70109574031400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70227228704200 !ruby/object:Gem::Requirement
38
+ requirement: &70109574029860 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70227228704200
46
+ version_requirements: *70109574029860
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec-rails
49
- requirement: &70227228703320 !ruby/object:Gem::Requirement
49
+ requirement: &70109574025400 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70227228703320
57
+ version_requirements: *70109574025400
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec
60
- requirement: &70227228702520 !ruby/object:Gem::Requirement
60
+ requirement: &70109574024660 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70227228702520
68
+ version_requirements: *70109574024660
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
- requirement: &70227228701680 !ruby/object:Gem::Requirement
71
+ requirement: &70109574023780 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70227228701680
79
+ version_requirements: *70109574023780
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: steak
82
- requirement: &70227228700860 !ruby/object:Gem::Requirement
82
+ requirement: &70109574022240 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70227228700860
90
+ version_requirements: *70109574022240
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: capybara
93
- requirement: &70227228699880 !ruby/object:Gem::Requirement
93
+ requirement: &70109574021020 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70227228699880
101
+ version_requirements: *70109574021020
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: database_cleaner
104
- requirement: &70227228698880 !ruby/object:Gem::Requirement
104
+ requirement: &70109574019820 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70227228698880
112
+ version_requirements: *70109574019820
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: factory_girl_rails
115
- requirement: &70227228697520 !ruby/object:Gem::Requirement
115
+ requirement: &70109574018420 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *70227228697520
123
+ version_requirements: *70109574018420
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: sqlite3
126
- requirement: &70227228694500 !ruby/object:Gem::Requirement
126
+ requirement: &70109574016740 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,7 +131,7 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *70227228694500
134
+ version_requirements: *70109574016740
135
135
  description: Activity feed distribution for Rails applications
136
136
  email:
137
137
  - rosskaff@gmail.com
@@ -150,6 +150,8 @@ files:
150
150
  - lib/seymour/distributable.rb
151
151
  - lib/seymour/engine.rb
152
152
  - lib/seymour/redis.rb
153
+ - lib/seymour/render_controller.rb
154
+ - lib/seymour/renderable.rb
153
155
  - lib/seymour/version.rb
154
156
  - lib/seymour.rb
155
157
  - lib/tasks/seymour_tasks.rake
@@ -170,6 +172,8 @@ files:
170
172
  - spec/dummy/app/models/comment.rb
171
173
  - spec/dummy/app/models/event.rb
172
174
  - spec/dummy/app/models/user.rb
175
+ - spec/dummy/app/views/activities/_activity.html.erb
176
+ - spec/dummy/app/views/activities/_test_activity.html.erb
173
177
  - spec/dummy/app/views/layouts/application.html.erb
174
178
  - spec/dummy/config.ru
175
179
  - spec/dummy/config/application.rb
@@ -197,17 +201,17 @@ files:
197
201
  - spec/dummy/lib/seymour/player_feed.rb
198
202
  - spec/dummy/lib/seymour/user_feed.rb
199
203
  - spec/dummy/log/.gitkeep
200
- - spec/dummy/log/test.log
201
204
  - spec/dummy/public/404.html
202
205
  - spec/dummy/public/422.html
203
206
  - spec/dummy/public/500.html
204
207
  - spec/dummy/public/favicon.ico
205
208
  - spec/dummy/script/rails
206
- - spec/factories.rb
209
+ - spec/dummy/spec/factories.rb
207
210
  - spec/redis-spec.conf
208
211
  - spec/seymour/activity_feed_spec.rb
209
212
  - spec/seymour/acts_as_activity_spec.rb
210
213
  - spec/seymour/redis_spec.rb
214
+ - spec/seymour/renderable_spec.rb
211
215
  - spec/seymour_spec.rb
212
216
  - spec/spec_helper.rb
213
217
  - spec/support/test_redis.rb
@@ -225,7 +229,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
229
  version: '0'
226
230
  segments:
227
231
  - 0
228
- hash: 4224569100350533512
232
+ hash: 17470921223917954
229
233
  required_rubygems_version: !ruby/object:Gem::Requirement
230
234
  none: false
231
235
  requirements:
@@ -234,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
238
  version: '0'
235
239
  segments:
236
240
  - 0
237
- hash: 4224569100350533512
241
+ hash: 17470921223917954
238
242
  requirements: []
239
243
  rubyforge_project:
240
244
  rubygems_version: 1.8.10
@@ -256,6 +260,8 @@ test_files:
256
260
  - spec/dummy/app/models/comment.rb
257
261
  - spec/dummy/app/models/event.rb
258
262
  - spec/dummy/app/models/user.rb
263
+ - spec/dummy/app/views/activities/_activity.html.erb
264
+ - spec/dummy/app/views/activities/_test_activity.html.erb
259
265
  - spec/dummy/app/views/layouts/application.html.erb
260
266
  - spec/dummy/config.ru
261
267
  - spec/dummy/config/application.rb
@@ -283,17 +289,17 @@ test_files:
283
289
  - spec/dummy/lib/seymour/player_feed.rb
284
290
  - spec/dummy/lib/seymour/user_feed.rb
285
291
  - spec/dummy/log/.gitkeep
286
- - spec/dummy/log/test.log
287
292
  - spec/dummy/public/404.html
288
293
  - spec/dummy/public/422.html
289
294
  - spec/dummy/public/500.html
290
295
  - spec/dummy/public/favicon.ico
291
296
  - spec/dummy/script/rails
292
- - spec/factories.rb
297
+ - spec/dummy/spec/factories.rb
293
298
  - spec/redis-spec.conf
294
299
  - spec/seymour/activity_feed_spec.rb
295
300
  - spec/seymour/acts_as_activity_spec.rb
296
301
  - spec/seymour/redis_spec.rb
302
+ - spec/seymour/renderable_spec.rb
297
303
  - spec/seymour_spec.rb
298
304
  - spec/spec_helper.rb
299
305
  - spec/support/test_redis.rb
@@ -1,129 +0,0 @@
1
- SQL (59.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:20:45 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:20:45 UTC +00:00]]
2
- SQL (11.2ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:23:22 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:23:22 UTC +00:00]]
3
- SQL (11.1ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:23:39 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:23:39 UTC +00:00]]
4
- SQL (11.0ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:25:04 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:25:04 UTC +00:00]]
5
- SQL (11.7ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:33:18 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:33:18 UTC +00:00]]
6
- SQL (11.4ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:33:49 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:33:49 UTC +00:00]]
7
- SQL (10.8ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:34:03 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:34:03 UTC +00:00]]
8
- SQL (11.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:34:32 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:34:32 UTC +00:00]]
9
- SQL (11.1ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:34:40 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:34:40 UTC +00:00]]
10
- SQL (12.2ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:36:27 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:36:27 UTC +00:00]]
11
- SQL (12.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:37:45 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:37:45 UTC +00:00]]
12
- SQL (11.9ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:37:57 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:37:57 UTC +00:00]]
13
- SQL (11.4ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 13:39:23 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 13:39:23 UTC +00:00]]
14
- SQL (28.7ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 14:01:56 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 14:01:56 UTC +00:00]]
15
- SQL (11.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 14:02:25 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 14:02:25 UTC +00:00]]
16
- SQL (11.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Fri, 14 Oct 2011 14:05:36 UTC +00:00], ["updated_at", Fri, 14 Oct 2011 14:05:36 UTC +00:00]]
17
- SQL (21.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", nil], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sat, 15 Oct 2011 03:50:25 UTC +00:00], ["updated_at", Sat, 15 Oct 2011 03:50:25 UTC +00:00]]
18
- SQL (73.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:19:15 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:19:15 UTC +00:00]]
19
- SQL (12.1ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 1], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:19:15 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:19:15 UTC +00:00]]
20
- SQL (12.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:19:51 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:19:51 UTC +00:00]]
21
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 2], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:19:51 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:19:51 UTC +00:00]]
22
- SQL (13.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:20:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:20:26 UTC +00:00]]
23
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 3], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:20:27 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:20:27 UTC +00:00]]
24
- SQL (13.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:22:22 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:22:22 UTC +00:00]]
25
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 4], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:22:22 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:22:22 UTC +00:00]]
26
- SQL (12.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:23:38 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:23:38 UTC +00:00]]
27
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 5], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:23:39 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:23:39 UTC +00:00]]
28
- SQL (13.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:23:56 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:23:56 UTC +00:00]]
29
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 6], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:23:56 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:23:56 UTC +00:00]]
30
- SQL (12.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:27:55 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:27:55 UTC +00:00]]
31
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 7], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:27:55 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:27:55 UTC +00:00]]
32
- SQL (13.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:28:35 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:28:35 UTC +00:00]]
33
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 8], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:28:35 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:28:35 UTC +00:00]]
34
- SQL (13.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 19:29:07 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 19:29:07 UTC +00:00]]
35
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 9], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 19:29:07 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 19:29:07 UTC +00:00]]
36
- SQL (30.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:04:40 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:04:40 UTC +00:00]]
37
- SQL (0.7ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 10], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:04:41 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:04:41 UTC +00:00]]
38
- SQL (48.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:24:05 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:24:05 UTC +00:00]]
39
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 11], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:24:05 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:24:05 UTC +00:00]]
40
- SQL (29.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:44:57 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:44:57 UTC +00:00]]
41
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 12], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:44:57 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:44:57 UTC +00:00]]
42
- SQL (12.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:54:57 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:54:57 UTC +00:00]]
43
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 13], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:54:57 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:54:57 UTC +00:00]]
44
- SQL (11.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:55:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:55:24 UTC +00:00]]
45
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 14], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:55:24 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:55:24 UTC +00:00]]
46
- SQL (11.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:57:12 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:57:12 UTC +00:00]]
47
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 15], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:57:12 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:57:12 UTC +00:00]]
48
- SQL (11.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:57:41 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:57:41 UTC +00:00]]
49
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 16], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:57:41 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:57:41 UTC +00:00]]
50
- SQL (12.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:57:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:57:53 UTC +00:00]]
51
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 17], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:57:53 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:57:53 UTC +00:00]]
52
- SQL (12.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:58:10 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:58:10 UTC +00:00]]
53
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 18], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:58:10 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:58:10 UTC +00:00]]
54
- SQL (11.9ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 20:59:48 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 20:59:48 UTC +00:00]]
55
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 19], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 20:59:48 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 20:59:48 UTC +00:00]]
56
- SQL (15.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00]]
57
- SQL (0.8ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 20], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00]]
58
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00]]
59
- SQL (0.4ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 21], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:00:29 UTC +00:00]]
60
- SQL (12.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00]]
61
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 22], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00]]
62
- SQL (0.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00]]
63
- SQL (0.4ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 23], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:01:45 UTC +00:00]]
64
- SQL (12.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00]]
65
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 24], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00]]
66
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00]]
67
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 25], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:02:04 UTC +00:00]]
68
- SQL (12.0ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00]]
69
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 26], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00]]
70
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00]]
71
- SQL (0.4ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 27], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:02:25 UTC +00:00]]
72
- SQL (12.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:19:01 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:19:01 UTC +00:00]]
73
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 28], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:19:01 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:19:01 UTC +00:00]]
74
- SQL (11.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:20:18 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:20:18 UTC +00:00]]
75
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 29], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:20:18 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:20:18 UTC +00:00]]
76
- SQL (12.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:20:39 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:20:39 UTC +00:00]]
77
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 30], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:20:39 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:20:39 UTC +00:00]]
78
- SQL (12.1ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:22:24 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:22:24 UTC +00:00]]
79
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 31], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:22:24 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:22:24 UTC +00:00]]
80
- SQL (12.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:22:53 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:22:53 UTC +00:00]]
81
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 32], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:22:53 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:22:53 UTC +00:00]]
82
- SQL (11.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:23:45 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:23:45 UTC +00:00]]
83
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 33], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:23:45 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:23:45 UTC +00:00]]
84
- SQL (12.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00]]
85
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 34], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00]]
86
- SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00]]
87
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 35], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00]]
88
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00]]
89
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 36], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:23:57 UTC +00:00]]
90
- SQL (12.5ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00]]
91
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 37], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00]]
92
- SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00]]
93
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 38], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00]]
94
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00]]
95
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 39], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:24:23 UTC +00:00]]
96
- SQL (12.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00]]
97
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 40], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00]]
98
- Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."test_activity_id" = 57
99
- SQLite3::SQLException: no such column: events.test_activity_id: SELECT "events".* FROM "events" WHERE "events"."test_activity_id" = 57
100
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00]]
101
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 41], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00]]
102
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00]]
103
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 42], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:05 UTC +00:00]]
104
- SQL (11.7ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00]]
105
- SQL (0.5ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 43], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00]]
106
- Event Load (0.2ms) SELECT "events".* FROM "events" WHERE "events"."test_activity_id" = 60
107
- SQLite3::SQLException: no such column: events.test_activity_id: SELECT "events".* FROM "events" WHERE "events"."test_activity_id" = 60
108
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00]]
109
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 44], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00]]
110
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00]]
111
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 45], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:41 UTC +00:00]]
112
- SQL (12.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00]]
113
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 46], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00]]
114
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00]]
115
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 47], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00]]
116
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00]]
117
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 48], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:25:50 UTC +00:00]]
118
- SQL (12.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00]]
119
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 49], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00]]
120
- SQL (0.6ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00]]
121
- SQL (0.4ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 50], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00]]
122
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00]]
123
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 51], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:27:26 UTC +00:00]]
124
- SQL (12.2ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00]]
125
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 52], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00]]
126
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00]]
127
- SQL (0.3ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 53], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00]]
128
- SQL (0.4ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00], ["name", nil], ["updated_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00]]
129
- SQL (0.6ms) INSERT INTO "activities" ("actor_id", "auditable_id", "auditable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["actor_id", 54], ["auditable_id", nil], ["auditable_type", nil], ["created_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00], ["updated_at", Sun, 16 Oct 2011 21:29:03 UTC +00:00]]
@@ -1,2 +0,0 @@
1
- Factory.define :user do
2
- end