Sha256: 716020e23701d1332a17d9944f4984aa135ccebdb9f29e349e90d41fe648480a

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 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

2 entries across 2 versions & 1 rubygems

Version Path
draper-0.11.1 performance/models.rb
draper-0.11.0 performance/models.rb