Project

General

Profile

Actions

Defect #38

closed

Can't view project settings. Unidentified field identifier in views/project/_form.rhtml

Added by Laran Evans almost 17 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

ActionView::TemplateError (undefined local variable or method `identifier' for #
<Project:0x41117880>) on line #12 of app/views/projects/_form.rhtml:
9: <% end %>

For me line 12 reads:

<p><%= f.text_field :identifier, :required => true, :size => 15, :disabled =

@project.identifier_frozen? ><br /><em><= l(:text_length_between, 3, 12) %>

<%= l(:text_project_identifier_info) unless @project.identifier_frozen? %></em><
/p>

Actions #1

Updated by Jean-Philippe Lang almost 17 years ago

This field (identifier) was added recently.
Make sure you have migrated your database.

Actions #2

Updated by Pavol Murin almost 17 years ago

I suppose you are running the svn version. Looks like you didn't
do rake db:migrate.

(remember to run it for the correct database - e.g. rake db:migrate
RAILS_ENV=production

muro

Actions #3

Updated by Laran Evans almost 17 years ago

Perfect. That worked. Thanks.

Actions #4

Updated by Jean-Philippe Lang about 16 years ago

  • Subject changed from Can't view project settings. Unidentified field &amp;quot;:identifier&amp;quot; in views/project/_form.rhtml to Can't view project settings. Unidentified field identifier in views/project/_form.rhtml
Actions

Also available in: Atom PDF