lib/hashid/rails/configuration.rb in hashid-rails-1.3.0 vs lib/hashid/rails/configuration.rb in hashid-rails-1.4.0

- old
+ new

@@ -6,19 +6,21 @@ attr_accessor :salt, :pepper, :min_hash_length, :alphabet, :override_find, + :override_to_param, :sign_hashids def initialize @salt = "" @pepper = "" @min_hash_length = 6 @alphabet = "abcdefghijklmnopqrstuvwxyz" \ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \ "1234567890" @override_find = true + @override_to_param = true @sign_hashids = true end def to_args ["#{pepper}#{salt}", min_hash_length, alphabet]