oneiros/frab — Issue #2: Changing event acronym is raising error after pressing the update button
Author: wingfire
Created: 2011-11-07 00:34:03+00:00
State: open

NoMethodError in Conferences#edit

Showing frab/app/views/conferences/_form.html.haml where line #1 raised:

undefined method `new_record?' for nil:NilClass

Extracted source (around line #1):

1: = semantic_form_for(@conference, :url => @conference.new_record? ? create_conference_path : conference_path) do |f|
2: = f.inputs "Basic information" do
3: = f.input :title, :hint => "The name of your conference as it shall appear throughout the site. Example: 'FrOSCon'"
4: = f.input :acronym, :hint => "A short and unique handle for your conference, using only lower-case letters, numbers and underscores. This will be used to identify your conference in URLs etc. Example: 'froscon2011'"