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.

Jesse Storimer's latest activity

Thursday, January 13 2011
6013 Move 1.9 string interpolation syntax backport from I18n to ActiveSupport was updated in Ruby on Rails
Tuesday, August 31 2010
5511 What happened to safe_helper? was created in Ruby on Rails
  • Jesse Storimer
    Jesse Storimer created the ticket at 3:24 PM

    I can't find any mention of Module.safe_helper in Rails 3. I upgraded my 2.3.8 app to use rails_xss and used safe_helper all over my helper modules. However, on...

Saturday, August 28 2010
5348 Visibility of helpers seems all wrong was updated in Ruby on Rails
  • Jesse Storimer
    Jesse Storimer commented at 3:52 PM

    Hey José,

    Thanks for the suggestion. Calling #ancestors directly felt pretty sketchy :P

    Here's a new patch using class_attribute :_helper_methods. I tried this ...

Friday, August 27 2010
5348 Visibility of helpers seems all wrong was updated in Ruby on Rails
  • Jesse Storimer
    Jesse Storimer commented at 2:46 PM

    So I spoke too soon :P The patch I offered does cover the case above.

    Though I still have a feeling that this may come back to be a problem in the future. Disca...

  • Jesse Storimer
    Jesse Storimer commented at 12:17 PM

    Bah, I think my solution above was too naive. It didn't take into account that libraries might be mixing helper_methods into ActionController::Base. Using clear...

  • Jesse Storimer
    Jesse Storimer commented at 3:34 AM

    I found another issue with this implementation. Some of the modules that get included in ActionController::Base define helpers using the helper_method directive...

Thursday, August 26 2010
5348 Visibility of helpers seems all wrong was updated in Ruby on Rails
  • Jesse Storimer
    Jesse Storimer commented at 8:42 PM

    If my example below wasn't the intended use case for that patch then you can safely ignore the rest of this :)

    I'm not sure if this was the intended use case, b...

  • Jesse Storimer
    Jesse Storimer commented at 4:13 AM

    As discussed offline the approach proposed turned out to be non-trivial and affected performance negatively. Attached is patch that takes a slightly different a...

5467 helper :all behaviour doesn't respect the current controller was created in Ruby on Rails
  • Jesse Storimer
    Jesse Storimer created the ticket at 3:38 PM

    This discussion started on #5348 but that ticket has diverged into a separate issue.

    The issue here is that helper :all doesn't respect the current controller/v...

Tuesday, August 24 2010
5348 Visibility of helpers seems all wrong was updated in Ruby on Rails
  • Jesse Storimer
    Jesse Storimer commented at 9:30 PM

    I'm working on a patch along those lines.

    Jesse