rails/rails — pull request #9963 by obrie (2013-03-28 02:36:13+00:00)
Title: Fix updates not working within after_create hooks

TL;DR; Updating a record within an after_create hook no longer works on ActiveRecord 4.x

In prior versions of ActiveRecord (2.x and 3.x), you used to be able to define an `after_create` hook which could make additional `save` calls on the record. For example:

```ruby
class Topic < ActiveRecord::Base
after_create do
update_attribute("author_name", "David")
end
end

topic = Topic.new
topic.title = "Another New Topic"
topic.save
```

This was caused by #9707 which just recently was merged.

@route / @jonleighton