Update relation_extensions.rb

Change for API update on ActiveRecord 4.2 (commit 08579e4078454c6058f1289b58bf5bfa26661376)