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.

Daniel Schierbeck's latest activity

Sunday, May 23 2010
4672 Order of command line options was created in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck created the ticket at 1:07 PM

    When creating a new Rails 3 app using rails -J <appname>, or any other option for that matter, the following error is returned: No value provided for required a...

Friday, April 23 2010
4452 Making ActiveSupport::Cache consistent was updated in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck commented at 9:59 AM

    This patch looks great! Reading through the diff, I have but a few remarks.

    1. The patch does not apply cleanly on the current Rails master (19cecc907f2c97458519f...
Tuesday, February 09 2010
3907 rails server fails when the tmp dir is missing was created in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck created the ticket at 12:26 PM

    I'm getting the following error when running rails server in a Rails 3 beta app with a missing tmp directory:

    => Booting WEBrick
    => Rails 3.0.0.beta applicatio...
Friday, June 12 2009
2792 add verbose output to rails startup if RAILS_VERBOSE_STARTUP env is true was updated in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck commented at 12:45 AM

    Hi Andrew

    I like the concept, but I think the patch definitely needs to be cleaned up. I've fixed some of it; take a look if you want :-)

Friday, May 08 2009
2624 Improve HTML generated by Scaffold was updated in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck commented at 1:18 PM

    Yaroslav: I disagree; this seems like perfectly correct use of the paragraph element type.

    +1 from me; I think it's a good idea to use semantically correct XHTM...

Friday, January 09 2009
1720 Allow overriding a delegation was created in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck created the ticket at 6:14 PM

    This patch allows you to override the delegation, providing your own value.

    
    class Name < Struct.new(:first, :last)
      def display_name
        "#{first} #{last}...
Tuesday, December 30 2008
1617 assert_raises will be deprecated in Ruby 1.9 was updated in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck commented at 4:53 PM

    The patch no longer applied, so I figured it was easier to redo the change. I executed find ./ -type f -exec sed -i 's/assert_raises/assert_raise/' {} \;.

1477 create the db directory if it doesn't exist (sqlite, rake db:create) was updated in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck commented at 4:39 PM

    This will only be an issue if there aren't any migrations, as they reside in db/migrate, forcing the creation of the db directory. Still, some users may not use...

1042 validates_uniqueness_of does not take field length into account was updated in Ruby on Rails
  • Daniel Schierbeck
    Daniel Schierbeck commented at 4:36 PM

    Nice patch, with good, concise comments and a simple-to-follow test. +1.

Sunday, December 28 2008
1656 Add syntactic sugar for indexes in migrations was updated in Ruby on Rails
  • Daniel Schierbeck
    • Tag cleared.
    by Daniel Schierbeck at 6:22 PM

    Never mind, this is actually already possible! I just could immediately find where it was defined -- it's in ActiveRecord::ConnectionAdapters::Table... Sorry!