guilherme
Not a member
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 commented at 7:24 PMI 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
-
-
- Tag changed from 2.1.0, actionview, bugmash, texthelper to 2.1.0, 2.3.3, actionview, bugmash, texthelper
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 created the ticket at 10:02 PMI think it is a bug:
helper.truncate('TESTCASE',7,'.......') => "......." helper.truncate('TESTCASE',7,'........') => "TESTCAS........"
As said on doc:
----...