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.

Ben Sandofsky's latest activity

Thursday, August 14 2008
824 Make Gem Dependency Optional was updated in Ruby on Rails
  • Ben Sandofsky
    Ben Sandofsky commented at 12:09 AM

    And by THAT I mean #814.

    I wish I could delete comments.

  • Ben Sandofsky
    Ben Sandofsky commented at 12:08 AM

    and by that I mean #824.

  • Ben Sandofsky
    Ben Sandofsky commented at 12:08 AM

    Actually, here's the updated patch that merges my old patch, #8994.

  • Ben Sandofsky
    Ben Sandofsky created the ticket at 12:00 AM

    This patch allows a gem dependency be specified as optional. If an optional gem is missing, it will only print a warning rather than abort on start.

    
        confi...
Wednesday, August 13 2008
814 Initializers aren't run on gem dependency failure was created in Ruby on Rails
  • Ben Sandofsky
    Ben Sandofsky created the ticket at 3:49 AM

    If you don't have a gem you've added to config.gem, your server starts with a warning, but your config/initializers/*.rb files aren't run. It looks like your af...

Saturday, August 02 2008
743 Make 'require' on gem dependencies optional was created in Ruby on Rails
  • Ben Sandofsky
    Ben Sandofsky created the ticket at 1:09 AM

    Some gems don't have a library to require. For instance, the qrp library.

    This patch introduces the :lib => false option to skip the 'require' step of loading...

Monday, June 16 2008
427 Bind Lambdas in :conditions was created in Ruby on Rails
  • Ben Sandofsky
    Ben Sandofsky created the ticket at 10:44 AM

    Let's say you want to find records based on the current time.

    def find_within_last_week(*args)
      with_scope(:find => {:conditions => ['assignments.created_at...
Friday, May 23 2008
240 A useful "methods" with my_methods was created in Ruby on Rails
  • Ben Sandofsky
    Ben Sandofsky created the ticket at 9:00 AM

    When troubleshooting, it's useful to see a list of methods available on an object. Unfortunately, it comes along with a bunch of standard object methods like "...