[Rails-core] How to show the full resolution image at clicking on thumnail

2011-01-10 Thread amritpal pathak
I am new to this mailing list and this is my first post to this list. I am working on the Ruby on Rails application (OpenStreetView).I need a help in the following issue. There are 5 copies of the same images are placed in a folder i.e. large(1024*768),medium(500* 375),small(240*180),thu

Re: [Rails-core] How to show the full resolution image at clicking on thumnail

2011-01-10 Thread Ken Collins
Amrit, I am new to this mailing list and this is my first post to this list. The rails/ruby core lists are not the place for general help. This particular list is dedicated to development of rails itself. I did see you had sent your message to rails talk which is the correct place and I am

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread Ken Collins
I somewhat mentioned this [1] when I was running ActiveRecord tests under 1.9.2 vs 1.8.7. Someone else mentioned there was a bug fix [2] which I can see is applied to both 3-0-stable/2-3-stable. Even though after this, I still found 1.9.2 to be way slower. I never did the legwork to find out

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread Stephen
5410 should be fixed.. 1.9.2 has this new setup where you can implement a function responds_to_missing to deal with responds_to for functions that are handled by method_missing. ActiveRecord was removing all the default methods on the AssociationProxy object that didn't match a regular

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread Colin Law
On 10 January 2011 15:06, Stephen sblackst...@gmail.com wrote: 5410 should be fixed.. Do you believe that may be the cause of the slow startup using 1.9.2? I believe that Ken Collins said that it made little difference for him. Colin 1.9.2 has this new setup where you can implement a

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread Ken Collins
Agreed! Please do not let my aside on 5410 distract the issue. 1.9.2 is still slow! - Ken 5410 should be fixed.. Do you believe that may be the cause of the slow startup using 1.9.2? I believe that Ken Collins said that it made little difference for him. -- You received this

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread Lori Kingman
SEEKING A GREAT WEB QA Engineer! Please let me know if you would be interested in speaking! Ken Collins wrote: Agreed! Please do not let my aside on 5410 distract the issue. 1.9.2 is still slow! - Ken 5410 should be fixed.. Do you believe that may be the cause of the slow

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread Yehuda Katz
There are things that the C require code does in 1.9 that slow things down. One such example is re-checking $LOAD_PATH to make sure it is all expanded on every require. This is something that should be addressed by ruby-core. I'll open a ticket on redmine if there isn't one already. Yehuda Katz

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread hemant
ko1 was looking for a sample app to reproduce the problem, http://osdir.com/ml/ruby-talk/2010-12/msg00350.html On Mon, Jan 10, 2011 at 11:25 PM, Yehuda Katz wyc...@gmail.com wrote: There are things that the C require code does in 1.9 that slow things down. One such example is re-checking

Re: [Rails-core] Slow startup using ruby 1.9.2 vs 1.8.7

2011-01-10 Thread Stephen
That bug was specific to certain situations, namely calling methods on named scopes or association proxies. There are certainly other fish to fry, I just wanted to address that one specific case. On Mon, Jan 10, 2011 at 10:34 AM, Ken Collins k...@metaskills.net wrote: Agreed! Please do

[Rails-core] Can't use ActionDispatch::Request in Rails middleware because path_parameters get lost

2011-01-10 Thread adamc
Hi, I just encountered a bit of an issue where we call request.params of an ActionDispatch::Request inside a rack middleware right before a Rails 3.0.3 app. The issue is that the path_parameters never appear in the parameters hash if you call request.params before the rails app. It seems that

[Rails-core] Replacement for AV::TestCase

2011-01-10 Thread Nick Sutterer
Hey friends, here's a replacement for ActionView::TestCase, I called it AV::HelperTest. In the commit I already changed all the existing helper tests, they run fine with the new class. https://github.com/apotonick/rails/commit/f5bf2a06cf30cc621d6d1aef5aedc4659737b271 So, why a replacement?

Re: [Rails-core] Replacement for AV::TestCase

2011-01-10 Thread Aaron Patterson
On Mon, Jan 10, 2011 at 01:32:11PM -0800, Nick Sutterer wrote: Hey friends, here's a replacement for ActionView::TestCase, I called it AV::HelperTest. In the commit I already changed all the existing helper tests, they run fine with the new class.

[Rails-core] Functionality reduction? How to customize full_message for validation error using i18n in Rails 3?

2011-01-10 Thread Wolfram Arnold, RubyFocus
Folks, I just posted a bug report about this: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6274-ability-to-specify-a-custom-translation-for-full_messages-gone-in-rails-3x The more I think about this, the more puzzled I am as to what the new convention for Rails 3 is to