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-1.0.0.beta5 spec/performance/models.rb
draper-1.0.0.beta4 spec/performance/models.rb
draper-1.0.0.beta3 spec/performance/models.rb
draper-1.0.0.beta2 spec/performance/models.rb
draper-1.0.0.beta1 spec/performance/models.rb
draper-0.18.0 performance/models.rb
draper-0.17.0 performance/models.rb
draper-0.16.0 performance/models.rb
draper-0.15.0 performance/models.rb
draper-0.15.0rc1 performance/models.rb
draper-0.14.0 performance/models.rb
draper-0.12.3 performance/models.rb
draper-0.12.2 performance/models.rb
draper-0.13.0 performance/models.rb
draper-0.12.1 performance/models.rb
draper-0.12.0 performance/models.rb