Merge pull request #421 from drapergem/test_rails_master
Test and allow failures against Rails master
This commit is contained in:
commit
e9b71e3cf5
|
@ -8,6 +8,8 @@ env:
|
|||
- "RAILS_VERSION=3.2"
|
||||
- "RAILS_VERSION=3.1"
|
||||
- "RAILS_VERSION=3.0"
|
||||
- "RAILS_VERSION=master"
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rvm: ruby-head
|
||||
- env: "RAILS_VERSION=master"
|
||||
|
|
|
@ -1,18 +1,5 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue