Commit Graph

6 Commits

Author SHA1 Message Date
Jared Beck 2a169ae17d Follow-up work re: touch 2018-03-16 19:06:17 -04:00
André Hester dd80ccf240 Use base class name for reification instead of class name to reify polymorphic models properly 2017-12-21 23:17:12 +01:00
André Hester b833f8d19d Add explicit precision on datetime columns to enable fractional second precision on mysql 2017-12-21 23:11:32 +01:00
Jared Beck 08b25608bd Fix StatementInvalid error in schema.rb
```
ActiveRecord::StatementInvalid: SQLite3::SQLException:
object name reserved for internal use:
sqlite_autoindex_custom_primary_key_records_1:
CREATE UNIQUE INDEX "sqlite_autoindex_custom_primary_key_records_1"
ON "custom_primary_key_records" ("uuid")
```
2017-10-17 17:58:32 -04:00
chimame 56991ae9a1 Fix item_type in association reification query (#996)
When a record is inserted into the `versions` table, it is given an `item_type` like `Foo::Bar`, but the association reification queries were searching for an `item_type` like `::Foo::Bar`.
2017-10-04 22:02:46 -04:00
Jared Beck 94b9306647 Finish the conversion to RSpec
- Convert serializers/mixin_json_test.rb to rspec
- Convert functional/thread_safety_test.rb to rspec
- Convert functional/controller_test.rb to rspec
- Move the dummy app from test to spec, delete test dir
2017-06-10 01:45:46 -04:00