frozen_record
frozen_record copied to clipboard
Read only ActiveRecord-like interface to query static YAML files
`FrozenRecord.Scope#find`, in [frozen_record/scope.rb](https://github.com/byroot/frozen_record/blob/master/lib/frozen_record/scope.rb#L40-L48), does not support that a block is passed to it ```ruby def find(id) raise RecordNotFound, "Can't lookup record without ID" unless id scope = self if @limit...
I need this feature for my own application. Notice that we've added an additional "position" attribute, to take advantage of the fact that csvs are ordered.
Hi @byroot / @casperisfine, been a while! At my new place we've been thinking about a use case with a few very large records (with very long list properties) and...
## Misc primogeniture updates 👑 Use inclusive term "monarch" for a hereditary head of state in tests and examples. 🇨🇦 Update monarch of Canada.
Adding ActiveSupport Notifications similar to what [ActiveRecord already does](https://edgeguides.rubyonrails.org/active_support_instrumentation.html#active-record).
FrozenRecord was never meant to handle "large" datasets. However it's not always evident what a large dataset is, and it's also easy for a dataset to grow over time and...
I would like to use a default_scope for ordering: ``` default_scope { order(:position) } ```
I ran into an issue today where tests were failing because the FrozenRecord object lacked a method that the calling code expected to be present. This happened because while the...