aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_basics.md
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 /guides/source/active_record_basics.md
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 'guides/source/active_record_basics.md')
-rw-r--r--guides/source/active_record_basics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md
index db7bd49ee7..abb22f9cb8 100644
--- a/guides/source/active_record_basics.md
+++ b/guides/source/active_record_basics.md
@@ -350,7 +350,7 @@ database that Active Record supports using `rake`. Here's a migration that
creates a table:
```ruby
-class CreatePublications < ActiveRecord::Migration[0.0]
+class CreatePublications < ActiveRecord::Migration[5.0]
def change
create_table :publications do |t|
t.string :title