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.

shuber's latest activity

Thursday, October 02 2008
1156 Add --prefix option to script/server with Mongrel was updated in Ruby on Rails
  • shuber
    shuber commented at 9:15 PM

    +1

    Very useful to develop and test with a prefix locally. Patch applies correctly.

1154 Deprecated method of setting relative_url_root inside RailsConfigurator was updated in Ruby on Rails
  • shuber
    shuber commented at 9:25 AM

    +1

    When I tried setting a prefix recently I received a deprecation warning and the relative_url_root was not set.

    Looks like this should fix it.

Thursday, August 21 2008
873 validates_inclusion/exclusion_of should also accept a symbol or proc as the :... was updated in Ruby on Rails
  • shuber
    shuber commented at 6:13 PM

    Updated patch - uses 'case enum' instead of 'case enum.class.to_s'

Wednesday, August 20 2008
873 validates_inclusion/exclusion_of should also accept a symbol or proc as the :... was created in Ruby on Rails
  • shuber
    shuber created the ticket at 8:26 PM

    validates_inclusion_of and validates_exclusion_of should also be able to accept a symbol representing an instance method or a proc that returns an enumerable ob...

Friday, June 06 2008
354 Allow Infinity to pass validates_numericality_of was updated in Ruby on Rails
  • shuber
    shuber commented at 10:29 PM

    Seems like it could be pretty useful in some situations.

    Applied the patch, works as expected and all tests pass.

    +1

218 script/generate model creates wrong unit test file was updated in Ruby on Rails
  • shuber
    shuber commented at 6:46 AM

    I've been changing the require calls back to

    require File.dirname(__FILE__) + '/../test_helper'
    

    so that I can still run the tests with TextMate's RubyMate

    ...

Thursday, May 29 2008
277 Add page.reload functionality was created in Ruby on Rails
  • shuber
    shuber created the ticket at 7:36 PM

    A small addition to the ActionView::Helpers::PrototypeHelper for use in .rjs templates or render(:update) blocks. It simply sends window.location.reload(); to ...