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.

Samuel Kadolph's latest activity

Thursday, January 20 2011
4429 Templates that use with_options... was updated in Ruby on Rails
  • Samuel Kadolph
    Samuel Kadolph commented at 2:56 PM

    This patch isn't applied in master or 3-0-stable.

    For anyone that needs it now, put this in config/initializers.

Sunday, December 19 2010
6188 Model name for default submit button value should be titleized was updated in Ruby on Rails
  • Samuel Kadolph
    Samuel Kadolph commented at 7:04 AM

    Patch seems logical. However it is currently possible to fix this with localization.

    en:
      activerecord:
        models:
          ticket_type: Ticket Type
    
Friday, December 17 2010
6179 Heisenberg principal in ActiveRecord::Relation: observing relation changes it was updated in Ruby on Rails
  • Samuel Kadolph
    • Assigned user cleared.
    • Tag cleared.
    by Samuel Kadolph at 8:15 PM

    For future reference, misusing a physics term isn't helpful.

    This is simply because the results of the relation are being cached and currently models created wi...

6184 'rails server' command ignores BUNDLE_GEMFILE was updated in Ruby on Rails
  • Samuel Kadolph
    Samuel Kadolph commented at 7:43 PM

    The fixes applied won't work if someone deletes Gemfile and sets BUNDLE_GEMFILE to one that does exist since it checks if gemfile exists and not ENV['BUNDLE_GEM...

Wednesday, December 15 2010
5578 AbstractController#asset_path overrides routes helper was updated in Ruby on Rails
  • Samuel Kadolph
    Samuel Kadolph commented at 4:22 PM

    Quick fix to get 3-0-stable working correctly. Not sure about best solution for master. Probably best to separate out asset configuration from AC and AV and put...

Thursday, November 25 2010
6068 Reloading in the console stops observer callbacks was created in Ruby on Rails
  • Samuel Kadolph
    Samuel Kadolph created the ticket at 9:06 PM

    Calling reload! in the console stops all observer callbacks from being fired on new instances of records (old records in memory still work).

    class GizmoObserve...
Wednesday, October 27 2010
2058 Rake tasks for run engine migrations was updated in Ruby on Rails
  • Samuel Kadolph
    Samuel Kadolph commented at 6:22 PM

    Not sure if this is still relevant or wanted, but I've had migrations running from engines for a while now.

    Not the best solution but I found that overriding th...

Tuesday, August 31 2010
5508 OpenStruct objects can no longer be used in form helpers was updated in Ruby on Rails
  • Samuel Kadolph
    • Assigned user set to Santiago Pastorino
    by Samuel Kadolph at 6:23 PM

    The code was changed to check for method_name and method_name + '_before_type_cast otherwise raise an exception in this commit:

    Make InstanceTagMethods#value_...

  • Samuel Kadolph
    Samuel Kadolph commented at 2:25 PM

    The helpers are checking if the object responds_to?(:message) now which returns false. OpenStruct uses method_missing to add new attributes unless you specify t...

Friday, August 27 2010
5476 Rails3 RC2 - Autoloading does not work correctly when constaint is nested in ... was updated in Ruby on Rails
  • Samuel Kadolph
    Samuel Kadolph commented at 9:05 PM

    This is easy to duplicate with plain classes.

      $ cat my_class.rb
      class MyClass
    
      end
      $ cat super_class.rb
      class SuperClass
    
      end
      $ cat super_class/m...