| 38 | 39 | |
|---|---|---|
| 101 | 101 | # the log if the time given by :delay_after_create has passed since the object was created. If |
| 102 | 102 | # the object does not have a created_at attribute this switch will be ignored |
| 103 | 103 | def write_activity_log(action = :update) |
| 104 | if self.skip_save == true | |
| 105 | self.skip_save = false | |
| 104 | if @skip_save == true | |
| 105 | @skip_save = false | |
| 106 | 106 | return true |
| 107 | 107 | end |
| 108 | 108 | |
