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.

Sam Pohlenz's latest activity

Thursday, September 17 2009
3221 Move AS even_odd require to validation where it is used was created in Ruby on Rails
  • Sam Pohlenz
    Sam Pohlenz created the ticket at 4:19 AM

    This patch moves the require of 'active_support/core_ext/integer/even_odd' to where it is actually used -- in the validates_numericality_of validation. This all...

3220 Fix for ActiveModel::AttributeMethods#attribute_methods_generated? was created in Ruby on Rails
  • Sam Pohlenz
    Sam Pohlenz created the ticket at 2:36 AM

    The behavior of ActiveModel::AttributeMethods#attribute_methods_generated? currently seems to be broken -- it returns nil even when the attribute methods have b...

Wednesday, September 16 2009
3216 Don't share attribute method matchers between classes was updated in Ruby on Rails
  • Sam Pohlenz
    • Tag changed from activemodel to activemodel, patch
    by Sam Pohlenz at 11:04 PM
  • Sam Pohlenz
    Sam Pohlenz created the ticket at 11:23 AM

    Currently, any class that includes ActiveModel::AttributeMethods will share its attribute matchers with another class including the AttributeMethods module.

    Thi...

Monday, July 20 2009
2738 [PATCH] Fix zero length stylesheet cache files bug in case of missing CSS files was updated in Ruby on Rails
  • Sam Pohlenz
    Sam Pohlenz commented at 12:56 PM

    Here's the patch.

    Missing source files will be still be caught if the cache or concat options are given.

  • Sam Pohlenz
    Sam Pohlenz commented at 8:11 AM

    Another situation where this breaks is in situations where a document root other than RAILS_ROOT/public is used (e.g. for multi-site apps).

    A less desirable alt...

  • Sam Pohlenz
    Sam Pohlenz commented at 7:52 AM

    I don't think it makes sense to have stylesheet_link_tag and javascript_include_tag assert the presence of the files when they are not being cached or concatena...

Friday, June 05 2009
2767 Minor documentation fix for date_select was created in Ruby on Rails
  • Sam Pohlenz
    Sam Pohlenz created the ticket at 12:28 PM

    This is a trivial fix for a date_select option that is currently listed incorrectly: add_month_number(s).

Thursday, January 15 2009
1767 POST requests broken on Passenger was created in Ruby on Rails
  • Sam Pohlenz
    Sam Pohlenz created the ticket at 10:59 PM

    Given a brand new rails project:

    
    rails viewtest
    cd viewtest
    rake rails:freeze:edge
    rake rails:update:application_controller
    script/generate controller te...
1764 Modified views outside of config.view_path are not recompiled in development ... was created in Ruby on Rails
  • Sam Pohlenz
    Sam Pohlenz created the ticket at 7:33 PM

    In my controller I prepend an alternative view path:

    
    class TestController < ApplicationController
      prepend_view_path "#{RAILS_ROOT}/templates"
    
      def ind...