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.

Andrew Vit's latest activity

Friday, January 01 2010
2436 url_for documentation - only_path was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 1:15 AM

    IMHO, it would read better if the option were named :full_url, :full_path, or :fully_qualified.

    It's always clearer if the option is stated as a positive, so th...

Sunday, November 22 2009
3500 config.log_level is ignored when setting a custom logger was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 8:18 AM

    In that case, wouldn't it make sense to remove/deprecate config.log_level in favour of setting it directly on the logger object via config.logger.level=... ?

    Th...

Friday, November 20 2009
3500 config.log_level is ignored when setting a custom logger was created in Ruby on Rails
  • Andrew Vit
    Andrew Vit created the ticket at 10:59 PM

    This behaviour is the same whether the log_level is set before or after setting the logger:

    # config.log_level = :info
    config.logger = Logger.new(config.log_pa...
Saturday, September 19 2009
3068 undefined constants not giving useful files and line numbers when starting sc... was updated in Ruby on Rails
  • Andrew Vit
    • Tag changed from 3, 3-0, edge, railties to 3.0, edge, railties
    by Andrew Vit at 9:22 PM
Tuesday, May 19 2009
2654 [Patch] default_scope should ignore string conditions on new/create was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 6:39 PM

    Looks like this is now fixed by #2181
    97b75c9f1668992bd246fe46235c5764a4fa6e58

    Please close.

Monday, May 18 2009
2654 [Patch] default_scope should ignore string conditions on new/create was updated in Ruby on Rails
  • Andrew Vit
    • Assigned user set to Manfred Stienstra
    by Andrew Vit at 12:45 AM

    Also #2371.

    Manfred, I hear you're the one working on a scopes rewrite: so I'm assigning this to you.

    Any chance of a quick-fix for this in 2.3 before the rewri...

  • Andrew Vit
    Andrew Vit commented at 12:40 AM

    Ticket #2199 seems related.

Friday, May 15 2009
default_scope_conditions.diff was uploaded by Andrew Vit at 9:41 PM to #2654, Ruby on Rails
2654 [Patch] default_scope should ignore string conditions on new/create was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 9:17 PM

    Don't know what happened with my patch file there... This is the correct one.

  • Andrew Vit
    Andrew Vit created the ticket at 8:48 PM

    Using a condition string like {:conditions => "state != 'active'"} in a default_scope is not possible because it expects a hash to assign the values into the mo...