GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/6632
Created by Brian Jensen - 2011-03-27 17:46:33 UTC
Real world usecase:
class User < ActiveRecord::Base
project.user_action_date = Date.today
project.save :validate => false
If I come back a month later or a fellow developer adds some callbacks on Project or validations then my call might fail. My callback does not care about the Project overall state, just the specific field.
It could also be argued that #update_attribute should also be given this property. Currently it skips validations but not callbacks.
Why has this been closed?
All issues imported from lighthouse were closed by default.