走validation的方法:
create
create!
save
save!
update
update_attributes
update_attributes!
跳过validation的方法:
decrement!
decrement_counter
increment!
increment_counter
toggle!
touch
update_all
update_attribute
update_column
update_counters
转自:[url]http://xuantan.iteye.com/blog/1490431[/url]