aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2015-12-17 10:27:59 +0100
committerGenadi Samokovarov <gsamokovarov@gmail.com>2015-12-17 10:42:53 +0100
commit008e5ab76dddfd0a7f0e8d1deff287ed76663ed3 (patch)
treee4829c15245e830b80a2960a4ede05b9be9a93c7 /activerecord
parentc4f8ce53b1f9af9585aeec9bbb0c66fc9c48ec1b (diff)
downloadrails-008e5ab76dddfd0a7f0e8d1deff287ed76663ed3.tar.gz
rails-008e5ab76dddfd0a7f0e8d1deff287ed76663ed3.tar.bz2
rails-008e5ab76dddfd0a7f0e8d1deff287ed76663ed3.zip
Pass over the ApplicationRecord changelog entry
The changelog entry for ApplicationRecord was a bit confusing. Thank you guys for helping me get it in a better shape. [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md15
1 files changed, 5 insertions, 10 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index f1921dded8..af761bc7b3 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,15 +1,10 @@
-* Introduce ApplicationRecord, an Active Record layer super type.
-
- An `ApplicationRecord` let's engines have models, isolated from the main
- application. Plugin authors can use it to distribute extensions as modules
- to be included into `ApplicationRecord`, instead of monkey patches. It can
- also serve as a place for applications to customize the default
- `ActiveRecord::Base` model behaviour.
+* ApplicationRecord is a new superclass for all app models, analogous to app
+ controllers subclassing ApplicationController instead of
+ ActionController::Base. This gives apps a single spot to configure app-wide
+ model behavior.
Newly generated applications have `app/models/application_record.rb`
- present by default. Generators are smart enough to recognize that
- newly generated models have to inherit from `ApplicationRecord` only if
- it's present.
+ present by default.
*Genadi Samokovarov*