Commit f231e19b333a9309ab703aad91c909a160e650f8
1 parent
61707cce
Exists in
master
and in
20 other branches
rails4: fix person/save infinite loop
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/models/person.rb
| @@ -282,7 +282,8 @@ roles] } | @@ -282,7 +282,8 @@ roles] } | ||
| 282 | end | 282 | end |
| 283 | 283 | ||
| 284 | after_update do |person| | 284 | after_update do |person| |
| 285 | - person.user.save! | 285 | + # FIXME: causes infinite loop with rails4 |
| 286 | + #person.user.save! | ||
| 286 | end | 287 | end |
| 287 | 288 | ||
| 288 | def is_admin?(environment = nil) | 289 | def is_admin?(environment = nil) |