Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created July 20, 2010 14:56
Show Gist options
  • Save knowuh/483062 to your computer and use it in GitHub Desktop.
Save knowuh/483062 to your computer and use it in GitHub Desktop.
Processing Portal::ClazzesController#new (for 63.138.152.143 at 2010-07-20 10:46:08) [GET]
Parameters: {"action"=>"new", "controller"=>"portal/clazzes"}
Rendering template within layouts/application
Rendering portal/clazzes/new
ActionView::TemplateError (undefined method `titleize' for 6:Fixnum) on line #36 of app/views/portal/clazzes/_form.html.haml:
33: %td
34: = check_box_tag tag_name, "1", !portal_clazz.grades.find_by_name(name).nil?
35: %td{:style => "padding: 0 10px 0 3px;"}
36: = label_tag tag_name, name.titleize
37: - if action_name == "edit"
38: %li
39: = label_tag :teachers, 'Add or remove', :class=>"right"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment