aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/README.rdoc
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2015-12-06 06:29:19 +1030
committerMatthew Draper <matthew@trebex.net>2015-12-15 17:18:09 +1030
commitc0af95e0abe92ea676bf73959ea84d2fccc8c8fb (patch)
tree7b682faf8f7543926a3869bfa63a2826de34fcf0 /activerecord/README.rdoc
parent6940dc860c4b25bff2eded370f2af4316de15a30 (diff)
downloadrails-c0af95e0abe92ea676bf73959ea84d2fccc8c8fb.tar.gz
rails-c0af95e0abe92ea676bf73959ea84d2fccc8c8fb.tar.bz2
rails-c0af95e0abe92ea676bf73959ea84d2fccc8c8fb.zip
Use a deliberately-invalid migration version in all doc examples
If we use a real version, at best that'll be an onerous update required for each release; at worst, it will encourage users to write new migrations against an older version than they're using. The other option would be to leave these bare, without any version specifier. But as that's just a variant spelling of "4.2", it would seem to raise the same concerns as above.
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 7eb4e9db1a..9c37b97f76 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
+ class AddSystemSettings < ActiveRecord::Migration[0.0]
def up
create_table :system_settings do |t|
t.string :name