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