From 1eaf3db80415798bfd1395e104bc12985109a4f6 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Thu, 6 Dec 2012 22:23:01 -0200 Subject: Improve AR changelog --- activerecord/CHANGELOG.md | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index ff0d05bd9e..4e48c386bd 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,28 +1,27 @@ ## Rails 4.0.0 (unreleased) ## -* SQLite adapter no longer corrupts binary data if the data contains '%00' +* SQLite adapter no longer corrupts binary data if the data contains `%00`. + *Chris Feist* -* Add migration history to schema.rb dump. - Loading schema.rb with full migration history - restores the exact list of migrations that created - that schema (including names and fingerprints). This - avoids possible mistakes caused by assuming all - migrations with a lower version have been run when - loading schema.rb. Old schema.rb files without migration - history but with the :version setting still work as before. +* Add migration history to `schema.rb` dump. Loading `schema.rb` with full migration + history restores the exact list of migrations that created that schema (including names + and fingerprints). This avoids possible mistakes caused by assuming all migrations with + a lower version have been run when loading `schema.rb`. Old `schema.rb` files without + migration history but with the `:version` setting still work as before. *Josh Susser* -* Add metadata columns to schema_migrations table. - New columns are: migrated_at (timestamp), - fingerprint (md5 hash of migration source), and - name (filename minus version and extension) - +* Add metadata columns to `schema_migrations` table. New columns are: + + * `migrated_at`: timestamp + * `fingerprint`: md5 hash of migration source + * `name`: filename minus version and extension + *Josh Susser* -* Fix performance problem with primary_key method in PostgreSQL adapter when having many schemas. - Uses pg_constraint table instead of pg_depend table which has many records in general. +* Fix performance problem with `primary_key` method in PostgreSQL adapter when having many schemas. + Uses `pg_constraint` table instead of `pg_depend` table which has many records in general. Fix #8414 *kennyj* @@ -34,8 +33,8 @@ *Yves Senn* * Add STI support to init and building associations. - Allows you to do BaseClass.new(:type => "SubClass") as well as - parent.children.build(:type => "SubClass") or parent.build_child + Allows you to do `BaseClass.new(:type => "SubClass")` as well as + `parent.children.build(:type => "SubClass")` or `parent.build_child` to initialize an STI subclass. Ensures that the class name is a valid class and that it is in the ancestors of the super class that the association is expecting. -- cgit v1.2.3