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.

Sven Fuchs's latest activity

Saturday, April 10 2010
1389 Error with date_select when a default_locale is set was updated in Ruby on Rails
  • Sven Fuchs
    • State changed from new to open
    by Sven Fuchs at 12:14 PM

    Thanks for reporting this.

    I guess the implementation is just wrong. It should pass the :raise => true option (so I18n.t would raise a MissingTranslationExcepti...

Tuesday, March 02 2010
4087 ActiveRecord observers can't be used for "before" callbacks was updated in Ruby on Rails
  • Sven Fuchs
    Sven Fuchs commented at 9:07 AM

    Gosh, I ran into the same thing today.

    As long as you don't care about the return value this hax seems to work for now

    ActiveRecord::Observer.class_eval do
      d...
Thursday, February 25 2010
4057 Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options ha... was created in Ruby on Rails
  • Sven Fuchs
    Sven Fuchs created the ticket at 8:00 PM

    Current ActiveModel Validators do not pass their options hash to Errors#add. This makes it hard for plugin authors to add arbitrary options to, e.g. a call like...

Monday, January 25 2010
3201 number_to_human_size only working properly when :precision and :separator given was updated in Ruby on Rails
  • Sven Fuchs
    Sven Fuchs commented at 12:53 PM

    TBH, i don't think this is a bug, so -1

    It's an incomplete locale file. So far we don't do local fallbacks in Rails.

    So, to fix this one could

    • either complete ...
Sunday, January 03 2010
745 Form label should use I18n was updated in Ruby on Rails
  • Sven Fuchs
    Sven Fuchs commented at 2:09 AM

    big applause :) thanks josé!

Tuesday, December 29 2009
745 Form label should use I18n was updated in Ruby on Rails
  • Sven Fuchs
    Sven Fuchs commented at 1:07 PM

    Thanks Carsten, I'm cool with present?, too :)

    So, +1

Wednesday, December 23 2009
745 Form label should use I18n was updated in Ruby on Rails
  • Sven Fuchs
    Sven Fuchs commented at 4:53 PM

    Hey guys,

    this looks good to me, except that:

    • I don't get why the "".present? thing is better than using :raise => true / rescue nil because this is exactly wh...
Friday, November 20 2009
3492 Update vendored i18n gem to version 0.2.1 was updated in Ruby on Rails
Thursday, November 19 2009
3492 Update vendored i18n gem to version 0.2.1 was updated in Ruby on Rails
Wednesday, November 18 2009
3492 Update vendored i18n gem to version 0.2.1 was updated in Ruby on Rails
  • Sven Fuchs
    Sven Fuchs commented at 8:50 PM

    Ummmm ...

    Ok, the failing test on 1.8 looks like you've tried I18n 0.2.0. iirc that's the bug we've fixed in 0.2.1

    Dunno about 1.9 though - will look into it as...