rails/rails — pull request #5763 by rosenfeld (2012-04-06 13:51:22+00:00)
Title: Add attribute_was?(value) to model

I'd prefer to read

```ruby
report_change if notifications_enabled? && model.panel_was? 'backlog'
```

to

```ruby
report_change if notifications_enabled? && model.panel_was == 'backlog'
```