Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2221ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4841ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9580ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0061ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0531ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9431ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9288ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1568ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4612ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9279ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (37.2241ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7670ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9660ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0269ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2009ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6480ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8399ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1210ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9078ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1039ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2050ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3220ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6721ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2150ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0531ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2162ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7961ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2069ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3509ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3330ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3182ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (20.5629ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (4.8800ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3020ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1621ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.8510ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2131ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8430ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1971ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7241ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0049ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1079ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1977ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5461ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2480ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4012ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8218ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8550ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3179ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3871ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0602ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7353ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5619ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7319ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5528ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8330ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2641ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7639ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9580ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2479ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7670ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0010ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2231ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (30.7288ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9220ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6921ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5371ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7231ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1520ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5061ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2062ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8730ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8469ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0680ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2059ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2810ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2748ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2600ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0769ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1940ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6550ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7920ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3429ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3440ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0047ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8624ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4369ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6787ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5428ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3771ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1168ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9620ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2710ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3561ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8819ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1871ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0424ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5402ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3223ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8098ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1971ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1137ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (30.9000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9539ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3468ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8850ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8680ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3871ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6560ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4920ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3901ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5800ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5409ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0328ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1648ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0760ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7041ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8749ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2779ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7808ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6232ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8907ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7050ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0056ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6409ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5073ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9499ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0738ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1559ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5662ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8497ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5911ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3881ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9171ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1029ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0800ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1113ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8299ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2379ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1150ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0509ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5821ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2209ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8668ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3448ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1041ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7109ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9851ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0039ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1089ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (29.9473ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1342ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1169ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1268ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1970ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1227ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3308ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2202ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2137ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1988ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1811ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6742ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9222ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.7499ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9007ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2352ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3218ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1911ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2858ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0399ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2250ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5711ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1852ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0121ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9352ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1272ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0862ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1760ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4358ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0809ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1809ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4160ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2690ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5862ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4772ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3580ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1989ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2059ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2700ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2820ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6050ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7312ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (29.7830ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7751ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1298ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3390ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2161ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2407ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3422ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2851ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3119ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2550ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8930ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0259ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5322ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2610ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2080ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3938ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5121ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2491ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3308ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3130ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1158ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8652ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2180ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9279ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5857ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4348ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1127ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3590ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2328ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3468ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2867ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4930ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6591ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3280ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8129ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7961ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2591ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8712ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.9820ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0509ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7739ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9889ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6599ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4060ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5521ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8268ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1091ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6342ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6999ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0521ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1560ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1590ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5249ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6609ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3890ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5650ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1129ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2970ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7312ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1101ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7939ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8378ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6792ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0853ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7898ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6850ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4128ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6852ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2770ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0738ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9939ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1129ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0921ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5900ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0729ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6740ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7438ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1132ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1310ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4131ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0349ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8481ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1580ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1949ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2729ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9331ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3041ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8032ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0021ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.6589ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9250ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9770ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5788ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8750ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8370ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9458ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4621ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0190ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8943ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4348ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9220ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9109ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2059ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6959ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9851ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7810ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9439ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0652ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0641ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7328ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3807ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1458ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4470ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7819ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0161ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9188ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1511ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7049ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9820ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0669ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2400ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0738ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4131ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0239ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0734ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9822ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1158ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0061ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2360ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5390ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0681ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1839ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1618ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7939ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0650ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1229ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0700ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9031ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1480ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5320ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5152ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9007ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9091ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0001ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2338ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2380ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1339ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (30.6809ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9930ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4059ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4739ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7338ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7019ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6799ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1082ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4471ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4563ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8978ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1520ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 15:42:49 +0300  (0.1ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 12:42:49 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 12:42:49 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 15:42:49 +0300  (1.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0052ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7710ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1380ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9439ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9220ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7379ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6840ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2109ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6768ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0738ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9598ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0612ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0118ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6621ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0669ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1239ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5229ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4849ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (43.2320ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6552ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7343ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1761ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4779ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2419ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6059ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0900ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3232ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0250ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0568ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1230ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3771ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1610ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3959ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0761ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2419ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9813ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0729ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3308ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3731ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0533ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3289ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0061ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0831ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2168ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6646ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1591ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2412ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1060ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7770ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5109ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2689ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2931ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5397ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2941ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3387ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8060ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0741ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0922ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7992ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8929ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9748ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0387ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1289ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0130ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6030ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1511ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6421ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9742ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7050ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7250ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1561ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8997ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0049ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0909ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0960ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1280ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6149ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6430ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0140ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6800ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5700ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9661ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4658ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6480ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9681ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0710ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2562ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3688ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8449ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7648ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.8360ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1499ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7509ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0409ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3491ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4138ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (3.1571ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2281ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0471ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6859ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5311ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0879ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8442ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1320ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8868ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9370ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9729ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9742ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7772ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2572ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9532ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6568ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8523ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2059ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2609ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (30.0708ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9062ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7250ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4222ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9038ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2758ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5459ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0560ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8160ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0698ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0171ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9537ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5428ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (37.3902ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1770ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3278ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0791ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7761ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9450ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6630ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1110ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0450ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3487ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4110ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3611ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2832ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0070ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2059ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1437ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6649ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1939ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0149ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8214ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1861ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6394ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4880ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9947ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8340ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6912ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1622ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3561ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0712ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7071ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0518ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3337ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8589ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8178ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6787ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9344ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8611ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3549ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0940ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3430ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0089ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9181ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1849ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0740ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8628ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7081ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7839ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0299ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2839ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0519ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9970ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2522ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (3.0200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.2470ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2581ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0512ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3361ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8497ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8632ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7448ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3122ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4143ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1479ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2398ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9798ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1749ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3030ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1629ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4391ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5520ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2521ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8750ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2169ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7949ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1229ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2701ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1031ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5519ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2910ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8370ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8928ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1799ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8229ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0538ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5730ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3351ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1659ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7958ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2810ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3990ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0013ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0571ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (29.4499ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8538ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8733ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3630ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.7909ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5616ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7362ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9439ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3890ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1799ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2443ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9639ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3491ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3273ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2352ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6201ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6628ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0519ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6380ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8931ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6431ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0619ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6859ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2710ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1451ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1578ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1210ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2360ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1380ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9358ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5280ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1158ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3019ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0738ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1122ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0068ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8187ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6630ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5700ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0490ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9431ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0371ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8721ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1380ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2519ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4381ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0700ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.3170ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8911ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7099ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 14:23:38 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 14:23:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'jpl6cfEytL5w5znPR6z5' LIMIT 1 SQLite3::SQLException: no such column: assets.public_token: SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'jpl6cfEytL5w5znPR6z5' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (1.0ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3380ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9290ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6618ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6961ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7679ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3371ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6308ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9868ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9878ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3282ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0262ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6341ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8268ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9231ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0440ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1689ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1079ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1289ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6750ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6932ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6771ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0883ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (29.8083ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0821ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0827ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0109ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7081ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1491ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1139ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9910ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0471ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8561ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0679ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9131ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1070ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0130ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1060ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8531ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9179ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4398ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2579ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0220ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3969ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7562ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3092ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7221ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0369ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.9290ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2219ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9500ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2348ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1970ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2710ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8339ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1830ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1720ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2679ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3003ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3497ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0087ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3251ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3559ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.9502ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6098ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.7971ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4160ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6731ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8521ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6811ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9758ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3618ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.5378ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1820ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2918ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4309ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4329ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8270ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5922ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7500ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9880ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3348ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9281ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0378ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1839ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4601ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0512ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0898ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3868ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3509ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5068ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8299ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5599ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0648ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1001ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2007ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1191ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3163ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4559ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1110ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4912ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4212ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4168ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4367ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2012ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9201ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5392ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.5330ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5940ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4338ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6949ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5180ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8151ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2271ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2750ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6181ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0819ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9591ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0357ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3001ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6392ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9208ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9127ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8001ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7150ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0319ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6459ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0821ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0991ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4973ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1630ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6310ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4071ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3332ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2399ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7080ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1351ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6669ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4780ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0040ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6690ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1229ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3490ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9029ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6690ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1849ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3270ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4520ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3799ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5712ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8499ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2128ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6341ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7460ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5850ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8299ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.4836ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9441ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8539ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2958ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6391ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7548ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9791ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3318ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.7080ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4310ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0270ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7767ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8387ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1930ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2678ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2894ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7490ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9499ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5340ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0350ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6170ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0087ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1482ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8159ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9909ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8471ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0772ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7553ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1518ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8912ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3468ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3521ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5261ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7763ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.8360ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6561ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1580ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8471ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2722ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3111ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1868ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1823ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (29.1080ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1559ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0183ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8159ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4929ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9651ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1783ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8130ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2863ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8488ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0378ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1942ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9820ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3638ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9429ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8797ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0049ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1400ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3452ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6401ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5781ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2729ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0600ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4739ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8302ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0058ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8261ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4920ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4012ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6822ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4820ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2268ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0390ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7181ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1403ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1551ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (29.5050ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7901ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8261ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7110ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2341ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6640ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1542ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7141ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9598ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0338ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9952ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6678ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0800ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7751ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3640ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8888ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0610ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6762ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0269ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8373ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2131ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7422ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6880ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1411ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3859ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7792ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7300ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7732ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1652ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7219ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1621ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6897ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1830ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8519ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3340ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7188ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0898ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7198ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0159ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7370ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9339ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7210ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2369ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1690ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1227ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9720ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2889ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8273ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3919ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1368ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5340ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7679ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1311ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7501ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (32.8250ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8681ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3900ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2288ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7730ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8991ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.5691ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0219ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6351ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9701ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6142ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1339ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8211ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9427ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6111ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8378ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1828ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9210ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0948ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6421ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6758ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6399ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8237ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6189ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9968ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7632ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2360ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4400ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0018ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6487ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2369ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7071ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9201ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7031ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1683ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6549ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2732ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0359ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6452ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9398ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7622ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9389ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6626ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0559ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5099ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4281ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8492ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9689ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9570ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9630ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8922ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2569ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5230ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8339ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4782ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1001ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (30.4809ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3289ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5430ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7181ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0652ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9231ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 17:26:39 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.3ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'NjD6cfsCqpxKBB8S0q0m' LIMIT 1 SQLite3::SQLException: no such column: assets.public_token: SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'NjD6cfsCqpxKBB8S0q0m' LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 14:26:39 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 14:26:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.3ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'gQFNOLTO7tamTKjxXy8x' LIMIT 1 SQLite3::SQLException: no such column: assets.public_token: SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'gQFNOLTO7tamTKjxXy8x' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 14:26:39 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 14:26:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.3ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '1eXdYwqhrFCl1wtKcLiU' LIMIT 1 SQLite3::SQLException: no such column: assets.public_token: SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '1eXdYwqhrFCl1wtKcLiU' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 17:26:39 +0300  (1.3ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9811ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3478ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6878ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9422ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8073ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5638ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0848ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9971ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7141ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9692ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6878ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4999ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9031ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2822ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8950ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1320ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8137ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5049ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8781ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4910ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4060ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0061ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8121ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1508ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7951ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (42.0780ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7470ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9098ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9580ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1587ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6533ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2529ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1210ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1522ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3990ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9990ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0622ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6788ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0171ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6869ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2639ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6871ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0271ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6919ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3522ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2860ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0786ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7138ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0791ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8821ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1299ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7300ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0962ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0450ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6883ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4672ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8221ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0841ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7041ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8221ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8468ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.0373ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9110ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6170ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2433ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2701ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.8291ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0347ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9480ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9129ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5931ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9952ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9511ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6196ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8681ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6299ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5609ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8242ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1510ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0750ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1320ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6402ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8449ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0788ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0500ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6449ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0209ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6578ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9680ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6611ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9763ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7010ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0020ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0829ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9711ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7639ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9170ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9739ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9873ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1590ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7391ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3089ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7429ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0970ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6881ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2500ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8590ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4257ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0710ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1032ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1089ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0610ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9060ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3912ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9129ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2512ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5101ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3270ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7780ms) Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer NOT NULL, "assetable_type" varchar(25) NOT NULL, "type" varchar(25), "guid" varchar(20), "public_token" varchar(20), "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) PRAGMA index_list("assets")  (0.1ms) CREATE INDEX "index_assets_on_assetable_type_and_assetable_id" ON "assets" ("assetable_type", "assetable_id")  (0.0ms) PRAGMA index_list("assets")  (0.0ms) PRAGMA index_info('index_assets_on_assetable_type_and_assetable_id')  (0.1ms) CREATE INDEX "index_assets_on_user_id" ON "assets" ("user_id")  (0.0ms) PRAGMA index_list("assets")  (0.0ms) PRAGMA index_info('index_assets_on_user_id')  (0.0ms) PRAGMA index_info('index_assets_on_assetable_type_and_assetable_id')  (0.1ms) CREATE INDEX "index_assets_on_public_token" ON "assets" ("public_token")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120508093416')  (1.7ms) commit transaction Migrating to CreateArticles (20120508093830)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120508093830')  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 14:40:07 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 14:40:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'jCAGHiSs3OS9vy3VnZOY' LIMIT 1 SQL (0.8ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 14:40:07 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "jCAGHiSs3OS9vy3VnZOY"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 14:40:07 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' SQL (0.3ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'jQy7fcVrCjt04tTZWnlP' AND "assets"."assetable_type" = 'Article'  (2.0ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1100ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7451ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6196ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2732ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6528ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4579ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6962ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3959ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9291ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6421ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5931ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1179ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0850ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0831ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1350ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1637ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0569ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6809ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9290ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3912ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2182ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3621ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5960ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1201ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2290ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2910ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0703ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8161ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0759ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6572ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2867ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8868ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4079ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8938ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1990ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9699ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1120ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1191ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9069ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7939ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0359ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7410ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5023ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6811ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5340ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1580ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7763ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1210ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0068ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (34.5297ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0698ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1861ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9942ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2269ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8750ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2741ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2369ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1230ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9620ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2243ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5440ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2822ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1489ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2503ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0638ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9248ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1551ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8311ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1620ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3008ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2752ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2550ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8251ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7937ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1990ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8190ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6071ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3900ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0421ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2629ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2238ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8502ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6622ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5061ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3949ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6639ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (3.0799ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5979ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9808ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3199ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (30.4840ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8659ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5420ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4040ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5909ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6861ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9441ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1732ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4520ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2233ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3900ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9562ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3587ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9040ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9699ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4620ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8640ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.7828ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6289ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6980ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1671ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1281ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3959ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (3.0091ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6389ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4819ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3280ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7412ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7762ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1561ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8392ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0178ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1420ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6638ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0502ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6590ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2371ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4431ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2030ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1320ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.8491ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.3919ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5948ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1020ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1052ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2488ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5433ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9511ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0080ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0641ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2249ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0970ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1732ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0769ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0960ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7350ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6603ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2691ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9789ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7989ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8899ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3812ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7998ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2808ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0921ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1714ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0860ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8318ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0249ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2643ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4400ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3850ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1679ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1921ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.9168ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2202ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1503ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3030ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7469ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1420ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4021ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6699ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3318ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0300ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3890ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2762ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4830ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0269ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1880ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7362ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (26.9189ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9949ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1069ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5900ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.7850ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0339ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8291ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2021ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6022ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0161ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6026ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8302ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9679ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9739ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2162ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7801ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9310ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1609ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.6309ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3390ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3470ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4731ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3330ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9920ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3692ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5981ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0049ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7588ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8280ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2838ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6959ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6930ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3609ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0753ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0612ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4161ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4100ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1648ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1630ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0177ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (31.4288ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1489ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9589ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3330ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9429ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (3.1190ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6551ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4727ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9053ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2832ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8569ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1482ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9410ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1253ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2760ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2860ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5857ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0152ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7011ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7410ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9269ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0402ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7512ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0660ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8258ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1492ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1601ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1952ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8110ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2300ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1620ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3852ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9391ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2412ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9629ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1971ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2089ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4861ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2399ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2112ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6079ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8547ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4209ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7670ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8182ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2062ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2500ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2901ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.5540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7501ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0101ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3921ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4579ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6019ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2337ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3456ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1811ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3840ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0952ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1840ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3019ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1833ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.5764ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3399ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9078ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2650ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0750ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2300ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4481ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1661ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4760ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2701ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1219ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6141ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5800ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8180ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4451ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0822ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1189ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9512ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9910ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1821ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0560ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6993ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9667ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1170ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1181ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9990ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6739ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8921ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0800ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6241ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1551ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0261ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9990ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5240ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6490ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9908ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0319ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4851ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.4479ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1110ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0231ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9112ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1802ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0289ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2901ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9841ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1442ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4440ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3702ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3091ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3158ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7700ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0819ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0468ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1399ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8833ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2369ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1551ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4172ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3680ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9201ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1032ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7031ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3900ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2230ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2758ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0349ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1201ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1758ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4153ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1100ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8182ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3700ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 17:43:09 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'mjnARXKTxiqRyJVC9xKZ' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "mjnARXKTxiqRyJVC9xKZ"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'QBPINXy84ZGu0BySKyTx' LIMIT 1 SQL (41.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "QBPINXy84ZGu0BySKyTx"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2013-09-05 17:43:09 +0300  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'WkfqsfSmv8U2ehIxd7bD' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "WkfqsfSmv8U2ehIxd7bD"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 14:43:09 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-05 17:43:09 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 17:43:09 +0300  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0931ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6851ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3380ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9541ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4350ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8220ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9720ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2199ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3111ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1071ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3251ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1179ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9069ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6520ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3781ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8229ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2159ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0988ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3540ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7159ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9511ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2230ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2789ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0969ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4279ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7600ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2443ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3150ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3812ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1010ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7770ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2631ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4951ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4319ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8469ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2159ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8109ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1992ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2670ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2981ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2827ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7552ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5230ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0862ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3051ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0080ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (35.8000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9259ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1551ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0610ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7460ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1000ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2631ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4941ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.5950ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8649ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7391ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7347ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0471ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6439ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8090ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.8981ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6091ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2531ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.3408ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2462ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9557ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0610ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9038ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9909ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0550ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7951ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9321ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3850ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.9021ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9661ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1300ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4977ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6277ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6530ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2109ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6568ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2517ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6630ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0622ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0619ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.6421ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1710ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6158ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0853ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.9601ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.0790ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2639ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1089ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.0691ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2531ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1661ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1410ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.2617ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7898ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7491ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4820ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.1200ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.4352ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.6150ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3609ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7229ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2321ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3349ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7262ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7291ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.1162ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1911ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (2.2149ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.3881ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8251ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7823ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.4729ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7501ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.8508ms) MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (0.7432ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:04:13 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:04:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'RrOwmfpwXUrFmepFJsQ2' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:04:13 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "RrOwmfpwXUrFmepFJsQ2"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:04:13 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = '0CuUB5holjf5MKCoFQ5j' AND "assets"."assetable_type" = 'Article'  (1.9ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.7431ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.9427ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"OUkefp7BTszAkrpiqivu"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.4752ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"52289d6ddc26e75789000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"OUkefp7BTszAkrpiqivu"}] flags=[] (0.2561ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} flags=[:slave_ok] limit=0 skip=0 fields=nil (1241.3733ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4179ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2890ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2460ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2489ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.1919ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"52289d6ddc26e75789000001"} flags=[:remove_first] (0.1111ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"Fxolcqr40IxHlpU7lGAn"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.4339ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"52289d6fdc26e75789000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"Fxolcqr40IxHlpU7lGAn"}] flags=[] (0.1080ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1328ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"52289d6fdc26e75789000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.4160ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2627ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2079ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"52289d6fdc26e75789000002"} flags=[:remove_first] (0.0739ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5050ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.6549ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:04:15 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '5dx3ohxSYN4QNbIja1xc' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "5dx3ohxSYN4QNbIja1xc"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'ywakKyC4SjZYwPUERwDW' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "ywakKyC4SjZYwPUERwDW"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/" for 127.0.0.1 at 2013-09-05 18:04:15 +0300  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Mj6C3yFb6GBVFc4ZE0uN' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "Mj6C3yFb6GBVFc4ZE0uN"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:04:15 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-05 18:04:15 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:04:15 +0300  (2.5ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5493ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3808ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:13:53 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:13:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Qp1ILVJFEe0RWBdIP0Wy' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "Qp1ILVJFEe0RWBdIP0Wy"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'bS976ilab9itaiLfw0Gj' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (25.3770ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3960ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"41l0YgJTD8zJ3wmzJ2v1"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7739ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"52289fb2dc26e7e089000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"41l0YgJTD8zJ3wmzJ2v1"}] flags=[] (0.1562ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.5932ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2651ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2010ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"52289fb2dc26e7e089000001"} flags=[:remove_first] (0.1378ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"2RUSUulIAgXqbgpPe5LQ"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.3450ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"52289fb2dc26e7e089000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"2RUSUulIAgXqbgpPe5LQ"}] flags=[] (0.1032ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1233ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"52289fb2dc26e7e089000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.2759ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3221ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2561ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"52289fb2dc26e7e089000002"} flags=[:remove_first] (0.0801ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4008ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.1399ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:13:54 +0300  (0.2ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'SxN1CPe8Nvs6o5QXyNlm' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "SxN1CPe8Nvs6o5QXyNlm"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'nXymEG586kigQ3kAAJsx' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "nXymEG586kigQ3kAAJsx"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/nXymEG586kigQ3kAAJsx" for 127.0.0.1 at 2013-09-05 18:13:54 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'nXymEG586kigQ3kAAJsx' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '63M1Lcyxv7uqo2N4nh6R' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "63M1Lcyxv7uqo2N4nh6R"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:13:54 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-05 18:13:54 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:13:54 +0300  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5562ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4621ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:14:27 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:14:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'B5F50zSlLsUIznx5QlEc' LIMIT 1 SQL (0.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:14:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "B5F50zSlLsUIznx5QlEc"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:14:27 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'GaBne7yaytHCbGQJDCAa' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.9ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.9538ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5460ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"8xiBX0zTZw82olrHpr2p"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.8051ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"52289fd3dc26e7fe89000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"8xiBX0zTZw82olrHpr2p"}] flags=[] (0.1369ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.4780ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2499ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2120ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"52289fd3dc26e7fe89000001"} flags=[:remove_first] (0.0997ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"JKfmxTQEyXDgb5cfNWOf"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.3521ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"52289fd3dc26e7fe89000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"JKfmxTQEyXDgb5cfNWOf"}] flags=[] (0.0989ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1369ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"52289fd3dc26e7fe89000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.2682ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.4628ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2971ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"52289fd3dc26e7fe89000002"} flags=[:remove_first] (0.1123ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3941ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.0471ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:14:27 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'WY9azLCqFQFSGH39gc8E' LIMIT 1 SQL (0.8ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "WY9azLCqFQFSGH39gc8E"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'ZZrWKUjVhsxjxZD9rXDK' LIMIT 1 SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "ZZrWKUjVhsxjxZD9rXDK"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/ZZrWKUjVhsxjxZD9rXDK" for 127.0.0.1 at 2013-09-05 18:14:28 +0300 Picture Load (0.5ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'ZZrWKUjVhsxjxZD9rXDK' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'RFFb8cGPannMjEv7RhQG' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "RFFb8cGPannMjEv7RhQG"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:14:28 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-05 18:14:28 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:14:28 +0300  (1.7ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5922ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4170ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:16:06 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:16:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'YEEcAV1jf8OAAn3VF7VF' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "YEEcAV1jf8OAAn3VF7VF"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:06 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'ODVrhJcwjaGfioNkyiy3' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (25.3642ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3071ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"06yQ6LRNrcNiN7eAoAhk"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7801ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"5228a036dc26e72d8a000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"06yQ6LRNrcNiN7eAoAhk"}] flags=[] (0.1330ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.4470ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2990ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.1988ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"5228a036dc26e72d8a000001"} flags=[:remove_first] (0.1130ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"3izXvIPod7y6o1PlxnSR"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.3729ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"5228a036dc26e72d8a000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"3izXvIPod7y6o1PlxnSR"}] flags=[] (0.0989ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1192ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"5228a036dc26e72d8a000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.2759ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2980ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2942ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"5228a036dc26e72d8a000002"} flags=[:remove_first] (0.1369ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4580ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.0722ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:16:06 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'HyAnKZeqQq21UQ4eAItx' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:06 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "HyAnKZeqQq21UQ4eAItx"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:06 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'tn2pkL4feDOUn4ZCwetR' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "tn2pkL4feDOUn4ZCwetR"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/tn2pkL4feDOUn4ZCwetR" for 127.0.0.1 at 2013-09-05 18:16:07 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'tn2pkL4feDOUn4ZCwetR' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '9C700SAqJ4E4xmh8Q9AB' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "9C700SAqJ4E4xmh8Q9AB"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:07 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-05 18:16:07 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:16:07 +0300  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5538ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4101ms) Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'W9x0HAIAy6BU0HWlrDr1' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "W9x0HAIAy6BU0HWlrDr1"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.3ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'SU3biTNcYjMxIIyuHQQl' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.2ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.3960ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4930ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"Mqm2rT0eZhpPXqCZb6ay"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7379ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"5228a045dc26e7548a000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"Mqm2rT0eZhpPXqCZb6ay"}] flags=[] (0.1531ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.4892ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2329ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2379ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"5228a045dc26e7548a000001"} flags=[:remove_first] (0.1361ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"jeprI90ZcIhTyzY4HseA"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.3600ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"5228a045dc26e7548a000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"jeprI90ZcIhTyzY4HseA"}] flags=[] (0.0989ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1280ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"5228a045dc26e7548a000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.2720ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2880ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2000ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"5228a045dc26e7548a000002"} flags=[:remove_first] (0.0720ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4301ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.0428ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:16:21 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'O88uKk2TcX3wUUHjRpdk' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "O88uKk2TcX3wUUHjRpdk"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'DV2Y8DTGKtkE3PNfm2Gh' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "DV2Y8DTGKtkE3PNfm2Gh"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/DV2Y8DTGKtkE3PNfm2Gh" for 127.0.0.1 at 2013-09-05 18:16:21 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'DV2Y8DTGKtkE3PNfm2Gh' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'koVhqM1845H6RjLCgnz9' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "koVhqM1845H6RjLCgnz9"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:16:21 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-05 18:16:21 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:16:21 +0300  (1.7ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5362ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4170ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'd2oPQPNmTygRxqRzY6pO' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "d2oPQPNmTygRxqRzY6pO"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = '3Le0rMSFZuknU8u6xY0a' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (28.5020ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3271ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"UHWxGvSOyzdNyrC1QWW4"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7770ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"5228a70fdc26e7f18b000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"UHWxGvSOyzdNyrC1QWW4"}] flags=[] (0.1328ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.6242ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2689ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2277ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"5228a70fdc26e7f18b000001"} flags=[:remove_first] (0.1259ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"vLLdycYSmEgSY7Touxky"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.3891ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"5228a70fdc26e7f18b000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"vLLdycYSmEgSY7Touxky"}] flags=[] (0.1090ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1230ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"5228a70fdc26e7f18b000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.2861ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3111ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2682ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"5228a70fdc26e7f18b000002"} flags=[:remove_first] (0.0770ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4380ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.0591ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:45:19 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'xZwoXYK4BVEbC7nelJcm' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "xZwoXYK4BVEbC7nelJcm"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'xmbNrvjqxyUkvVDWgDpA' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "xmbNrvjqxyUkvVDWgDpA"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/xmbNrvjqxyUkvVDWgDpA" for 127.0.0.1 at 2013-09-05 18:45:19 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'xmbNrvjqxyUkvVDWgDpA' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '2IslcaP8xaYwCkiPxapb' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "2IslcaP8xaYwCkiPxapb"], ["type", "Picture"], ["updated_at", Thu, 05 Sep 2013 15:45:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-05 18:45:19 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-05 18:45:19 +0300  (1.9ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5090ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4129ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 06:36:54 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 06:36:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'AWt2HVkcENAITwiipl91' LIMIT 1 SQL (0.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "AWt2HVkcENAITwiipl91"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'tERRDemHo1OMihKx3oBP' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.4ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (21.0221ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (7.5850ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"gRMFvS8x2Rr0ec3iEXP8"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (10.9842ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522ac987dc26e7e3c4000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"gRMFvS8x2Rr0ec3iEXP8"}] flags=[] (0.1829ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (28.3999ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (1.3881ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3190ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522ac987dc26e7e3c4000001"} flags=[:remove_first] (0.1488ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"ORqLAVteAhpTVGWHXOjC"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7150ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522ac987dc26e7e3c4000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"ORqLAVteAhpTVGWHXOjC"}] flags=[] (0.1011ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1230ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"522ac987dc26e7e3c4000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (3.6292ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.4101ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2871ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522ac987dc26e7e3c4000002"} flags=[:remove_first] (0.0710ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4151ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (9.9230ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 09:36:55 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '7PSgybt0d7BfJOUHdpve' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "7PSgybt0d7BfJOUHdpve"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'dqTLYqXzmZOVibKNUmBn' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "dqTLYqXzmZOVibKNUmBn"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/dqTLYqXzmZOVibKNUmBn" for 127.0.0.1 at 2013-09-07 09:36:55 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'dqTLYqXzmZOVibKNUmBn' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'KHcKVIB0QJ0xDGYrOONx' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "KHcKVIB0QJ0xDGYrOONx"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 06:36:55 UTC +00:00], ["user_id", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-07 09:36:55 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 09:36:55 +0300  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5319ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4559ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Knu8hDqR5Xaw8FxyyH6x' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "Knu8hDqR5Xaw8FxyyH6x"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'qzGffLllVIuqvEzl9aI6' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.0ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (1.1053ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.7091ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"Yywmj0UBirWTsQeRNhcc"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (1.1671ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522acfe6dc26e7e510000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"Yywmj0UBirWTsQeRNhcc"}] flags=[] (0.1330ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (3.0901ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3383ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3281ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522acfe6dc26e7e510000001"} flags=[:remove_first] (0.1419ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"L4zXx6B2VBmykVC6UyRo"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.4721ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522acfe6dc26e7e510000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"L4zXx6B2VBmykVC6UyRo"}] flags=[] (0.1040ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1230ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"522acfe6dc26e7e510000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.3037ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2880ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.1962ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522acfe6dc26e7e510000002"} flags=[:remove_first] (0.0849ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3910ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.4899ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 10:04:06 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'C8Rq2EySL6P3SehTRxQK' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "C8Rq2EySL6P3SehTRxQK"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'tqxRTWEpn4BqsxDlPfuj' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "tqxRTWEpn4BqsxDlPfuj"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/tqxRTWEpn4BqsxDlPfuj" for 127.0.0.1 at 2013-09-07 10:04:06 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'tqxRTWEpn4BqsxDlPfuj' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Xb7PKB2LXSVBDec1O0IC' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "Xb7PKB2LXSVBDec1O0IC"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:06 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-07 10:04:06 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 10:04:06 +0300  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5581ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4041ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '5gWTuo6sPQw3jVnDHJoO' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "5gWTuo6sPQw3jVnDHJoO"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'u2IPtxEHxorm0YLjgmI9' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (27.6401ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4771ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"j0DvBMyDYUrK2HsbTAVY"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7830ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522ad012dc26e74611000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"j0DvBMyDYUrK2HsbTAVY"}] flags=[] (0.1552ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (1.0440ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2849ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.1972ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522ad012dc26e74611000001"} flags=[:remove_first] (0.1140ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"IWWLVLVjHWTF8hEyeX03"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.3612ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522ad012dc26e74611000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"IWWLVLVjHWTF8hEyeX03"}] flags=[] (0.0908ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1318ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"522ad012dc26e74611000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.2830ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3629ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2522ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522ad012dc26e74611000002"} flags=[:remove_first] (0.1061ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5782ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.0571ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 10:04:50 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'bPoLoZa2Ep7DKResUDxs' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "bPoLoZa2Ep7DKResUDxs"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Fpscree6yUIhzLooEerX' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "Fpscree6yUIhzLooEerX"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/Fpscree6yUIhzLooEerX" for 127.0.0.1 at 2013-09-07 10:04:50 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Fpscree6yUIhzLooEerX' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 't8yacSJYFoJoU4xedqHd' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "t8yacSJYFoJoU4xedqHd"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:04:50 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-07 10:04:50 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 10:04:50 +0300  (1.8ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5462ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3948ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'zPrTVvtdFQo9e43pGlUV' LIMIT 1 SQL (0.8ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "zPrTVvtdFQo9e43pGlUV"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.3ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'ddYlyouqFVs7pkWBbnfE' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.7ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (30.2107ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4022ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"aKencPhIibcAyryKVbEG"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7560ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522ad090dc26e7fd11000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"aKencPhIibcAyryKVbEG"}] flags=[] (0.1900ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (1.0381ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3202ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2801ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522ad090dc26e7fd11000001"} flags=[:remove_first] (0.1771ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"A5DYKrR72QhhrVWyxHy0"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.4849ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"522ad090dc26e7fd11000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"A5DYKrR72QhhrVWyxHy0"}] flags=[] (0.1402ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1800ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"522ad090dc26e7fd11000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (0.3130ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3669ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2511ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"522ad090dc26e7fd11000002"} flags=[:remove_first] (0.1080ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3872ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.2081ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 10:06:56 +0300  (0.2ms) SAVEPOINT active_record_1 Picture Exists (0.3ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'JEKt8Bdyb3yTPgW2v5SZ' LIMIT 1 SQL (0.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "JEKt8Bdyb3yTPgW2v5SZ"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wdQS1CiDmScXH67ri2py' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "wdQS1CiDmScXH67ri2py"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/wdQS1CiDmScXH67ri2py" for 127.0.0.1 at 2013-09-07 10:06:56 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wdQS1CiDmScXH67ri2py' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["title", "MyString"], ["updated_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'JSyBofib0i4bbrnmimz7' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "JSyBofib0i4bbrnmimz7"], ["type", "Picture"], ["updated_at", Sat, 07 Sep 2013 07:06:56 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-09-07 10:06:56 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-09-07 10:06:56 +0300  (2.2ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.6433ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3750ms) Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 21 Nov 2013 16:13:18 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 21 Nov 2013 16:13:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Ti8GPqvylwjgYCaBoocU' LIMIT 1 SQL (1.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "Ti8GPqvylwjgYCaBoocU"], ["type", "Picture"], ["updated_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.3ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'ByGwG35ZcyYAJIGQ8rN0' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (8.3ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (41.5769ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (26.7422ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"GPyrKbDgmise8Ony9V2g"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (10.1678ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"528e311fdc26e7d6a5000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"GPyrKbDgmise8Ony9V2g"}] flags=[] (0.1469ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (23.4499ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (1.4982ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3338ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"528e311fdc26e7d6a5000001"} flags=[:remove_first] (0.1152ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"lQduZNZy0n1lO43DDxDh"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.4561ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"528e311fdc26e7d6a5000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"lQduZNZy0n1lO43DDxDh"}] flags=[] (0.1321ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1199ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"528e311fdc26e7d6a5000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (2.8610ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3688ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2182ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"528e311fdc26e7d6a5000002"} flags=[:remove_first] (0.0787ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4060ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (13.2928ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2013-11-21 18:13:19 +0200  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'u5eNdOq8qmJxu8UpkxMa' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "u5eNdOq8qmJxu8UpkxMa"], ["type", "Picture"], ["updated_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'u73oTuOnyJWpOzcyCi2N' LIMIT 1 SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "u73oTuOnyJWpOzcyCi2N"], ["type", "Picture"], ["updated_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/u73oTuOnyJWpOzcyCi2N" for 127.0.0.1 at 2013-11-21 18:13:19 +0200 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'u73oTuOnyJWpOzcyCi2N' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["title", "MyString"], ["updated_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'gpAjMEpDm8e1BKX5OCjn' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "gpAjMEpDm8e1BKX5OCjn"], ["type", "Picture"], ["updated_at", Thu, 21 Nov 2013 16:13:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2013-11-21 18:13:19 +0200 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2013-11-21 18:13:19 +0200  (2.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4778ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4461ms) Connecting to database specified by database.yml  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (1.0ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Mon, 15 Jun 2015 08:27:26 UTC +00:00], ["title", "MyString"], ["updated_at", Mon, 15 Jun 2015 08:27:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.6ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'M4yogSJZYTBRNMVyFvyY' LIMIT 1 SQL (2.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Mon, 15 Jun 2015 08:27:26 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "M4yogSJZYTBRNMVyFvyY"], ["type", "Picture"], ["updated_at", Mon, 15 Jun 2015 08:27:26 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.3ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'OFd4CKWG8kWZadG83nyt' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (72.6321ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (10.3052ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"WzQHW0b7MgwOFzA0w36v"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (14.7321ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"557e8c6edc26e7c103000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"WzQHW0b7MgwOFzA0w36v"}] flags=[] (0.2539ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (42.6080ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (3.1428ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3161ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"557e8c6edc26e7c103000001"} flags=[:remove_first] (0.1340ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"ApIxKrqWMfKMfY41LAR9"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.6771ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"557e8c6edc26e7c103000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"ApIxKrqWMfKMfY41LAR9"}] flags=[] (0.1130ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1309ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"557e8c6edc26e7c103000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (3.0262ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.2980ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2861ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"557e8c6edc26e7c103000002"} flags=[:remove_first] (0.1123ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3400ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (10.0429ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2015-06-15 11:27:26 +0300  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '2j8DKDapRBfA20oiHZvP' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "2j8DKDapRBfA20oiHZvP"], ["type", "Picture"], ["updated_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["title", "MyString"], ["updated_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'rjSC2eQxiyqjmSqW9ATA' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "rjSC2eQxiyqjmSqW9ATA"], ["type", "Picture"], ["updated_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["user_id", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/rjSC2eQxiyqjmSqW9ATA" for 127.0.0.1 at 2015-06-15 11:27:27 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'rjSC2eQxiyqjmSqW9ATA' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["title", "MyString"], ["updated_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '6eUhharayYOCdXJWsElD' LIMIT 1 SQL (0.2ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "6eUhharayYOCdXJWsElD"], ["type", "Picture"], ["updated_at", Mon, 15 Jun 2015 08:27:27 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2015-06-15 11:27:27 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2015-06-15 11:27:27 +0300  (0.8ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.5350ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4451ms) Connecting to database specified by database.yml  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Wed, 16 Sep 2015 14:12:19 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 16 Sep 2015 14:12:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Picture Exists (0.5ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'WA1AbtuQ7jeQo1HP7mnZ' LIMIT 1 SQL (2.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:12:19 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "WA1AbtuQ7jeQo1HP7mnZ"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:12:19 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.3ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'TErF7L2krpzppOwEGMeQ' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.1ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (88.7461ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (20.8700ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"FnCMBiWn0PB2EICBr1Xn"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (2.1381ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"55f978c3dc26e7324d000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"FnCMBiWn0PB2EICBr1Xn"}] flags=[] (0.1543ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (22.0480ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.7770ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3068ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"55f978c3dc26e7324d000001"} flags=[:remove_first] (0.1030ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"KMpsmnXsl7rSpHIBhL0E"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.7970ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"55f978c4dc26e7324d000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"KMpsmnXsl7rSpHIBhL0E"}] flags=[] (0.1121ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (0.1042ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"55f978c4dc26e7324d000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (4.2341ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.3488ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.2899ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"55f978c4dc26e7324d000002"} flags=[:remove_first] (0.0730ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4060ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (1.0200ms)  (0.0ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2015-09-16 17:12:20 +0300  (0.3ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'TStytNh7GioJBxd7OL7y' LIMIT 1 SQL (0.5ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "TStytNh7GioJBxd7OL7y"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["user_id", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '0TLrTvyEaTDE0kuc1xYZ' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "0TLrTvyEaTDE0kuc1xYZ"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/0TLrTvyEaTDE0kuc1xYZ" for 127.0.0.1 at 2015-09-16 17:12:20 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '0TLrTvyEaTDE0kuc1xYZ' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'twEIdMnq8h2LtMqmIyor' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "twEIdMnq8h2LtMqmIyor"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:12:20 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2015-09-16 17:12:20 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2015-09-16 17:12:20 +0300  (0.7ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4277ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.3839ms) Connecting to database specified by database.yml  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAssets (20120508093416) Migrating to CreateArticles (20120508093830)  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.4ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'RB7rFB1gfx2mU8jmt9li' LIMIT 1 SQL (2.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "RB7rFB1gfx2mU8jmt9li"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' LIMIT 1 SQL (0.2ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'tA6rmhFYHkxKDtxs5B5i' AND "assets"."assetable_type" = 'Article' LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) rollback transaction MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} (8.0287ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.9520ms)  (0.1ms) begin transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"zHh3o7TylhVJuFDXh8bn"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.3500ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"55f978f9dc26e7574d000001", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"zHh3o7TylhVJuFDXh8bn"}] flags=[] (0.1650ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"$query"=>{"guid"=>"guid", "assetable_type"=>"MongoidArticle"}, "$orderby"=>{:_id=>1}} flags=[:slave_ok] limit=-1 skip=0 fields=nil (9.3479ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.4559ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4208ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"55f978f9dc26e7574d000001"} flags=[:remove_first] (0.1740ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={"public_token"=>"7i2rXkK0QZo3XzZVPgsU"} flags=[:slave_ok] limit=1 skip=0 fields={:_id=>1} (0.5198ms) MOPED: 127.0.0.1:27017 INSERT database=rails_uploader_test collection=mongoid_pictures documents=[{"_id"=>"55f978f9dc26e7574d000002", "guid"=>"guid", "assetable_type"=>"MongoidArticle", "public_token"=>"7i2rXkK0QZo3XzZVPgsU"}] flags=[] (0.2198ms) MOPED: 127.0.0.1:27017 UPDATE database=rails_uploader_test collection=mongoid_pictures selector={"guid"=>"guid", "assetable_type"=>"MongoidArticle"} update={"$set"=>{:assetable_id=>1000, :guid=>nil}} flags=[:multi] (2.1350ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={:_id=>"55f978f9dc26e7574d000002"} flags=[:slave_ok] limit=-1 skip=0 fields=nil (6.9222ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:count=>"mongoid_pictures", :query=>{}} (0.7071ms) MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=mongoid_pictures selector={} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4852ms) MOPED: 127.0.0.1:27017 DELETE database=rails_uploader_test collection=mongoid_pictures selector={"_id"=>"55f978f9dc26e7574d000002"} flags=[:remove_first] (0.1302ms)  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.7539ms) MOPED: 127.0.0.1:27017 COMMAND database=rails_uploader_test command={:drop=>"mongoid_pictures"} (0.7379ms)  (0.1ms) begin transaction Started POST "/uploader/attachments" for 127.0.0.1 at 2015-09-16 17:13:13 +0300  (0.2ms) SAVEPOINT active_record_1 Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'GfDlXbSV3Nah5tKGq57h' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["data_content_type", nil], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", "SOMESTRING"], ["public_token", "GfDlXbSV3Nah5tKGq57h"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'TrnRntbWh3Cv2oIWeKlb' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "TrnRntbWh3Cv2oIWeKlb"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/TrnRntbWh3Cv2oIWeKlb" for 127.0.0.1 at 2015-09-16 17:13:13 +0300 Picture Load (0.1ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'TrnRntbWh3Cv2oIWeKlb' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Picture Exists (0.1ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'F7zCRaX4iwCVVLqHQ5kM' LIMIT 1 SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "data_file_size", "guid", "public_token", "type", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["data_file_size", nil], ["guid", nil], ["public_token", "F7zCRaX4iwCVVLqHQ5kM"], ["type", "Picture"], ["updated_at", Wed, 16 Sep 2015 14:13:13 UTC +00:00], ["user_id", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2015-09-16 17:13:13 +0300 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2015-09-16 17:13:13 +0300  (0.8ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4249ms)  (0.1ms) begin transaction  (0.1ms) rollback transaction MOPED: 127.0.0.1:27017 QUERY database=rails_uploader_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[:slave_ok] limit=0 skip=0 fields=nil (0.4759ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:42:00 +0200  (0.2ms) begin transaction Picture Exists (0.6ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'xbjexK94H2AHrQFFSyar' LIMIT 1 SQL (1.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:42:00.862025"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["public_token", "xbjexK94H2AHrQFFSyar"], ["type", "Picture"], ["updated_at", "2016-02-19 10:42:00.862025"]]  (0.9ms) commit transaction  (0.3ms) begin transaction SQL (1.1ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:42:01.003470"], ["title", "MyString"], ["updated_at", "2016-02-19 10:42:01.003470"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.4ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '0eo4f8NLHt0SK5bwpyFw' LIMIT 1 SQL (0.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:42:01.015685"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "0eo4f8NLHt0SK5bwpyFw"], ["type", "Picture"], ["updated_at", "2016-02-19 10:42:01.015685"]]  (1.1ms) commit transaction Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-02-19 12:42:01 +0200 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' ORDER BY "assets"."id" ASC LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:42:01 +0200  (1.1ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.7ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:42:30 +0200  (0.2ms) begin transaction Picture Exists (0.4ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'yW3Ss1OcqwtM57XLrUKQ' LIMIT 1 SQL (1.6ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:42:30.372910"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["public_token", "yW3Ss1OcqwtM57XLrUKQ"], ["type", "Picture"], ["updated_at", "2016-02-19 10:42:30.372910"]]  (0.8ms) commit transaction  (0.2ms) begin transaction SQL (1.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:42:30.466423"], ["title", "MyString"], ["updated_at", "2016-02-19 10:42:30.466423"]]  (9.0ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'POeizRav9l81GDrYKe7R' LIMIT 1 SQL (0.9ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:42:30.515566"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "POeizRav9l81GDrYKe7R"], ["type", "Picture"], ["updated_at", "2016-02-19 10:42:30.515566"]]  (0.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/POeizRav9l81GDrYKe7R" for 127.0.0.1 at 2016-02-19 12:42:30 +0200 Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'POeizRav9l81GDrYKe7R' ORDER BY "assets"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:42:30.595708"], ["title", "MyString"], ["updated_at", "2016-02-19 10:42:30.595708"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'PAZMiwhkz1jMZPvOyb9x' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:42:30.599987"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "PAZMiwhkz1jMZPvOyb9x"], ["type", "Picture"], ["updated_at", "2016-02-19 10:42:30.599987"]]  (0.8ms) commit transaction Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-02-19 12:42:30 +0200 Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' ORDER BY "assets"."id" ASC LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:42:30 +0200  (1.2ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.7ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.9ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.4ms) DELETE FROM "articles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.2ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.2ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.5ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.0ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.0ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.8ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:47:58.842895"], ["title", "MyString"], ["updated_at", "2016-02-19 10:47:58.842895"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.3ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'PyYDPgwxXibU5iebwvyT' LIMIT 1 SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:47:58.853151"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "PyYDPgwxXibU5iebwvyT"], ["type", "Picture"], ["updated_at", "2016-02-19 10:47:58.853151"]]  (0.8ms) commit transaction Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' ORDER BY "assets"."id" ASC LIMIT 1 SQL (1.1ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]]  (1.0ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.7ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (1.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:48:45.357911"], ["title", "MyString"], ["updated_at", "2016-02-19 10:48:45.357911"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.6ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'Ug2WHhK2fKyetxUgA5Ru' LIMIT 1 SQL (1.7ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:48:45.369731"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "Ug2WHhK2fKyetxUgA5Ru"], ["type", "Picture"], ["updated_at", "2016-02-19 10:48:45.369731"]]  (0.8ms) commit transaction Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' ORDER BY "assets"."id" ASC LIMIT 1 SQL (1.1ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'OsjMNcX47yDKobKKKqEE' AND "assets"."assetable_type" = 'Article' ORDER BY "assets"."id" ASC LIMIT 1  (1.2ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.8ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.8ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (1.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:55:27.336912"], ["title", "MyString"], ["updated_at", "2016-02-19 10:55:27.336912"]]  (0.8ms) commit transaction  (0.2ms) begin transaction Picture Exists (0.7ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'FnvHlFpNIhxXucfU9hjH' LIMIT 1 SQL (1.8ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:27.349889"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "FnvHlFpNIhxXucfU9hjH"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:27.349889"]]  (0.9ms) commit transaction Picture Load (0.7ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' ORDER BY "assets"."id" ASC LIMIT 1 SQL (1.3ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'ynxazZOJmFvcsnPO6Spz' AND "assets"."assetable_type" = 'Article' ORDER BY "assets"."id" ASC LIMIT 1  (3.8ms) DELETE FROM "assets";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (6.8ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.1ms) DELETE FROM "articles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'articles';  (1.2ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.0ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:55:28 +0200  (0.2ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'uvaCspoK4p0xCxTKfn0f' LIMIT 1 SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:28.105561"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["public_token", "uvaCspoK4p0xCxTKfn0f"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:28.105561"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:55:28.181348"], ["title", "MyString"], ["updated_at", "2016-02-19 10:55:28.181348"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'bYoSV4vKkPX11bI4yh95' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:28.185905"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "bYoSV4vKkPX11bI4yh95"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:28.185905"]]  (0.8ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/bYoSV4vKkPX11bI4yh95" for 127.0.0.1 at 2016-02-19 12:55:28 +0200 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'bYoSV4vKkPX11bI4yh95' ORDER BY "assets"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (1.6ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:55:28.254449"], ["title", "MyString"], ["updated_at", "2016-02-19 10:55:28.254449"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'KGveJ86llLfSsFiYfZBI' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:28.258544"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "KGveJ86llLfSsFiYfZBI"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:28.258544"]]  (0.8ms) commit transaction Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-02-19 12:55:28 +0200 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' ORDER BY "assets"."id" ASC LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:55:28 +0200  (1.3ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'assets';  (1.4ms) DELETE FROM "articles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'articles';  (1.1ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.8ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:55:35.721670"], ["title", "MyString"], ["updated_at", "2016-02-19 10:55:35.721670"]]  (0.8ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'HiROxaE0uS82ywQrM1bB' LIMIT 1 SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:35.732535"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "HiROxaE0uS82ywQrM1bB"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:35.732535"]]  (0.9ms) commit transaction Picture Load (0.5ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' ORDER BY "assets"."id" ASC LIMIT 1 SQL (1.1ms) UPDATE "assets" SET "assetable_id" = 1000, "guid" = NULL WHERE "assets"."type" IN ('Picture') AND "assets"."guid" IS NULL AND "assets"."assetable_type" = 'Article' Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? LIMIT 1 [["id", 1]] Picture Load (0.3ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."guid" = 'O1YZnsLfnUVMybkjpN7e' AND "assets"."assetable_type" = 'Article' ORDER BY "assets"."id" ASC LIMIT 1  (1.1ms) DELETE FROM "assets";  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.8ms) DELETE FROM "articles";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'articles';  (1.1ms) DELETE FROM "assets";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.9ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles'; Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:55:35 +0200  (0.2ms) begin transaction Picture Exists (0.4ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'j9im6FlvUTOFF4GFapxl' LIMIT 1 SQL (0.4ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_file_name", "guid", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:35.905689"], ["data_file_name", "rails.png"], ["guid", "SOMESTRING"], ["public_token", "j9im6FlvUTOFF4GFapxl"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:35.905689"]]  (1.0ms) commit transaction  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:55:35.979833"], ["title", "MyString"], ["updated_at", "2016-02-19 10:55:35.979833"]]  (0.9ms) commit transaction  (0.1ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'xs9Vi2ChWVPM1BGWgTqm' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 1], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:35.983474"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "xs9Vi2ChWVPM1BGWgTqm"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:35.983474"]]  (1.0ms) commit transaction  (0.3ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture') Started DELETE "/uploader/attachments/xs9Vi2ChWVPM1BGWgTqm" for 127.0.0.1 at 2016-02-19 12:55:35 +0200 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'xs9Vi2ChWVPM1BGWgTqm' ORDER BY "assets"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.3ms) DELETE FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."id" = ? [["id", 2]]  (0.9ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "assets" WHERE "assets"."type" IN ('Picture')  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", "MyText"], ["created_at", "2016-02-19 10:55:36.051689"], ["title", "MyString"], ["updated_at", "2016-02-19 10:55:36.051689"]]  (2.1ms) commit transaction  (0.2ms) begin transaction Picture Exists (0.2ms) SELECT 1 AS one FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = '38sk1CwyEyMgItShzY0o' LIMIT 1 SQL (0.3ms) INSERT INTO "assets" ("assetable_id", "assetable_type", "created_at", "data_content_type", "data_file_name", "public_token", "type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["assetable_id", 2], ["assetable_type", "Article"], ["created_at", "2016-02-19 10:55:36.058434"], ["data_content_type", "image/png"], ["data_file_name", "rails.png"], ["public_token", "38sk1CwyEyMgItShzY0o"], ["type", "Picture"], ["updated_at", "2016-02-19 10:55:36.058434"]]  (0.9ms) commit transaction Started DELETE "/uploader/attachments/wrong" for 127.0.0.1 at 2016-02-19 12:55:36 +0200 Picture Load (0.2ms) SELECT "assets".* FROM "assets" WHERE "assets"."type" IN ('Picture') AND "assets"."public_token" = 'wrong' ORDER BY "assets"."id" ASC LIMIT 1 Started POST "/uploader/attachments" for 127.0.0.1 at 2016-02-19 12:55:36 +0200  (1.3ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (1.0ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.8ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.9ms) DELETE FROM sqlite_sequence where name = 'articles';  (1.3ms) DELETE FROM "assets";  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'assets';  (0.9ms) DELETE FROM "articles";  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';  (0.1ms) DELETE FROM sqlite_sequence where name = 'articles';