Skip to content

Instantly share code, notes, and snippets.

@shafferj
Created August 6, 2009 14:03
Show Gist options
  • Save shafferj/163326 to your computer and use it in GitHub Desktop.
Save shafferj/163326 to your computer and use it in GitHub Desktop.
>> User.all
ArgumentError: wrong number of arguments (1 for 0)
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/jnunemaker-mongomapper-0.3.1/lib/mongomapper/document.rb:161:in `new'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/jnunemaker-mongomapper-0.3.1/lib/mongomapper/document.rb:161:in `block in find_every'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/jnunemaker-mongomapper-0.3.1/lib/mongomapper/document.rb:161:in `map'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/jnunemaker-mongomapper-0.3.1/lib/mongomapper/document.rb:161:in `find_every'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/jnunemaker-mongomapper-0.3.1/lib/mongomapper/document.rb:62:in `all'
from (irb):1
from /opt/local/bin/irb:12:in `<main>'
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment