1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Rafael Mendonça França e6e81f856e Define id_was to get the previous value of the primary key
Currently when we call id_was and we have a custom primary key name
Active Record will return the current value of the primary key. This
make impossible to correctly do an update operation if you change the
id.

Fixes #16413
2014-08-06 23:46:31 -03:00
..
active_record/connection_adapters Add a type object to Column constructor 2014-05-17 17:16:05 -06:00
assets
cases Define id_was to get the previous value of the primary key 2014-08-06 23:46:31 -03:00
fixtures fk: use random digest names 2014-06-26 22:03:49 +02:00
migrations
models Address ORA-00972: identifier is too long when tested with Oracle 2014-07-14 21:54:17 +09:00
schema use foreign key DSL in our tests. 2014-07-16 10:06:55 +02:00
support fk: :primary_key option for non-standard pk's. 2014-06-26 22:03:48 +02:00
.gitignore
config.example.yml Remove code related to adapter which are no longer in repo 2014-05-16 18:17:25 +02:00
config.rb