Skip to content

Commit

Permalink
Get specs running on Rails master
Browse files Browse the repository at this point in the history
  • Loading branch information
haines committed Jan 14, 2013
1 parent 0da4f27 commit b3d5879
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions spec/support/active_record.rb
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit b3d5879

Please sign in to comment.