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.

apeiros's latest activity

Wednesday, January 27 2010
802 Eager load application classes can block migration was updated in Ruby on Rails
  • apeiros
    apeiros commented at 10:56 AM

    We had a similar issue and tracked it down to a badly behaving plugin that loaded the rails environment by itself prior to anything (that is: via require ...). ...

Wednesday, September 09 2009
3173 In databases.rake, drop_database missing else-clause was created in Ruby on Rails
Thursday, September 18 2008
1073 TagHelper#escape_once does not recognize &#xHH; was updated in Ruby on Rails
  • apeiros
    • Assigned user set to Pratik
    by apeiros at 11:43 PM
  • apeiros
    apeiros created the ticket at 11:42 PM

    old:

       def escape_once(html)
        html.to_s.gsub(/[\"><]|&(?!([a-zA-Z]+|(#\d+));)/) { |special| ERB::Util::HTML_ESCAPE[special] }
      end
    
    

    new:

      def escape_on...
1071 UrlHelper#mail_to II was created in Ruby on Rails
  • apeiros
    apeiros created the ticket at 9:11 PM

    for glory again:

    old: .each_byte do |c| email_address_encoded << sprintf("&#%d;", c) end new: .unpack("H*").first.gsub(/../, "&#x\&")

    It uses a slightly differe...

1070 UrlHelper#mail_to was created in Ruby on Rails
  • apeiros
    apeiros created the ticket at 8:51 PM

    For glory (speed improvement):

    old: .each_byte do |c| string << sprintf("%%%x", c) end new: .unpack("H*").first.gsub(/../, "%\&")

    Personally I'd pack that into ...

Monday, September 15 2008
1051 select_datetime: Documentation or Implementation Bug was updated in Ruby on Rails
  • apeiros
    apeiros commented at 3:40 PM

    A possible fix for 2.1 (cleaned up the other code too a bit) is attached.

  • apeiros
    apeiros created the ticket at 3:01 PM

    select_datetime docu states that there was an option :datetime_seperator, but there is no code in either select_datetime nor the delegated select_date that woul...