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.

Christoph Petschnig's latest activity

Wednesday, November 25 2009
3501 [PATCH] Rails 3.0: each_with_index fails was updated in Ruby on Rails
  • Christoph Petschnig
    Christoph Petschnig commented at 6:48 AM

    Update with a better test of the functionality of each_with_index

Sunday, November 22 2009
3501 [PATCH] Rails 3.0: each_with_index fails was updated in Ruby on Rails
Saturday, November 21 2009
3501 [PATCH] Rails 3.0: each_with_index fails was created in Ruby on Rails
  • Christoph Petschnig
    Christoph Petschnig created the ticket at 11:12 PM

    When using method :each_with_index on a query result (like MyModel.find :all), Rails fails with message:

    undefined method my_model_column_name' for #<Arel::Row:...

Thursday, July 09 2009
2651 Core Extension String#to_datetime ignores time zone was updated in Ruby on Rails
  • Christoph Petschnig
    Christoph Petschnig commented at 3:00 PM

    As I have seen in edge rails, this ticket is solved and therefors obsolete. Thanks!

Wednesday, June 03 2009
2751 [patch] SchemaDumper works bad with table_prefix was created in Ruby on Rails
  • Christoph Petschnig
    Christoph Petschnig created the ticket at 2:30 PM

    When setting ActiveRecord::Base.table_name_prefix or table_name_suffix, Rails will dump all tables found in the database (except schema_migrations). This is a l...

Friday, May 15 2009
2651 Core Extension String#to_datetime ignores time zone was created in Ruby on Rails
  • Christoph Petschnig
    Christoph Petschnig created the ticket at 9:29 AM

    When calling to_datetime on a string like "2009-05-15T09:51:33+02:00", the time zone is currently ignored.

    >> "2009-05-15T09:51:33+02:00".to_datetime.xmlschema...
Saturday, February 28 2009
1585 action caching sets wrong content-type when :cache_path is a string was updated in Ruby on Rails
  • Christoph Petschnig
    Christoph Petschnig commented at 12:25 AM

    Ok, I made the failing tests.

    I choose to attach a whole rails project instead of a single file. Please look at docs/README for some explanation.

    I am not an ex...

Thursday, February 26 2009
1585 action caching sets wrong content-type when :cache_path is a string was updated in Ruby on Rails
  • Christoph Petschnig
    Christoph Petschnig commented at 11:00 AM

    This bug occurs also with a Proc object that returns a string.

    The gist-url with the patch was deleted, so I post an easy workaround for this bug. Simply set th...