Sha256: 6c2fe78978f348b2bda535c56d46cae4bceebcd9fb4af133995042653eafa7a6

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

module ActsAsKeyed
  class NoAvailableKeysError < StandardError
    def to_s
      'Very few unique keys are still available. Please change your acts_as_keyed chars or size settings.'
    end
  end
  class MissingKeyColumnError < StandardError
    def to_s
      'The table must have a column named "key"'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
acts_as_keyed-1.0.0 lib/acts_as_keyed/errors.rb
acts_as_keyed-0.1.3 lib/acts_as_keyed/errors.rb
acts_as_keyed-0.1.2 lib/acts_as_keyed/errors.rb
acts_as_keyed-0.1.1 lib/acts_as_keyed/errors.rb