Releases: hult/acts_as_having_string_id
Releases · hult/acts_as_having_string_id
v0.2.7
Version 0.2.7 (#29)
* Bump version
* Update bundle
v0.2.6
- Fix a bug where belongs to relationship set an attribute on the wrong class (#18, #20)
v0.2.5
Fixnum is deprecated in ruby 2.4.x, so don't depend on that.
v0.2.4
- Allow using with the Rails 5.1.0 betas. Thanks to @clairity for the patch.
v0.2.3
- Raise
ActiveRecord::RecordNotFound
for all string ids that are invalid (before, you got a weird exception from within the base62 library)
v0.2.2
Fix a bug where ActsAsHavingStringId
wasn't included when a model class reloads.
v0.2.1
- Include module on
config.to_prepare
instead of initialize
and Spring.after_fork
. Fixes a bug where the module wouldn't be included if you touched a file while having the development server running.
v0.2.0
- Make your model's
id
be a StringId
with to_s
and to_i
methods
- Automatically make all reflections to affected models be
StringId
s as well
v0.1.2
Fix a bug where the module wasn't included in your ApplicationRecord
when Spring reloaded it.
v0.1.1
Fix an error in TEA passphrase generation