remiprev/her — pull request #37 by thomsbg (2012-09-04 15:28:53+00:00)
Title: Speed up init with a refactor

Hopefully this makes for some clearer code inside the initialize method in `Her::Model::ORM`.

Instead of using `writer_method_defined?` inside the loop, make use of a `use_setter_methods` helper function which both calls setter methods and returns a hash of the remaining key / values.