Skip to content

Instantly share code, notes, and snippets.

@BrianTheCoder
Created July 24, 2008 18:18
Show Gist options
  • Save BrianTheCoder/2239 to your computer and use it in GitHub Desktop.
Save BrianTheCoder/2239 to your computer and use it in GitHub Desktop.
/opt/local/lib/ruby/gems/1.8/gems/dm-validations-0.9.3/lib/dm-validations/numeric_validator.rb:17:in `send': undefined method `product_id' for #<Shirt:0x25d9628> (NoMethodError)
from /opt/local/lib/ruby/gems/1.8/gems/dm-validations-0.9.3/lib/dm-validations/numeric_validator.rb:17:in `call'
from /opt/local/lib/ruby/gems/1.8/gems/dm-validations-0.9.3/lib/dm-validations/contextual_validators.rb:48:in `execute'
from /opt/local/lib/ruby/gems/1.8/gems/dm-validations-0.9.3/lib/dm-validations/contextual_validators.rb:46:in `each'
from /opt/local/lib/ruby/gems/1.8/gems/dm-validations-0.9.3/lib/dm-validations/contextual_validators.rb:46:in `execute'
from /opt/local/lib/ruby/gems/1.8/gems/dm-validations-0.9.3/lib/dm-validations.rb:87:in `hookable__valid_ques_before_advised'
from /opt/local/lib/ruby/gems/1.8/gems/extlib-0.9.3/lib/extlib/hook.rb:294:in `valid?'
from /opt/local/lib/ruby/gems/1.8/gems/extlib-0.9.3/lib/extlib/hook.rb:292:in `catch'
from /opt/local/lib/ruby/gems/1.8/gems/extlib-0.9.3/lib/extlib/hook.rb:292:in `valid?'
... 17 levels...
from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.4/lib/merb-core.rb:87:in `start'
from /opt/local/lib/ruby/gems/1.8/gems/merb-core-0.9.4/bin/merb:12
from /opt/local/bin/merb:19:in `load'
from /opt/local/bin/merb:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment