Fix short syntax

When I wanna define a callback like the following:

```ruby
factory :user, class: :user do
  after :build, &:confirm!
end
```

I will get an exception `ArgumentError: no receiver given`.