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.

Miha Filej's latest activity

Wednesday, March 18 2009
1334 Count calculations should respect scoped selects was updated in Ruby on Rails
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails
  • Miha Filej
    • Tag changed from 2.3.2, activerecord, bug, calculations, patch, scope, tested, verified to 2.3.2, activerecord, bug, calculations, patch, regression, scope, tested, verified
    by Miha Filej at 5:31 PM

    Thanks for the workaround. What do you think about changing line 14 into:

    
    column_name.sub!('*', primary_key) if column_name =~ /\.\*$/
    
Thursday, December 25 2008
1111 String#parameterize should accept a custom separator was updated in Ruby on Rails
  • Miha Filej
    Miha Filej commented at 10:31 PM

    done:)

  • Miha Filej
    Miha Filej commented at 10:07 PM

    So should I just test for some output? Because this is kinda already done in InflectorTest#test_parameterize.

  • Miha Filej
    Miha Filej commented at 9:55 PM

    "dasherize" should be "underscore". And also Frederick was quicker than me :)

  • Miha Filej
    Miha Filej commented at 9:52 PM

    Yaroslav, the code you cited refers to activesupport/lib/active_support/inflector.rb which is not affected by the patch.

    The purpose of this ticket is to allow

    ...
Thursday, September 25 2008
1111 String#parameterize should accept a custom separator was created in Ruby on Rails
  • Miha Filej
    Miha Filej created the ticket at 3:46 PM

    This tiny patch allows String#parameterize to receive an argument as ActiveSupport::Inflector.parameterize does.

    Also added tests for String#parameterize as the...