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.

mark's latest activity

Wednesday, August 25 2010
5241 autoload + config.threadsafe! broken? was updated in Ruby on Rails
  • mark
    mark commented at 7:09 AM

    Yeah, seems it won't fix.

Monday, August 23 2010
5241 autoload + config.threadsafe! broken? was updated in Ruby on Rails
  • mark
    mark commented at 5:36 PM

    isn't for long

    "hasn't been there for a long time" - disambiguation fix. Sry for flood, having no edit option hurts.

  • mark
    mark commented at 5:35 PM

    isn't for long "hasn't been there for a long time" disambiguation fix

  • mark
    mark commented at 5:33 PM

    Seems like that doc isn't for long. Probably the issue could be documented and closed.
    The temporary solution I use still seems to work, though.

Friday, July 30 2010
5241 autoload + config.threadsafe! broken? was updated in Ruby on Rails
  • mark
    mark commented at 7:12 PM

    If anyone is interested, here's the solution (in initializer) I use for now:

    Dir.chdir "#{Rails.root}/lib/" do

    Dir["**/*.rb"].each do |lib|
      basename = lib.ma...
Thursday, July 29 2010
5241 autoload + config.threadsafe! broken? was created in Ruby on Rails
  • mark
    mark created the ticket at 4:37 PM

    How to reproduce:
    0. Add lib/ to autoloaded paths
    1. Have class Foo in lib/foo.rb
    2. Have config.threadsafe! option on
    3. Launch rails console production
    4. Typ...

Saturday, June 26 2010
4982 rake environment for test tasks was updated in Ruby on Rails
  • mark
    mark commented at 2:24 PM

    Thanks.

  • mark
    mark commented at 2:16 PM

    You could set Rails.env in your spec_helper explicitly which would resolve the issue, but it is the default combination of rake tasks that creates the subject p...

  • mark
    mark commented at 2:09 PM

    http://github.com/markiz/rspec_testzor freshly generated app (steps: updated Gemfile to include rspec, bundle install, rails generate rspec:install, rails gener...

  • mark
    mark created the ticket at 12:53 PM

    This could be a rspec issue, I am not sure, but when having rails3/rspec2 combo, 'rake spec' uses 'development' environment by default.
    'db:test:prepare' task (...