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.

Cyril Mougel's latest activity

Friday, May 28 2010
4653 before_validation callbacks being run AFTER validation [ActveModel 3.0.0.beta3] was updated in Ruby on Rails
  • Cyril Mougel
    Cyril Mougel commented at 11:35 AM

    I check again the ActiveModel code.

    We can see that ActiveModel::Validation use the validate callback to chain his validation.

    So like callback are call by cha...

Thursday, May 27 2010
4653 before_validation callbacks being run AFTER validation [ActveModel 3.0.0.beta3] was updated in Ruby on Rails
  • Cyril Mougel
    Cyril Mougel commented at 10:41 PM

    I think it's because is a before_validate.

    The validate method is not a normal method. In ActiveRecord, there are no callback on validate. The callback is in va...

Tuesday, October 27 2009
3431 ActionMailer does not return correctly to respond_to? was updated in Ruby on Rails
  • Cyril Mougel
    Cyril Mougel commented at 9:43 PM

    You right, it's because, ActionMailer::Base.respond_to? check only if this string can be used by ActionMailer. Not if it's implemented.

Wednesday, December 31 2008
1671 Inappropriate "@variable will no longer be implicitly assigned to variable" m... was updated in Ruby on Rails
  • Cyril Mougel
    Cyril Mougel commented at 3:39 PM

    @entry is a instance variable of ActionController::Base

    so use this value can be an error.

1674 Add some options in select_hour helper was created in Ruby on Rails
  • Cyril Mougel
    Cyril Mougel created the ticket at 3:20 PM

    This patch add some options in select_hour helper.

    Options add :

    :hour_step => Define a step in each hour :hour_start => Define the hour of start :hour_end => D...

Sunday, September 14 2008
996 NoMethodError (undefined method `transaction_status' for #<PGconn:0xb719eb0c>) was updated in Ruby on Rails
  • Cyril Mougel
    • Tag changed from edge, postgresql to dependencies, edge, postgresql
    by Cyril Mougel at 10:49 PM

    To fix this issue, I install the ruby-pg gem

    gem install ruby-pg

    This gem is in version 0.7.9.2008.01.28

    In rubyforge, the gem postgres is ruby-pg to.

  • Cyril Mougel
    Cyril Mougel commented at 10:40 PM

    I am the same error. I works on migration of Typo to rails edge.

Monday, August 11 2008
803 The logger doesn't flush in production with script/runner was created in Ruby on Rails
  • Cyril Mougel
    Cyril Mougel created the ticket at 10:11 PM

    In production mode, the RAILS_LOGGER_DEFAULT has auto_flushing to false. So if we don't flush the logger in your script/runner, the RAILS_LOGGER_DEFAULT doesn't...

802 Eager load application classes can block migration was created in Ruby on Rails
  • Cyril Mougel
    Cyril Mougel created the ticket at 9:39 PM

    Since commit 89ec72c2:"http://github.com/rails/rails/commit/89ec72c2" that add an eager loading in intializer, the execution of rake db:migrate in production mo...