aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/naked/yml/parrots.yml
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2016-01-07 16:38:39 -0600
committerschneems <richard.schneeman@gmail.com>2016-01-08 14:29:31 -0600
commit57155064d135d67e0624d561c2badfe018b27a3a (patch)
tree4f3468cd57aa612c07811af8f033dc89a214ac7d /activerecord/test/fixtures/naked/yml/parrots.yml
parent76c385709c873a7105e3a267d84c4e70417a15e2 (diff)
downloadrails-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 'activerecord/test/fixtures/naked/yml/parrots.yml')
0 files changed, 0 insertions, 0 deletions