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.

calavera's latest activity

Thursday, June 24 2010
4954 Rake tests should use the Rake api instead of call the command line directly was created in Ruby on Rails
  • calavera
    calavera created the ticket at 10:41 AM

    railties/test/application/rake_test.rb calls the command line directly instead of use the Rake api to verify its behaviour. This is quite buggy because nobody g...

Tuesday, June 22 2010
4937 An activesupport test won't ever pass on jruby or windows was created in Ruby on Rails
  • calavera
    calavera created the ticket at 10:43 PM

    ParentIsolationTest#"self.setup is run only once" won't ever pass on windows or jruby because the Isolation module uses a hack to call tests on those environmen...

Monday, June 21 2010
4922 ORIG_ARGV constant is not used in Railties but Activesupport was created in Ruby on Rails
  • calavera
    calavera created the ticket at 6:06 PM

    The constant ORIG_ARGV is used by the activesupport tests but it's placed in railties. This causes a bunch of test failing when the activesupport tests are runn...

4921 Memcached initialization errors on JRuby was created in Ruby on Rails
  • calavera
    calavera created the ticket at 5:37 PM

    Actually this is not a bug in rails but a memcached java client, anyway I think it's worth preventing it.

    The memcache-client for jruby assumes that the server ...

Monday, December 14 2009
3572 Rake test executes the test suite three times if the environment variable TES... was updated in Ruby on Rails
  • calavera
    • Tag changed from 2.x, patch, railties to 2.x, patch, railties, tiny
    by calavera at 8:38 PM
  • calavera
    calavera created the ticket at 7:58 PM

    To check this behavior just run this under a rails project directory:

    rake test TEST=your_favourite_test_here.rb

    That file will be ran three times.

    I include a ...

Wednesday, July 01 2009
2856 ActiveSupport::Inflector.camelize fails when you pass any object that's not a... was updated in Ruby on Rails
  • calavera
    • Title changed from Ensure ActiveSupport::Inflector.camelize works with symbols to ActiveSupport::Inflector.camelize fails when you pass any object that's not a string
    by calavera at 1:46 PM
Tuesday, June 30 2009
2856 Ensure ActiveSupport::Inflector.camelize works with symbols was updated in Ruby on Rails
  • calavera
    calavera commented at 4:40 PM

    Actually it breaks with every object that doesn't implement the method "first". This code also breaks:

    class MyClass; 
      def to_s
        "my class"
      end
    end
    
    Act...
  • calavera
    • Tag changed from 2.x test patch, active_support, inflector to 2.x, active_support, inflector, patch, test
    by calavera at 4:10 PM
  • calavera
    calavera created the ticket at 4:10 PM

    ActiveSupport::Inflector.camelize breaks if you execute this code:

      ActiveSupport::Inflector.camelize(:active_record, false)