Sha256: 10c4f100b3a1a01dab4c0409159643543ba988d6782d8418c93715c260ac02b2

Contents?: true

Size: 186 Bytes

Versions: 3

Compression:

Stored size: 186 Bytes

Contents

module SorbetRails
  module CustomFinderMethods
    def find_n(ids)
      find(ids)
    end

    def first_n(n)
      first(n)
    end

    def last_n(n)
      last(n)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sorbet-rails-0.2.0 lib/sorbet-rails/custom_finder_methods.rb
sorbet-rails-0.1.3 lib/sorbet-rails/custom_finder_methods.rb
sorbet-rails-0.1.2 lib/sorbet-rails/custom_finder_methods.rb