RubyGems Navigation menu

update_attribute_with_validations 0.1.2

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.

Versions:

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

Runtime Dependencies:

Authors:

  • Jonathan Garvin

Owners:

B4380eba4b455b13c4aea86ebe875fce

Total downloads 2,389

For this version 1,236

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'update_attribute_with_validations', '~> 0.1.2' = Copy to clipboard Copied!

install:
gem install update_attribute_with_validations = Copy to clipboard Copied!

Links: