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.

hiroshi's latest activity

Tuesday, July 06 2010
4822 Rails3 beta4 + Ruby 1.9 was updated in Ruby on Rails
Thursday, June 10 2010
4819 a typo in comment - there is no ActiveModel::Base for include_root_in_json was updated in Ruby on Rails
  • hiroshi
    hiroshi commented at 1:13 PM

    It is very trivial patch, but I don't like to leave such kind of mistakes in documents, obvious to an expert, but critical to novice.

  • hiroshi
    hiroshi created the ticket at 1:05 PM

    Just described in the title and the patch
    - # The option ActiveModel::Base.include_root_in_json controls the + # The option ActiveRecord::Base.include_root_in_j...

Monday, June 15 2009
1878 a generated plugin's tests are not run by 'rake test' was updated in Ruby on Rails
  • hiroshi
    hiroshi commented at 9:18 AM

    I'v found when this issue happened from log of templates/test_helper.rb. It happened since release 2.2.1.

    The commit:
    http://github.com/rails/rails/commit/7418...

  • hiroshi
    hiroshi commented at 8:15 AM

    Every time I generate a plugin I waste a time googling words like "rails plugin test not run". I think this issue should be attended asap.

    While this issue has ...

Saturday, June 13 2009
2248 Plugin Tests not Running was updated in Ruby on Rails
Sunday, February 22 2009
1878 a generated plugin's tests are not run by 'rake test' was updated in Ruby on Rails
  • hiroshi
    hiroshi commented at 8:40 AM

    I'v just stumbled upon the same problem with Rails 2.3.0 (RC1). I think this problem may discourages many authors of plugins from writing tests of their own plu...

Monday, November 17 2008
1386 polymorphic_url should treat an array contains single name as without the con... was updated in Ruby on Rails
  • hiroshi
    hiroshi commented at 2:08 AM

    Before this change, the test I added failed.

    
      1) Error:
    test_with_array_containing_single_name(PolymorphicRoutesTest):
    NoMethodError: undefined method `arti...
Sunday, November 16 2008
1386 polymorphic_url should treat an array contains single name as without the con... was created in Ruby on Rails
  • hiroshi
    hiroshi created the ticket at 9:20 AM

    After I posted #1317, I realized I missed one more feature I want to be patched.

    You may see what I want by an excerpt from my new patch.

    
      def test_with_arr...
Monday, November 03 2008
1317 polymorphic_url should compact given array was created in Ruby on Rails
  • hiroshi
    hiroshi created the ticket at 5:35 AM

    For example, there is an usage of polymorphic_path like,

    
     polymorphic_path([@project, @filter, @issue])
    

    However, sometime @filter will be nil, but I don't g...