aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAlexander Tsirel <noma4i@gmail.com>2018-10-04 15:28:09 +1000
committerGitHub <noreply@github.com>2018-10-04 15:28:09 +1000
commit6b0403dfae2fbae443d3cc0033e8c3c779918c5c (patch)
tree71fa0202f17724a875c01a02d6be5feaa12cdbc1 /README.md
parent1b6ab13960c8750be0b95961b78250128ddc3284 (diff)
downloadrails-6b0403dfae2fbae443d3cc0033e8c3c779918c5c.tar.gz
rails-6b0403dfae2fbae443d3cc0033e8c3c779918c5c.tar.bz2
rails-6b0403dfae2fbae443d3cc0033e8c3c779918c5c.zip
Consistency in naming
after rails 5 its ApplicationController and ApplicationRecord
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e781e1cde2..2fbe1ad878 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ Adding a rich text field to an existing model:
```ruby
# app/models/message.rb
-class Message < ActiveRecord::Base
+class Message < ApplicationRecord
has_rich_text :content
end
```
@@ -84,4 +84,4 @@ Action Text is destined for inclusion in Rails 6, which is due to be released so
## License
-Action Text is released under the [MIT License](https://opensource.org/licenses/MIT). \ No newline at end of file
+Action Text is released under the [MIT License](https://opensource.org/licenses/MIT).