Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Robert Pankowecki's latest activity

Wednesday, August 04 2010
5295 Rails3 RC - Application hangs randomly when server running in test environment was updated in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki commented at 8:05 PM

    I spent 6 hours today trying to find out something about this bug but I could not find anything useful. I can try tomorrow (CET) to use master and see how it wo...

  • Robert Pankowecki
    Robert Pankowecki commented at 3:24 PM

    Last logs:

    Started GET "/models?i=14" for 127.0.0.1 at 2010-08-04 16:16:57 +0200
      Processing by ModelsController#index as HTML
      Parameters: {"i"=>"14"}
    Rende...
  • Robert Pankowecki
    Robert Pankowecki commented at 1:15 PM

    I traced my ruby process. It seems that one of them is waiting for some fmutex. (http://groups.google.com/group/ruby-capybara/browse_thread/thread/5.... Is it p...

  • Robert Pankowecki
    Robert Pankowecki created the ticket at 1:03 PM

    Just run some application server with 'RAILS_ENV=test rails s' and click links. Sometimes it just does not start to process the request.
    I can see in the log th...

5294 Rails3 RC - Associations (has_one, has_many) does not work with models that a... was created in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki created the ticket at 11:46 AM
    
    class Model < ActiveRecord::Base
      has_one :property, :class_name => "My", :foreign_key => :id
      has_many :properties, :class_name => "My", :foreign_key => :i...
Tuesday, August 03 2010
5204 When a new Rails application is created by "rails new", autoload_paths instea... was updated in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki commented at 1:50 PM

    I had the same issue. It took me some time to fine that the method is now called ActiveSupport::Dependencies.autoload_paths instead of ActiveSupport::Dependenci...

Tuesday, July 27 2010
5125 collection_singular_ids= method raises an exception when primary_key is strin... was updated in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki commented at 10:01 PM

    I'm sending a better patch with test for string and integer primary keys (should work fine with other types of primary keys as well).

  • Robert Pankowecki
    Robert Pankowecki commented at 9:39 PM

    No! I'm working on patch right at this moment to fix the behavior when the primary key is not integer. I will submit a patch in a seconds.

  • Robert Pankowecki
    Robert Pankowecki commented at 9:04 PM

    I checked that current behavior is to raise an exception. It works like that for Rails 2.2.8 and Rails 3 so I will stay with current implementation which seems ...

Monday, July 26 2010
5198 undefined method 'i18n_scope' raised by ActiveModel::Errors when validated mo... was created in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki created the ticket at 3:33 PM

    This is extract from ActiveModel::Errors documentation:

      # A minimal implementation could be:
      # 
      #   class Person
      #   
      #     # Required dependency for...