RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

sqids-rails v0.1.1 released

sqids-rails is a new gem that provides Sqids (formerly Hashids) integration for Ruby on Rails.

The initial release provides a has_sqid method that behaves similarly to has_secure_token but generates a Sqid on the column.

A future release will provide an opt-in patch to find records via their primary key encoded as an Sqid.

Thanks to Ivan Akimov (@4kimov) for creating and maintaining Sqids and sqids-ruby, and Roberto Miranda (@robertomiranda) for has_secure_token.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in