• 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
schema_migration.rb 1.7 KB