2.99: Rails 4.1 inversible associations

See #896