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.

Fred Wu's latest activity

Friday, September 24 2010
5434 Small generator issue for generator in config/initializers/session_store.rb ... was updated in Ruby on Rails
  • Fred Wu
    Fred Wu commented at 7:48 AM

    Ah it appears so. :D

    @José: Any change to include either the patch in 3.0.1?

Monday, August 30 2010
5434 Small generator issue for generator in config/initializers/session_store.rb ... was updated in Ruby on Rails
  • Fred Wu
    Fred Wu commented at 12:54 PM

    Good catch Willem.

    Here's the patch for it.

5496 gem version conflict on master branch was created in Ruby on Rails
  • Fred Wu
    Fred Wu created the ticket at 6:43 AM

    Doing bundle install on the master branch would yield the following error:

    Bundler could not find compatible versions for gem "activesupport":
      In Gemfile:
      ...
5493 form_for silently failing with rails 3.0.0 was updated in Ruby on Rails
  • Fred Wu
    Fred Wu commented at 4:20 AM

    When using HAML as the template engine, I got the following error:

    form_for outputs directly to the Haml template.
    Disregard its return value and use the - ope...
5418 [PATCH] :model_callbacks and :validate_callbacks options (similar to :validat... was updated in Ruby on Rails
  • Fred Wu
    Fred Wu commented at 1:41 AM
    • Fixed some issues and made all the tests pass.
    • Rebased to the master.
Wednesday, August 25 2010
5418 [PATCH] :model_callbacks and :validate_callbacks options (similar to :validat... was updated in Ruby on Rails
  • Fred Wu
    • Title changed from Behaviour of update_attribute and update_attributes (set validation and callbacks) to [PATCH] :model_callbacks and :validate_callbacks options (similar to :validate => false for Model.save())
    by Fred Wu at 2:49 AM
5434 Small generator issue for generator in config/initializers/session_store.rb ... was updated in Ruby on Rails
  • Fred Wu
    Fred Wu commented at 2:38 AM

    Hey guys,

    Since I was the one who submitted the app_name fix, here's my patch for it. I've improved the tests a bit also.

Tuesday, August 24 2010
5418 Behaviour of update_attribute and update_attributes (set validation and callb... was updated in Ruby on Rails
  • Fred Wu
    • Tag changed from callback, callbacks, update_attribute, update_attributes, validate, validation to callback, callbacks, patch, update_attribute, update_attributes, validate, validation
    by Fred Wu at 11:26 PM

    Here is an updated patch.

    Added ':model_callbacks' and ':validate_callbacks' options. model_callbacks option triggers callbacks on :save, :update, :destroy and...
  • Fred Wu
    Fred Wu commented at 12:47 PM

    Yes, they certainly are. :)

  • Fred Wu
    Fred Wu commented at 8:51 AM

    Thoughts anyone?

    Here's a patch for model_callbacks. Since validation callbacks are called from ActiveModel, it requires more effort to make it work.