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.

Trent Ogren's latest activity

Tuesday, February 08 2011
6387 [patch] ActionController::TestCase#process barfs if it gets any frozen values... was created in Ruby on Rails
  • Trent Ogren
    Trent Ogren created the ticket at 4:39 AM

    If you do this on Ruby 1.9 (or any encoding aware Ruby) it will get pissed:

    TPS_REPORT_TOPICS = { 'synergy' => "Synergy", 'rev_stream' => "Revenue Streams" }
    
    ...
Wednesday, April 22 2009
2541 [PATCH] make association creation methods respect conditions hashes was created in Ruby on Rails
  • Trent Ogren
    Trent Ogren created the ticket at 7:02 AM

    From the has_many documentation:

    Record creations from the association are scoped if a hash is used. has_many :posts, :conditions => {:published => true} will ...

Thursday, March 12 2009
2220 allow a Pathname for render :file was created in Ruby on Rails
  • Trent Ogren
    Trent Ogren created the ticket at 12:45 PM

    This patch allows Pathnames to be passed to render :file

    
    render :file => Rails.root.join("public", "meaning_of_life.html")
    
Monday, March 09 2009
1655 ask not working in TemplateRunner through rake rails:template was updated in Ruby on Rails
  • Trent Ogren
    Trent Ogren commented at 2:50 PM

    +1

    I get the same error when trying to apply templates to existing 2.3.1 projects. The templates work fine when generating an app. Andrew's patch fixed the prob...