Merge pull request #421 from drapergem/test_rails_master

Test and allow failures against Rails master
This commit is contained in:
Andrew Haines 2013-01-14 07:27:36 -08:00
commit e9b71e3cf5
2 changed files with 2 additions and 13 deletions

View File

@ -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"

View File

@ -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