A empty bind doesn't make sense. Could you provide a valid test case not using mocks or a gist reproducing the issue? https://github.com/rails/rails/blob/master/guides/bug_report_templates/active_record_master.rb