Use schema cache to look up predicate columns.
Merge pull request #134 from rainerborene/rails4.1

Use schema cache to look up predicate columns