All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed issue with
sync_all!
finding obsolete classes that are no longer defined as support tables in development or test environments.
- Made loading data from the data files thread safe.
- Added thread safety to modification of internal class variables.
- Ignore invalid associations when inspecting reflections on
sync_all!
to establish the load order. These kinds of errors have nothing to do with the support table definition and create confusion when the are raised while syncing data.
- Added
named_instance
method to load a named instance from the database. - Added class method
named_instance_data
to return attributes from the data files for a named instance. - Added handling for
has_many through
associations to load the dependent through associations first.
- Ignore anonymous ActiveRecord classes when calling
sync_all!
.
- Freeze values returned from helper methods.
- Helper methods can defined on the class to expose attributes for named instances without requiring a database connection.
- Add SupportTableData concern to enable automatic syncing of data on support tables.