rails/rails — pull request #6574 by dyba (2012-05-31 19:39:50+00:00)
Title: Added Options class to Mapper

The options hash has a lot of non-similar data stored in it. It makes it difficult to keep track of what exactly is stored inside. Perhaps an alternative to using a hash is to store options in a class and make the information accessible via methods. @jonleighton expressed the Mapper class was in need of refactoring. I'm starting with what I consider low-hanging fruit given my skill level.