UM-USElab / GradeCraft

GradeCraft is a gamified gradebook, intended to help motivate students to be more engaged in their own learning.
GNU Affero General Public License v3.0
9 stars 6 forks source link

NoMethodError: undefined method `model_name' for NilClass:Class #124

Closed chcholman closed 11 years ago

chcholman commented 11 years ago

Check full details on Airbrake: https://gradecraft.airbrake.io/groups/66128815?auth_token=190aa431cb22c78153235d1e59f8d6ca36925955

[GEM_ROOT]/gems/actionpack-4.0.0/lib/action_view/model_naming.rb:9:in `model_name_from_record_or_class'
[GEM_ROOT]/gems/actionpack-4.0.0/lib/action_view/helpers/form_helper.rb:1525:in `fields_for'
[GEM_ROOT]/gems/simple_form-3.0.0.rc/lib/simple_form/action_view_extensions/builder.rb:26:in `simple_fields_for'
[PROJECT_ROOT]/app/views/users/_form.html.haml:18:in `block in _app_views_users__form_html_haml___4237970357338789382_70266308819200'
[GEM_ROOT]/gems/haml-4.0.3/lib/haml/helpers/action_view_mods.rb:144:in `call'
[GEM_ROOT]/gems/haml-4.0.3/lib/haml/helpers/action_view_mods.rb:144:in `block (2 levels) in form_for_with_haml'
[GEM_ROOT]/gems/haml-4.0.3/lib/haml/helpers.rb:278:in `with_tabs'
[GEM_ROOT]/gems/haml-4.0.3/lib/haml/helpers/action_view_mods.rb:144:in `block in form_for_with_haml'
[GEM_ROOT]/gems/actionpack-4.0.0/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
[GEM_ROOT]/gems/actionpack-4.0.0/lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'