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

Tuesday, July 29 2008
719 Make sure label_tag accepts symbols for name argument was created in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter created the ticket at 12:14 PM

    At the moment if you use label_tag with a symbol, you get an error

    >> helper.label_tag :foo
    NoMethodError: undefined method `humanize' for :foo:Symbol
    

    Atta...

Friday, July 25 2008
701 RAILS_GEM_VERSION ignored was updated in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter commented at 2:20 PM

    Ok, after looking into this a bit more, 2-0-stable and 2.0.2 already fixed this bug.

    All you have to do is update your config file so it respects your RAILS_G...

  • Jan De Poorter
    Jan De Poorter commented at 1:59 PM

    It's already fixed in 2-0-stable: http://github.com/rails/rails/tr...

  • Jan De Poorter
    • Title changed from Errata Corrige to RAILS_GEM_VERSION ignored
    by Jan De Poorter at 11:49 AM

    Don't change the ticket name ;-)

  • Jan De Poorter
    Jan De Poorter commented at 10:59 AM

    Rails ignores the RAILS_GEM_VERSION because of a bad regular expression. It is the first line of your code, and rails requires a character to exist before RAIL...

Thursday, July 24 2008
371 Installing rails 2.1 breaks the existing 2.0.2 apps was updated in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter commented at 3:30 PM

    David and all other people seeing this problem, is it possible to attach your entire environment.rb file, and also your gem list, and maybe your operating syst...

  • Jan De Poorter
    Jan De Poorter commented at 3:17 PM

    Works for me, I have not vendored rails, I have these gems:

    rails (2.1.0, 2.0.991, 2.0.2, 1.2.6, 1.2.5, 1.2.3)

    And when I start a rails-app with

    RAILS_GEM_V...

Wednesday, July 23 2008
680 NamedScope#any? was created in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter created the ticket at 11:53 AM

    When I call any? without a block on an Association I get this SQL query:

    user.pages.any?
    SQL (0.000356)   SELECT count(*) AS count_all FROM `pages` WHERE (`p...
Wednesday, June 25 2008
483 Automatic validation on has_many should not be performed twice was updated in Ruby on Rails
  • Jan De Poorter
    • Tag set to activerecord, bug, has_many
    by Jan De Poorter at 11:51 AM

    As discussed on IRC, you can use

    has_many :things, :validate => false
    

    and then add the validation, or least you will be able to do this once this patch make...

486 Make sure associated has_many/habtm objects get saved even when :validate => ... was created in Ruby on Rails
  • Jan De Poorter
    Jan De Poorter created the ticket at 11:46 AM

    Apparently adding the :validate => false to has_many and habtm associations breaks saving of associations. Ofcourse that shouldn't happen. In attachment a patc...