(0.1ms) begin transaction ------------------------------ ActsAsIntervalTest: test_truth ------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------ ActsAsIntervalTest: test_truth ------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- ActsAsIntervalTest: test_whatever ---------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction --------------------------------- IntervalTest: test_interval_model --------------------------------- Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1 SQLite3::SQLException: no such table: intervals: SELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------- IntervalTest: test_interval_model --------------------------------- Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1 SQLite3::SQLException: no such table: intervals: SELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (121.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.2ms) select sqlite_version(*)  (134.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateIntervals (20150227133736)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227133736"]]  (97.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction --------------------------------- IntervalTest: test_interval_model --------------------------------- Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- IntervalTest: test_interval_model --------------------------------- Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- IntervalTest: test_interval_model ---------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- IntervalTest: test_interval_model ---------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:01:39.702635"], ["ends_at", "2015-02-20 14:01:39.697382"], ["starts_at", "2015-01-27 14:01:39.697253"], ["updated_at", "2015-02-27 14:01:39.702635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:01:39.705604"], ["ends_at", "2015-02-27 13:01:39.705313"], ["starts_at", "2015-02-26 14:01:39.705242"], ["updated_at", "2015-02-27 14:01:39.705604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:03:39.507938"], ["ends_at", "2015-02-20 14:03:39.502560"], ["starts_at", "2015-01-27 14:03:39.502419"], ["updated_at", "2015-02-27 14:03:39.507938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:03:39.510770"], ["ends_at", "2015-02-27 13:03:39.510491"], ["starts_at", "2015-02-26 14:03:39.510398"], ["updated_at", "2015-02-27 14:03:39.510770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction --------------------------------- IntervalTest: test_interval_model ---------------------------------  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- IntervalTest: test_interval_model ---------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:04:25.741962"], ["ends_at", "2015-02-20 14:04:25.736790"], ["starts_at", "2015-01-27 14:04:25.736657"], ["updated_at", "2015-02-27 14:04:25.741962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:04:25.744903"], ["ends_at", "2015-02-27 13:04:25.744615"], ["starts_at", "2015-02-26 14:04:25.744549"], ["updated_at", "2015-02-27 14:04:25.744903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction --------------------------------- IntervalTest: test_interval_model ---------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:06:36.663476"], ["ends_at", "2015-02-20 14:06:36.659428"], ["starts_at", "2015-01-27 14:06:36.659283"], ["updated_at", "2015-02-27 14:06:36.663476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:06:36.665745"], ["ends_at", "2015-02-27 13:06:36.665484"], ["starts_at", "2015-02-26 14:06:36.665381"], ["updated_at", "2015-02-27 14:06:36.665745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:08:08.100954"], ["ends_at", "2015-02-20 14:08:08.099643"], ["starts_at", "2015-01-27 14:08:08.099512"], ["updated_at", "2015-02-27 14:08:08.100954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:08:08.103311"], ["ends_at", "2015-02-27 13:08:08.103078"], ["starts_at", "2015-02-26 14:08:08.103010"], ["updated_at", "2015-02-27 14:08:08.103311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.1ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:08:24.719072"], ["ends_at", "2015-02-20 14:08:24.717337"], ["starts_at", "2015-01-27 14:08:24.717180"], ["updated_at", "2015-02-27 14:08:24.719072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:08:24.722113"], ["ends_at", "2015-02-27 13:08:24.721777"], ["starts_at", "2015-02-26 14:08:24.721705"], ["updated_at", "2015-02-27 14:08:24.722113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:09:00.564997"], ["ends_at", "2015-02-20 14:09:00.563656"], ["starts_at", "2015-01-27 14:09:00.563528"], ["updated_at", "2015-02-27 14:09:00.564997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:09:00.567223"], ["ends_at", "2015-02-27 13:09:00.566989"], ["starts_at", "2015-02-26 14:09:00.566940"], ["updated_at", "2015-02-27 14:09:00.567223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:09:24.023759"], ["ends_at", "2015-02-20 14:09:24.022381"], ["starts_at", "2015-01-27 14:09:24.022248"], ["updated_at", "2015-02-27 14:09:24.023759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:09:24.025942"], ["ends_at", "2015-02-27 13:09:24.025705"], ["starts_at", "2015-02-26 14:09:24.025657"], ["updated_at", "2015-02-27 14:09:24.025942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:10:31.350608"], ["ends_at", "2015-02-20 14:10:31.349165"], ["starts_at", "2015-01-27 14:10:31.349029"], ["updated_at", "2015-02-27 14:10:31.350608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:10:31.352762"], ["ends_at", "2015-02-27 13:10:31.352523"], ["starts_at", "2015-02-26 14:10:31.352474"], ["updated_at", "2015-02-27 14:10:31.352762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:11:27.408281"], ["ends_at", "2015-02-20 14:11:27.406874"], ["starts_at", "2015-01-27 14:11:27.406736"], ["updated_at", "2015-02-27 14:11:27.408281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:11:27.410682"], ["ends_at", "2015-02-27 13:11:27.410374"], ["starts_at", "2015-02-26 14:11:27.410286"], ["updated_at", "2015-02-27 14:11:27.410682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:13:31.091591"], ["ends_at", "2015-02-20 14:13:31.089584"], ["starts_at", "2015-01-27 14:13:31.089394"], ["updated_at", "2015-02-27 14:13:31.091591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:13:31.094834"], ["ends_at", "2015-02-27 13:13:31.094402"], ["starts_at", "2015-02-26 14:13:31.094324"], ["updated_at", "2015-02-27 14:13:31.094834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:13:33.964077"], ["ends_at", "2015-02-20 14:13:33.962760"], ["starts_at", "2015-01-27 14:13:33.962628"], ["updated_at", "2015-02-27 14:13:33.964077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:13:33.966253"], ["ends_at", "2015-02-27 13:13:33.966000"], ["starts_at", "2015-02-26 14:13:33.965949"], ["updated_at", "2015-02-27 14:13:33.966253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:13:59.500505"], ["updated_at", "2015-02-27 14:13:59.500505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:13:59.504838"], ["updated_at", "2015-02-27 14:13:59.504838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:14:03.034865"], ["updated_at", "2015-02-27 14:14:03.034865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:14:03.039206"], ["updated_at", "2015-02-27 14:14:03.039206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:14:31.394985"], ["updated_at", "2015-02-27 14:14:31.394985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:14:31.399137"], ["updated_at", "2015-02-27 14:14:31.399137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:14:34.412336"], ["updated_at", "2015-02-27 14:14:34.412336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-27 14:14:34.416481"], ["updated_at", "2015-02-27 14:14:34.416481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:14:51.384238"], ["ends_at", "2015-02-20 14:14:51.379622"], ["starts_at", "2015-01-27 14:14:51.379455"], ["updated_at", "2015-02-27 14:14:51.384238"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:14:51.386900"], ["ends_at", "2015-02-27 13:14:51.386592"], ["starts_at", "2015-02-26 14:14:51.386530"], ["updated_at", "2015-02-27 14:14:51.386900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:15:12.154958"], ["ends_at", "2015-02-20 14:15:12.151745"], ["starts_at", "2015-01-27 14:15:12.151616"], ["updated_at", "2015-02-27 14:15:12.154958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:15:12.157300"], ["ends_at", "2015-02-27 13:15:12.157043"], ["starts_at", "2015-02-26 14:15:12.156960"], ["updated_at", "2015-02-27 14:15:12.157300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:16:00.877359"], ["ends_at", "2015-02-20 14:16:00.874092"], ["starts_at", "2015-01-27 14:16:00.873964"], ["updated_at", "2015-02-27 14:16:00.877359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:16:00.879543"], ["ends_at", "2015-02-27 13:16:00.879316"], ["starts_at", "2015-02-26 14:16:00.879264"], ["updated_at", "2015-02-27 14:16:00.879543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:16:28.654129"], ["ends_at", "2015-02-20 14:16:28.650865"], ["starts_at", "2015-01-27 14:16:28.650737"], ["updated_at", "2015-02-27 14:16:28.654129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:16:28.656339"], ["ends_at", "2015-02-27 13:16:28.656116"], ["starts_at", "2015-02-26 14:16:28.656065"], ["updated_at", "2015-02-27 14:16:28.656339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:16:28.656065')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:16:57.062931"], ["ends_at", "2015-02-20 14:16:57.059475"], ["starts_at", "2015-01-27 14:16:57.059336"], ["updated_at", "2015-02-27 14:16:57.062931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:16:57.065203"], ["ends_at", "2015-02-27 13:16:57.064939"], ["starts_at", "2015-02-26 14:16:57.064880"], ["updated_at", "2015-02-27 14:16:57.065203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:16:57.064880') Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE "intervals"."id" = 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:18:42.359370"], ["ends_at", "2015-02-20 14:18:42.355897"], ["starts_at", "2015-01-27 14:18:42.355741"], ["updated_at", "2015-02-27 14:18:42.359370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:18:42.361740"], ["ends_at", "2015-02-27 13:18:42.361465"], ["starts_at", "2015-02-26 14:18:42.361401"], ["updated_at", "2015-02-27 14:18:42.361740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:18:42.361401')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:14.140443"], ["ends_at", "2015-02-20 14:20:14.137130"], ["starts_at", "2015-01-27 14:20:14.136991"], ["updated_at", "2015-02-27 14:20:14.140443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:14.142909"], ["ends_at", "2014-02-27 14:20:14.142591"], ["starts_at", "2013-02-27 14:20:14.142532"], ["updated_at", "2015-02-27 14:20:14.142909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:14.143776"], ["ends_at", "2016-02-27 14:20:14.143532"], ["starts_at", "2015-03-27 14:20:14.143484"], ["updated_at", "2015-02-27 14:20:14.143776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:14.144501"], ["ends_at", "2015-02-27 13:20:14.144301"], ["starts_at", "2015-02-26 14:20:14.144254"], ["updated_at", "2015-02-27 14:20:14.144501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:20:14.144254')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:29.984968"], ["ends_at", "2015-02-20 14:20:29.981626"], ["starts_at", "2015-01-27 14:20:29.981499"], ["updated_at", "2015-02-27 14:20:29.984968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:29.987389"], ["ends_at", "2014-02-27 14:20:29.987091"], ["starts_at", "2013-02-27 14:20:29.987028"], ["updated_at", "2015-02-27 14:20:29.987389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:29.988249"], ["ends_at", "2016-02-27 14:20:29.988002"], ["starts_at", "2015-03-27 14:20:29.987953"], ["updated_at", "2015-02-27 14:20:29.988249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:29.989003"], ["ends_at", "2015-02-27 13:20:29.988774"], ["starts_at", "2015-02-26 14:20:29.988728"], ["updated_at", "2015-02-27 14:20:29.989003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:20:29.988728')  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:44.552902"], ["ends_at", "2015-02-20 14:20:44.549530"], ["starts_at", "2015-01-27 14:20:44.549392"], ["updated_at", "2015-02-27 14:20:44.552902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:44.555301"], ["ends_at", "2014-02-27 14:20:44.555031"], ["starts_at", "2013-02-27 14:20:44.554967"], ["updated_at", "2015-02-27 14:20:44.555301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:44.556166"], ["ends_at", "2016-02-27 14:20:44.555939"], ["starts_at", "2015-03-27 14:20:44.555889"], ["updated_at", "2015-02-27 14:20:44.556166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:20:44.556930"], ["ends_at", "2015-02-27 13:20:44.556727"], ["starts_at", "2015-02-26 14:20:44.556680"], ["updated_at", "2015-02-27 14:20:44.556930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:20:44.556680')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:13.099731"], ["ends_at", "2015-02-20 14:21:13.096436"], ["starts_at", "2015-01-27 14:21:13.096281"], ["updated_at", "2015-02-27 14:21:13.099731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:13.102065"], ["ends_at", "2014-02-27 14:21:13.101808"], ["starts_at", "2013-02-27 14:21:13.101753"], ["updated_at", "2015-02-27 14:21:13.102065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:13.102934"], ["ends_at", "2016-02-27 14:21:13.102717"], ["starts_at", "2015-03-27 14:21:13.102670"], ["updated_at", "2015-02-27 14:21:13.102934"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:24.763592"], ["ends_at", "2015-02-20 14:21:24.759591"], ["starts_at", "2015-01-27 14:21:24.759375"], ["updated_at", "2015-02-27 14:21:24.763592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:24.766225"], ["ends_at", "2014-02-27 14:21:24.765919"], ["starts_at", "2013-02-27 14:21:24.765851"], ["updated_at", "2015-02-27 14:21:24.766225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:24.767237"], ["ends_at", "2016-02-27 14:21:24.766975"], ["starts_at", "2015-03-27 14:21:24.766918"], ["updated_at", "2015-02-27 14:21:24.767237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:24.768197"], ["ends_at", "2016-02-27 14:21:24.767922"], ["starts_at", "2014-02-27 14:21:24.767864"], ["updated_at", "2015-02-27 14:21:24.768197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:21:24.769010"], ["ends_at", "2015-02-27 13:21:24.768790"], ["starts_at", "2015-02-26 14:21:24.768740"], ["updated_at", "2015-02-27 14:21:24.769010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:21:24.768740')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.407990"], ["ends_at", "2015-02-20 14:22:27.404506"], ["starts_at", "2015-01-27 14:22:27.404356"], ["updated_at", "2015-02-27 14:22:27.407990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.410280"], ["ends_at", "2014-02-27 14:22:27.409999"], ["starts_at", "2013-02-27 14:22:27.409938"], ["updated_at", "2015-02-27 14:22:27.410280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.411128"], ["ends_at", "2016-02-27 14:22:27.410901"], ["starts_at", "2015-03-27 14:22:27.410854"], ["updated_at", "2015-02-27 14:22:27.411128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.411847"], ["ends_at", "2016-02-27 14:22:27.411624"], ["starts_at", "2014-02-27 14:22:27.411579"], ["updated_at", "2015-02-27 14:22:27.411847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.412572"], ["ends_at", "2015-02-27 13:22:27.412350"], ["starts_at", "2015-02-26 14:22:27.412305"], ["updated_at", "2015-02-27 14:22:27.412572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 13:22:27.412350')  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.414361"], ["ends_at", "2015-02-20 14:22:27.414123"], ["starts_at", "2015-01-27 14:22:27.414064"], ["updated_at", "2015-02-27 14:22:27.414361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.415483"], ["ends_at", "2014-02-27 14:22:27.415107"], ["starts_at", "2013-02-27 14:22:27.415034"], ["updated_at", "2015-02-27 14:22:27.415483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.416425"], ["ends_at", "2016-02-27 14:22:27.416178"], ["starts_at", "2015-03-27 14:22:27.416128"], ["updated_at", "2015-02-27 14:22:27.416425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.417196"], ["ends_at", "2016-02-27 14:22:27.416966"], ["starts_at", "2014-02-27 14:22:27.416918"], ["updated_at", "2015-02-27 14:22:27.417196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:22:27.417942"], ["ends_at", "2015-02-27 13:22:27.417711"], ["starts_at", "2015-02-26 14:22:27.417665"], ["updated_at", "2015-02-27 14:22:27.417942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:22:27.417665')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.854148"], ["ends_at", "2015-02-28 14:25:21.850826"], ["starts_at", "2015-02-26 14:25:21.850690"], ["updated_at", "2015-02-27 14:25:21.854148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.856358"], ["ends_at", "2015-01-27 14:25:21.856105"], ["starts_at", "2014-02-27 14:25:21.856027"], ["updated_at", "2015-02-27 14:25:21.856358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.857165"], ["ends_at", "2017-02-27 14:25:21.856956"], ["starts_at", "2016-02-27 14:25:21.856909"], ["updated_at", "2015-02-27 14:25:21.857165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.857898"], ["ends_at", "2015-03-27 14:25:21.857689"], ["starts_at", "2015-01-27 14:25:21.857645"], ["updated_at", "2015-02-27 14:25:21.857898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.859113"], ["ends_at", "2015-02-20 14:25:21.858877"], ["starts_at", "2015-01-27 14:25:21.858828"], ["updated_at", "2015-02-27 14:25:21.859113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.860104"], ["ends_at", "2014-02-27 14:25:21.859829"], ["starts_at", "2013-02-27 14:25:21.859780"], ["updated_at", "2015-02-27 14:25:21.860104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.860987"], ["ends_at", "2016-02-27 14:25:21.860740"], ["starts_at", "2015-03-27 14:25:21.860691"], ["updated_at", "2015-02-27 14:25:21.860987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.862059"], ["ends_at", "2016-02-27 14:25:21.861566"], ["starts_at", "2014-02-27 14:25:21.861493"], ["updated_at", "2015-02-27 14:25:21.862059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.863210"], ["ends_at", "2015-02-27 13:25:21.862956"], ["starts_at", "2015-02-26 14:25:21.862901"], ["updated_at", "2015-02-27 14:25:21.863210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 13:25:21.862956')  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.864986"], ["ends_at", "2015-02-20 14:25:21.864732"], ["starts_at", "2015-01-27 14:25:21.864680"], ["updated_at", "2015-02-27 14:25:21.864986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.865844"], ["ends_at", "2014-02-27 14:25:21.865610"], ["starts_at", "2013-02-27 14:25:21.865562"], ["updated_at", "2015-02-27 14:25:21.865844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.866737"], ["ends_at", "2016-02-27 14:25:21.866407"], ["starts_at", "2015-03-27 14:25:21.866362"], ["updated_at", "2015-02-27 14:25:21.866737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.867481"], ["ends_at", "2016-02-27 14:25:21.867248"], ["starts_at", "2014-02-27 14:25:21.867202"], ["updated_at", "2015-02-27 14:25:21.867481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:25:21.868191"], ["ends_at", "2015-02-27 13:25:21.867981"], ["starts_at", "2015-02-26 14:25:21.867939"], ["updated_at", "2015-02-27 14:25:21.868191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:25:21.867939')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.660025"], ["ends_at", "2015-02-28 14:27:31.656764"], ["starts_at", "2015-02-26 14:27:31.656636"], ["updated_at", "2015-02-27 14:27:31.660025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.662195"], ["ends_at", "2015-01-27 14:27:31.661950"], ["starts_at", "2014-02-27 14:27:31.661895"], ["updated_at", "2015-02-27 14:27:31.662195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.663035"], ["ends_at", "2017-02-27 14:27:31.662828"], ["starts_at", "2016-02-27 14:27:31.662784"], ["updated_at", "2015-02-27 14:27:31.663035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.663792"], ["ends_at", "2015-03-27 14:27:31.663585"], ["starts_at", "2015-01-27 14:27:31.663541"], ["updated_at", "2015-02-27 14:27:31.663792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.665362"], ["ends_at", "2015-02-20 14:27:31.664978"], ["starts_at", "2015-01-27 14:27:31.664905"], ["updated_at", "2015-02-27 14:27:31.665362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.666478"], ["ends_at", "2014-02-27 14:27:31.666187"], ["starts_at", "2013-02-27 14:27:31.666110"], ["updated_at", "2015-02-27 14:27:31.666478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.667321"], ["ends_at", "2016-02-27 14:27:31.667075"], ["starts_at", "2015-03-27 14:27:31.667028"], ["updated_at", "2015-02-27 14:27:31.667321"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.668220"], ["ends_at", "2016-02-27 14:27:31.667936"], ["starts_at", "2014-02-27 14:27:31.667872"], ["updated_at", "2015-02-27 14:27:31.668220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.668986"], ["ends_at", "2015-02-27 13:27:31.668755"], ["starts_at", "2015-02-26 14:27:31.668711"], ["updated_at", "2015-02-27 14:27:31.668986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 13:27:31.668755')  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.670684"], ["ends_at", "2015-02-20 14:27:31.670450"], ["starts_at", "2015-01-27 14:27:31.670391"], ["updated_at", "2015-02-27 14:27:31.670684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.671528"], ["ends_at", "2014-02-27 14:27:31.671289"], ["starts_at", "2013-02-27 14:27:31.671242"], ["updated_at", "2015-02-27 14:27:31.671528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.672325"], ["ends_at", "2016-02-27 14:27:31.672090"], ["starts_at", "2015-03-27 14:27:31.672045"], ["updated_at", "2015-02-27 14:27:31.672325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.673055"], ["ends_at", "2016-02-27 14:27:31.672825"], ["starts_at", "2014-02-27 14:27:31.672780"], ["updated_at", "2015-02-27 14:27:31.673055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:27:31.673774"], ["ends_at", "2015-02-27 13:27:31.673551"], ["starts_at", "2015-02-26 14:27:31.673510"], ["updated_at", "2015-02-27 14:27:31.673774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:27:31.673510')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.011803"], ["ends_at", "2015-02-28 14:28:01.008386"], ["starts_at", "2015-02-26 14:28:01.008247"], ["updated_at", "2015-02-27 14:28:01.011803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.014014"], ["ends_at", "2015-01-27 14:28:01.013767"], ["starts_at", "2014-02-27 14:28:01.013710"], ["updated_at", "2015-02-27 14:28:01.014014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.014859"], ["ends_at", "2017-02-27 14:28:01.014647"], ["starts_at", "2016-02-27 14:28:01.014602"], ["updated_at", "2015-02-27 14:28:01.014859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.015596"], ["ends_at", "2015-03-27 14:28:01.015389"], ["starts_at", "2015-01-27 14:28:01.015345"], ["updated_at", "2015-02-27 14:28:01.015596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.016786"], ["ends_at", "2015-02-20 14:28:01.016536"], ["starts_at", "2015-01-27 14:28:01.016488"], ["updated_at", "2015-02-27 14:28:01.016786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.017618"], ["ends_at", "2014-02-27 14:28:01.017404"], ["starts_at", "2013-02-27 14:28:01.017346"], ["updated_at", "2015-02-27 14:28:01.017618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.018390"], ["ends_at", "2016-02-27 14:28:01.018181"], ["starts_at", "2015-03-27 14:28:01.018136"], ["updated_at", "2015-02-27 14:28:01.018390"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.019199"], ["ends_at", "2016-02-27 14:28:01.018987"], ["starts_at", "2014-02-27 14:28:01.018943"], ["updated_at", "2015-02-27 14:28:01.019199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.019900"], ["ends_at", "2015-02-27 13:28:01.019708"], ["starts_at", "2015-02-26 14:28:01.019667"], ["updated_at", "2015-02-27 14:28:01.019900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 13:28:01.019708')  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.021632"], ["ends_at", "2015-02-20 14:28:01.021354"], ["starts_at", "2015-01-27 14:28:01.021305"], ["updated_at", "2015-02-27 14:28:01.021632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.022485"], ["ends_at", "2014-02-27 14:28:01.022233"], ["starts_at", "2013-02-27 14:28:01.022174"], ["updated_at", "2015-02-27 14:28:01.022485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.023564"], ["ends_at", "2016-02-27 14:28:01.023288"], ["starts_at", "2015-03-27 14:28:01.023148"], ["updated_at", "2015-02-27 14:28:01.023564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.024377"], ["ends_at", "2016-02-27 14:28:01.024157"], ["starts_at", "2014-02-27 14:28:01.024111"], ["updated_at", "2015-02-27 14:28:01.024377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:01.025122"], ["ends_at", "2015-02-27 13:28:01.024912"], ["starts_at", "2015-02-26 14:28:01.024868"], ["updated_at", "2015-02-27 14:28:01.025122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:28:01.024868')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.008217"], ["ends_at", "2015-02-28 14:28:14.004945"], ["starts_at", "2015-02-26 14:28:14.004803"], ["updated_at", "2015-02-27 14:28:14.008217"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.010668"], ["ends_at", "2015-01-27 14:28:14.010313"], ["starts_at", "2014-02-27 14:28:14.010248"], ["updated_at", "2015-02-27 14:28:14.010668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.011566"], ["ends_at", "2017-02-27 14:28:14.011320"], ["starts_at", "2016-02-27 14:28:14.011273"], ["updated_at", "2015-02-27 14:28:14.011566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.012346"], ["ends_at", "2015-03-27 14:28:14.012097"], ["starts_at", "2015-01-27 14:28:14.012051"], ["updated_at", "2015-02-27 14:28:14.012346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 14:28:14.004945') * DATEDIFF('2015-02-26 14:28:14.004803', end_date) >= 0) AND ("intervals"."id" != 1) SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 14:28:14.004945') * DATEDIFF('2015-02-26 14:28:14.004803', end_date) >= 0) AND ("intervals"."id" != 1)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.016048"], ["ends_at", "2015-02-20 14:28:14.015706"], ["starts_at", "2015-01-27 14:28:14.015623"], ["updated_at", "2015-02-27 14:28:14.016048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.016968"], ["ends_at", "2014-02-27 14:28:14.016740"], ["starts_at", "2013-02-27 14:28:14.016677"], ["updated_at", "2015-02-27 14:28:14.016968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.017797"], ["ends_at", "2016-02-27 14:28:14.017567"], ["starts_at", "2015-03-27 14:28:14.017493"], ["updated_at", "2015-02-27 14:28:14.017797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.018632"], ["ends_at", "2016-02-27 14:28:14.018319"], ["starts_at", "2014-02-27 14:28:14.018274"], ["updated_at", "2015-02-27 14:28:14.018632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.019357"], ["ends_at", "2015-02-27 13:28:14.019158"], ["starts_at", "2015-02-26 14:28:14.019115"], ["updated_at", "2015-02-27 14:28:14.019357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 13:28:14.019158')  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.020992"], ["ends_at", "2015-02-20 14:28:14.020726"], ["starts_at", "2015-01-27 14:28:14.020674"], ["updated_at", "2015-02-27 14:28:14.020992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.021809"], ["ends_at", "2014-02-27 14:28:14.021572"], ["starts_at", "2013-02-27 14:28:14.021525"], ["updated_at", "2015-02-27 14:28:14.021809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.022626"], ["ends_at", "2016-02-27 14:28:14.022369"], ["starts_at", "2015-03-27 14:28:14.022321"], ["updated_at", "2015-02-27 14:28:14.022626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.023395"], ["ends_at", "2016-02-27 14:28:14.023167"], ["starts_at", "2014-02-27 14:28:14.023097"], ["updated_at", "2015-02-27 14:28:14.023395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:28:14.024122"], ["ends_at", "2015-02-27 13:28:14.023927"], ["starts_at", "2015-02-26 14:28:14.023865"], ["updated_at", "2015-02-27 14:28:14.024122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:28:14.023865')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.450800"], ["ends_at", "2015-02-28 14:29:56.441375"], ["starts_at", "2015-02-26 14:29:56.441251"], ["updated_at", "2015-02-27 14:29:56.450800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.453761"], ["ends_at", "2015-01-27 14:29:56.453390"], ["starts_at", "2014-02-27 14:29:56.453307"], ["updated_at", "2015-02-27 14:29:56.453761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.454762"], ["ends_at", "2017-02-27 14:29:56.454508"], ["starts_at", "2016-02-27 14:29:56.454455"], ["updated_at", "2015-02-27 14:29:56.454762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.455573"], ["ends_at", "2015-03-27 14:29:56.455341"], ["starts_at", "2015-01-27 14:29:56.455279"], ["updated_at", "2015-02-27 14:29:56.455573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.456930"], ["ends_at", "2015-02-20 14:29:56.456677"], ["starts_at", "2015-01-27 14:29:56.456623"], ["updated_at", "2015-02-27 14:29:56.456930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.457822"], ["ends_at", "2014-02-27 14:29:56.457588"], ["starts_at", "2013-02-27 14:29:56.457541"], ["updated_at", "2015-02-27 14:29:56.457822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.458753"], ["ends_at", "2016-02-27 14:29:56.458512"], ["starts_at", "2015-03-27 14:29:56.458396"], ["updated_at", "2015-02-27 14:29:56.458753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.459573"], ["ends_at", "2016-02-27 14:29:56.459358"], ["starts_at", "2014-02-27 14:29:56.459312"], ["updated_at", "2015-02-27 14:29:56.459573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.460365"], ["ends_at", "2015-02-27 13:29:56.460165"], ["starts_at", "2015-02-26 14:29:56.460098"], ["updated_at", "2015-02-27 14:29:56.460365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.461707"], ["ends_at", "2015-02-20 14:29:56.461442"], ["starts_at", "2015-01-27 14:29:56.461391"], ["updated_at", "2015-02-27 14:29:56.461707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.462638"], ["ends_at", "2014-02-27 14:29:56.462388"], ["starts_at", "2013-02-27 14:29:56.462339"], ["updated_at", "2015-02-27 14:29:56.462638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.463472"], ["ends_at", "2016-02-27 14:29:56.463250"], ["starts_at", "2015-03-27 14:29:56.463203"], ["updated_at", "2015-02-27 14:29:56.463472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.464250"], ["ends_at", "2016-02-27 14:29:56.464031"], ["starts_at", "2014-02-27 14:29:56.463985"], ["updated_at", "2015-02-27 14:29:56.464250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:29:56.464991"], ["ends_at", "2015-02-27 13:29:56.464791"], ["starts_at", "2015-02-26 14:29:56.464747"], ["updated_at", "2015-02-27 14:29:56.464991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.533022"], ["ends_at", "2015-02-28 14:30:08.529814"], ["starts_at", "2015-02-26 14:30:08.529682"], ["updated_at", "2015-02-27 14:30:08.533022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.535270"], ["ends_at", "2015-01-27 14:30:08.534987"], ["starts_at", "2014-02-27 14:30:08.534931"], ["updated_at", "2015-02-27 14:30:08.535270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.536093"], ["ends_at", "2017-02-27 14:30:08.535867"], ["starts_at", "2016-02-27 14:30:08.535800"], ["updated_at", "2015-02-27 14:30:08.536093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.536832"], ["ends_at", "2015-03-27 14:30:08.536594"], ["starts_at", "2015-01-27 14:30:08.536550"], ["updated_at", "2015-02-27 14:30:08.536832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 14:30:08.529814') * DATEDIFF('2015-02-26 14:30:08.529682', end_date) >= 0) AND ("intervals"."id" != 1) SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 14:30:08.529814') * DATEDIFF('2015-02-26 14:30:08.529682', end_date) >= 0) AND ("intervals"."id" != 1)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.541499"], ["ends_at", "2015-02-20 14:30:08.540763"], ["starts_at", "2015-01-27 14:30:08.540582"], ["updated_at", "2015-02-27 14:30:08.541499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.542697"], ["ends_at", "2014-02-27 14:30:08.542374"], ["starts_at", "2013-02-27 14:30:08.542297"], ["updated_at", "2015-02-27 14:30:08.542697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.543559"], ["ends_at", "2016-02-27 14:30:08.543327"], ["starts_at", "2015-03-27 14:30:08.543278"], ["updated_at", "2015-02-27 14:30:08.543559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.544336"], ["ends_at", "2016-02-27 14:30:08.544107"], ["starts_at", "2014-02-27 14:30:08.544060"], ["updated_at", "2015-02-27 14:30:08.544336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.545149"], ["ends_at", "2015-02-27 13:30:08.544921"], ["starts_at", "2015-02-26 14:30:08.544875"], ["updated_at", "2015-02-27 14:30:08.545149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 13:30:08.544921')  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.546728"], ["ends_at", "2015-02-20 14:30:08.546461"], ["starts_at", "2015-01-27 14:30:08.546407"], ["updated_at", "2015-02-27 14:30:08.546728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.547565"], ["ends_at", "2014-02-27 14:30:08.547323"], ["starts_at", "2013-02-27 14:30:08.547275"], ["updated_at", "2015-02-27 14:30:08.547565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.548382"], ["ends_at", "2016-02-27 14:30:08.548131"], ["starts_at", "2015-03-27 14:30:08.548084"], ["updated_at", "2015-02-27 14:30:08.548382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.549170"], ["ends_at", "2016-02-27 14:30:08.548927"], ["starts_at", "2014-02-27 14:30:08.548857"], ["updated_at", "2015-02-27 14:30:08.549170"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:30:08.549867"], ["ends_at", "2015-02-27 13:30:08.549676"], ["starts_at", "2015-02-26 14:30:08.549634"], ["updated_at", "2015-02-27 14:30:08.549867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 14:30:08.549634')  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.616025"], ["ends_at", "2015-02-28 14:57:53.612703"], ["starts_at", "2015-02-26 14:57:53.612568"], ["updated_at", "2015-02-27 14:57:53.616025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.618280"], ["ends_at", "2015-01-27 14:57:53.618016"], ["starts_at", "2014-02-27 14:57:53.617957"], ["updated_at", "2015-02-27 14:57:53.618280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.619193"], ["ends_at", "2017-02-27 14:57:53.618966"], ["starts_at", "2016-02-27 14:57:53.618919"], ["updated_at", "2015-02-27 14:57:53.619193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.619999"], ["ends_at", "2015-03-27 14:57:53.619774"], ["starts_at", "2015-01-27 14:57:53.619728"], ["updated_at", "2015-02-27 14:57:53.619999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, 'ends_at') * DATEDIFF('starts_at', end_date) >= 0) AND ("intervals"."id" != 1) SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, 'ends_at') * DATEDIFF('starts_at', end_date) >= 0) AND ("intervals"."id" != 1)  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.623532"], ["ends_at", "2015-02-20 14:57:53.623264"], ["starts_at", "2015-01-27 14:57:53.623200"], ["updated_at", "2015-02-27 14:57:53.623532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.624403"], ["ends_at", "2014-02-27 14:57:53.624169"], ["starts_at", "2013-02-27 14:57:53.624121"], ["updated_at", "2015-02-27 14:57:53.624403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.625216"], ["ends_at", "2016-02-27 14:57:53.624992"], ["starts_at", "2015-03-27 14:57:53.624944"], ["updated_at", "2015-02-27 14:57:53.625216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.625977"], ["ends_at", "2016-02-27 14:57:53.625754"], ["starts_at", "2014-02-27 14:57:53.625708"], ["updated_at", "2015-02-27 14:57:53.625977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.626746"], ["ends_at", "2015-02-27 13:57:53.626541"], ["starts_at", "2015-02-26 14:57:53.626497"], ["updated_at", "2015-02-27 14:57:53.626746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.627944"], ["ends_at", "2015-02-20 14:57:53.627682"], ["starts_at", "2015-01-27 14:57:53.627635"], ["updated_at", "2015-02-27 14:57:53.627944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.628733"], ["ends_at", "2014-02-27 14:57:53.628496"], ["starts_at", "2013-02-27 14:57:53.628450"], ["updated_at", "2015-02-27 14:57:53.628733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.629531"], ["ends_at", "2016-02-27 14:57:53.629285"], ["starts_at", "2015-03-27 14:57:53.629237"], ["updated_at", "2015-02-27 14:57:53.629531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.630317"], ["ends_at", "2016-02-27 14:57:53.630080"], ["starts_at", "2014-02-27 14:57:53.630035"], ["updated_at", "2015-02-27 14:57:53.630317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:57:53.631166"], ["ends_at", "2015-02-27 13:57:53.630961"], ["starts_at", "2015-02-26 14:57:53.630896"], ["updated_at", "2015-02-27 14:57:53.631166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:25.038574"], ["ends_at", "2015-02-28 14:58:25.035227"], ["starts_at", "2015-02-26 14:58:25.035092"], ["updated_at", "2015-02-27 14:58:25.038574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:25.040896"], ["ends_at", "2015-01-27 14:58:25.040623"], ["starts_at", "2014-02-27 14:58:25.040560"], ["updated_at", "2015-02-27 14:58:25.040896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:25.041755"], ["ends_at", "2017-02-27 14:58:25.041533"], ["starts_at", "2016-02-27 14:58:25.041486"], ["updated_at", "2015-02-27 14:58:25.041755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:25.042547"], ["ends_at", "2015-03-27 14:58:25.042299"], ["starts_at", "2015-01-27 14:58:25.042253"], ["updated_at", "2015-02-27 14:58:25.042547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.4ms) SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, 'ends_at') * DATEDIFF('starts_at', end_date) >= 0) AND ("intervals"."id" != 1) SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, 'ends_at') * DATEDIFF('starts_at', end_date) >= 0) AND ("intervals"."id" != 1)  (0.4ms) rollback transaction  (0.3ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.345715"], ["ends_at", "2015-02-20 14:58:50.344348"], ["starts_at", "2015-01-27 14:58:50.343989"], ["updated_at", "2015-02-27 14:58:50.345715"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.355090"], ["ends_at", "2014-02-27 14:58:50.352456"], ["starts_at", "2013-02-27 14:58:50.351945"], ["updated_at", "2015-02-27 14:58:50.355090"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.360982"], ["ends_at", "2016-02-27 14:58:50.359333"], ["starts_at", "2015-03-27 14:58:50.359002"], ["updated_at", "2015-02-27 14:58:50.360982"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.366666"], ["ends_at", "2016-02-27 14:58:50.364911"], ["starts_at", "2014-02-27 14:58:50.364541"], ["updated_at", "2015-02-27 14:58:50.366666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.371683"], ["ends_at", "2015-02-27 13:58:50.370265"], ["starts_at", "2015-02-26 14:58:50.370039"], ["updated_at", "2015-02-27 14:58:50.371683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.378823"], ["ends_at", "2015-02-20 14:58:50.377260"], ["starts_at", "2015-01-27 14:58:50.376986"], ["updated_at", "2015-02-27 14:58:50.378823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.383759"], ["ends_at", "2014-02-27 14:58:50.382372"], ["starts_at", "2013-02-27 14:58:50.382141"], ["updated_at", "2015-02-27 14:58:50.383759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.388670"], ["ends_at", "2016-02-27 14:58:50.387260"], ["starts_at", "2015-03-27 14:58:50.386995"], ["updated_at", "2015-02-27 14:58:50.388670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.393321"], ["ends_at", "2016-02-27 14:58:50.391958"], ["starts_at", "2014-02-27 14:58:50.391654"], ["updated_at", "2015-02-27 14:58:50.393321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:58:50.397907"], ["ends_at", "2015-02-27 13:58:50.396677"], ["starts_at", "2015-02-26 14:58:50.396461"], ["updated_at", "2015-02-27 14:58:50.397907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.130456"], ["ends_at", "2015-02-28 14:59:58.127039"], ["starts_at", "2015-02-26 14:59:58.126862"], ["updated_at", "2015-02-27 14:59:58.130456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.132733"], ["ends_at", "2015-01-27 14:59:58.132468"], ["starts_at", "2014-02-27 14:59:58.132408"], ["updated_at", "2015-02-27 14:59:58.132733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.133570"], ["ends_at", "2017-02-27 14:59:58.133351"], ["starts_at", "2016-02-27 14:59:58.133304"], ["updated_at", "2015-02-27 14:59:58.133570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.134306"], ["ends_at", "2015-03-27 14:59:58.134090"], ["starts_at", "2015-01-27 14:59:58.134047"], ["updated_at", "2015-02-27 14:59:58.134306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.135683"], ["ends_at", "2015-02-20 14:59:58.135406"], ["starts_at", "2015-01-27 14:59:58.135357"], ["updated_at", "2015-02-27 14:59:58.135683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.136546"], ["ends_at", "2014-02-27 14:59:58.136324"], ["starts_at", "2013-02-27 14:59:58.136278"], ["updated_at", "2015-02-27 14:59:58.136546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.137323"], ["ends_at", "2016-02-27 14:59:58.137104"], ["starts_at", "2015-03-27 14:59:58.137059"], ["updated_at", "2015-02-27 14:59:58.137323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.138077"], ["ends_at", "2016-02-27 14:59:58.137860"], ["starts_at", "2014-02-27 14:59:58.137816"], ["updated_at", "2015-02-27 14:59:58.138077"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.138797"], ["ends_at", "2015-02-27 13:59:58.138598"], ["starts_at", "2015-02-26 14:59:58.138555"], ["updated_at", "2015-02-27 14:59:58.138797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.139976"], ["ends_at", "2015-02-20 14:59:58.139746"], ["starts_at", "2015-01-27 14:59:58.139702"], ["updated_at", "2015-02-27 14:59:58.139976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.140758"], ["ends_at", "2014-02-27 14:59:58.140525"], ["starts_at", "2013-02-27 14:59:58.140481"], ["updated_at", "2015-02-27 14:59:58.140758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.141498"], ["ends_at", "2016-02-27 14:59:58.141275"], ["starts_at", "2015-03-27 14:59:58.141232"], ["updated_at", "2015-02-27 14:59:58.141498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.142242"], ["ends_at", "2016-02-27 14:59:58.142006"], ["starts_at", "2014-02-27 14:59:58.141962"], ["updated_at", "2015-02-27 14:59:58.142242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 14:59:58.143019"], ["ends_at", "2015-02-27 13:59:58.142808"], ["starts_at", "2015-02-26 14:59:58.142767"], ["updated_at", "2015-02-27 14:59:58.143019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ------------------------------------------ ActsAsIntervalTest: test_check_if_interval ------------------------------------------  (0.0ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.194639"], ["ends_at", "2015-02-28 15:01:11.193309"], ["starts_at", "2015-02-26 15:01:11.193172"], ["updated_at", "2015-02-27 15:01:11.194639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.196794"], ["ends_at", "2015-01-27 15:01:11.196560"], ["starts_at", "2014-02-27 15:01:11.196504"], ["updated_at", "2015-02-27 15:01:11.196794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.197620"], ["ends_at", "2017-02-27 15:01:11.197411"], ["starts_at", "2016-02-27 15:01:11.197366"], ["updated_at", "2015-02-27 15:01:11.197620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.198348"], ["ends_at", "2015-03-27 15:01:11.198137"], ["starts_at", "2015-01-27 15:01:11.198094"], ["updated_at", "2015-02-27 15:01:11.198348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.199627"], ["ends_at", "2015-02-20 15:01:11.199391"], ["starts_at", "2015-01-27 15:01:11.199315"], ["updated_at", "2015-02-27 15:01:11.199627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.200568"], ["ends_at", "2014-02-27 15:01:11.200342"], ["starts_at", "2013-02-27 15:01:11.200270"], ["updated_at", "2015-02-27 15:01:11.200568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.201374"], ["ends_at", "2016-02-27 15:01:11.201155"], ["starts_at", "2015-03-27 15:01:11.201085"], ["updated_at", "2015-02-27 15:01:11.201374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.202261"], ["ends_at", "2016-02-27 15:01:11.201976"], ["starts_at", "2014-02-27 15:01:11.201908"], ["updated_at", "2015-02-27 15:01:11.202261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.203098"], ["ends_at", "2015-02-27 14:01:11.202895"], ["starts_at", "2015-02-26 15:01:11.202852"], ["updated_at", "2015-02-27 15:01:11.203098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.204327"], ["ends_at", "2015-02-20 15:01:11.204096"], ["starts_at", "2015-01-27 15:01:11.204049"], ["updated_at", "2015-02-27 15:01:11.204327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.205148"], ["ends_at", "2014-02-27 15:01:11.204924"], ["starts_at", "2013-02-27 15:01:11.204877"], ["updated_at", "2015-02-27 15:01:11.205148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.205961"], ["ends_at", "2016-02-27 15:01:11.205714"], ["starts_at", "2015-03-27 15:01:11.205667"], ["updated_at", "2015-02-27 15:01:11.205961"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.206789"], ["ends_at", "2016-02-27 15:01:11.206546"], ["starts_at", "2014-02-27 15:01:11.206498"], ["updated_at", "2015-02-27 15:01:11.206789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:11.207518"], ["ends_at", "2015-02-27 14:01:11.207307"], ["starts_at", "2015-02-26 15:01:11.207266"], ["updated_at", "2015-02-27 15:01:11.207518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.200544"], ["ends_at", "2015-02-28 15:01:28.196657"], ["starts_at", "2015-02-26 15:01:28.196525"], ["updated_at", "2015-02-27 15:01:28.200544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.202758"], ["ends_at", "2015-01-27 15:01:28.202497"], ["starts_at", "2014-02-27 15:01:28.202405"], ["updated_at", "2015-02-27 15:01:28.202758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.203616"], ["ends_at", "2017-02-27 15:01:28.203399"], ["starts_at", "2016-02-27 15:01:28.203354"], ["updated_at", "2015-02-27 15:01:28.203616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.204352"], ["ends_at", "2015-03-27 15:01:28.204143"], ["starts_at", "2015-01-27 15:01:28.204099"], ["updated_at", "2015-02-27 15:01:28.204352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.205717"], ["ends_at", "2015-02-20 15:01:28.205414"], ["starts_at", "2015-01-27 15:01:28.205350"], ["updated_at", "2015-02-27 15:01:28.205717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.206670"], ["ends_at", "2014-02-27 15:01:28.206382"], ["starts_at", "2013-02-27 15:01:28.206334"], ["updated_at", "2015-02-27 15:01:28.206670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.207534"], ["ends_at", "2016-02-27 15:01:28.207278"], ["starts_at", "2015-03-27 15:01:28.207230"], ["updated_at", "2015-02-27 15:01:28.207534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.208538"], ["ends_at", "2016-02-27 15:01:28.208286"], ["starts_at", "2014-02-27 15:01:28.208204"], ["updated_at", "2015-02-27 15:01:28.208538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.209282"], ["ends_at", "2015-02-27 14:01:28.209074"], ["starts_at", "2015-02-26 15:01:28.209017"], ["updated_at", "2015-02-27 15:01:28.209282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.210517"], ["ends_at", "2015-02-20 15:01:28.210279"], ["starts_at", "2015-01-27 15:01:28.210232"], ["updated_at", "2015-02-27 15:01:28.210517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.211315"], ["ends_at", "2014-02-27 15:01:28.211098"], ["starts_at", "2013-02-27 15:01:28.211052"], ["updated_at", "2015-02-27 15:01:28.211315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.212095"], ["ends_at", "2016-02-27 15:01:28.211889"], ["starts_at", "2015-03-27 15:01:28.211844"], ["updated_at", "2015-02-27 15:01:28.212095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.212827"], ["ends_at", "2016-02-27 15:01:28.212618"], ["starts_at", "2014-02-27 15:01:28.212574"], ["updated_at", "2015-02-27 15:01:28.212827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:01:28.213536"], ["ends_at", "2015-02-27 14:01:28.213353"], ["starts_at", "2015-02-26 15:01:28.213301"], ["updated_at", "2015-02-27 15:01:28.213536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:02:07.276068"], ["ends_at", "2015-02-28 15:02:07.271109"], ["starts_at", "2015-02-26 15:02:07.270951"], ["updated_at", "2015-02-27 15:02:07.276068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:02:07.278900"], ["ends_at", "2015-01-27 15:02:07.278550"], ["starts_at", "2014-02-27 15:02:07.278462"], ["updated_at", "2015-02-27 15:02:07.278900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:02:07.280382"], ["ends_at", "2017-02-27 15:02:07.279967"], ["starts_at", "2016-02-27 15:02:07.279845"], ["updated_at", "2015-02-27 15:02:07.280382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:02:07.281331"], ["ends_at", "2015-03-27 15:02:07.281104"], ["starts_at", "2015-01-27 15:02:07.281057"], ["updated_at", "2015-02-27 15:02:07.281331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.1ms) SELECT "intervals".* FROM "intervals" WHERE (1)  (0.4ms) rollback transaction  (0.2ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.638299"], ["ends_at", "2015-02-20 15:03:00.635349"], ["starts_at", "2015-01-27 15:03:00.634795"], ["updated_at", "2015-02-27 15:03:00.638299"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.648398"], ["ends_at", "2014-02-27 15:03:00.645837"], ["starts_at", "2013-02-27 15:03:00.645394"], ["updated_at", "2015-02-27 15:03:00.648398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.654513"], ["ends_at", "2016-02-27 15:03:00.653229"], ["starts_at", "2015-03-27 15:03:00.652999"], ["updated_at", "2015-02-27 15:03:00.654513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.659163"], ["ends_at", "2016-02-27 15:03:00.657621"], ["starts_at", "2014-02-27 15:03:00.657321"], ["updated_at", "2015-02-27 15:03:00.659163"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.663927"], ["ends_at", "2015-02-27 14:03:00.662593"], ["starts_at", "2015-02-26 15:03:00.662276"], ["updated_at", "2015-02-27 15:03:00.663927"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.670036"], ["ends_at", "2015-02-20 15:03:00.668820"], ["starts_at", "2015-01-27 15:03:00.668545"], ["updated_at", "2015-02-27 15:03:00.670036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.674099"], ["ends_at", "2014-02-27 15:03:00.672956"], ["starts_at", "2013-02-27 15:03:00.672767"], ["updated_at", "2015-02-27 15:03:00.674099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.678114"], ["ends_at", "2016-02-27 15:03:00.676972"], ["starts_at", "2015-03-27 15:03:00.676755"], ["updated_at", "2015-02-27 15:03:00.678114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.682182"], ["ends_at", "2016-02-27 15:03:00.681054"], ["starts_at", "2014-02-27 15:03:00.680841"], ["updated_at", "2015-02-27 15:03:00.682182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:00.685879"], ["ends_at", "2015-02-27 14:03:00.684904"], ["starts_at", "2015-02-26 15:03:00.684719"], ["updated_at", "2015-02-27 15:03:00.685879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:45.147762"], ["ends_at", "2015-02-28 15:03:45.143910"], ["starts_at", "2015-02-26 15:03:45.143779"], ["updated_at", "2015-02-27 15:03:45.147762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:45.149994"], ["ends_at", "2015-01-27 15:03:45.149722"], ["starts_at", "2014-02-27 15:03:45.149661"], ["updated_at", "2015-02-27 15:03:45.149994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:45.150845"], ["ends_at", "2017-02-27 15:03:45.150615"], ["starts_at", "2016-02-27 15:03:45.150569"], ["updated_at", "2015-02-27 15:03:45.150845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:45.151573"], ["ends_at", "2015-03-27 15:03:45.151343"], ["starts_at", "2015-01-27 15:03:45.151298"], ["updated_at", "2015-02-27 15:03:45.151573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.2ms) SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 15:03:45.143910') * DATEDIFF('2015-02-26 15:03:45.143779', ends_at) >= 0) AND ("intervals"."id" != 1) SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 15:03:45.143910') * DATEDIFF('2015-02-26 15:03:45.143779', ends_at) >= 0) AND ("intervals"."id" != 1)  (0.2ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.388820"], ["ends_at", "2015-02-20 15:03:47.387555"], ["starts_at", "2015-01-27 15:03:47.387321"], ["updated_at", "2015-02-27 15:03:47.388820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.392904"], ["ends_at", "2014-02-27 15:03:47.391780"], ["starts_at", "2013-02-27 15:03:47.391524"], ["updated_at", "2015-02-27 15:03:47.392904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.396863"], ["ends_at", "2016-02-27 15:03:47.395667"], ["starts_at", "2015-03-27 15:03:47.395481"], ["updated_at", "2015-02-27 15:03:47.396863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.401132"], ["ends_at", "2016-02-27 15:03:47.399988"], ["starts_at", "2014-02-27 15:03:47.399763"], ["updated_at", "2015-02-27 15:03:47.401132"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.406031"], ["ends_at", "2015-02-27 14:03:47.404689"], ["starts_at", "2015-02-26 15:03:47.404444"], ["updated_at", "2015-02-27 15:03:47.406031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.411714"], ["ends_at", "2015-02-20 15:03:47.410559"], ["starts_at", "2015-01-27 15:03:47.410332"], ["updated_at", "2015-02-27 15:03:47.411714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.415957"], ["ends_at", "2014-02-27 15:03:47.414830"], ["starts_at", "2013-02-27 15:03:47.414620"], ["updated_at", "2015-02-27 15:03:47.415957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.419807"], ["ends_at", "2016-02-27 15:03:47.418724"], ["starts_at", "2015-03-27 15:03:47.418528"], ["updated_at", "2015-02-27 15:03:47.419807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.423498"], ["ends_at", "2016-02-27 15:03:47.422439"], ["starts_at", "2014-02-27 15:03:47.422223"], ["updated_at", "2015-02-27 15:03:47.423498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:03:47.427166"], ["ends_at", "2015-02-27 14:03:47.426030"], ["starts_at", "2015-02-26 15:03:47.425866"], ["updated_at", "2015-02-27 15:03:47.427166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction ----------------------------------------------- ActsAsIntervalTest: test_intersecting_intervals -----------------------------------------------  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:35.253426"], ["ends_at", "2015-02-28 15:04:35.249624"], ["starts_at", "2015-02-26 15:04:35.249491"], ["updated_at", "2015-02-27 15:04:35.253426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:35.255671"], ["ends_at", "2015-01-27 15:04:35.255383"], ["starts_at", "2014-02-27 15:04:35.255324"], ["updated_at", "2015-02-27 15:04:35.255671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:35.256520"], ["ends_at", "2017-02-27 15:04:35.256283"], ["starts_at", "2016-02-27 15:04:35.256236"], ["updated_at", "2015-02-27 15:04:35.256520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:35.257259"], ["ends_at", "2015-03-27 15:04:35.257027"], ["starts_at", "2015-01-27 15:04:35.256983"], ["updated_at", "2015-02-27 15:04:35.257259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.5ms) SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 15:04:35.249624') * DATEDIFF('2015-02-26 15:04:35.249491', ends_at) >= 0) AND ("intervals"."id" != 1) SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 15:04:35.249624') * DATEDIFF('2015-02-26 15:04:35.249491', ends_at) >= 0) AND ("intervals"."id" != 1)  (0.4ms) rollback transaction  (0.1ms) begin transaction ---------------------------------------- ActsAsIntervalTest: test_intervals_after ----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.032265"], ["ends_at", "2015-02-20 15:04:37.031025"], ["starts_at", "2015-01-27 15:04:37.030790"], ["updated_at", "2015-02-27 15:04:37.032265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.036212"], ["ends_at", "2014-02-27 15:04:37.035138"], ["starts_at", "2013-02-27 15:04:37.034945"], ["updated_at", "2015-02-27 15:04:37.036212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.040103"], ["ends_at", "2016-02-27 15:04:37.039001"], ["starts_at", "2015-03-27 15:04:37.038819"], ["updated_at", "2015-02-27 15:04:37.040103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.043949"], ["ends_at", "2016-02-27 15:04:37.042789"], ["starts_at", "2014-02-27 15:04:37.042589"], ["updated_at", "2015-02-27 15:04:37.043949"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.048856"], ["ends_at", "2015-02-27 14:04:37.047014"], ["starts_at", "2015-02-26 15:04:37.046736"], ["updated_at", "2015-02-27 15:04:37.048856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.2ms) SELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 14:04:37.047014')  (0.2ms) rollback transaction  (0.1ms) begin transaction ----------------------------------------- ActsAsIntervalTest: test_intervals_before -----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.056045"], ["ends_at", "2015-02-20 15:04:37.054730"], ["starts_at", "2015-01-27 15:04:37.054504"], ["updated_at", "2015-02-27 15:04:37.056045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.060224"], ["ends_at", "2014-02-27 15:04:37.059103"], ["starts_at", "2013-02-27 15:04:37.058906"], ["updated_at", "2015-02-27 15:04:37.060224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.064548"], ["ends_at", "2016-02-27 15:04:37.063313"], ["starts_at", "2015-03-27 15:04:37.063112"], ["updated_at", "2015-02-27 15:04:37.064548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.068540"], ["ends_at", "2016-02-27 15:04:37.067436"], ["starts_at", "2014-02-27 15:04:37.067218"], ["updated_at", "2015-02-27 15:04:37.068540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "intervals" ("created_at", "ends_at", "starts_at", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2015-02-27 15:04:37.072115"], ["ends_at", "2015-02-27 14:04:37.071148"], ["starts_at", "2015-02-26 15:04:37.070983"], ["updated_at", "2015-02-27 15:04:37.072115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Interval Load (0.2ms) SELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 15:04:37.070983')  (0.1ms) rollback transaction