Hashid Rails Versions Save

Use Hashids (http://hashids.org/ruby/) in your Rails app ActiveRecord models.

v1.4.1

3 years ago
  • Use ** splat operator to address deprecation warning in Ruby 2.7 (#72) by alexford.
  • Use codeclimate-action to improve edge-case handling (#73).
  • Add matrix testing for supported Ruby (#74) and Rails (#75) versions.

v1.4.0

3 years ago
  • Add support for disabling the overriding of to_param (#68)
  • Fix exception raised when calling hashid on an model with a nil id (#63) by fauxparse

v1.3.0

4 years ago
  • Add support for model-level config (#67)

v1.2.2

4 years ago

Fixed

  • Handle exception raised when using a letter-only alphabet and attempting to decode an integer ID from @Drakula2k (#54).

v1.2.1

4 years ago
  • Found issue where unsigned hashids with find did not fall back to passed in ID (#46).
  • Move finder specs to a shared example run against both the signed and unsigned hashids.

v1.2.0

4 years ago
  • Fix regression where find_by_hashid and find_by_hashid! attempt to decode values that are not hashids. (#41)

v1.1.1

4 years ago
  • Fix eager loading and finding records through a parent. (#39)

v1.1.0

4 years ago
  • Add option to disable hashid signing. This adds backwards compatibility with pre-1.0 releases. Thanks @olliebennett! (#37)
  • Add note to README about upgrading from pre-1.0 releases.

v1.0.0

4 years ago
  • Sign hashids to prevent accidentally decoded regular ids
  • Require explicitly including Hashid::Rails in models
  • Improve support for model associations
  • Rename config variables to better match hashids project
  • Improve overall test coverage

v0.7.0

4 years ago
  • Add configuration option to disable overriding default find (#22).