Итак .. вот моя ссылка_
<% = link_to "Архив",: action => 'архив'%>
и мой вывод в консоль
Parameters: {"action"=>"archive", "controller"=>"achievables"}
почему действие не "архив"?
метод определен в контроллере ... пишется правильно и все.
EDIT:
fromways.rb
map.archives 'achievable/archive', :controller => 'achievables', :action => 'archive'
map.resources :achievables, :member => {:build => [:get,:post], :publish_detail => [:get,:post], :publish=>[:get,:post], :confirm_publish=>[:get,:post], :confirm_delete=>[:get,:post]}
прямо сейчас, ошибка
Showing app/views/layouts/build_archivable.html.erb where line #6 raised:
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
что, опять же, неверный путь. = \