mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
b8ca040653
Removes some unneeded sample decorators and reorganises the samples
22 lines
314 B
Ruby
22 lines
314 B
Ruby
module ActiveRecord
|
|
class Base
|
|
include ActiveModel::Validations
|
|
include ActiveModel::Conversion
|
|
|
|
attr_reader :errors, :to_model
|
|
|
|
def initialize
|
|
@errors = ActiveModel::Errors.new(self)
|
|
end
|
|
|
|
def self.limit
|
|
self
|
|
end
|
|
|
|
end
|
|
end
|
|
|
|
module ActiveRecord
|
|
class Relation
|
|
end
|
|
end
|