Sha256: 286c5070ff3dde17f7e12a28d295ab6b4fb25c628d9c7311efb3a7fb6ed4c4dd

Contents?: true

Size: 361 Bytes

Versions: 4

Compression:

Stored size: 361 Bytes

Contents

class Product < ActiveRecord::Base
  attr_accessible :code, :name
  has_many :color_variations

  def slow_method
    Time.now.to_i + rand()
  end

  def slow_method_with_args(argu)
    Time.now.to_i + rand()
  end

  def self.slow_class_method
    Time.now.to_i + rand()
  end

  def self.slow_class_method_with_args(argu)
    Time.now.to_i + rand()
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qor_cache-0.0.4 test/dummy/app/models/product.rb
qor_cache-0.0.3 test/dummy/app/models/product.rb
qor_cache-0.0.2 test/dummy/app/models/product.rb
qor_cache-0.0.1 test/dummy/app/models/product.rb