Fred Wu
Not a member
Fred Wu's latest activity
Friday, September 24 2010
-
Fred Wu commented at 7:48 AMAh it appears so. :D
@José: Any change to include either the patch in 3.0.1?
Monday, August 30 2010
5496
gem version conflict on master branch
was created
in Ruby on Rails
-
Fred Wu created the ticket at 6:43 AMDoing
bundle installon 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 commented at 4:20 AMWhen 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...
Wednesday, August 25 2010
5418
[PATCH] :model_callbacks and :validate_callbacks options (similar to :validat...
was updated
in Ruby on Rails
-
- 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())
5434
Small generator issue for generator in config/initializers/session_store.rb ...
was updated
in Ruby on Rails
-
Fred Wu commented at 2:38 AMHey 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
-
- Tag changed from callback, callbacks, update_attribute, update_attributes, validate, validation to callback, callbacks, patch, update_attribute, update_attributes, validate, validation
Here is an updated patch.
Added ':model_callbacks' and ':validate_callbacks' options. model_callbacks option triggers callbacks on :save, :update, :destroy and... -
-
Fred Wu commented at 8:51 AMThoughts anyone?
Here's a patch for model_callbacks. Since validation callbacks are called from ActiveModel, it requires more effort to make it work.