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.

Rich Cavanaugh's latest activity

Sunday, November 30 2008
1450 Add way for plugins to map routes was updated in Ruby on Rails
  • Rich Cavanaugh
    Rich Cavanaugh commented at 10:13 PM

    This approach is certainly far simpler and cleaner to implement but it basically takes all control out of the app developer's hands. For example, what happens i...

Wednesday, November 26 2008
1450 Add way for plugins to map routes was updated in Ruby on Rails
  • Rich Cavanaugh
    Rich Cavanaugh commented at 4:29 PM

    Granted, it would need some updating for HEAD but, what about the ideas implemented in #329? This sounds a fair bit like providing an API such as chisel. I'm ha...

Saturday, August 16 2008
812 _changed? doesn't work for attribute aliases was updated in Ruby on Rails
  • Rich Cavanaugh
    • Tag changed from 2.1, activerecord, edge, enhancement to 2.1, activerecord, edge, enhancement, patch
    by Rich Cavanaugh at 2:56 AM

    This issue caught my attention because attributes are commonly aliased to clean up the exposed API and having to use the original name to use the dirty tracking...

Friday, August 15 2008
329 Add an API for plugins to register routes was updated in Ruby on Rails
  • Rich Cavanaugh
    Rich Cavanaugh commented at 11:09 PM

    This change simply allows plugins to define their routes but does not automatically inject them into the actual routing.

    They are then inserted by the develope...

Tuesday, August 12 2008
329 Add an API for plugins to register routes was updated in Ruby on Rails
  • Rich Cavanaugh
    • Tag set to actionpack, edge, enhancement, patch, railties, routing
    by Rich Cavanaugh at 9:06 AM

    I've attached the finalized patch updated for edge and added tests.

Wednesday, June 04 2008
329 Add an API for plugins to register routes was updated in Ruby on Rails
  • Rich Cavanaugh
    Rich Cavanaugh commented at 2:27 AM

    Attaching the patch would probably help it make it into Rails.

  • Rich Cavanaugh
    Rich Cavanaugh created the ticket at 2:26 AM

    This change allows plugins to register routes while maintaining control for the developer using the plugin.

    This is how a plugin registers it's routes:

    confi...
Tuesday, May 13 2008
130 CGI::Cookie and CookieStore performing unnecessary work causing interoperabil... was updated in Ruby on Rails
  • Rich Cavanaugh
    Rich Cavanaugh commented at 5:21 PM

    I've attached a new patch addressing this issue along with a test for it.

Monday, May 12 2008
173 config.gem will not load gems with a hyphen in the name was updated in Ruby on Rails
  • Rich Cavanaugh
    Rich Cavanaugh commented at 11:55 PM

    Try:

    config.gem 'mislav-will_paginate', :lib => "will_paginate", :source => 'http://gems.github.com'

130 CGI::Cookie and CookieStore performing unnecessary work causing interoperabil... was updated in Ruby on Rails
  • Rich Cavanaugh
    Rich Cavanaugh commented at 10:52 PM

    Yeah, I agree but, taken in context CGI::Cookie is plainly broken and acting differently depending on how you initialize.

    When name is a string the value is a...