We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8aa392 commit 9eb72acCopy full SHA for 9eb72ac
activerecord/lib/active_record/validations.rb
@@ -10,7 +10,7 @@ module ActiveRecord
10
# puts invalid.record.errors
11
# end
12
class RecordInvalid < ActiveRecordError
13
- attr_reader :record # :nodoc:
+ attr_reader :record # :nodoc:
14
def initialize(record) # :nodoc:
15
@record = record
16
errors = @record.errors.full_messages.join(", ")
0 commit comments