perfectline/foreign_keys — pull request #2 by BradRubenstein (2012-03-05 16:39:59+00:00)
Title: Conditionalize inclusion of Mysql and PG resources, and port to Rails 3.2

I made the inclusion of Mysql and PG activerecord connectors conditional on the use their respective gems, so that projects like mine that use Postgres but not mysql won't need to include the mysql gem.

I also changed the "returning" method to the "tap" method, since the former is no longer available in Rails 3.2.