aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-14 20:16:59 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-12-14 20:25:22 -0200
commitdf9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56 (patch)
treeaf11c2b4b318b83678b0a421bd9db53473566bb8 /activerecord/CHANGELOG.md
parent99d142a9375f9ba1960863b3cc745265aa9a14df (diff)
downloadrails-df9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56.tar.gz
rails-df9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56.tar.bz2
rails-df9f9b7f3e87b8e83f9cc14cc36e0800c88c3c56.zip
Convert changelogs to 1.9 hash style and fix some formatting [ci skip]
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 595bf4db72..97b7b8cd1e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -84,8 +84,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.
@@ -116,7 +116,7 @@
* Fix postgresql adapter to handle BC timestamps correctly
- HistoryEvent.create!(:name => "something", :occured_at => Date.new(0) - 5.years)
+ HistoryEvent.create!(name: "something", occured_at: Date.new(0) - 5.years)
*Bogdan Gusiev*
@@ -747,7 +747,7 @@
*kennyj*
-* Changed validates_presence_of on an association so that children objects
+* Changed `validates_presence_of` on an association so that children objects
do not validate as being present if they are marked for destruction. This
prevents you from saving the parent successfully and thus putting the parent
in an invalid state.
@@ -764,7 +764,7 @@
def change
create_table :foobars do |t|
- t.timestamps :precision => 0
+ t.timestamps precision: 0
end
end