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.

Benoit Daloze's latest activity

Sunday, October 03 2010
5726 Can't extend Date in Rails 3 with Ruby 1.9.2-p0 was updated in Ruby on Rails
  • Benoit Daloze
    Benoit Daloze commented at 12:11 PM

    @Henrik Eventually, both are be useful :)

    The reason is simple: the lib/ folder is before the stdlib in $LOAD_PATH (lib is 2nd, stdlib is 71st).

    The source of t...

Saturday, October 02 2010
5726 Can't extend Date in Rails 3 with Ruby 1.9.2-p0 was updated in Ruby on Rails
  • Benoit Daloze
    Benoit Daloze commented at 8:13 PM

    @Henrik I would rather ask $LOADED_FEATURES or $"

    Could you please add this in the top of your file and paste the result between BEGIN and END ?

    puts "BEGIN"; ...
Wednesday, August 25 2010
5453 Add :error to redirect_to (there is already :notice, :alert, and :flash) was created in Ruby on Rails
  • Benoit Daloze
    Benoit Daloze created the ticket at 9:18 AM

    Currently, redirect_to accepts :notice, :alert, and :flash.

    Why not accept usual :error ?

    It is of course possible with

    redirect_to url, flash => { :error => "...
Tuesday, August 24 2010
5443 rake routes output is wrong for Rack applications was created in Ruby on Rails
  • Benoit Daloze
    Benoit Daloze created the ticket at 3:52 PM

    Doing a rake routes, I get something like:

     user_confirmation GET    /:locale/users/confirmation(.:format)     {:locale=>/en|fr/, :controller=>"devise/confirma...
Monday, April 12 2010
3947 incompatible character encodings: UTF-8 and ASCII-8BIT for Rails 3 was updated in Ruby on Rails
  • Benoit Daloze
    Benoit Daloze commented at 9:31 AM

    Ok,

    Thanks for the answers.

    Regards,
    B.D.

    (I spoke of regression because rails 2.3.5 did worked with ruby 1.9 and these encodings)

Sunday, February 14 2010
3947 incompatible character encodings: UTF-8 and ASCII-8BIT for Rails 3 was updated in Ruby on Rails
  • Benoit Daloze
    Benoit Daloze commented at 12:32 AM

    Hi,

    I just tried with mysql, and got the same error.

    I tried also with git's version of tenderlove's sqlite3-ruby, but I didn't manage to make it work (LoadErro...

Saturday, February 13 2010
3947 incompatible character encodings: UTF-8 and ASCII-8BIT for Rails 3 was created in Ruby on Rails
  • Benoit Daloze
    Benoit Daloze created the ticket at 10:46 AM

    I'm running Rails with 1.9.2(trunk).

    This might be a duplicate of #2188, but I didn't have any problem with rails 2.3.5.
    So I get this on Rails 3:
    "incompatible...