Skip to content
This repository
Browse code

Update AR and AP changelogs [ci skip]

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

6 notes on commit ab72040

Vijay Dev
Collaborator

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

Carlos Antonio da Silva

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

Carlos Antonio da Silva

@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! :)

Vijay Dev
Collaborator

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

Carlos Antonio da Silva

Alright, thanks!

Carlos Antonio da Silva

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.