• S
    Get update_attributes working with SchemaMigration · 57155064
    schneems 提交于
    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.
    57155064
ar_schema_test.rb 4.8 KB