Skip to content

Commit

Permalink
Merge pull request #1683 from fkmy/fix_typo
Browse files Browse the repository at this point in the history
association_basics.md のマイグレーションファイルのバージョン指定を修正
  • Loading branch information
yasulab authored Sep 16, 2024
2 parents 88b969f + 00d2118 commit a65cf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/ja/association_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ end
`t.references`という書式を使うと、同じことをもっとシンプルに書けます。

```ruby
class CreatePictures < ActiveRecord::Migration[5.2]
class CreatePictures < ActiveRecord::Migration[7.2]
def change
create_table :pictures do |t|
t.string :name
Expand Down

0 comments on commit a65cf67

Please sign in to comment.