Sha256: 1c4ae1681a60346059508fb0a391a75280fa05cb903f6de837d8d961fadd1251

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

class SomeThing < ActiveRecord::Base
  scope :scope1, -> {where(nil)}
end

class SomeOtherThing < ActiveRecord::Base
end

class OneMoreThing < ActiveRecord::Base
  scope :scope2, -> {where(nil)}

  def self.class_method_as_a_scope
  end
  additional_available_scope :class_method_as_a_scope
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scopelist-0.0.3 spec/models.rb
scopelist-0.0.2 spec/models.rb
scopelist-0.0.1 spec/models.rb