Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when setting integer attributes with ActiveRecord #149

Closed
mockdeep opened this issue Jan 6, 2014 · 11 comments
Closed

Crashes when setting integer attributes with ActiveRecord #149

mockdeep opened this issue Jan 6, 2014 · 11 comments

Comments

@mockdeep
Copy link
Contributor

mockdeep commented Jan 6, 2014

I started getting this crash today and I'm not sure what's causing it. I've narrowed it down to assigning integer attributes in Rails. Everything seems to work as expected for boolean and string attributes, and I've tried it with a couple of integer attributes with the same result. Code snippet here, and stack trace below:

class Doc < ActiveRecord::Base                                                  

  def set_steps                                                                 
    self.steps = 5                                                              
  end                                                                           

end

Stack trace:

$ MUTANT=true RAILS_ENV=test mutant -r ./config/environment --rspec Doc#set_steps
/home/fletch/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/gems/2.0.0/gems/prawn-0.13.1/lib/prawn/encoding.rb:12: warning: already initialized constant Prawn::Encoding::WinAnsi::CHARACTERS
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/prawn-0.13.1/lib/prawn/encoding.rb:12: warning: previous definition of CHARACTERS was here
Mutant configuration:
Matcher:        #<Mutant::Matcher::Method::Instance cache=#<Mutant::Cache> scope=Doc(id: integer, user_id: integer, title: string, message: text, created_at: datetime, updated_at: datetime, doc_url: string, pdf: string, pdf_tmp: string, pdf_processing: boolean, steps: integer, has_attachments: boolean, font_size: integer, version: integer, routing_instructions: text, deleted_at: datetime) method=#<UnboundMethod: Doc#set_steps>>
Subject Filter: Mutant::Predicate::CONTRADICTION
Strategy:       #<Mutant::Strategy::Rspec level=0>
You are using WebMock 1.16.1. VCR 2.8.0 has been tested against WebMock >= 1.8.0, < 1.16, and you are using a newer version. If you experience VCR issues, consider downgrading WebMock as it may fix it.
Doc#set_steps:/home/fletch/Dropbox/projects/synchroform/app/models/doc.rb:3
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter.rb:124:in `emitter': undefined method `type' for nil:NilClass (NoMethodError)
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter.rb:257:in `emitter'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter.rb:212:in `visit_terminated'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter/send/attribute_assignment.rb:28:in `emit_receiver'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter/send/attribute_assignment.rb:16:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter.rb:100:in `write_to_buffer'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter.rb:484:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter/send.rb:48:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser/emitter.rb:100:in `write_to_buffer'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.6/lib/unparser.rb:31:in `unparse'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node.rb:21:in `identity'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator.rb:119:in `identity'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator.rb:95:in `new?'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator.rb:139:in `emit'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node.rb:174:in `emit_self'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node.rb:162:in `emit_child_update'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node.rb:43:in `block in define_named_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node/send.rb:200:in `emit_implicit_self'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node/send.rb:188:in `mutate_receiver'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node/send.rb:108:in `normal_dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node/send.rb:88:in `non_index_dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node/send.rb:72:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node.rb:131:in `mutate_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node.rb:39:in `block in define_named_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator/node/define.rb:21:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/subject/method.rb:52:in `generate_mutations'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/subject.rb:17:in `mutations'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner/subject.rb:77:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner.rb:76:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner/subject.rb:30:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner.rb:53:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner.rb:174:in `visit'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner.rb:157:in `block in dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/matcher/filter.rb:24:in `block in each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/matcher/method.rb:29:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/matcher/filter.rb:22:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/config.rb:31:in `subjects'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner.rb:156:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner.rb:156:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner/config.rb:79:in `run_subjects'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner/config.rb:91:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner.rb:76:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/runner/config.rb:21:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/lib/mutant/cli.rb:28:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-92b1749512fa/bin/mutant:19:in `<top (required)>'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/mutant:23:in `load'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/mutant:23:in `<main>'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'
@mbj
Copy link
Owner

mbj commented Jan 7, 2014

@mockdeep Unparser problem. Can you try unparser from master and tell me it if was fixed there? I'm gonna release a snapshot in this case.

@dkubb
Copy link
Collaborator

dkubb commented Jan 7, 2014

@mbj I asked @mockdeep about that yesterday and he said he also noticed the same thing with unparser on master.

@mockdeep
Copy link
Contributor Author

mockdeep commented Jan 7, 2014

@dkubb I tried the gem version. Don't think that will have been master. I'll try linking to the github version a little later today.

@mockdeep
Copy link
Contributor Author

mockdeep commented Jan 7, 2014

@mbj I tried unparser master, commit mbj/unparser@9b237c1, and it still didn't work. Looks like the same error. Slightly different stack trace though:

$ MUTANT=true RAILS_ENV=test mutant -r ./config/environment --rspec Doc#create_fields
/home/fletch/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/gems/2.0.0/gems/prawn-0.13.1/lib/prawn/encoding.rb:12: warning: already initialized constant Prawn::Encoding::WinAnsi::CHARACTERS
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/prawn-0.13.1/lib/prawn/encoding.rb:12: warning: previous definition of CHARACTERS was here
Mutant configuration:
Matcher:        #<Mutant::Matcher::Method::Instance cache=#<Mutant::Cache> scope=Doc(id: integer, user_id: integer, title: string, message: text, created_at: datetime, updated_at: datetime, doc_url: string, pdf: string, pdf_tmp: string, pdf_processing: boolean, steps: integer, has_attachments: boolean, font_size: integer, version: integer, routing_instructions: text, deleted_at: datetime) method=#<UnboundMethod: Doc#create_fields>>
Subject Filter: Mutant::Predicate::CONTRADICTION
Strategy:       #<Mutant::Strategy::Rspec level=0>
You are using WebMock 1.16.1. VCR 2.8.0 has been tested against WebMock >= 1.8.0, < 1.16, and you are using a newer version. If you experience VCR issues, consider downgrading WebMock as it may fix it.
Doc#create_fields:/home/fletch/Dropbox/projects/synchroform/app/models/doc.rb:100
/home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter.rb:156:in `emitter': undefined method `type' for nil:NilClass (NoMethodError)
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter.rb:289:in `emitter'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter.rb:244:in `visit_terminated'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter/send/attribute_assignment.rb:28:in `emit_receiver'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter/send/attribute_assignment.rb:16:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter.rb:132:in `write_to_buffer'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter.rb:516:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter/send.rb:48:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser/emitter.rb:132:in `write_to_buffer'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/unparser-9b237c1ea8d0/lib/unparser.rb:33:in `unparse'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node.rb:21:in `identity'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:119:in `identity'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:95:in `new?'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:139:in `emit'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node.rb:174:in `emit_self'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node.rb:162:in `emit_child_update'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node.rb:43:in `block in define_named_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node/send.rb:200:in `emit_implicit_self'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node/send.rb:188:in `mutate_receiver'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node/send.rb:108:in `normal_dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node/send.rb:88:in `non_index_dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node/send.rb:72:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/util/array.rb:46:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/util/array.rb:46:in `block in dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/util/array.rb:45:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/util/array.rb:45:in `each_with_index'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/util/array.rb:45:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:194:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/util/array.rb:65:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/util.rb:24:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node/begin.rb:21:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node.rb:131:in `mutate_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node.rb:39:in `block in define_named_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator/node/define.rb:21:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/subject/method.rb:52:in `generate_mutations'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/subject.rb:17:in `mutations'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner/subject.rb:77:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner.rb:76:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner/subject.rb:30:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner.rb:53:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner.rb:174:in `visit'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner.rb:157:in `block in dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/matcher/filter.rb:24:in `block in each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/matcher/method.rb:29:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/matcher/filter.rb:22:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/config.rb:31:in `subjects'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner.rb:156:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner.rb:156:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner/config.rb:79:in `run_subjects'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner/config.rb:91:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner.rb:76:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/runner/config.rb:21:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/lib/mutant/cli.rb:28:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-26a6b0a7eba9/bin/mutant:19:in `<top (required)>'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/mutant:23:in `load'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/mutant:23:in `<main>'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'

@mbj
Copy link
Owner

mbj commented Jan 8, 2014

@mockdeep I'll look into this later the day.

mbj added a commit that referenced this issue Jan 11, 2014
@mbj
Copy link
Owner

mbj commented Jan 11, 2014

@mockdeep This issue should be fixed with mutant v0.3.3 and unparser v0.1.8. Pls reopen if you still have this problem.

@mbj mbj closed this as completed Jan 11, 2014
@mockdeep
Copy link
Contributor Author

@mbj Still not fixed:

 $ MUTANT=true RAILS_ENV=test mutant -r ./config/environment --rspec Doc#create_fields
Mutant configuration:
Matcher:        #<Mutant::Matcher::Method::Instance cache=#<Mutant::Cache> scope=Doc(id: integer, user_id: integer, title: string, message: text, created_at: datetime, updated_at: datetime, doc_url: string, pdf: string, pdf_tmp: string, pdf_processing: boolean, steps: integer, has_attachments: boolean, font_size: integer, version: integer, routing_instructions: text, deleted_at: datetime) method=#<UnboundMethod: Doc#create_fields>>
Subject Filter: Mutant::Predicate::CONTRADICTION
Strategy:       #<Mutant::Strategy::Rspec level=0>
You are using WebMock 1.16.1. VCR 2.8.0 has been tested against WebMock >= 1.8.0, < 1.16, and you are using a newer version. If you experience VCR issues, consider downgrading WebMock as it may fix it.
Doc#create_fields:/home/fletch/Dropbox/projects/synchroform/app/models/doc.rb:100
/home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter.rb:156:in `emitter': undefined method `type' for nil:NilClass (NoMethodError)
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter.rb:289:in `emitter'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter.rb:244:in `visit_terminated'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter/send/attribute_assignment.rb:28:in `emit_receiver'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter/send/attribute_assignment.rb:16:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter.rb:132:in `write_to_buffer'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter.rb:516:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter/send.rb:47:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser/emitter.rb:132:in `write_to_buffer'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/unparser-0.1.8/lib/unparser.rb:31:in `unparse'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node.rb:21:in `identity'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:119:in `identity'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:95:in `new?'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:139:in `emit'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node.rb:174:in `emit_self'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node.rb:162:in `emit_child_update'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node.rb:43:in `block in define_named_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node/send.rb:200:in `emit_implicit_self'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node/send.rb:188:in `mutate_receiver'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node/send.rb:108:in `normal_dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node/send.rb:88:in `non_index_dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node/send.rb:72:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/util/array.rb:46:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/util/array.rb:46:in `block in dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/util/array.rb:45:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/util/array.rb:45:in `each_with_index'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/util/array.rb:45:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:194:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/util/array.rb:65:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/util.rb:24:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node/begin.rb:21:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node.rb:131:in `mutate_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node.rb:39:in `block in define_named_child'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator/node/define.rb:21:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:80:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/mutator.rb:18:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/subject/method.rb:52:in `generate_mutations'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/subject.rb:17:in `mutations'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `call'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:157:in `block (2 levels) in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `fetch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/module_methods.rb:156:in `block in define_memoize_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner/subject.rb:77:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner.rb:76:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner/subject.rb:30:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner.rb:53:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner.rb:174:in `visit'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner.rb:157:in `block in dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/matcher/filter.rb:24:in `block in each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/matcher/method.rb:29:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/matcher/filter.rb:22:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/config.rb:31:in `subjects'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner.rb:156:in `each'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner.rb:156:in `dispatch'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner/config.rb:79:in `run_subjects'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner/config.rb:91:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner.rb:76:in `initialize'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/adamantium-0.1.0/lib/adamantium/class_methods.rb:17:in `new'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/gems/abstract_type-0.0.7/lib/abstract_type.rb:37:in `block in create_new_method'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/runner/config.rb:21:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/lib/mutant/cli.rb:28:in `run'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bundler/gems/mutant-0df898b0ef88/bin/mutant:19:in `<top (required)>'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/mutant:23:in `load'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/mutant:23:in `<main>'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `eval'
    from /home/fletch/.rvm/gems/ruby-2.0.0-p353/bin/ruby_executable_hooks:15:in `<main>'

@mbj mbj reopened this Jan 11, 2014
@mbj
Copy link
Owner

mbj commented Jan 11, 2014

@mockdeep I cannot reproduce this one. Can you setup a minimal repro as a repo that I can clone and run locally?

@mbj
Copy link
Owner

mbj commented Jan 11, 2014

@mockdeep I reproduced it! Fix soon.

@mbj mbj closed this as completed in 5af2af3 Jan 11, 2014
@mbj
Copy link
Owner

mbj commented Jan 11, 2014

@mockdeep Fix is released as v0.3.4.

@mockdeep
Copy link
Contributor Author

@mbj Sweet! Looks like that did the trick. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants