mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
20 lines
No EOL
334 B
Ruby
20 lines
No EOL
334 B
Ruby
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 |