mongoid/mongoid — pull request #1578 by i0rek (2012-01-10 13:48:40+00:00)
Title: Create accessor and dirty methods for name and alias.

Like @jonhyman pointed out in #1571 its a little bit confusing which accessor and dirty methods were created for alias fields.

This commit creates accessors and dirty methods for both, the name and the alias, so its up to you which one you use.