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.

Jan De Poorter's latest activity

Wednesday, June 11 2008
301 SystemStackError with has_one was updated in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter commented at 12:12 PM

    @Pratik: I did what you asked, patch attached

Tuesday, June 03 2008
301 SystemStackError with has_one was updated in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter commented at 11:27 AM

    I added (in collaboration with lifo on IRC) a patch which adds :validate to has_many, has_one, habtm associations, to disable the automatic validation, which i...

315 Fixed some has_many counting tests was created in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter created the ticket at 10:25 AM

    Some tests had very descriptive names, but the tests all did the same. Fixed in patch.

Wednesday, May 28 2008
271 make count(:conditions => {}) work on has_many associations was created in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter created the ticket at 8:01 PM

    When using conditions from a variable, it can sometimes be an empty hash (at least in my projects). When using it with count on a ActiveRecord::Base:

    User.cou...
Friday, May 23 2008
240 A useful "methods" with my_methods was updated in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter commented at 9:53 AM

    I always use

    @object.class.instance_methods(false)

    Which gives me all public methods of the class without it's super-class methods

    jay