[Rails] Asset Pipeline: Asset attempted to compress while creating page response & not during asset request

2013-07-11 Thread Farukh D.M
Hi, I am stuck in a weird situation where in my production environment, an asset is being attempted to compress while rendering a view. I've all my assets put into public/assets folder via rake "assets:precompile" production.rb has following configurations: -

[Rails] Re: rake assets:precompile issue with JS and stylesheets files with similar name

2013-05-23 Thread Farukh D.M
Never mind, My bad :) I was not using correct convention for including css file. it has to be "test_vendor.css" instead of "test_vendor.scss" Following works. *config.assets.precompile += %w(test_vendor.js test_vendor.css)* On Thursday, 23 May 2013 15:20:51 UTC+5:

[Rails] rake assets:precompile issue with JS and stylesheets files with similar name

2013-05-23 Thread Farukh D.M
Hi, I've got following two files with same names under javascripts and stylesheets directories as: - app/assets/javascripts/test_vendor.js - app/assets/stylesheets/test_vendor.scss Essentially a JS and an stylesheet files with same name.

[Rails] Is it safe to upgrade to 3.2.13 or wait for 3.2.14

2013-05-02 Thread Farukh D.M
Hi, I came across following link: http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/ which says rails vulnerabilities issue has been fixed in 3.2.13 However I could see another link which says Rails 3.2.13 has induced Performance Regressions a

Re: [Rails] Re: How to reproduce: CVE-2013-1854 Symbol DoS vulnerability in Active Record

2013-05-01 Thread Farukh D.M
Wow, that is one hell of an eye opener. Thanks very much for the reply. I appreciate very much. Regards Farukh D M On Wed, May 1, 2013 at 3:03 AM, Frederick Cheung wrote: > > > On Tuesday, April 30, 2013 10:10:20 AM UTC+1, Farukh D.M wrote: >> >> Hey, >> >>

[Rails] How to reproduce: CVE-2013-1854 Symbol DoS vulnerability in Active Record

2013-04-30 Thread Farukh D.M
Hey, I need to find out the impact of vulnerability: CVE-2013-1854 Symbol DoS vulnerability in Active Record Is there a way I can test my application with DoS attack by doing some manual code or something like that. On rails console, I tried to do something like: User.where(:email => {:email =