[Rails] Re: In IE there is delay in loading png images

2009-08-20 Thread Shanmu Gam
jhaagmans wrote: > Are you very sure none of your stylesheets are requesting png.htc > somehow? png.htc is a known fix for PNG in IE. If your stylesheet is > linking to it, but it doesn't exist, that might slow down your > request. Hi all, Thanks for your response. I am sure none of my styleshee

[Rails] In IE there is delay in loading png images

2009-08-20 Thread Shanmu Gam
Hi all, Can some one help me in this issue. My application consists only png images where it takes normal time to get loaded in all browsers except IE. In IE i can see nearly 950 requests where other browsers show only around 65 requests. Here i have attached the screen shot which i took using h

[Rails] Delay in loading png images in IE

2009-08-20 Thread Shanmu Gam
Hi all, Can some one help me in this issue. My application consists only png images where it takes normal time to get loaded in all browsers except IE. In IE i can see nearly 950 requests where other browsers show only around 65 requests. Here i have attached the screen shot which i took using h

[Rails] Re: respond_to issue in IE7

2009-06-21 Thread Shanmu Gam
Matt Jones wrote: > This is a known issue with IE sending an incorrect Accepts: header. > See also this: > > http://www.danielcadenas.com/2008/10/internet-explorer-7-accept-header-and.html > > --Matt Jones > > > On Jun 19, 10:20�am, Shanmu Gam Thanks Jones, --

[Rails] respond_to issue in IE7

2009-06-19 Thread Shanmu Gam
Hi all, can somebody help me with this issue in respond_to? def new respond_to do |format| format.xml { puts 'xml'} format.html { puts 'html'} format.pdf { puts 'pdf'} format.js { puts 'js'} end end When i run this code in FireFox i am getting "html" for p

[Rails] Re: Is it possible to pass a model name as a variable?

2009-01-21 Thread Shanmu Gam
Andrew Timberlake wrote: > On Wed, Jan 21, 2009 at 9:14 AM, Shanmu Gam < > rails-mailing-l...@andreas-s.net> wrote: > >> above code like the one below, will it do the same work? >> >> someone please help. >> >> thanks, >> shanmu >> -- >

[Rails] Is it possible to pass a model name as a variable?

2009-01-20 Thread Shanmu Gam
Hi all, Is it possible to pass a model name as a variable? For example in controller there is a method like this, def list var = User.find(:all) end where in var we heve collected all data from users table. If i edit the above code like the one below, will it do the same work? def list(modl) v