[Rails] Re: using image as input type in submit_to_remote

2009-06-04 Thread gautam chekuri
an image its rightful place as a submit button. I would expect link_to_remote and submit_to_remote to be, kind of... homomorphic. On Thu, Jun 4, 2009 at 8:19 PM, SuperC0wdavidcampbell...@gmail.com wrote: Wouldn't link_to_remote(image_tag(image) work? On May 22, 8:37 pm, gautam chekuri gautam.chek

[Rails] using image as input type in submit_to_remote

2009-05-23 Thread gautam chekuri
Hi all, After searching for a way to set the input type of a submit tag to image when using submit_to_remote I realized that the method call given below, while seemingly valid, wasn't working since the method button_to_function in actionpack/lib/action_view/helpers/ javascript_helper.rb was

[Rails] Re: expires_in with fragment-caching

2008-12-29 Thread gautam chekuri
Chris, 1. If you are running rails 2.1 memcached then you can do this in fragment caching: % cache(key, :expires_in = 5.minutes) do % hello, world! % end % - Gautam On Dec 29, 7:18 pm, sigma christoph.thom...@gmail.com wrote: Hi all Is it posible do have a expires_in with

[Rails] Re: expires_in with fragment-caching

2008-12-29 Thread gautam chekuri
If you are using rails 2.1 memcached, then you can do this : % cache(key, :expires_in = 5.minutes) do % hello, world % end % On Dec 29, 7:18 pm, sigma christoph.thom...@gmail.com wrote: Hi all Is it posible do have a expires_in with fragment-caching? Does this work with memcached?