elabs/refile — pull request #77 by janko-m (2014-12-27 23:36:49+00:00)
Title: Give name to the #attachment's anonymous module

One RubyTapas motivated me that whenever I'm creating an anonymous module like this, to always try to make the ancestor chain prettier.

Before:

```rb
class User < ActiveRecord::Base
attachment :avatar
end

User.ancestors #=> [User(...), #, ...]
```

After:

```rb
class User < ActiveRecord::Base
attachment :avatar
end

User.ancestors #=> [User(...), Refile::Attachment(document), ...]
```