Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Update AR and AP changelogs [ci skip]

  • Loading branch information...
1 parent 49d069d commit ab72040b74f742b6676b2d2a5dd029bfdca25a7a @carlosantoniodasilva carlosantoniodasilva committed
Showing with 15 additions and 1 deletion.
  1. +2 −0  actionpack/
  2. +13 −1 activerecord/
2  actionpack/
@@ -1,5 +1,7 @@
## Rails 4.0.0 (unreleased) ##
+* Remove Active Model dependency from Action Pack. *Guillermo Iguaran*
* Support unicode characters in routes. Route will be automatically escaped, so instead of manually escaping:
get Rack::Utils.escape('こんにちは') => 'home#index'
14 activerecord/
@@ -1,6 +1,18 @@
## Rails 4.0.0 (unreleased) ##
-* `ActiveRelation#inspect` no longer calls `#to_a`
+* Add `:default` and `:null` options to `column_exists?`.
+ column_exists?(:testings, :taggable_id, :integer, null: false)
+ column_exists?(:testings, :taggable_type, :string, default: 'Photo')
+ *Aleksey Magusev*
+* `ActiveRelation#inspect` no longer calls `#to_a`. This means that in places
+ where `#inspect` is implied (such as in the console), creating a relation
+ will not execute it anymore, you'll have to call `#to_a` when necessary:
+ User.where(:age => 30) # => returns the relation
+ User.where(:age => 30).to_a # => executes the query and returns the loaded objects, as before
*Brian Cardarella*

6 comments on commit ab72040


Can you also update the 4.0 release notes guide with these changes? Thanks.


@vijaydev sure, will do. I forgot 4.0 now has release notes :)


@vijaydev could you take a look in my fork before I push? I've tried to sync all other changelogs with the release notes. Thanks! :)


@carlosantoniodasilva Looks good. Just take care of the fixed font in some places and push it. Thanks much.


Alright, thanks!


Pushed in 215d41d. Let me know if anything needs improvement, thanks!

Please sign in to comment.
Something went wrong with that request. Please try again.