{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/2049","repository_url":"https://api.github.com/repos/rspec/rspec-rails","labels_url":"https://api.github.com/repos/rspec/rspec-rails/issues/2049/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-rails/issues/2049/comments","events_url":"https://api.github.com/repos/rspec/rspec-rails/issues/2049/events","html_url":"https://github.com/rspec/rspec-rails/issues/2049","id":392282908,"node_id":"MDU6SXNzdWUzOTIyODI5MDg=","number":2049,"title":"\"stack level too deep\" when \"expect().to receive().once\" fails","user":{"login":"passalini","id":475974,"node_id":"MDQ6VXNlcjQ3NTk3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/475974?v=4","gravatar_id":"","url":"https://api.github.com/users/passalini","html_url":"https://github.com/passalini","followers_url":"https://api.github.com/users/passalini/followers","following_url":"https://api.github.com/users/passalini/following{/other_user}","gists_url":"https://api.github.com/users/passalini/gists{/gist_id}","starred_url":"https://api.github.com/users/passalini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/passalini/subscriptions","organizations_url":"https://api.github.com/users/passalini/orgs","repos_url":"https://api.github.com/users/passalini/repos","events_url":"https://api.github.com/users/passalini/events{/privacy}","received_events_url":"https://api.github.com/users/passalini/received_events","type":"User","site_admin":false},"labels":[{"id":293106210,"node_id":"MDU6TGFiZWwyOTMxMDYyMTA=","url":"https://api.github.com/repos/rspec/rspec-rails/labels/Needs%20reproduction%20case","name":"Needs reproduction case","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-18T18:36:13Z","updated_at":"2018-12-20T13:35:02Z","closed_at":null,"author_association":"NONE","body":"## Ruby, Rails and RSpec versions\r\nruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]\r\nRails 5.2.1\r\nRSpec 3.8\r\n  - rspec-core 3.8.0\r\n  - rspec-expectations 3.8.2\r\n  - rspec-mocks 3.8.0\r\n  - rspec-rails 3.8.1\r\n  - rspec-support 3.8.0\r\n\r\n## Rails app with the following problem\r\nrepo: https://github.com/passalini/rspec-issue-2049\r\ncircle: https://circleci.com/gh/passalini/rspec-issue-2049/14\r\n\r\n## Observed behaviour\r\n\r\nI'm currently updating an app from Rails 4.2 to 5 and I'm getting a strange behaviour with an old test that is green on 4.2 and red on 5. On Rails 5 some callbacks have changed and for that reason my test is breaking but the rspec output is wrong! \r\n\r\nFirst it showed a huge log and I couldn't see the error. After putting a `rescue` I saw the `stack level too deep` was throwed only when you call more than how much you had specified at the test.\r\nSo, if you use `receive(:email).twice` the error is throwed at the third call.\r\n\r\nI changed the test to a more simple test and it is still showing a huge log and a wrong error. Bellow I sent the test and a part of the log...\r\n\r\nTest:\r\n```ruby\r\nit 'should show only 2 times' do\r\n  expect(@student).to     receive(:email).once.and_call_original\r\n  @student.email\r\n  @student.email\r\nend\r\n```\r\n\r\nOutput with `rescue`:\r\n```ruby\r\nFailure/Error: expect(student).to     receive(:email).once.and_call_original\r\n\r\n       (#<Student id: 811082057, first_name: \"Anitta\", last_name: \"MC\", email: \"anitta@student.com\", cpf: \"35171617210\", phone: \"(21) 99544-3049\", skype: nil, company_name: nil, company_position: nil, born_at: \"1993-03-30\", biography: nil, cover_image_url: \"https://lh6.googleusercontent.com/-sBdeyWCqDgE/AAA...\", created_at: \"2018-12-18 18:17:14\", updated_at: \"2018-12-18 18:17:14\", organization_id: 1, role_id: nil, twitter: nil, facebook: nil, username: nil, see_all: false, rg: \"26.412.324-5\", extra_phone: nil, session_token: nil >).email(*(any args))\r\n           expected: 1 time with any arguments\r\n           received: 659 times with any arguments\r\n```\r\n\r\nOutput without `rescue`:\r\n```\r\n   # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `block in serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `each'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activemodel-5.2.1/lib/active_model/serialization.rb:137:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/activerecord-5.2.1/lib/active_record/serialization.rb:19:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:116:in `serializable_hash'\r\n     # /Users/passalini/.rbenv/versions/2.5.1/gemsets/Core/gems/devise-4.5.0/lib/devise/models/authenticatable.rb:122:in `inspect'\r\n     # ./spec/serializers/student_serializer_spec.rb:89:in `block (5 levels) in <top (required)>'\r\n\r\nFinished in 1.09 seconds (files took 15.24 seconds to load)\r\n1 example, 1 failure\r\n```"},"comment":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/comments/449001149","html_url":"https://github.com/rspec/rspec-rails/issues/2049#issuecomment-449001149","issue_url":"https://api.github.com/repos/rspec/rspec-rails/issues/2049","id":449001149,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTAwMTE0OQ==","user":{"login":"samphippen","id":96662,"node_id":"MDQ6VXNlcjk2NjYy","avatar_url":"https://avatars1.githubusercontent.com/u/96662?v=4","gravatar_id":"","url":"https://api.github.com/users/samphippen","html_url":"https://github.com/samphippen","followers_url":"https://api.github.com/users/samphippen/followers","following_url":"https://api.github.com/users/samphippen/following{/other_user}","gists_url":"https://api.github.com/users/samphippen/gists{/gist_id}","starred_url":"https://api.github.com/users/samphippen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samphippen/subscriptions","organizations_url":"https://api.github.com/users/samphippen/orgs","repos_url":"https://api.github.com/users/samphippen/repos","events_url":"https://api.github.com/users/samphippen/events{/privacy}","received_events_url":"https://api.github.com/users/samphippen/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T13:35:02Z","updated_at":"2018-12-20T13:35:02Z","author_association":"MEMBER","body":"@passalini are you able to reproduce this without Devise?"}}
{"actor":{"display_login":"samphippen"}}