I've developed an application last year, deployed it to the web server
and it worked great.
Last week, there were some changes to the hosting plan (changing
username mainly ...) but for some reason I am experiencing problems
with an application now (same application that worked before).
The application uses rails 1.2.3. The error that the production log
ActionView::TemplateError (Expected ../config/../app/models/product.rb
to define Product) on line #19 of app/views/home/index.rhtml:
16: <div class="floatleft">
17: <h2>Featured Products</h2>
19: <% if Product.valid %>
20: <% Product.featured.each do |f| %>
21: <li><%= link_to f.title, :controller => "catalog", :action =>
"show", :id => f.id %></li>
22: <% end %>
Would you know why suddenly it is giving me grief? and/or how to fix