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:
parent
b8aa3923af
commit
9eb72ac78f
1 changed files with 1 additions and 1 deletions
|
@ -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(", ")
|
||||
|
|
Loading…
Reference in a new issue