Skip to content

Instantly share code, notes, and snippets.

@brynary
Created March 9, 2009 21:03
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 brynary/76478 to your computer and use it in GitHub Desktop.
Save brynary/76478 to your computer and use it in GitHub Desktop.
wrong number of arguments (2 for 3) (ActionView::TemplateError)
On line #19 of app/views/kids/birthday.html.erb
16: </script>
17: <% end %>
18:
19: <% rounded_page :size => :xnarrow do %>
20: <% top_cap :error? => @step_one.errors.any? do %>
21: <% if @step_one.errors.any? %>
22: <%= friendly_child_birthday_error_message(@step_one) %>
nokogiri (1.2.1) lib/nokogiri/xml/builder.rb:31:in `sized_class'
nokogiri (1.2.1) lib/nokogiri/xml/builder.rb:31:in `send'
nokogiri (1.2.1) lib/nokogiri/xml/builder.rb:31:in `method_missing'
app/helpers/framework_helper.rb:44:in `rounded_page'
nokogiri (1.2.1) lib/nokogiri/xml/builder.rb:11:in `instance_eval'
nokogiri (1.2.1) lib/nokogiri/xml/builder.rb:11:in `initialize'
nokogiri (1.2.1) lib/nokogiri.rb:64:in `new'
nokogiri (1.2.1) lib/nokogiri.rb:64:in `Nokogiri'
app/helpers/framework_helper.rb:78:in `nokogiri_build'
app/helpers/framework_helper.rb:43:in `rounded_page'
app/views/kids/birthday.html.erb:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment