Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from borodiychuk/patch-1
If one of the fields in search_in is a method, then the old-way klass[field] returns nil. With this fix it executes the method and uses its result. Also, for regular fields it also works fine.
- Loading branch information