{"action":"closed","issue":{"url":"https://api.github.com/repos/rspec/rspec-mocks/issues/972","labels_url":"https://api.github.com/repos/rspec/rspec-mocks/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-mocks/issues/972/comments","events_url":"https://api.github.com/repos/rspec/rspec-mocks/issues/972/events","html_url":"https://github.com/rspec/rspec-mocks/issues/972","id":87844671,"number":972,"title":"allow no longer works with ActiveRecord classes","user":{"login":"tisba","id":75156,"avatar_url":"https://avatars.githubusercontent.com/u/75156?v=3","gravatar_id":"","url":"https://api.github.com/users/tisba","html_url":"https://github.com/tisba","followers_url":"https://api.github.com/users/tisba/followers","following_url":"https://api.github.com/users/tisba/following{/other_user}","gists_url":"https://api.github.com/users/tisba/gists{/gist_id}","starred_url":"https://api.github.com/users/tisba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisba/subscriptions","organizations_url":"https://api.github.com/users/tisba/orgs","repos_url":"https://api.github.com/users/tisba/repos","events_url":"https://api.github.com/users/tisba/events{/privacy}","received_events_url":"https://api.github.com/users/tisba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-12T20:41:50Z","updated_at":"2015-06-14T07:28:33Z","closed_at":"2015-06-14T07:28:33Z","body":"While updating a rails 4.2.1 project from rspec 3.2.0 to 3.3.0 I got a lot of failing specs.\r\n\r\nI noticed that the issue can be reproduced simply by the following (pointless spec):\r\n\r\n```ruby\r\nit \"will fail\" do\r\n  allow(User).to receive(:confirmed).and_return(:something)\r\nend\r\n```"}}