Rails 4.2

Make polyamorous compatible with Rails 4.2.0.alpha.