I just setup a new Rails application on my site. Almost everything is working, the only problem is that when I try to add a new item into my database, the form is not being rendered. For example, if you go to http://comic.marktopia.net/series, you will see a comic book series listed. If you try to create a new series or edit that series, you only get
The code for the new.rhtml is:
<% form_tag :action => ‘create’ do %>
<%= render :partial => ‘form’ %>
<%= submit_tag “Create” %>
<% end %>
<%= link_to ‘Series List’, :action => ‘list’ %> || <%= link_to ‘New book’,:controller => ‘books’, :action => ‘new’ %>
and the code for _form.rhtml in the same folder is:
<%= error_messages_for ‘series’ %>
<%= text_field 'series', 'name' %>
<%= text_field 'series', 'volume' %>
<%= text_field 'series', 'year' %>
NOTE: I removed the < in front of the [eoform:series] lines so I could post them here.
I am open to suggestions or help. I have gone through the wiki entry for RoR for Dreamhost and could not find anything similiar to this. It also does not appear to be a DB connection problem since it is able to find items in the DB. Any advice or things to try would be great.