Forum: Ruby on Rails showcase + acts_as_versioned error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Arnold C. (Guest)
on 2006-05-24 20:53
I just installed Kyle M.'s Showcase cms and followed the
instructions. The database was created successfully. However, when I
login to the account section to edit my website I get the following
error after a fresh install.

NameError in Account#index

Showing app/views/account/_website_form.rhtml where line #28 raised:

`const_missing': uninitialized constant Version

Extracted source (around line #28):

25: <p>
26:     <label for="version">Version</label><br/>
27:     <select name="version">
28:         <%= options_from_collection_for_select @website.versions,
"version", "updated_at", @website.version %>
29:     </select>
30:     <%= submit_tag 'Revert' %>
31: </p>

I am running rails 1.1 on a debian 3.1 server and using webrick in
development mode.

I have a feeling its something simple but I can't seem to figure it out.
Any ideas?


This topic is locked and can not be replied to.