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.

Zack Hobson's latest activity

Thursday, February 25 2010
3980 Rails 3 not working with thin was updated in Ruby on Rails
  • Zack Hobson
    Zack Hobson commented at 8:53 AM

    For what it's worth you can still use thin by specifying the rackup file:

    $ thin start -R config.ru
    
Tuesday, September 08 2009
3169 Attributes are not serialized in STI subclasses in production mode. was created in Ruby on Rails
Monday, September 07 2009
204 serialized :attribute fails when specified in STI subclass was updated in Ruby on Rails
  • Zack Hobson
    Zack Hobson commented at 5:32 PM

    This issue is affecting me in Rails 2.3.4, and the included patch fixes it for me (it applies cleanly to tag v2.3.4 using git apply). Any chance this patch can ...

Thursday, April 23 2009
2440 Bind address ignored with script/server was updated in Ruby on Rails
  • Zack Hobson
    • Tag changed from 2.3.2, console, console_app.rb, script, webrick to 2.3.2, console, console_app.rb, patch, script, webrick
    by Zack Hobson at 1:41 AM

    FWIW, I needed this fix, so I forked and published:

    http://github.com/zenhob/rails/c...

Thursday, March 26 2009
2352 app template: allow plugins to specify branch or revision was created in Ruby on Rails
  • Zack Hobson
    Zack Hobson created the ticket at 7:24 PM

    There is a plugin declaration in the application template runner that can specify either an SVN or git repo. In the case of git repos, it can also specify wheth...

Thursday, March 12 2009
2215 JRuby platform support for gem tasks. was updated in Ruby on Rails
  • Zack Hobson
    • Title changed from Use the Gem API to install gem dependencies instead of a shell command. to JRuby platform support for gem tasks.
    by Zack Hobson at 12:59 AM
  • Zack Hobson
    Zack Hobson commented at 12:55 AM

    Thanks Matt, I wasn't aware of the purpose of the current implementation. A new patch is attached that just checks for the java platform and selects an appropri...

Wednesday, March 11 2009
2215 Use the Gem API to install gem dependencies instead of a shell command. was created in Ruby on Rails
  • Zack Hobson
    Zack Hobson created the ticket at 6:02 PM

    In a Rails project that uses JRuby, the rake task gems:install doesn't use the correct rubygems binary to install dependencies. The correct solution is to use t...

Friday, February 13 2009
1959 named_scope :all is missing was updated in Ruby on Rails
  • Zack Hobson
    • Tag changed from activerecord, edge, named_scope to activerecord, edge, named_scope, patch
    by Zack Hobson at 7:28 PM

    Here's a patch that updates the documentation so it no longer indicates that all is a named_scope. I also added a (helpful?) pointer to default_scope.

  • Zack Hobson
    Zack Hobson commented at 7:12 PM

    I like this idea as well, but this would change the current semantics of ActiveRecord::Base.all. Also, ActiveRecord has default_scope, which may cause confusion...