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.

guilherme's latest activity

Thursday, July 29 2010
4386 dependent => :destroy deletes children before "before_destroy" is executed was updated in Ruby on Rails
  • guilherme
    guilherme commented at 7:24 PM

    I agree with you Jens.
    What you think about the callbacks implementation could be a stack(LIFO) ? so the :dependent => :destroy will be executed after all befor...

Thursday, August 06 2009
2899 Rails 2.1.0 ActionView::Helpers::TextHelper#truncate was updated in Ruby on Rails
  • guilherme
    guilherme commented at 4:38 AM

    ops, it was for edge. !

  • guilherme
    • Tag changed from 2.1.0, actionview, bugmash, texthelper to 2.1.0, 2.3.3, actionview, bugmash, texthelper
    by guilherme at 4:33 AM

    the truncate on my opinion doesn't need to fit the text on the length especified by user. so i made this patch.

    i've checked the 2.3.3 version and still have th...

Friday, July 10 2009
2899 Rails 2.1.0 ActionView::Helpers::TextHelper#truncate was created in Ruby on Rails
  • guilherme
    guilherme created the ticket at 10:02 PM

    I think it is a bug:

    helper.truncate('TESTCASE',7,'.......') => "......." helper.truncate('TESTCASE',7,'........') => "TESTCAS........"

    As said on doc:
    ----...