Skip to content

Instantly share code, notes, and snippets.

@rhyhann
Created December 26, 2008 11:29
Show Gist options
  • Save rhyhann/40044 to your computer and use it in GitHub Desktop.
Save rhyhann/40044 to your computer and use it in GitHub Desktop.
{"page"=>"1"}
ArgumentError - wrong number of arguments (0 for 1)
(__DSL__):2:in `post'
(__DSL__):2:in `post'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:592:in `render_erb'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:592:in `render_erb'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:521:in `call'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:521:in `render'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:576:in `erb'
./blog.rb:98:in `link_for'
(haml):4:in `render'
/usr/lib/ruby/gems/1.8/gems/extlib-0.9.8/lib/extlib/lazy_array.rb:14:in `each'
/usr/lib/ruby/gems/1.8/gems/extlib-0.9.8/lib/extlib/lazy_array.rb:14:in `each'
(haml):3:in `render'
/usr/lib/ruby/gems/1.8/gems/haml-2.1.0/lib/haml/engine.rb:150:in `render'
/usr/lib/ruby/gems/1.8/gems/haml-2.1.0/lib/haml/engine.rb:150:in `instance_eval'
/usr/lib/ruby/gems/1.8/gems/haml-2.1.0/lib/haml/engine.rb:150:in `render'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:610:in `render_haml'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:521:in `call'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:521:in `render'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:601:in `haml'
./blog.rb:76:in `send'
./blog.rb:76
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1254:in `instance_eval'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1254:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1248:in `catch'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1248:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/commonlogger.rb:20:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/commonlogger.rb:20:in `_call'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/commonlogger.rb:13:in `call'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1227:in `call'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1172:in `run_safely'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1172:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1172:in `run_safely'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1225:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/handler/mongrel.rb:59:in `process'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/handler/mongrel.rb:32:in `run'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:112:in `run'
/usr/lib/ruby/gems/1.8/gems/sinatra-0.3.2/lib/sinatra.rb:1461
blog.rb:111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment