Sha256: cf7fb53ba7bf1748f7809fbda99060b32c52cb5a1d607aa160689e8a74fe9bd1

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

class Foo < ActiveRecord::Base
  
  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

2 entries across 2 versions & 1 rubygems

Version Path
rooler-0.0.2 test/dummy/app/models/foo.rb
rooler-0.0.1 test/dummy/app/models/foo.rb