Project

General

Profile

Actions

Bug #1818

closed

New Host Doesn't work?

Added by Matt Radtke almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Just upgraded 0.4 to 1.0. Things seem to be working well until I click "New Host"

The following appears in logs:

NoMethodError
undefined method `compute_resource_id' for #<Host:0x7fc2dfe5f048>
app/views/hosts/_form.html.erb:17:in `_app_views_hosts__form_html_erb___834828396_70237479125400_518110'
app/helpers/layout_helper.rb:147:in `form_for'
app/views/hosts/_form.html.erb:4:in `_app_views_hosts__form_html_erb___834828396_70237479125400_518110'
app/views/hosts/new.html.erb:3:in `_app_views_hosts_new_html_erb___1176959622_70237479148380_0'

Actions #1

Updated by Sam Kottler almost 12 years ago

  • Status changed from New to Need more information

What operating system are you using? Also, have you migrated the database?

Actions #2

Updated by Matt Radtke almost 12 years ago

Terribly sorry:

Operating System: CentOS 6.0.

Migrated Database: rake db:migrate RAILS_ENV="production" was run

Actions #3

Updated by Matt Radtke almost 12 years ago

I'm sorry, this after noon after lunch and a giant pot of coffee, I can't reproduce. Presume the user (me) is an idiot and close.

Actions #4

Updated by Ohad Levy almost 12 years ago

  • Status changed from Need more information to Closed

I'm guessing you just needed to migrate your db.

cheers :)

Actions

Also available in: Atom PDF