diff options
author | schneems <richard.schneeman@gmail.com> | 2016-01-07 16:38:39 -0600 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2016-01-08 14:29:31 -0600 |
commit | 57155064d135d67e0624d561c2badfe018b27a3a (patch) | |
tree | 4f3468cd57aa612c07811af8f033dc89a214ac7d /actionmailer | |
parent | 76c385709c873a7105e3a267d84c4e70417a15e2 (diff) | |
download | rails-57155064d135d67e0624d561c2badfe018b27a3a.tar.gz rails-57155064d135d67e0624d561c2badfe018b27a3a.tar.bz2 rails-57155064d135d67e0624d561c2badfe018b27a3a.zip |
Get update_attributes working with SchemaMigration
You cannot use `update_attributes` on models that do not have a primary key. Since SchemaMigration versions are guaranteed to be unique (they have a unique index on them) we can safely use them as a primary key.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions