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.

Ruy Asan's latest activity

Friday, May 01 2009
2594 Bug with polymorphic has_one :as pointing to STI record was created in Ruby on Rails
  • Ruy Asan
    Ruy Asan created the ticket at 9:32 PM

    For example, given:

    
    class Sponsor < ActiveRecord::Base
      belongs_to :sponsorable, :polymorphic => true
    end
    
    class Organization < ActiveRecord::Base
    end
    ...
Thursday, December 04 2008
351 Allow customized regexp for id in map.resources was updated in Ruby on Rails
  • Ruy Asan
    Ruy Asan commented at 9:59 AM

    Well, I was hoping 2.2.x will have fixed this, but no luck :(

    Here is the patch again (should apply cleanly, it's trivial) - unfortunately it also breaks existi...

Thursday, July 10 2008
401 Replacing ActiveRecord::Validations with Validatable was updated in Ruby on Rails
589 :args option for run_callbacks was created in Ruby on Rails
  • Ruy Asan
    Ruy Asan created the ticket at 1:34 AM

    Patch attached, here's the branch

    #   * +:args+ - Pass the provided arguments array to each callback method or proc.
    #     Arguments that exeed the arity of ...
Thursday, June 12 2008
347 Ensure that save on child object fails for invalid belongs_to - TAKE TWO was updated in Ruby on Rails
  • Ruy Asan
    Ruy Asan commented at 3:33 AM

    Looks like => true/false is now done and already covers the meat of this ticket, although even after updating my tests with belongs to =>true I still can't ge...

Wednesday, June 11 2008
387 Missed a TimeZone namespacing in form_options_helper was created in Ruby on Rails
  • Ruy Asan
    Ruy Asan created the ticket at 5:15 AM

    here ya go!

385 Small confusion around config.action_view.cache_template_loading was created in Ruby on Rails
Friday, June 06 2008
351 (resurected from trac) Allow customized regexp for id in map.resources was created in Ruby on Rails
  • Ruy Asan
    Ruy Asan created the ticket at 1:00 AM

    This patch is an updated & tested version of the solutions proposed here.

    It basically just allows for different formats for :id, which in turn allows for mor...

Thursday, June 05 2008
347 Ensure that save on child object fails for invalid belongs_to - TAKE TWO was updated in Ruby on Rails