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.

Adam McCrea's latest activity

Thursday, January 21 2010
3767 [PATCH] simple_format output should not be HTML-escaped in Rails 3 was created in Ruby on Rails
  • Adam McCrea
    Adam McCrea created the ticket at 6:20 PM

    Since the default behavior of Rails 3 is to escape all Ruby strings in HTML, we're forced to use raw() on simple_format() to get it behaving as expected. IMO, s...

Friday, April 17 2009
2501 :any_blank and :all_blank options for accepts_nested_attributes_for :reject_if was updated in Ruby on Rails
  • Adam McCrea
    Adam McCrea commented at 2:14 PM

    +1 This feels much cleaner, and I agree that these will be the most common scenarios.

Thursday, April 02 2009
2288 Lazy Loading and Included Modules was updated in Ruby on Rails
  • Adam McCrea
    Adam McCrea commented at 6:18 PM

    Are you using an engine plugin, by change? Check out ticket #1999.

1999 Rails 2.3 RC1 engine problem with load-order when used with restful_authentic... was updated in Ruby on Rails
  • Adam McCrea
    Adam McCrea commented at 6:17 PM

    I should also add that I'm not sure this is something that needs "fixed" in Rails, but it could certainly use some documentation. I'm not even sure if what I di...

  • Adam McCrea
    Adam McCrea commented at 6:16 PM

    I just got bit by this as well. In my case I had a controller inside my engine plugin that subclassed ApplicationController (as most controllers do). This force...

Friday, February 06 2009
1750 session_store initializer causes rake:gems tasks to break was updated in Ruby on Rails
  • Adam McCrea
    Adam McCrea commented at 3:17 PM

    Bah! My diff contained some unnecessary junk. Here is the corrected patch.

  • Adam McCrea
    • Tag changed from cookiestore, gems to cookiestore, gems, patch
    by Adam McCrea at 3:14 PM

    Here is a patch to make it work, but I have no idea how to unit test it. To recreate the bug in an application:

    1. add a gem dependency for a gem that you do not ...
Wednesday, February 04 2009
1844 Render behaviour problem was updated in Ruby on Rails
  • Adam McCrea
    • Tag changed from 2.3, actionpack, actionview, view to 2.3, actionpack, actionview, patch, view
    by Adam McCrea at 3:47 PM

    Here is a failing test and fix.

Tuesday, January 13 2009
1750 session_store initializer causes rake:gems tasks to break was created in Ruby on Rails
  • Adam McCrea
    Adam McCrea created the ticket at 5:42 PM

    I am on edge Rails. I have a gem configured in my environment.rb, but I do not have it installed.

    When I run rake:gems, I get the following output:

    rake aborte...