I follow the Screencast - Basic Concept, accurately and am having
problems. I attach the view in the files section of this group. The
name is error.png. This picture will see what i'm try to do.
The log of the error:
Processing BackendController#base (for 127.0.0.1 at 2010-03-14
23:38:51) [GET]
Parameters: {"small"=>"1", "toolbar"=>"1", "load"=>"/backend/
fornecedores.js"}
Account Columns (1.3ms) SHOW FIELDS FROM `accounts`
Account Load (0.1ms) SELECT * FROM `accounts` WHERE
(`accounts`.`id` = 1) LIMIT 1
Account Load (0.1ms) SELECT * FROM `accounts` WHERE
(`accounts`.`id` = 1)
ActionController::UnknownAction (No action responded to base.
Actions: ):
haml (2.2.21) lib/sass/plugin/rails.rb:20:in `process'
Rendering rescues/layout (not_found)
The view of products:
=simple_error_messages_for :produto
-tab "Produto" do
%table.full
%tr
%td.fixed=human_name_for :produto, 'Código'
%td=text_field :produto, :codigo
%tr
%td.fixed=human_name_for :produto, :nome
%td=text_field :produto, :nome
%tr
%td.fixed=human_name_for :produto, :marca
%td=text_field :produto, :marca
%tr
%td.fixed=human_name_for :produto, :grupo
%td=open_standard_grid :produto, :grupo, :id, :nome
%tr
%td.fixed=human_name_for :produto, :fornecedor
%td=open_standard_grid :produto, :fornecedor, :id, :nome
Thanks.
From package management:
ii ruby1.8
1.8.7.174-1ubuntu1 Interpreter of object-
oriented scripting lan
ii rake
0.8.4-1 a ruby build program
ii rubygems1.8
1.3.5-1ubuntu2 package management
framework for Ruby librar
In gems:
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
builder (2.1.2)
haml (2.2.21)
lipsiadmin (5.1.2)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
Quickfix would be, add to config/routes.rb:
map.backend '/backend', :controller =>
'backend/base', :action => 'index'
map.backend2 '/backend/
base', :controller => 'backend/base', :action => 'index'