Added reset_attribute! method to ActiveRecord::AttributeMethods::Dirty which...
Added reset_attribute! method to ActiveRecord::AttributeMethods::Dirty which will reset an attribute to its original value should it have changed.
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
Showing
想要评论请 注册 或 登录