Sha256: 6cbec1216266278d64cb23ed99fbf711fd66bf87d63858671d773f266f7102d1
Contents?: true
Size: 333 Bytes
Versions: 9
Compression:
Stored size: 333 Bytes
Contents
class Foo < ActiveRecord::Base has_many :bars liquid_methods :active, :created_at, :bars def self.active_record_finder self.where(true) end def self.array_finder self.where(true).to_a end def self.empty_finder [] end def self.active_finder self.where(active: true) end end
Version data entries
9 entries across 9 versions & 1 rubygems