1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix syntax error with no US-ASCII char

This commit is contained in:
Rafael Mendonça França 2012-09-28 15:26:33 -03:00
parent b8aa3923af
commit 9eb72ac78f

View file

@ -10,7 +10,7 @@ module ActiveRecord
# puts invalid.record.errors
# end
class RecordInvalid < ActiveRecordError
attr_reader :record # :nodoc:
attr_reader :record # :nodoc:
def initialize(record) # :nodoc:
@record = record
errors = @record.errors.full_messages.join(", ")