Re: [Rails-core] Re: ActiveRecord update_attribute vs update_attributes

2013-02-22 Thread Andrew Mutz
Hello, I know this change made it into 4.0, with a deprecation in 3.2 and was later reverted (I believe) so as not to deprecate functionality in a patch release. I think the intent was for update_attribute to still be deprecated in 4.0. Is this right? If so, I've submitted a pull request to do

[Rails-core] Re: ActiveRecord update_attribute vs update_attributes

2012-08-09 Thread Alexander Pavlenko
But I want to notice, that column != attribute in common case, for example: User.first.update_column :password, '123123' SQL (0.2ms) UPDATE users SET password = '123123' WHERE users.id = 1 ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: password: UPDATE users SET