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.

Sam Ruby's latest activity

Tuesday, December 22 2009
3605 "root" doesn't work as advertised in new routing DSL was updated in Ruby on Rails
  • Sam Ruby
    Sam Ruby commented at 12:18 PM

    My ENTIRE script is posted at the top of this ticket. Now that you have committed a change to the generated routes.rb, the last two lines are not necessary.

    It ...

  • Sam Ruby
    • State changed from resolved to open
    • Assigned user changed from josh to DHH
    by Sam Ruby at 3:26 AM

    Sorry to reopen this on you, but the last two lines of the script above shows that adding #index doesn't work either. I'm flexible on what the syntax is, but I ...

Monday, December 21 2009
3605 "root" doesn't work as advertised in new routing DSL was created in Ruby on Rails
  • Sam Ruby
    Sam Ruby created the ticket at 8:21 PM
    # The following produces No route matches {:controller=>"welcome"}
    ruby script/generate controller welcome index
    sed -i -e 's/# root/root/' config/routes.rb
    se...
Wednesday, December 16 2009
3586 2-3-stable on Ruby 1.8.8 regression was created in Ruby on Rails
3582 Regression: unable to create a rails project was updated in Ruby on Rails
  • Sam Ruby
    • State changed from open to resolved
    by Sam Ruby at 6:55 PM
  • Sam Ruby
    Sam Ruby created the ticket at 5:38 PM
    ruby /home/rubys/git/rails/railties/bin/rails depot
    
    /home/rubys/git/rails/railties/bin/../lib/rails.rb:6:in `require': no such file to load -- action_dispatch...
Tuesday, December 15 2009
3574 Reloading routes broken (AWDwR3, section 11.1) was created in Ruby on Rails
Sunday, December 13 2009
3570 Intermittent reloading issue: model was created in Ruby on Rails
  • Sam Ruby
    Sam Ruby created the ticket at 12:27 PM

    During the course of the development of the depot application, the Product model is updated a number of times, and typically no restart of the server is require...

Friday, December 11 2009
3563 [PATCH] Generate fixture data for empty models was created in Ruby on Rails
  • Sam Ruby
    Sam Ruby created the ticket at 6:37 PM

    In Agile Web Development with Rails, Edition Four, I'm intending to define a Cart model thus:

    class Cart < ActiveRecord::Base
      has_many :line_items, :dependen...
3561 Names for nested resources changed (AWDwR3, section 21) was created in Ruby on Rails
  • Sam Ruby
    Sam Ruby created the ticket at 12:33 PM

    Given the following "new DSL" style route definition:

      resources :articles do
        resources :comments
      end
    

    The following named route is generated:

    article_...