Sha256: 3fbb302f86152cd842b65ab2c01c9af75ad6ca73ba3992c20dbe8cbaf7675bcc

Contents?: true

Size: 653 Bytes

Versions: 34

Compression:

Stored size: 653 Bytes

Contents

require 'active_scaffold_config_mock'

class ClassWithFinder
  include ActiveScaffoldConfigMock
  include ActiveScaffold::Finder

  def active_scaffold_config
    self.class.active_scaffold_config
  end

  def conditions_for_collection; end

  def conditions_from_params; end

  def conditions_from_constraints; end

  def active_scaffold_embedded_params
    {}
  end

  def params_hash(value)
    value
  end

  def joins_for_collection; end

  def custom_finder_options
    {}
  end

  def beginning_of_chain
    active_scaffold_config.model
  end

  def conditional_get_support?; end

  def params; {}; end

  def grouped_search?
    false
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
active_scaffold-3.7.12 test/class_with_finder.rb
active_scaffold-3.7.11.1 test/class_with_finder.rb
active_scaffold-3.7.11 test/class_with_finder.rb
active_scaffold-3.7.10 test/class_with_finder.rb
active_scaffold-3.7.8 test/class_with_finder.rb
active_scaffold-3.7.7 test/class_with_finder.rb
active_scaffold-3.7.6 test/class_with_finder.rb
active_scaffold-3.7.5 test/class_with_finder.rb
active_scaffold-3.7.2 test/class_with_finder.rb
active_scaffold-3.7.1 test/class_with_finder.rb
active_scaffold-3.7.0 test/class_with_finder.rb
active_scaffold-3.6.20 test/class_with_finder.rb
active_scaffold-3.6.19 test/class_with_finder.rb
active_scaffold-3.6.17 test/class_with_finder.rb
active_scaffold-3.6.15 test/class_with_finder.rb
active_scaffold-3.6.14 test/class_with_finder.rb
active_scaffold-3.6.13 test/class_with_finder.rb
active_scaffold-3.6.12 test/class_with_finder.rb
active_scaffold-3.6.11.1 test/class_with_finder.rb
active_scaffold-3.6.11 test/class_with_finder.rb