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.

sr.iniv.t's latest activity

Sunday, September 27 2009
3199 `starts/ends_with?` implementations incompatible with that of ruby 1.8.7 was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 5:22 AM

    In Ruby 1.8.6, there's no Symbol#length apparently (maybe I'm on an older patchlevel?):

    ts > ruby -v
    ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9....
2998 named_scope ignores :include option was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 5:03 AM

    +1 verified.

    Both patches apply clean (John's on 2-3-stable, Elad's on master) and all tests pass.

3218 default_scope is having a side affecct on create was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 4:55 AM

    +1 verified.

    Both patches (hsume2's on master and Josh's on 2-3) apply cleanly and all tests pass.

3088 [PATCH] Make has_one with :conditions hash scope build or creation of object ... was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 4:37 AM

    +1 verified.

    The patches apply cleanly and all tests pass. I've always wanted this feature on AR.

3005 :counter_cache not updated if polymorphic => true when assigning association was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 12:42 AM

    +1 verified.

    I have attached a patch for 2-3-stable which contains the failing test.

3145 .orig files override standard erb files with rails 2.3 was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 12:32 AM

    -1 not reproducible.

    Had an action 'home' and a corresponding view 'home.html.erb'. Copied 'home.html.erb' to 'home.html.erb.orig' and modified the file. Invoki...

Saturday, September 26 2009
3193 Rails 2.3.4, json gem : to_json issue was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 10:11 PM

    -1, not reproducible.

    Looks to me like there's no difference between 2.3.3 and 2.3.4:

    ts > ruby script/console 
    Loading development environment (Rails 2.3.3)
    >...
2982 [PATCH] Let Integer#multiple_of? accept zero as argument was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 9:23 PM

    Robert:

    Errr, sorry about the mix up. I was indeed trying Xavier's patch on master. I applied your patch to 2-3-stable and the patch applies fine. :-)

3203 select helper breaks for numerical values and displays was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 8:04 PM

    @Elad - yes.

3263 Failing functional test of a named route was updated in Ruby on Rails
  • sr.iniv.t
    sr.iniv.t commented at 7:57 PM

    Giuseppe, can you please specify the rails version you're on?

    Seems to work for me on 2.3.3:

    ts > rails -v
    Rails 2.3.3
    
    ts > cat config/routes.rb 
    ActionContro...