Skip to content

Instantly share code, notes, and snippets.

@nitsujw
Created October 15, 2008 23:55
Show Gist options
  • Save nitsujw/17035 to your computer and use it in GitHub Desktop.
Save nitsujw/17035 to your computer and use it in GitHub Desktop.
Trace
/var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/controller/template.rb:134:in `compile_template': wrong number of arguments (4 for 3) (ArgumentError)
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/controller/template.rb:134:in `inline_template'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/bootloader.rb:998:in `run'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/bootloader.rb:997:in `each'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/bootloader.rb:997:in `run'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/bootloader.rb:96:in `run'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/server.rb:171:in `bootup'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core/server.rb:42:in `start'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/lib/merb-core.rb:130:in `start'
from /var/www/html/merb/justinweidmann/gems/gems/merb-core-0.9.9/bin/merb:11
from /usr/local/bin/merb:27:in `load'
from /usr/local/bin/merb:27
index.rss.builder
@title = 'Justin'
@link = 'http://jw.com/feed/'
@description = 'jw'
for post in @posts
xml.item do
xml.title post.title
xml.link( url(:post, post) )
xml.guid( url(:post, post) )
xml.description post.body
xml.pubDate post.created_at
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment