Skip to content

Releases: jcypret/hashid-rails

v0.6.0

08 Jan 00:36
Compare
Choose a tag to compare
  • Add Rubocop and adjust styles to be consistent.
  • Fix issue where finding multiple non-hashids returns an array of nils.
  • Switch over testing to use SQLite for more accurate db interactions.

v0.5.0

08 Jan 00:36
Compare
Choose a tag to compare
  • Update specs to support Rails 5.x series.

v0.4.1

21 Aug 14:20
Compare
Choose a tag to compare
  • Limit installations to Rails 4.x; gem is not yet Rails 5 compatible.

v0.4.0

21 Aug 13:46
Compare
Choose a tag to compare
  • Add find_by_hashid method to always try and decode, as opposed to find which tries to find it as an integer first.

v0.3.2

21 Aug 13:45
Compare
Choose a tag to compare
  • Multiple ids can be passed to find method.

v0.3.1

11 Mar 04:49
Compare
Choose a tag to compare
  • Update Rails dependency to work with Rails 4.0 and up.

v0.3.0

11 Mar 04:49
Compare
Choose a tag to compare
  • Customize the alphabet used for Hashids.

v0.2.0

29 Jan 22:33
Compare
Choose a tag to compare
  • Customize the Hashid seed and length using a configuration initializer.
  • Add test coverage
  • Fix issue where calling .reload on model retries to decode_id.

v0.1.2

29 Jan 22:35
Compare
Choose a tag to compare
  • Let Model#find work with integers passed in as strings.

v0.1.1

29 Jan 22:36
Compare
Choose a tag to compare
  • Let Model#find work with integer model ids as well as hashids.