First time attempting to use ActiveScaffold. The list works fine, but trying to create a new item in any of my Models generates a 500 Internal Server Error. Here's what I get:
Completed 500 Internal Server Error in 53ms
ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
1: <%= form_for(@ticket_type) do |f| %>
2: <% if @ticket_type.errors.any? %>
3: <div id="error_explanation">
4: <h2><%= pluralize(@ticket_type.errors.count, "error") %> prohibited this ticket_type from being saved:</h2>
app/views/ticket_types/_form.html.erb:1:in `_app_views_ticket_types__form_html_erb___1507740521291095460_70122715152840'
Not much there to go on, I was hoping someone with a bit more troubleshooting experience might be able to help.
Thanks.