public
Description: Koz's rails git-svn clone
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/NZKoz/koz-rails.git
2-0-stable: Show RecordInvalid in the documentation. Closes #10976 
[kampers]

Merging [8845]


git-svn-id: 
http://svn-commit.rubyonrails.org/rails/branches/2-0-stable@8846 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
nzkoz (author)
Sat Feb 09 18:50:13 -0800 2008
commit  3ebcb94028b0ab3857d212a10ba4fe5e84ab6eb8
tree    84c00388c55665146bd2d14ca7c4596547ccff27
parent  2d5253faabdf41f9223644e85c076bbcc2cbb9f7
...
1
2
3
 
4
5
6
7
8
9
 
10
11
12
...
1
2
 
3
4
5
6
7
8
 
9
10
11
12
0
@@ -1,12 +1,12 @@
0
 module ActiveRecord
0
   # Raised by save! and create! when the record is invalid. Use the
0
- # record method to retrieve the record which did not validate.
0
+ # +record+ method to retrieve the record which did not validate.
0
   # begin
0
   # complex_operation_that_calls_save!_internally
0
   # rescue ActiveRecord::RecordInvalid => invalid
0
   # puts invalid.record.errors
0
   # end
0
- class RecordInvalid < ActiveRecordError #:nodoc:
0
+ class RecordInvalid < ActiveRecordError
0
     attr_reader :record
0
     def initialize(record)
0
       @record = record

Comments

    No one has commented yet.