Sha256: 262101409c8d122e290133bfe7a47f35005a16030fe1fc5fe15ba33545709662

Contents?: true

Size: 314 Bytes

Versions: 6

Compression:

Stored size: 314 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
draper-1.0.0.beta6 spec/support/active_record.rb
draper-1.0.0.beta5 spec/support/active_record.rb
draper-1.0.0.beta4 spec/support/active_record.rb
draper-1.0.0.beta3 spec/support/active_record.rb
draper-1.0.0.beta2 spec/support/active_record.rb
draper-1.0.0.beta1 spec/support/active_record.rb