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.

Henrik Hodne's latest activity

Sunday, October 03 2010
5726 Can't extend Date in Rails 3 with Ruby 1.9.2-p0 was updated in Ruby on Rails
  • Henrik Hodne
    • Tag changed from 3.0.0, date, ruby-1.9.2 to load path, 3.0.0, date, ruby-1.9.2
    by Henrik Hodne at 1:44 AM

    @Benoit Oops, yes. Dunno why I asked for the load path.

    Anyways, Avand, I've done some testing and if there's a file in your load path called date.rb, Ruby will...

Wednesday, September 29 2010
5726 Can't extend Date in Rails 3 with Ruby 1.9.2-p0 was updated in Ruby on Rails
  • Henrik Hodne
    Henrik Hodne commented at 6:03 AM

    Could you please put this in the top of the file and paste the extra line it prints? (should begin with "LOAD PATH: ")

    puts "LOAD PATH: #{$LOAD_PATH.inspect}"
    
    ...
5722 Fresh Rails 3 app cannot run performance tests was updated in Ruby on Rails
  • Henrik Hodne
    Henrik Hodne commented at 6:00 AM

    Reproducible on OSX 10.6.5 with same rubys and ruby-profs.

4524 Mongrel under Rails 3 beta 3 was updated in Ruby on Rails
  • Henrik Hodne
    Henrik Hodne commented at 5:57 AM

    Oops, that echo line should be echo "gem 'mongrel'" >> Gemfile. Otherwise it would overwrite the entire file.

  • Henrik Hodne
    Henrik Hodne commented at 4:43 AM

    Try adding gem 'mongrel' to your Gemfile and running rails server instead of mongrel_rails, and tell us what your results are. Seems to work just fine for me. I...

Wednesday, August 11 2010
5348 Visibility of helpers seems all wrong was updated in Ruby on Rails
  • Henrik Hodne
    • Tag set to rails 3.0.rc, actionpack, verified
    by Henrik Hodne at 1:35 AM

    I can confirm this.

4967 rake test fails in create_table :numeric_data on MS SQL Server was updated in Ruby on Rails
  • Henrik Hodne
    Henrik Hodne commented at 1:17 AM

    The author of the gist has added his name to the gist and updated it. Just FYI.

5333 Various test case conditions for the SQLServerAdapter was updated in Ruby on Rails
  • Henrik Hodne
    • Tag changed from 3.0, activerecord, sqlserver to 3.0, activerecord, patch, sqlserver
    by Henrik Hodne at 1:15 AM
5353 ActiveRecord adds comma to query's column list when referring to a model with... was updated in Ruby on Rails
  • Henrik Hodne
    Henrik Hodne commented at 1:14 AM

    Try using rails 1.9.2. Rails 3 is not compatible with 1.8 AFAIK.

5352 self within AR scope evaluating to parent class instead of calling class was updated in Ruby on Rails
  • Henrik Hodne
    Henrik Hodne commented at 1:12 AM

    I can confirm that this is reproducible. However, I think this is due to Ruby evaluating self as you create the proc, and not when the proc is called. So, I thi...