Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use attributes instead of table names in migration example

  • Loading branch information...
commit 24705014b845cc0202a1fd8866e9981af742453f 1 parent 993e164
@josevalim josevalim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/CHANGELOG.md
View
2  activerecord/CHANGELOG.md
@@ -3,7 +3,7 @@
* The migration generator now creates a join table with (commented) indexes every time
the migration name contains the word `join_table`:
- rails g migration create_join_table_for_artists_and_musics artists:index musics
+ rails g migration create_join_table_for_artists_and_musics artist_id:index music_id
*Aleksey Magusev*
Please sign in to comment.
Something went wrong with that request. Please try again.