search for: updateitem

Displaying 2 results from an estimated 2 matches for "updateitem".

Did you mean: update_item
2007 Dec 15
3
List Box Issue - Should be easy, but nor for me!
I have the following snippet in my app: <% @anitem = Item.find(:all, :conditions => "id = " + params[:id]) %> <% form_for :anitem, :url => { :action => :updateitem } do |thisform| -%> ... ... (some code...removed) ... <%= collection_select :thisform, :item_category, ItemCategory.find(:all), :id, :name %><br> <%= collection_select :thisform, :packing_list_type, PackingListType.find(:all), :id, :name %> <%= submit_tag '...
2006 Jan 27
0
Cache Sweepers and runner scripts that act on models?
I created a script that I call by ''./script/runner -e production UpdateItems.get_new_items()'', which basically calls the model Item: Item.create(attributes...) I''ve set up a cache sweeper which removes caches after each create/destroy/update on Item, and it works fine when accessing controllers via the web server, but apparently doesn''t work...