Topic: Refactoring to REST with ajax
I've a view with a select_tag wich contains articles, and the appropriate article is displayed onchange (when clicked). how can I refactor this to CRUD methods :
<%= select_tag 'articles', options_for_select(@articles),
:onChange => remote_function(:url => display_article,
:with => "'article='+this.value") %>
Should I rename display this view to new? (or index????) and display_article to show???