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.

Paul's latest activity

Monday, February 01 2010
3836 ruby 1.9 buffered logger -> encoding errors was created in Ruby on Rails
  • Paul
    Paul created the ticket at 5:26 PM

    i am in the process of migrating to ruby1.9 and i had serious trouble with encoding and the buffered logger.

    Assume you are logging sql utf-8 content and loggin...

Friday, August 07 2009
1950 ActiveSupport: alternative Block execution on empty Enumerable was updated in Ruby on Rails
  • Paul
    Paul commented at 3:24 PM

    i do not think the use of else is bad within this context. it reads nice:

    with.each do this end.else do that end

    using it "standalone" does not make much sense ...

Tuesday, May 19 2009
2677 ActionMailer and client encoding trouble was created in Ruby on Rails
  • Paul
    Paul created the ticket at 10:59 AM

    i had trouble getting a MS Outlook Client to display utf-8 properly. The only way to support special characters was to send all the stuff with iso-8859-1. But h...

2676 UrlRewriter rewrite_url doubles ports was created in Ruby on Rails
  • Paul
    Paul created the ticket at 10:40 AM

    if i change the :port => new_port within an url_for( :only_path => false ...) an url like 'http://foo.bar.com:port_old:port_new will be created if the current r...

Tuesday, April 21 2009
230 Fire model callbacks before notifying observers was updated in Ruby on Rails
  • Paul
    Paul commented at 10:32 AM

    i am in trouble now with post notifying observers ...

    Assume you want to prevent object destruction based on observing before_destroy.

    There are two problems no...

Saturday, March 28 2009
1949 STI derived class needs self.record_timestamps = true was updated in Ruby on Rails
  • Paul
    Paul commented at 3:51 PM

    Great Akshay!

    yes - i am using aasm too. Although i stopped using STI for now within this project (in fact a solution with a simple flag was sufficient) i appre...

Thursday, February 12 2009
1950 ActiveSupport: alternative Block execution on empty Enumerable was created in Ruby on Rails
  • Paul
    Paul created the ticket at 10:21 AM

    i did not find an easy way to specify an alternative action when an iterator had nothing to iterate over.

    i am using this for now:

    module Enumerable def else(&b...

1949 STI derived class needs self.record_timestamps = true was created in Ruby on Rails
  • Paul
    Paul created the ticket at 10:06 AM

    i am using 2.1.2 for now and i needed to add self.record_timestamps = true to the derived class.

    The statement base.record_timestamps = true within ActiveRecord...