Sha256: e7dcd9c3e529cf1017191f1debe027a9bcea5e5c303d512eedb7aa974f646aa3

Contents?: true

Size: 335 Bytes

Versions: 36

Compression:

Stored size: 335 Bytes

Contents

require "./performance/active_record"
class Product < ActiveRecord::Base
  def self.sample_class_method
    "sample class method"
  end

  def hello_world
    "Hello, World"
  end
end

class FastProduct < ActiveRecord::Base
  def self.sample_class_method
    "sample class method"
  end

  def hello_world
    "Hello, World"
  end
end

Version data entries

36 entries across 36 versions & 4 rubygems

Version Path
draper-4.0.2 spec/performance/models.rb
draper-4.0.1 spec/performance/models.rb
draper-4.0.0 spec/performance/models.rb
draper-3.1.0 spec/performance/models.rb
draper-3.0.1 spec/performance/models.rb
draper-3.0.0 spec/performance/models.rb
draper-3.0.0.pre1 spec/performance/models.rb
draper_new-3.0.0 spec/performance/models.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/draper-2.1.0/spec/performance/models.rb
draper-2.1.0 spec/performance/models.rb
draper-2.0.0 spec/performance/models.rb
draper-1.4.0 spec/performance/models.rb
draper-1.3.1 spec/performance/models.rb
draper-1.3.0 spec/performance/models.rb
draper-1.2.1 spec/performance/models.rb
draper-1.2.0 spec/performance/models.rb
jamesgolick-draper-1.1.1a spec/performance/models.rb
draper-1.1.0 spec/performance/models.rb
draper-1.0.0 spec/performance/models.rb
draper-1.0.0.beta6 spec/performance/models.rb