Good night.
I am starting in linux and development in Ruby. I have not much expertise in this area. I'm using ruby + rails + postgres + RadRails.
I generated a CRUD for testing as follows below: scaffold Teste nome:string login:string senha:string
When I run this application showing the following error:
NameError in Testes#index
Showing app/views/testes/index.html.erb where line #24 raised:
undefined local variable or method `new_teste_path' for #<ActionView::Base:0xb6f93560>
Extracted source (around line #24):
21: 22: <br /> 23: 24: <%= link_to 'New teste', new_teste_path %>
RAILS_ROOT: /home/adriano/Aptana Studio Workspace/teste Application Trace | Framework Trace | Full Trace
app/views/testes/index.html.erb:24 app/controllers/testes_controller.rb:7:in `index' -e:2:in `load' -e:2
Please help me solve this problem.
Thanks ...
Best Regards Adriano Dias da Silva