montage_rails 0.4.10 → 0.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/montage_rails/base.rb +18 -7
- data/lib/montage_rails/version.rb +1 -1
- data/test/dummy/log/test.log +619 -0
- data/test/montage_rails/base_test.rb +25 -1
- data/test/resources/movie_resource.rb +34 -0
- data/test/test_helper.rb +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c7a8b86ffe6332c8919d598593abda987ed5d56
|
4
|
+
data.tar.gz: 72497fe3365db17fa45c763e9ba47f0b0cf72bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6862638d617127b7d39772b2e1dcc65a322640d1b5c9510df9046028de96ccb4815a946cef36f65068f3a383a7c73bd71dc43283265521cf71c32da08181eefa
|
7
|
+
data.tar.gz: 7934a0532c704e8377b0ede7fb9edc26761ac5f1838ba6ed6c847090345ef46efa65590a57b62fb6d3d1b8aa5ef6aeb3a6b17850fc1c756c6ff2b8a80a938127
|
data/lib/montage_rails/base.rb
CHANGED
@@ -215,6 +215,7 @@ module MontageRails
|
|
215
215
|
@current_method = "Load"
|
216
216
|
@errors = ActiveModel::Errors.new(self)
|
217
217
|
super(params)
|
218
|
+
@old_attributes = attributes.clone
|
218
219
|
end
|
219
220
|
|
220
221
|
# Save the record to the database
|
@@ -230,11 +231,15 @@ module MontageRails
|
|
230
231
|
if persisted?
|
231
232
|
@current_method = "Update"
|
232
233
|
|
233
|
-
|
234
|
-
|
235
|
-
|
234
|
+
if dirty?
|
235
|
+
@response = notify(self) do
|
236
|
+
connection.create_or_update_documents(self.class.table_name, [updateable_attributes(true)])
|
237
|
+
end
|
236
238
|
|
237
|
-
|
239
|
+
initialize(attributes_from_response(@response))
|
240
|
+
else
|
241
|
+
return initialize(@old_attributes)
|
242
|
+
end
|
238
243
|
else
|
239
244
|
run_callbacks :create do
|
240
245
|
@current_method = "Create"
|
@@ -275,7 +280,7 @@ module MontageRails
|
|
275
280
|
# Returns a copy of self if updating is successful
|
276
281
|
#
|
277
282
|
def update_attributes(params)
|
278
|
-
old_attributes = attributes.clone
|
283
|
+
@old_attributes = attributes.clone
|
279
284
|
|
280
285
|
params.each do |key, value|
|
281
286
|
if respond_to?(key.to_sym)
|
@@ -284,7 +289,7 @@ module MontageRails
|
|
284
289
|
end
|
285
290
|
end
|
286
291
|
|
287
|
-
return self
|
292
|
+
return self unless dirty?
|
288
293
|
|
289
294
|
if valid? && attributes_valid?
|
290
295
|
@current_method = id.nil? ? "Create" : "Update"
|
@@ -297,11 +302,17 @@ module MontageRails
|
|
297
302
|
@persisted = true
|
298
303
|
self
|
299
304
|
else
|
300
|
-
initialize(old_attributes)
|
305
|
+
initialize(@old_attributes)
|
301
306
|
false
|
302
307
|
end
|
303
308
|
end
|
304
309
|
|
310
|
+
# Checks if the attributes have changed, and returns true if they are "dirty"
|
311
|
+
#
|
312
|
+
def dirty?
|
313
|
+
@old_attributes != attributes
|
314
|
+
end
|
315
|
+
|
305
316
|
# Destroy the copy of this record from the database
|
306
317
|
#
|
307
318
|
def destroy
|
data/test/dummy/log/test.log
CHANGED
@@ -14941,3 +14941,622 @@ MontageRailsTest: test_: .configure should not require a username and password i
|
|
14941
14941
|
[1m[36mMovie Load [CACHE] (0.0ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
14942
14942
|
[1m[35mMovie Load [CACHE] (0.0ms)[0m {:filter=>{:votes__gt=>900000}}
|
14943
14943
|
[1m[36mMovie Load (2.7ms)[0m [1m{:filter=>{:title=>"Foo"}}[0m
|
14944
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
14945
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
14946
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
14947
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
14948
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
14949
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
14950
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
14951
|
+
[1m[36mMovie Create (7.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14952
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14953
|
+
[1m[36mMovie Create (7.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14954
|
+
[1m[35mMovie Update (2.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14955
|
+
[1m[36mMovie Create (8.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14956
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14957
|
+
[1m[36mActor Create (2.5ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
14958
|
+
[1m[35mActor Create (1.8ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
14959
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (2.0ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
14960
|
+
[1m[35mMovie Create (7.8ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
14961
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
14962
|
+
[1m[35mActor Create (1.8ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
14963
|
+
[1m[36mActor Create (2.4ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
14964
|
+
[1m[35mActor Load (2.2ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}
|
14965
|
+
[1m[36mActor Load (1.7ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
14966
|
+
[1m[35mMovie Create (6.8ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
14967
|
+
[1m[36mMovie Update (1.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
14968
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14969
|
+
[1m[36mMovie Create (7.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14970
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14971
|
+
[1m[36mMovie Create (2.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14972
|
+
[1m[35mMovie Create (18.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
14973
|
+
[1m[36mMovie Update (3.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
14974
|
+
[1m[35mMovie Load (3.3ms)[0m #<MontageRails::Relation:0x007faa1c1e29e0>
|
14975
|
+
[1m[36mMovie Create (8.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14976
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14977
|
+
[1m[36mMovie Create (8.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14978
|
+
[1m[35mMovie Update (2.5ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14979
|
+
[1m[36mMovie Load (2.6ms)[0m [1m#<MontageRails::Relation:0x007faa1435db60>[0m
|
14980
|
+
[1m[35mMovie Create (7.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
14981
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
14982
|
+
[1m[35mMovie Create (9.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
14983
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
14984
|
+
[1m[35mMovie Create (7.0ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
14985
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
14986
|
+
[1m[35mMovie Create (8.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
14987
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
14988
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14989
|
+
[1m[36mMovie Create (6.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14990
|
+
[1m[35mMovie Update (2.4ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14991
|
+
[1m[36mActor Create (1.9ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
14992
|
+
[1m[35mActor Create (1.7ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
14993
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (1.9ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
14994
|
+
[1m[35mActor Load (2.1ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
14995
|
+
[1m[36mMovie Create (6.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14996
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14997
|
+
[1m[36mMovie Create (8.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
14998
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
14999
|
+
[1m[36mMovie Create (9.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15000
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15001
|
+
[1m[36mMovie Load (5.3ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15002
|
+
[1m[35mStudio Create (2.0ms)[0m {:name=>"Universal"}
|
15003
|
+
[1m[36mStudio Load (1.8ms)[0m [1m19442e09-5c2d-4e5d-8f34-675570e81414[0m
|
15004
|
+
[1m[35mMovie Update (3.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15005
|
+
[1m[36mStudio Load (2.1ms)[0m [1m19442e09-5c2d-4e5d-8f34-675570e81414[0m
|
15006
|
+
[1m[35mMovie Load (2.1ms)[0m {:filter=>{}}
|
15007
|
+
[1m[36mMovie Create (8.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15008
|
+
[1m[35mMovie Update (2.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15009
|
+
[1m[36mMovie Create (8.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15010
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15011
|
+
[1m[36mActor Create (3.7ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15012
|
+
[1m[35mActor Create (2.3ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15013
|
+
[1m[36mActor Load (1.9ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}[0m
|
15014
|
+
[1m[35mMovie Create (7.5ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15015
|
+
[1m[36mMovie Update (2.3ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15016
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15017
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
15018
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
15019
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
15020
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15021
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
15022
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15023
|
+
[1m[36mMovie Create (7.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15024
|
+
[1m[35mMovie Update (2.7ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15025
|
+
[1m[36mMovie Create (9.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15026
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15027
|
+
[1m[36mActor Create (3.3ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15028
|
+
[1m[35mActor Create (1.7ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15029
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (2.1ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15030
|
+
[1m[35mMovie Create (7.0ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15031
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15032
|
+
[1m[35mMovie Create (6.9ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15033
|
+
[1m[36mMovie Update (2.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15034
|
+
[1m[35mMovie Create (7.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15035
|
+
[1m[36mMovie Update (1.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15036
|
+
[1m[35mMovie Create (8.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15037
|
+
[1m[36mMovie Update (2.3ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15038
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15039
|
+
[1m[36mMovie Create (9.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15040
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15041
|
+
[1m[36mMovie Create (9.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15042
|
+
[1m[35mMovie Update (2.4ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15043
|
+
[1m[36mMovie Create (6.9ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15044
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15045
|
+
[1m[36mActor Create (2.5ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15046
|
+
[1m[35mActor Create (1.9ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15047
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (1.7ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15048
|
+
[1m[35mActor Load (2.1ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
15049
|
+
[1m[36mMovie Create (6.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15050
|
+
[1m[35mMovie Update (3.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15051
|
+
[1m[36mMovie Create (9.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15052
|
+
[1m[35mMovie Update (1.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15053
|
+
[1m[36mActor Create (1.7ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15054
|
+
[1m[35mActor Create (3.2ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15055
|
+
[1m[36mActor Load (2.8ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}[0m
|
15056
|
+
[1m[35mMovie Load (2.0ms)[0m {:filter=>{}}
|
15057
|
+
[1m[36mMovie Create (7.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15058
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15059
|
+
[1m[36mMovie Load (2.2ms)[0m [1m#<MontageRails::Relation:0x007fafa64c9ca0>[0m
|
15060
|
+
[1m[35mMovie Create (8.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15061
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15062
|
+
[1m[35mMovie Create (7.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15063
|
+
[1m[36mMovie Update (1.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15064
|
+
[1m[35mActor Create (1.9ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15065
|
+
[1m[36mActor Create (1.9ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15066
|
+
[1m[35mActor Load (1.3ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}
|
15067
|
+
[1m[36mActor Load (1.2ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
15068
|
+
[1m[35mMovie Create (7.9ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15069
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15070
|
+
[1m[35mMovie Create (3.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15071
|
+
[1m[36mMovie Create (6.9ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15072
|
+
[1m[35mMovie Update (1.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15073
|
+
[1m[36mMovie Update (4.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15074
|
+
[1m[35mMovie Create (11.7ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15075
|
+
[1m[36mMovie Update (2.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15076
|
+
[1m[35mMovie Create (8.1ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15077
|
+
[1m[36mMovie Update (4.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15078
|
+
[1m[35mMovie Create (12.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15079
|
+
[1m[36mMovie Update (3.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15080
|
+
[1m[35mMovie Load (9.2ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15081
|
+
[1m[36mStudio Create (4.2ms)[0m [1m{:name=>"Universal"}[0m
|
15082
|
+
[1m[35mStudio Load (2.6ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15083
|
+
[1m[36mMovie Update (3.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15084
|
+
[1m[35mStudio Load (2.2ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15085
|
+
[1m[36mMovie Create (7.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15086
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15087
|
+
[1m[36mMovie Load (3.8ms)[0m [1m#<MontageRails::Relation:0x007fafab8bbe58>[0m
|
15088
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15089
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
15090
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
15091
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
15092
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15093
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
15094
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15095
|
+
[1m[36mMovie Create (6.9ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15096
|
+
[1m[35mMovie Update (2.4ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15097
|
+
[1m[36mMovie Create (3.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15098
|
+
[1m[35mMovie Create (7.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15099
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15100
|
+
[1m[35mMovie Load (2.9ms)[0m #<MontageRails::Relation:0x007fd114f54fa0>
|
15101
|
+
[1m[36mMovie Create (7.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15102
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15103
|
+
[1m[36mMovie Create (8.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15104
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15105
|
+
[1m[36mActor Create (3.4ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15106
|
+
[1m[35mActor Create (1.8ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15107
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (2.3ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15108
|
+
[1m[35mActor Load (2.5ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
15109
|
+
[1m[36mMovie Create (8.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15110
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15111
|
+
[1m[36mMovie Create (6.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15112
|
+
[1m[35mMovie Update (2.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15113
|
+
[1m[36mMovie Create (9.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15114
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15115
|
+
[1m[36mMovie Create (8.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15116
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15117
|
+
[1m[36mMovie Create (6.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15118
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15119
|
+
[1m[36mMovie Create (7.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15120
|
+
[1m[35mMovie Update (3.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15121
|
+
[1m[36mMovie Update (2.6ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15122
|
+
[1m[35mMovie Load (5.6ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15123
|
+
[1m[36mStudio Create (1.9ms)[0m [1m{:name=>"Universal"}[0m
|
15124
|
+
[1m[35mStudio Load (2.5ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15125
|
+
[1m[36mMovie Update (4.1ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15126
|
+
[1m[35mStudio Load (1.5ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15127
|
+
[1m[36mMovie Create (7.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15128
|
+
[1m[35mMovie Update (3.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15129
|
+
[1m[36mMovie Create (8.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15130
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15131
|
+
[1m[36mMovie Create (7.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15132
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15133
|
+
[1m[36mMovie Create (8.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15134
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15135
|
+
[1m[36mMovie Create (7.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15136
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15137
|
+
[1m[36mMovie Load (3.5ms)[0m [1m#<MontageRails::Relation:0x007fd11b33adf8>[0m
|
15138
|
+
[1m[35mMovie Create (10.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15139
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15140
|
+
[1m[35mActor Create (3.7ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15141
|
+
[1m[36mActor Create (1.9ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15142
|
+
[1m[35mActor Load (1.4ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}
|
15143
|
+
[1m[36mActor Load (1.4ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
15144
|
+
[1m[35mMovie Create (9.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15145
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15146
|
+
[1m[35mActor Create (1.8ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15147
|
+
[1m[36mActor Create (2.3ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15148
|
+
[1m[35mActor Load (1.8ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}
|
15149
|
+
[1m[36mMovie Create (8.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15150
|
+
[1m[35mMovie Update (2.7ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15151
|
+
[1m[36mActor Create (2.2ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15152
|
+
[1m[35mActor Create (2.7ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15153
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (1.9ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15154
|
+
[1m[35mMovie Load (1.8ms)[0m {:filter=>{}}
|
15155
|
+
[1m[36mMovie Create (7.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15156
|
+
[1m[35mMovie Update (2.4ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15157
|
+
[1m[36mMovie Create (8.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15158
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15159
|
+
[1m[36mMovie Update (2.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15160
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15161
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
15162
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
15163
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
15164
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15165
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
15166
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15167
|
+
[1m[36mMovie Create (10.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15168
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15169
|
+
[1m[36mMovie Create (7.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15170
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15171
|
+
[1m[36mMovie Create (7.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15172
|
+
[1m[35mMovie Update (2.5ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15173
|
+
[1m[36mMovie Load (2.4ms)[0m [1m{:filter=>{}}[0m
|
15174
|
+
[1m[35mMovie Load (4.9ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15175
|
+
[1m[36mStudio Create (1.9ms)[0m [1m{:name=>"Universal"}[0m
|
15176
|
+
[1m[35mStudio Load (2.0ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15177
|
+
[1m[36mMovie Create (6.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15178
|
+
[1m[35mMovie Update (3.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15179
|
+
[1m[36mMovie Load (2.0ms)[0m [1m#<MontageRails::Relation:0x007f8b898654b8>[0m
|
15180
|
+
[1m[35mMovie Create (9.5ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15181
|
+
[1m[36mMovie Update (2.3ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15182
|
+
[1m[35mMovie Create (9.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15183
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15184
|
+
[1m[35mMovie Create (8.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15185
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15186
|
+
[1m[35mMovie Create (7.3ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15187
|
+
[1m[36mMovie Update (3.7ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15188
|
+
[1m[35mMovie Create (8.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15189
|
+
[1m[36mMovie Update (2.3ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15190
|
+
[1m[35mMovie Create (9.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15191
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15192
|
+
[1m[35mActor Create (2.4ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15193
|
+
[1m[36mActor Create (1.8ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15194
|
+
[1m[35mActor Load (2.0ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}
|
15195
|
+
[1m[36mActor Load (1.8ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
15196
|
+
[1m[35mMovie Create (7.3ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15197
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15198
|
+
[1m[35mMovie Create (7.8ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15199
|
+
[1m[36mMovie Update (2.1ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15200
|
+
[1m[35mActor Create (1.7ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15201
|
+
[1m[36mActor Create (1.6ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15202
|
+
[1m[35mMontageRails::BaseTest::TestClass Load (1.9ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15203
|
+
[1m[36mActor Load (1.3ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
15204
|
+
[1m[35mMovie Create (6.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15205
|
+
[1m[36mMovie Update (1.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15206
|
+
[1m[35mMovie Create (7.9ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15207
|
+
[1m[36mMovie Update (2.3ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15208
|
+
[1m[35mMovie Create (2.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15209
|
+
[1m[36mMovie Load (3.6ms)[0m [1m#<MontageRails::Relation:0x007f8b921716d0>[0m
|
15210
|
+
[1m[35mMovie Create (10.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15211
|
+
[1m[36mMovie Update (3.4ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15212
|
+
[1m[35mMovie Create (8.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15213
|
+
[1m[36mMovie Update (4.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15214
|
+
[1m[35mActor Create (2.3ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15215
|
+
[1m[36mActor Create (1.8ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15216
|
+
[1m[35mMontageRails::BaseTest::TestClass Load (1.8ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15217
|
+
[1m[36mMovie Create (8.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15218
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15219
|
+
[1m[36mMovie Create (10.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15220
|
+
[1m[35mMovie Update (2.6ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15221
|
+
[1m[36mMovie Create (11.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15222
|
+
[1m[35mMovie Update (3.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15223
|
+
[1m[36mMovie Create (11.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15224
|
+
[1m[35mMovie Update (2.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15225
|
+
[1m[36mMovie Create (7.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15226
|
+
[1m[35mMovie Update (2.7ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15227
|
+
[1m[36mActor Create (1.9ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15228
|
+
[1m[35mActor Create (1.7ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15229
|
+
[1m[36mActor Load (1.6ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}[0m
|
15230
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15231
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
15232
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
15233
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
15234
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15235
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
15236
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15237
|
+
[1m[36mMovie Load (11.1ms)[0m [1m{:filter=>{}}[0m
|
15238
|
+
[1m[35mMovie Load (3.1ms)[0m #<MontageRails::Relation:0x007f8dab431d28>
|
15239
|
+
[1m[36mMovie Create (7.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15240
|
+
[1m[35mMovie Update (2.7ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15241
|
+
[1m[36mMovie Create (7.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15242
|
+
[1m[35mMovie Update (4.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15243
|
+
[1m[36mMovie Create (7.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15244
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15245
|
+
[1m[36mMovie Create (6.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15246
|
+
[1m[35mMovie Update (1.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15247
|
+
[1m[36mMovie Create (7.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15248
|
+
[1m[35mMovie Update (3.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15249
|
+
[1m[36mMovie Create (7.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15250
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15251
|
+
[1m[36mActor Create (14.0ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15252
|
+
[1m[35mActor Create (1.8ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15253
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (1.6ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15254
|
+
[1m[35mMovie Create (10.1ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15255
|
+
[1m[36mMovie Update (2.4ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15256
|
+
[1m[35mMovie Create (9.0ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15257
|
+
[1m[36mMovie Update (2.6ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15258
|
+
[1m[35mMovie Load (2.3ms)[0m #<MontageRails::Relation:0x007f8da663e260>
|
15259
|
+
[1m[36mMovie Create (8.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15260
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15261
|
+
[1m[36mActor Create (3.5ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15262
|
+
[1m[35mActor Create (3.1ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15263
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (2.0ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15264
|
+
[1m[35mActor Load (3.6ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
15265
|
+
[1m[36mMovie Create (7.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15266
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15267
|
+
[1m[36mMovie Create (7.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15268
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15269
|
+
[1m[36mMovie Create (6.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15270
|
+
[1m[35mMovie Update (3.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15271
|
+
[1m[36mActor Create (2.3ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15272
|
+
[1m[35mActor Create (1.9ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15273
|
+
[1m[36mActor Load (1.6ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}[0m
|
15274
|
+
[1m[35mMovie Create (6.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15275
|
+
[1m[36mMovie Update (2.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15276
|
+
[1m[35mMovie Create (7.3ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15277
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15278
|
+
[1m[35mMovie Create (8.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15279
|
+
[1m[36mMovie Update (2.2ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15280
|
+
[1m[35mActor Create (1.9ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15281
|
+
[1m[36mActor Create (3.0ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15282
|
+
[1m[35mActor Load (2.1ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}
|
15283
|
+
[1m[36mActor Load (1.9ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
15284
|
+
[1m[35mMovie Create (8.0ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15285
|
+
[1m[36mMovie Update (2.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15286
|
+
[1m[35mMovie Create (7.0ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15287
|
+
[1m[36mMovie Update (1.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15288
|
+
[1m[35mMovie Create (8.5ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15289
|
+
[1m[36mMovie Update (2.6ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15290
|
+
[1m[35mMovie Create (7.7ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15291
|
+
[1m[36mMovie Update (3.7ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15292
|
+
[1m[35mMovie Create (2.7ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15293
|
+
[1m[36mMovie Create (7.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15294
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15295
|
+
[1m[36mMovie Load (5.7ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15296
|
+
[1m[35mStudio Create (4.2ms)[0m {:name=>"Universal"}
|
15297
|
+
[1m[36mStudio Load (2.5ms)[0m [1m19442e09-5c2d-4e5d-8f34-675570e81414[0m
|
15298
|
+
[1m[35mStudio Load (2.1ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15299
|
+
[1m[36mMovie Create (7.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15300
|
+
[1m[35mMovie Update (3.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15301
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15302
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
15303
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
15304
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
15305
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15306
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
15307
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15308
|
+
[1m[36mMovie Create (10.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15309
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15310
|
+
[1m[36mMovie Create (6.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15311
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15312
|
+
[1m[36mMovie Create (6.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15313
|
+
[1m[35mMovie Update (2.5ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15314
|
+
[1m[36mMovie Create (7.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15315
|
+
[1m[35mMovie Update (4.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15316
|
+
[1m[36mMovie Load (2.2ms)[0m [1m{:filter=>{}}[0m
|
15317
|
+
[1m[35mMovie Create (7.0ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15318
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15319
|
+
[1m[35mMovie Create (6.5ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15320
|
+
[1m[36mMovie Update (1.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15321
|
+
[1m[35mMovie Create (6.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15322
|
+
[1m[36mMovie Update (1.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15323
|
+
[1m[35mMovie Create (10.1ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15324
|
+
[1m[36mMovie Update (2.7ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15325
|
+
[1m[35mActor Create (4.8ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15326
|
+
[1m[36mActor Create (2.2ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15327
|
+
[1m[35mActor Load (2.4ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}
|
15328
|
+
[1m[36mActor Load (1.8ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
15329
|
+
[1m[35mMovie Create (8.5ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15330
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15331
|
+
[1m[35mMovie Create (2.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15332
|
+
[1m[36mMovie Create (6.9ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15333
|
+
[1m[35mMovie Update (1.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15334
|
+
[1m[36mMovie Load (2.3ms)[0m [1m#<MontageRails::Relation:0x007fcc83412538>[0m
|
15335
|
+
[1m[35mMovie Load (2.7ms)[0m #<MontageRails::Relation:0x007fcc889c2b90>
|
15336
|
+
[1m[36mMovie Create (9.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15337
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15338
|
+
[1m[36mMovie Create (6.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15339
|
+
[1m[35mMovie Update (3.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15340
|
+
[1m[36mMovie Create (7.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15341
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15342
|
+
[1m[36mActor Create (1.7ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15343
|
+
[1m[35mActor Create (1.6ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15344
|
+
[1m[36mActor Load (3.3ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}[0m
|
15345
|
+
[1m[35mMovie Create (6.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15346
|
+
[1m[36mMovie Update (1.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15347
|
+
[1m[35mMovie Create (9.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15348
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15349
|
+
[1m[35mMovie Update (3.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>900, :year=>1983}
|
15350
|
+
[1m[36mMovie Create (8.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15351
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15352
|
+
[1m[36mMovie Create (10.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15353
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15354
|
+
[1m[36mActor Create (4.2ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15355
|
+
[1m[35mActor Create (2.3ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15356
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (1.9ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15357
|
+
[1m[35mMovie Create (9.1ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15358
|
+
[1m[36mMovie Update (2.1ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15359
|
+
[1m[35mMovie Load (6.7ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15360
|
+
[1m[36mStudio Create (1.8ms)[0m [1m{:name=>"Universal"}[0m
|
15361
|
+
[1m[35mStudio Load (1.7ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15362
|
+
[1m[36mStudio Load (2.7ms)[0m [1m19442e09-5c2d-4e5d-8f34-675570e81414[0m
|
15363
|
+
[1m[35mMovie Create (7.8ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15364
|
+
[1m[36mMovie Update (2.1ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15365
|
+
[1m[35mMovie Create (8.8ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15366
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15367
|
+
[1m[35mActor Create (1.8ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15368
|
+
[1m[36mActor Create (3.1ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15369
|
+
[1m[35mMontageRails::BaseTest::TestClass Load (1.7ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15370
|
+
[1m[36mActor Load (1.4ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}[0m
|
15371
|
+
[1m[35mMovie Create (7.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15372
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15373
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15374
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
15375
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
15376
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
15377
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15378
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
15379
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15380
|
+
[1m[36mMovie Create (7.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15381
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15382
|
+
[1m[36mMovie Create (7.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15383
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15384
|
+
[1m[36mMovie Create (7.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15385
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15386
|
+
[1m[36mMovie Create (8.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15387
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15388
|
+
[1m[36mActor Create (4.3ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15389
|
+
[1m[35mActor Create (2.2ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15390
|
+
[1m[36mActor Load (2.1ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}[0m
|
15391
|
+
[1m[35mActor Load (1.4ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
15392
|
+
[1m[36mMovie Create (7.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15393
|
+
[1m[35mMovie Update (2.7ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15394
|
+
[1m[36mMovie Create (7.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15395
|
+
[1m[35mMovie Update (2.6ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15396
|
+
[1m[36mMovie Load (6.9ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15397
|
+
[1m[35mStudio Create (2.1ms)[0m {:name=>"Universal"}
|
15398
|
+
[1m[36mStudio Load (2.1ms)[0m [1m19442e09-5c2d-4e5d-8f34-675570e81414[0m
|
15399
|
+
[1m[35mStudio Load (1.3ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15400
|
+
[1m[36mMovie Create (10.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15401
|
+
[1m[35mMovie Update (2.5ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15402
|
+
[1m[36mMovie Create (11.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15403
|
+
[1m[35mMovie Update (3.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15404
|
+
[1m[36mMovie Create (8.7ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15405
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15406
|
+
[1m[36mActor Create (1.9ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15407
|
+
[1m[35mActor Create (3.5ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15408
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (2.0ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15409
|
+
[1m[35mActor Load (1.5ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
15410
|
+
[1m[36mMovie Create (7.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15411
|
+
[1m[35mMovie Update (2.4ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15412
|
+
[1m[36mMovie Create (2.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15413
|
+
[1m[35mMovie Create (8.1ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15414
|
+
[1m[36mMovie Update (3.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15415
|
+
[1m[35mMovie Create (7.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15416
|
+
[1m[36mMovie Update (1.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15417
|
+
[1m[35mMovie Create (7.4ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15418
|
+
[1m[36mMovie Update (2.8ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15419
|
+
[1m[35mMovie Load (3.0ms)[0m #<MontageRails::Relation:0x007fe990390e50>
|
15420
|
+
[1m[36mMovie Create (9.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15421
|
+
[1m[35mMovie Update (2.5ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15422
|
+
[1m[36mActor Create (1.7ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15423
|
+
[1m[35mActor Create (1.5ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15424
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (2.0ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15425
|
+
[1m[35mMovie Create (8.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15426
|
+
[1m[36mMovie Update (2.7ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15427
|
+
[1m[35mMovie Create (9.9ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15428
|
+
[1m[36mMovie Update (2.1ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15429
|
+
[1m[35mMovie Update (2.6ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>900, :year=>1983}
|
15430
|
+
[1m[36mMovie Load (2.2ms)[0m [1m{:filter=>{}}[0m
|
15431
|
+
[1m[35mMovie Create (9.9ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15432
|
+
[1m[36mMovie Update (3.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15433
|
+
[1m[35mMovie Create (7.8ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15434
|
+
[1m[36mMovie Update (2.1ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15435
|
+
[1m[35mMovie Create (10.9ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15436
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15437
|
+
[1m[35mActor Create (3.8ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15438
|
+
[1m[36mActor Create (2.2ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15439
|
+
[1m[35mActor Load (1.8ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}
|
15440
|
+
[1m[36mMovie Create (7.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15441
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15442
|
+
[1m[36mMovie Create (7.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15443
|
+
[1m[35mMovie Update (3.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15444
|
+
[1m[36mMovie Load (4.1ms)[0m [1m#<MontageRails::Relation:0x007fe988b164c0>[0m
|
15445
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
15446
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
15447
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
15448
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
15449
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
15450
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
15451
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15453
|
+
-------------------------------------------------------------------------------------------------
|
15454
|
+
MontageRailsTest: test_: .configure should require a username and password if no token is given.
|
15455
|
+
-------------------------------------------------------------------------------------------------
|
15456
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15457
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15458
|
+
----------------------------------------------------------------------------------------------------
|
15459
|
+
MontageRailsTest: test_: .configure should not require a username and password if a token is given.
|
15460
|
+
----------------------------------------------------------------------------------------------------
|
15461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15463
|
+
-------------------------------------------------------------
|
15464
|
+
MontageRailsTest: test_: .configure should require a domain.
|
15465
|
+
-------------------------------------------------------------
|
15466
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15468
|
+
---------------------------------------------------------------------------------------------------------------
|
15469
|
+
MontageRailsTest: test_: .configure should call the auth method and retrieve the token if it has not been set.
|
15470
|
+
---------------------------------------------------------------------------------------------------------------
|
15471
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15473
|
+
---------------------------------------------------------------------------------------
|
15474
|
+
MontageRailsTest: test_: .configure should raise an exception if authentication fails.
|
15475
|
+
---------------------------------------------------------------------------------------
|
15476
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15478
|
+
-------------------------------------------------------------------------------------------
|
15479
|
+
MontageRailsTest: test_: .configure should accept a username, password, token, and domain.
|
15480
|
+
-------------------------------------------------------------------------------------------
|
15481
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15482
|
+
[1m[36mfoo Load (0.1ms)[0m [1mbar[0m
|
15483
|
+
[1m[35mfoo Load [CACHE] (0.0ms)[0m bar
|
15484
|
+
[1m[36mfoo Load (0.1ms)[0m [1mbar[0m
|
15485
|
+
[1m[35mfoo Load (0.0ms)[0m bar
|
15486
|
+
[1m[36mfoo Load (0.0ms)[0m [1mbar[0m
|
15487
|
+
[1m[35mMovie Load (9.5ms)[0m {:filter=>{:title=>"The Jerk"}, :pluck=>["title"]}
|
15488
|
+
[1m[36mMovie Load (7.4ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15489
|
+
[1m[35mfoo Load (0.0ms)[0m bar
|
15490
|
+
[1m[36mMovie Load (2.3ms)[0m [1m{:filter=>{:title=>"Foo"}}[0m
|
15491
|
+
[1m[35mMovie Load (4.0ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15492
|
+
[1m[36mMovie Load (1.8ms)[0m [1m{:filter=>{:votes__gt=>900000}}[0m
|
15493
|
+
[1m[35mMovie Load (5.5ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15494
|
+
[1m[36mMovie Load (2.1ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15495
|
+
[1m[35mMovie Load (5.5ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15496
|
+
[1m[36mMovie Load (1.4ms)[0m [1m{:filter=>{:votes__gt=>900000}}[0m
|
15497
|
+
[1m[35mMovie Load (2.8ms)[0m {:filter=>{:title=>"The Jerk"}}
|
15498
|
+
[1m[36mMovie Create (8.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15499
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15500
|
+
[1m[36mMovie Create (7.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15501
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15502
|
+
[1m[36mMovie Create (9.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15503
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15504
|
+
[1m[36mMovie Create (7.0ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15505
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15506
|
+
[1m[36mMovie Create (8.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15507
|
+
[1m[35mMovie Update (2.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15508
|
+
[1m[36mMovie Create (9.3ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15509
|
+
[1m[35mMovie Update (2.7ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15510
|
+
[1m[36mMovie Create (8.5ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15511
|
+
[1m[35mMovie Update (2.5ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15512
|
+
[1m[36mMovie Create (7.2ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15513
|
+
[1m[35mMovie Update (2.6ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15514
|
+
[1m[36mMovie Create (8.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15515
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15516
|
+
[1m[36mMovie Create (7.8ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15517
|
+
[1m[35mMovie Update (2.2ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15518
|
+
[1m[36mMovie Create (7.9ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15519
|
+
[1m[35mMovie Update (2.3ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15520
|
+
[1m[36mMovie Create (7.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15521
|
+
[1m[35mMovie Update (2.5ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15522
|
+
[1m[36mActor Create (2.8ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15523
|
+
[1m[35mActor Create (2.1ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15524
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (1.9ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15525
|
+
[1m[35mActor Load (2.6ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
15526
|
+
[1m[36mMovie Create (7.1ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15527
|
+
[1m[35mMovie Update (2.1ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15528
|
+
[1m[36mMovie Update (1.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>900, :year=>1983}[0m
|
15529
|
+
[1m[35mMovie Create (6.6ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15530
|
+
[1m[36mMovie Update (2.0ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15531
|
+
[1m[35mMovie Create (6.3ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15532
|
+
[1m[36mMovie Update (1.9ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15533
|
+
[1m[35mMovie Create (2.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15534
|
+
[1m[36mMovie Create (11.4ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15535
|
+
[1m[35mMovie Update (2.8ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15536
|
+
[1m[36mActor Create (2.4ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15537
|
+
[1m[35mActor Create (2.5ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15538
|
+
[1m[36mActor Load (1.8ms)[0m [1m{:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}}[0m
|
15539
|
+
[1m[35mActor Load (1.5ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e"}, :limit=>1}
|
15540
|
+
[1m[36mMovie Load (3.6ms)[0m [1m{:filter=>{}}[0m
|
15541
|
+
[1m[35mMovie Load (4.4ms)[0m #<MontageRails::Relation:0x007fa1111c7348>
|
15542
|
+
[1m[36mMovie Create (11.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15543
|
+
[1m[35mMovie Update (3.9ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15544
|
+
[1m[36mActor Create (3.4ms)[0m [1m{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}[0m
|
15545
|
+
[1m[35mActor Create (2.9ms)[0m {:movie_id=>nil, :name=>"Mark Hamill"}
|
15546
|
+
[1m[36mMontageRails::BaseTest::TestClass Load (2.2ms)[0m [1m{:filter=>{:title=>"The Jerk"}, :limit=>1}[0m
|
15547
|
+
[1m[35mMovie Load (7.6ms)[0m {:filter=>{:title=>"The Jerk"}, :limit=>1}
|
15548
|
+
[1m[36mStudio Create (2.4ms)[0m [1m{:name=>"Universal"}[0m
|
15549
|
+
[1m[35mStudio Load (2.2ms)[0m 19442e09-5c2d-4e5d-8f34-675570e81414
|
15550
|
+
[1m[36mStudio Load (1.9ms)[0m [1m19442e09-5c2d-4e5d-8f34-675570e81414[0m
|
15551
|
+
[1m[35mMovie Create (10.8ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15552
|
+
[1m[36mMovie Update (2.5ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15553
|
+
[1m[35mMovie Create (11.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15554
|
+
[1m[36mMovie Update (2.4ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15555
|
+
[1m[35mMovie Create (7.2ms)[0m {:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}
|
15556
|
+
[1m[36mMovie Update (4.1ms)[0m [1m69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}[0m
|
15557
|
+
[1m[35mActor Create (2.4ms)[0m {:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}
|
15558
|
+
[1m[36mActor Create (1.9ms)[0m [1m{:movie_id=>nil, :name=>"Mark Hamill"}[0m
|
15559
|
+
[1m[35mActor Load (1.7ms)[0m {:filter=>{:movie_id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :name=>"Steve Martin"}, :limit=>1}
|
15560
|
+
[1m[36mMovie Create (7.6ms)[0m [1m{:studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>500, :year=>1983}[0m
|
15561
|
+
[1m[35mMovie Update (2.0ms)[0m 69cc93af-1f0e-43bc-ac9a-19117111978e: {:id=>"69cc93af-1f0e-43bc-ac9a-19117111978e", :studio_id=>"19442e09-5c2d-4e5d-8f34-675570e81414", :rank=>4, :rating=>2.0, :title=>"The Jerk", :votes=>600, :year=>1983}
|
15562
|
+
[1m[36mMovie Load (3.1ms)[0m [1m#<MontageRails::Relation:0x007fa1148121f0>[0m
|
@@ -113,7 +113,7 @@ class MontageRails::BaseTest < MiniTest::Test
|
|
113
113
|
@movie.after_create_var = nil
|
114
114
|
@movie.after_save_var = nil
|
115
115
|
|
116
|
-
@movie.votes =
|
116
|
+
@movie.votes = 900
|
117
117
|
@movie.save
|
118
118
|
|
119
119
|
assert_nil @movie.after_create_var
|
@@ -345,6 +345,14 @@ class MontageRails::BaseTest < MiniTest::Test
|
|
345
345
|
assert !@movie.persisted?
|
346
346
|
end
|
347
347
|
end
|
348
|
+
|
349
|
+
should "not save anything if attributes haven't changed" do
|
350
|
+
@movie = Movie.create(MontageRails::MovieResource.to_hash)
|
351
|
+
|
352
|
+
Movie.connection.expects(:create_or_update_documents).never
|
353
|
+
|
354
|
+
@movie.save
|
355
|
+
end
|
348
356
|
end
|
349
357
|
|
350
358
|
context "#update_attributes" do
|
@@ -408,4 +416,20 @@ class MontageRails::BaseTest < MiniTest::Test
|
|
408
416
|
end
|
409
417
|
end
|
410
418
|
end
|
419
|
+
|
420
|
+
context "#dirty?" do
|
421
|
+
should "return true if the model is dirty" do
|
422
|
+
@movie = Movie.new(MontageRails::MovieResource.to_hash)
|
423
|
+
|
424
|
+
@movie.title = "FOOOOOBar"
|
425
|
+
|
426
|
+
assert @movie.dirty?
|
427
|
+
end
|
428
|
+
|
429
|
+
should "return false if the model is not dirty" do
|
430
|
+
@movie = Movie.new(MontageRails::MovieResource.to_hash)
|
431
|
+
|
432
|
+
refute @movie.dirty?
|
433
|
+
end
|
434
|
+
end
|
411
435
|
end
|
@@ -56,6 +56,20 @@ module MontageRails
|
|
56
56
|
]
|
57
57
|
end
|
58
58
|
|
59
|
+
def self.update_votes
|
60
|
+
[
|
61
|
+
{
|
62
|
+
id: "69cc93af-1f0e-43bc-ac9a-19117111978e",
|
63
|
+
studio_id: "19442e09-5c2d-4e5d-8f34-675570e81414",
|
64
|
+
rank: 4,
|
65
|
+
rating: 2.0,
|
66
|
+
title: "The Jerk",
|
67
|
+
votes: 900,
|
68
|
+
year: 1983
|
69
|
+
}
|
70
|
+
]
|
71
|
+
end
|
72
|
+
|
59
73
|
def self.save_response
|
60
74
|
{
|
61
75
|
data: [
|
@@ -96,6 +110,26 @@ module MontageRails
|
|
96
110
|
}
|
97
111
|
end
|
98
112
|
|
113
|
+
def self.update_votes_response
|
114
|
+
{
|
115
|
+
data: [
|
116
|
+
{
|
117
|
+
votes: 900,
|
118
|
+
_meta: {
|
119
|
+
modified: "2015-04-20T18:39:47.751Z",
|
120
|
+
created: "2015-04-20T18:39:47.751Z"
|
121
|
+
},
|
122
|
+
rating: 2.0,
|
123
|
+
year: 1983,
|
124
|
+
id: "69cc93af-1f0e-43bc-ac9a-19117111978e",
|
125
|
+
title:"The Jerk",
|
126
|
+
rank: 4,
|
127
|
+
studio_id: "19442e09-5c2d-4e5d-8f34-675570e81414"
|
128
|
+
}
|
129
|
+
]
|
130
|
+
}
|
131
|
+
end
|
132
|
+
|
99
133
|
def self.movie_query
|
100
134
|
{
|
101
135
|
filter: {
|
data/test/test_helper.rb
CHANGED
@@ -78,6 +78,14 @@ class MiniTest::Test
|
|
78
78
|
headers: { 'Content-Type' => 'application/json' }
|
79
79
|
)
|
80
80
|
|
81
|
+
# Stub the update movie request for votes only
|
82
|
+
#
|
83
|
+
stub_request(:post, "http://testco.dev.montagehot.club/api/v1/schemas/movies/save/").
|
84
|
+
with(body: MontageRails::MovieResource.update_votes.to_json, headers: @@default_headers).to_return(
|
85
|
+
body: MontageRails::MovieResource.update_votes_response.to_json,
|
86
|
+
headers: { 'Content-Type' => 'application/json' }
|
87
|
+
)
|
88
|
+
|
81
89
|
# Stub the request for getting the actor schema definition
|
82
90
|
#
|
83
91
|
stub_request(:get, "http://testco.dev.montagehot.club/api/v1/schemas/actors/")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: montage_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dphaener
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '0.4'
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.4.
|
42
|
+
version: 0.4.9
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '0.4'
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.4.
|
52
|
+
version: 0.4.9
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: json
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|