Eugene Pimenov
Not a member
Eugene Pimenov's latest activity
Thursday, April 29 2010
Thursday, February 04 2010
3776
Layout lookup fails when a template has locale in its filename
was updated
in Ruby on Rails
-
Eugene Pimenov commented at 2:53 PMDeOMGfying has introduced conflicts to the patch. Nothing else has changed in patch.
Saturday, January 30 2010
3817
When routing creates a singular resource, it doesn't add itself to name_prefix
was created
in Ruby on Rails
-
Eugene Pimenov created the ticket at 8:18 AMRouting code:
resource :subscription do get :renew resources :cards endGenerates these routes (irrelevant parts skipped):
GET /subscrip...
Sunday, January 24 2010
3776
Layout lookup fails when a template has locale in its filename
was created
in Ruby on Rails
-
Eugene Pimenov created the ticket at 2:09 AMIn Rails3 I get an error when trying to render a template with locale in its filename.
The repro code is (copied from the attached test):
class WithLocaleInTem...
Sunday, September 20 2009
3237
PostgreSQL escape methods aren't thread-safe (in Ruby 1.8)
was created
in Ruby on Rails
-
Eugene Pimenov created the ticket at 11:39 AMPostgreSQL adapter has code like that
def query_string(s) self.class.instance_eval do define_method(:query_string) do |s| @connection.query_string...
Tuesday, July 07 2009
2227
batches: :conditions for each are applied to each Model.find within the each ...
was updated
in Ruby on Rails
-
- Tag changed from 2.3-rc1, 2.3-rc2, :conditions, active_record, find, named_scope to 2.3-rc1, 2.3-rc2, :conditions, active_record, find, named_scope, patch
More elegant fix
Monday, April 27 2009
2547
PostgreSQL adapter: quote_string is not thread safe
was updated
in Ruby on Rails
-
Eugene Pimenov commented at 3:12 PM>> puts $$ 94100 >> PGconn.escape('test') => "test" >> PGconn.new({}).escape('test') => "test"sudo dtrace -n 'pid94100::PQescapeString:entry { prin...
Thursday, April 23 2009
2547
PostgreSQL adapter: quote_string is not thread safe
was created
in Ruby on Rails
-
Eugene Pimenov created the ticket at 10:51 AMPostgreSQL adapter calls PGconn.escape class method which is not thread safe. Should call PGconn#escape instance method which is thread safe. Simple as that.
Th...
Tuesday, February 10 2009
-
Eugene Pimenov commented at 8:05 PMNo, it's not.
Test something like:
Rack::Request.any_instance.expects(:POST).once.returns({}) @dispatcher.call({"REQUEST_METHOD" => "POST", "rack.in...