Skip to content

Commit cc03a66

Browse files
authored
Merge pull request rails#52920 from hachi8833/fix_ar_basic
[ci-skip][docs] Add missing migration version to Active Record Basic guide
2 parents 0f43fed + d05029e commit cc03a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ and results in this:
213213
# Columns `created_at` and `updated_at` are added by `t.timestamps`.
214214

215215
# db/migrate/20240220143807_create_books.rb
216-
class CreateBooks < ActiveRecord::Migration
216+
class CreateBooks < ActiveRecord::Migration[8.0]
217217
def change
218218
create_table :books do |t|
219219
t.string :title

0 commit comments

Comments
 (0)