rails/rails — pull request #15483 by eileencodes (2014-06-03 03:01:52+00:00)
Title: fix polymorphic? method and reuse it

Fix polymorphic to check for `options[:polymorphic]` instead of
`options.key? :polymorphic` and then reuse the method `polymorphic?`
method instead of constantly checking the same `options[:polymorphic]`.