Releases: crashtech/torque-postgresql
Releases · crashtech/torque-postgresql
Issues fixes and improvements
- Fix issue with base class identification
- Fix problem when converting an interval with a
weekspart - Fix how Enum are initialized to make sure alternative name works
- Enum improvements
- Inheritance cache improvements
Rails 5.2 support
Adding support to Rails 5.2
Fix cast records with calculations
When using cast_records with filter, use the join table to filter the models, instead of the base table, allowing calculations like sum to happen correctly
Fix Ruby Crash
An early return while building enum decorators caused Ruby to crash. Changed return to break fixed the problem.
Fixes to specs
Features that were not provided yet were removed from specs
Enum improvements and fixes
- Fix enum default value on schema
- Fix enum scopes methods
Fix issue with merger and dynamic selection
v0.2.7 v0.2.7
Improvements to querying and enums
- Fix issue with calculated operations like
.countand.sum - Fix issue related to
USING, since join tables can have a similar attribute name - Allow enums to be used as normal arrays
Fix for Schema Cache
For some reason, there's a situation where the @data_sources on the Schema Cache gets a key-value pair of nil, breaking the sort. The issue is fixed on this version.
Production bug fixes
- Remove it form
eager_load_namespaces - Cache table_name/model on
reset_table_name - Ensure that the GEM runs on production mode