Skip to content

Instantly share code, notes, and snippets.

@extrajordanary
Created May 25, 2016 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save extrajordanary/ff1fb4cd6168f47ed79c4ead0944602e to your computer and use it in GitHub Desktop.
Save extrajordanary/ff1fb4cd6168f47ed79c4ead0944602e to your computer and use it in GitHub Desktop.
undefined method `cunt' for #<Form::ActiveRecord_Associations_CollectionProxy:0x007fb1388cc508>
irb(main):004:0> u.forms.cunt
NoMethodError: [...]
undefined method `cunt' for #<Form::ActiveRecord_Associations_CollectionProxy:0x007fb1388cc508>
Did you mean? count
from /app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.5/lib/active_record/relation/delegation.rb:136:in `method_missing'
from /app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.5/lib/active_record/relation/delegation.rb:99:in `method_missing'
from (irb):4
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/console.rb:110:in `start'
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/console.rb:9:in `start'
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:68:in `console'
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /app/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'
from /app/bin/rails:8:in `require'
from /app/bin/rails:8:in `<main>'
irb(main):005:0> class Object
irb(main):006:1> def cunt
irb(main):007:2> Object.cunt
irb(main):008:2> end
irb(main):009:1>
irb(main):010:1* def self.cunt
irb(main):011:2> '{(.)}'
irb(main):012:2> end
irb(main):013:1> end
=> :cunt
irb(main):014:0> u.forms.cunt
=> "{(.)}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment