Skip to content
This repository
Browse code

fix AR::AttributeMethods::Dirty :nodoc: [ci skip]

  • Loading branch information...
commit 7e538e81541f4c756cf465d7240b85cfe290676a 1 parent e216b00
Francesco Rodríguez authored
8  activerecord/lib/active_record/attribute_methods/dirty.rb
@@ -7,7 +7,7 @@ module ActiveRecord
7 7
   end
8 8
 
9 9
   module AttributeMethods
10  
-    module Dirty
  10
+    module Dirty # :nodoc:
11 11
       extend ActiveSupport::Concern
12 12
 
13 13
       include ActiveModel::Dirty
@@ -21,7 +21,7 @@ module Dirty
21 21
       end
22 22
 
23 23
       # Attempts to +save+ the record and clears changed attributes if successful.
24  
-      def save(*) #:nodoc:
  24
+      def save(*)
25 25
         if status = super
26 26
           @previously_changed = changes
27 27
           @changed_attributes.clear
@@ -30,7 +30,7 @@ def save(*) #:nodoc:
30 30
       end
31 31
 
32 32
       # Attempts to <tt>save!</tt> the record and clears changed attributes if successful.
33  
-      def save!(*) #:nodoc:
  33
+      def save!(*)
34 34
         super.tap do
35 35
           @previously_changed = changes
36 36
           @changed_attributes.clear
@@ -38,7 +38,7 @@ def save!(*) #:nodoc:
38 38
       end
39 39
 
40 40
       # <tt>reload</tt> the record and clears changed attributes.
41  
-      def reload(*) #:nodoc:
  41
+      def reload(*)
42 42
         super.tap do
43 43
           @previously_changed.clear
44 44
           @changed_attributes.clear

0 notes on commit 7e538e8

Please sign in to comment.
Something went wrong with that request. Please try again.