Displaying 1 result from an estimated 1 matches for "set_implmplementation".
2006 Feb 20
0
Ajax and tables
...;td><%= link_to ''Destroy'', { :action => ''destroy'', :id => feature },
:confirm => ''Are you sure?'' if @session[:user] %></td>
</tr>
And the action in the controller...
def set_implementation
puts ''set_implmplementation''
impl = FeatureImplementation.find( params[:id] )
impl.value = params[:value]
impl.save()
render_text "X" # this should return the entire row
end
--
Posted via http://www.ruby-forum.com/.