Skip to content

Instantly share code, notes, and snippets.

@AJFaraday
Created May 18, 2011 10:49
Show Gist options
  • Save AJFaraday/978354 to your computer and use it in GitHub Desktop.
Save AJFaraday/978354 to your computer and use it in GitHub Desktop.
baffling error
Showing /home/andrew/Documents/FestivePage/app/views/mailouts/_form.html.haml where line #3 raised:
wrong number of arguments (1 for 0)
Extracted source (around line #3):
1: .group
2: = f.label :subject, t("activerecord.attributes.mailout.subject", :default => "Subject"), :class => :label
3: = f.text_field :subject, :class => 'text_field'
4: %span.description Ex: a simple text
5: .group
# being called from my new view
.inner
= form_for :mailout, :url => mailouts_path, :html => { :class => :form } do |f|
= render :partial => "form", :locals => {:f => f}
- content_for :sidebar, render(:partial => 'sidebar')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment