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.

Christian Weyer's latest activity

Tuesday, March 09 2010
3478 ActiveSupport Time Calculators (beginning_of_year etc.) do not change the tim... was updated in Ruby on Rails
  • Christian Weyer
    Christian Weyer commented at 2:18 PM

    I found a a way around this problem in the meantime as well, but I still think that the time span calculators should care about if the timezone needs to adjuste...

Tuesday, November 10 2009
3478 ActiveSupport Time Calculators (beginning_of_year etc.) do not change the tim... was created in Ruby on Rails
  • Christian Weyer
    Christian Weyer created the ticket at 11:04 PM

    The beginning_of_year, beginning_of_month, beginning_of_day, end_of_year, end_of_month, end_of_day functions wrongly assume that the beginning/end of the respec...

Tuesday, July 22 2008
671 Full STI class name in associations was updated in Ruby on Rails
Monday, July 07 2008
453 has_many delete suffers premature disassociation was updated in Ruby on Rails
  • Christian Weyer
    • Tag set to activerecord, has_many, tested
    by Christian Weyer at 11:38 PM

    I also ran into this and it sucks like hell. It is a clear violation of the validation system in Rails.

    I see two possible solutions:

    • Delete should only rem...
502 Block syntax for has_many association.build was updated in Ruby on Rails
  • Christian Weyer
    Christian Weyer commented at 12:28 AM

    +1 from me. Opening a block is the ruby way of doing things.

    The current hash-based method is very problematic, since you can't update attributes, which are p...

Saturday, June 28 2008
465 Full class name STI not included in eager loading was updated in Ruby on Rails
  • Christian Weyer
    Christian Weyer commented at 11:01 PM

    Should not work late a night :)

    I attached a patch, not a test. And this patch does not include tests since Josch's tests are working

  • Christian Weyer
    Christian Weyer commented at 11:00 PM

    Fixed both of the bugs, attached a test. This test does not include tests since Josch's test are already there and working

  • Christian Weyer
    • Title changed from Polymorphic eager load does not care about full class name in <assoc_name>_type column to Full class name STI not included in eager loading
    by Christian Weyer at 9:14 PM
  • Christian Weyer
    Christian Weyer commented at 4:43 PM

    This bug seems to be bigger than I first thought. When checking http://rails.lighthouseapp.com/a... I could not find any code changes for eager loading at all?...