aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-12-15 17:10:40 +1030
committerMatthew Draper <matthew@trebex.net>2015-12-15 17:18:10 +1030
commit97c77160cd4c8b32a6572adefa268eb91162e3e1 (patch)
treef29f9a0aec8432846199ccd69e1f975b95321b4b /activerecord/README.rdoc
parent6d2469daa6b29ce5113e1855df5e23cba32c24e8 (diff)
downloadrails-97c77160cd4c8b32a6572adefa268eb91162e3e1.tar.gz
rails-97c77160cd4c8b32a6572adefa268eb91162e3e1.tar.bz2
rails-97c77160cd4c8b32a6572adefa268eb91162e3e1.zip
Use a real migration version number in docs
Even though this means more things to change when we bump after a release, it's more important that our examples are directly copyable.
Diffstat (limited to 'activerecord/README.rdoc')
-rw-r--r--activerecord/README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/README.rdoc b/activerecord/README.rdoc
index 9c37b97f76..20ce1e8dd2 100644
--- a/activerecord/README.rdoc
+++ b/activerecord/README.rdoc
@@ -138,7 +138,7 @@ This would also define the following accessors: <tt>Product#name</tt> and
* Database agnostic schema management with Migrations.
- class AddSystemSettings < ActiveRecord::Migration[0.0]
+ class AddSystemSettings < ActiveRecord::Migration[5.0]
def up
create_table :system_settings do |t|
t.string :name