So.. here is my link_to
and my output in the console
Parameters: {"action"=>"archive", "controller"=>"achievables"}
why is the action not "archive" ? the method is defined in the controller... spelled correctly and everything.
EDIT: from routes.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]}
right now, the error is
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
which, again, is the wrong path. =\