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.

Darragh Curran's latest activity

Sunday, July 04 2010
3295 Small bug in message for routing error when named route generation fails was updated in Ruby on Rails
  • Darragh Curran
    Darragh Curran commented at 4:13 PM

    Nice one for getting around to this. I checked out 2-3-stable. I get one failing test 'test_absolute_pathed_layout_without_layouts_in_path' before and after app...

Monday, September 28 2009
3295 Small bug in message for routing error when named route generation fails was created in Ruby on Rails
  • Darragh Curran
    Darragh Curran created the ticket at 4:18 PM

    The error message incorrectly (and confusingly) says:

    ... content_url has the following required parameters....

    when it should be

    ... my_particular_named_route_...

Wednesday, May 20 2009
1119 helper :all for ActionMailer was updated in Ruby on Rails
  • Darragh Curran
    Darragh Curran commented at 7:46 AM

    No problem.

    For me, the value for helper :all was on a reasonably small app, with a few html emails. Some of my mailers were adding nearly all the helpers. I ha...

Friday, October 31 2008
1311 add content_for?(name) helper was created in Ruby on Rails
  • Darragh Curran
    Darragh Curran created the ticket at 5:38 PM

    Sometimes I do things in my layout based on whether content has been yielded to a particular content_for label.

    Easy to do at the moment - but I reckoned it mig...

Thursday, October 16 2008
1217 ActionMailer::Base.perform_deliveries to accept a proc was updated in Ruby on Rails
  • Darragh Curran
    Darragh Curran commented at 3:34 PM

    Yep Mike's suggestion works - as does what I do currently

    class ActionMailer::Base def perform_deliveries

    @mail.header['to'].to_s =~ /@example.com$/
    
    

    end end

    ...

Wednesday, October 15 2008
1217 ActionMailer::Base.perform_deliveries to accept a proc was created in Ruby on Rails
  • Darragh Curran
    Darragh Curran created the ticket at 2:41 PM

    Here's a patch so that ActionMailer::Base.perform_deliveries will accept a proc -

    currently it expects a boolean -

    I wanted to easily perform deliveries conditi...

Friday, September 26 2008
1119 helper :all for ActionMailer was created in Ruby on Rails
  • Darragh Curran
    Darragh Curran created the ticket at 12:26 PM

    in controllers you can do helper :all and it will include all helpers in /app/helpers

    but currently mailers don't allow the :all option (actually it will just l...

Monday, July 14 2008
618 initializer doesnt load observers/initializers if unable to load a gem was created in Ruby on Rails
  • Darragh Curran
    Darragh Curran created the ticket at 1:49 PM

    If this is desired behavior - then it should at least be made clear to the user.

    It would be better to just abort startup than startup in broken state with no...

Thursday, July 03 2008
270 Can't use :references in add_column was updated in Ruby on Rails
  • Darragh Curran
    • Tag cleared.
    by Darragh Curran at 11:03 AM

    What you think about change_table?

    change_table :users do |t|

    t.references :addressable, :polymorphic => true

    end

    calling add column with expectation of ha...

Wednesday, June 25 2008
485 Allow overriding default id's for atom feed and atom entry - atom_feed_helper was created in Ruby on Rails
  • Darragh Curran
    Darragh Curran created the ticket at 11:16 AM

    I'm rewriting some old code that generated atom feeds. I want to preserve the id's of all existing entries - aswell as the current id of the feed. I want to av...