search for: rosskarchn

Displaying 7 results from an estimated 7 matches for "rosskarchn".

Did you mean: rosskarchner
2005 Mar 25
4
ajax and clearing the form
Hi I played a little bit with rails+ajax, works fine... but how do I reset the form? I tried: --- <%= form_remote_tag(:html => {:name => ''form_update''}, :url => :url_new_item_with_ajax, :update => ''container'', :loading => "Toggle.display(''new-item''); $(''new-item-desc'').innerHTML =
2006 Mar 23
10
Domain Requirements in Routes (Edge Rails)
I saw on the bottom of the following page that you can route requests to different controllers based upon which subdomain is being requested. http://wiki.rubyonrails.com/rails/pages/Routes with_options :requirements=>{:subdomain=>''first.com''} do map.connect '''', :controller => "first/catalog" map.connect ''featured'',
2006 Jul 24
1
Worker-be-gone
Hello, Thank you so very much for Backgroundrb. Good Stuff. A general question: Do: - calling ''teminate'' within a worker - calling delete_worker through MiddleMan - letting the :ttl expire - calling MiddleMan.gc! (with an appropriate timestamp) All accomplish the same thing? And here''s a bonus feature request: It''d be cool if you could specify how many
2006 Apr 09
0
action cache plugin, bad yaml?
Is there anyone out there using this plugin in production: http://wiki.rubyonrails.com/rails/pages/Action+Cache+Update+Plugin it seems to occasionally generate bad YAML, which makes the cached page unavailable. Here is what happens when I try to parse it from the console: >> YAML.load open(''tmp/philly.localfeeds.com/.cache'') ArgumentError: syntax error on line 318,
2006 Mar 24
2
Expiring cached actions outside of ActionController
In the site I''m building, my models are *almost* never updated within ActionController-- all new data comes in via command line scripts manipulating ActiveRecord directly. Can anyone offer any hints about expiring cached actions without Sweeper? -Ross
2005 Mar 08
2
ActiveRecords on the command line?
Hello- I''d like to write command line scripts that have full access to my Rails app''s data model and database.yml (in other words, I don''t want to lose any of the abstractions and automation that make programming with Rails so pleasant). Can anyone offer a hint of where to start? -Ross
2006 Mar 29
2
Fragment Cache Wackiness
I can''t seem to get the fragment cache to use :file_store. I''d really appreciate it if someone could point me in the right direction. Rails 1.1 final, FreeBSD Observe: In environment.rb AND production.rb (for good measure, DRY be damned): ActionController::Base.fragment_cache_store = :file_store, "/www/apps/localfeeds/directory/tmp/fragmentcache/" At the console