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

Thursday, October 28 2010
5878 Railtie initializers are not executed in rake tasks was created in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki created the ticket at 3:51 PM

    Consider this railtie:

    
    #config/environment.rb 
    require File.expand_path('../application', __FILE__)
    
    class Railtie < ::Rails::Railtie
    
        puts "0"
    
        initi...
Wednesday, October 27 2010
5861 find_each and find_in_batches assumes that primary key is a number was updated in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki commented at 10:49 PM

    Is there any particular reason why this should only work on integer ids ? I see no reason for such restriction.

Monday, October 25 2010
5861 find_each and find_in_batches assumes that primary key is a number was updated in Ruby on Rails
  • Robert Pankowecki
    • Tag changed from active record, find_each, find_in_batches, primary_key, string to active record, find_each, find_in_batches, primary_key, rails3, rails3.0.1, string
    by Robert Pankowecki at 4:33 PM
  • Robert Pankowecki
    Robert Pankowecki created the ticket at 4:30 PM

    They do not work when primary key is a string.

    ::Translation::Key.find_each() {|r| }
    
    ActiveRecord::StatementInvalid: PGError: ERROR:  operator does not exist:...
Sunday, October 24 2010
5818 '#' character in column name causes ActiveModel error was updated in Ruby on Rails
5853 AssociationTypeMismatch, different versions of a class loaded was updated in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki commented at 9:26 AM

    Could you share your view and controller code please ?

Wednesday, October 20 2010
5847 Rails 3.0.1 - config.action_view.cache_template_loading is missing was created in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki created the ticket at 12:15 PM

    In Rails 2.3 we could set config.action_view.cache_template_loading to decide if we want cache view templates or not.

    In Rails 3 there is no such setting availa...

Sunday, October 10 2010
5314 Rails3 RC - Schema.rb file does not contain all indexes created with migratio... was updated in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki commented at 2:32 PM

    Which rails version raises the exception during migration. What database did you use during the test ?

Tuesday, October 05 2010
5759 Invalid comment generated for namespaced mailer was updated in Ruby on Rails
  • Robert Pankowecki
    Robert Pankowecki commented at 10:59 PM

    Wow, that was quick fix :-)

  • Robert Pankowecki
    Robert Pankowecki created the ticket at 2:30 PM
    rails g mailer 'absence/request_mailer' pending
    

    generates such code:

     class Absence::RequestMailer < ActionMailer::Base
      default :from => "from@example.com"...