I am new to rails, well, sure you will notice that given my question
Starting from a simple application for demonstration, just one table
with name, status and all the generated scaffold around. Index page with
the links to new/edit/delete and all the rest. I do understand the way
edit and new works, with their own views and the methods in the
Let’s say, I want to add one link(_to) to each line in the index view,
call it change_status. On click a method in the controller should change
the corresponding item (id) and set to status to a new value, then
reload the index page. As I expect without invoking any other view but I
do not manage to tell rails about…
I would really appreciate, if one of you could give me a hint (e.g. what
to search for in documentations/tutorials, I am using Rails3).
Thanks in advance!