1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/spec/performance/models.rb

21 lines
335 B
Ruby
Raw Normal View History

require "./performance/active_record"
class Product < ActiveRecord::Base
def self.sample_class_method
"sample class method"
end
2012-02-13 10:24:31 -05:00
def hello_world
"Hello, World"
end
end
class FastProduct < ActiveRecord::Base
def self.sample_class_method
"sample class method"
end
2012-02-13 10:24:31 -05:00
def hello_world
"Hello, World"
end
2012-04-25 16:12:30 -04:00
end