RubyGems Navigation menu

update_attribute_with_validations 0.1.1

Changes ActiveRecord's update_attribute (singular) method to behave more intuitively and consistently like update_attributes (plural). ActiveRecord's built-in update_attribute (singular) will not check validations on the object before saving, unlike update_attributes (plural), which will.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.1.2 - November 21, 2010 (3.5 KB)
  2. 0.1.1 - November 21, 2010 (3.5 KB)

Runtime 依赖 (1):

activerecord >= 3.0.1

业主:

作者:

  • Jonathan Garvin

SHA 256 校验和:

46c8b300499df00ee552cc86057925ff1f19e1122f75f4f13536a97c77280e85

下载总量 7,448

这个版本 3,160

许可:

需要的 Ruby 版本:

链接: