なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2021/11/11)

2021/11/11分のコミットです。

CHANGELOGへの追加はありませんでした。


Add a note that index length is supported only by MySQL [skip ci]

activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rbのdocの修正です。

add_indexメソッドのdocにindex lengthがSQLite以外で指定出来る旨記載されていたのを、MySQLでのみサポートしている旨修正しています。PostgreSQLでは指定出来ない為。


[ci skip] Fix link to Primary key

rails guideのActive Record Associationsの修正です。

Primary Keyに関する説明のリンク先が https://en.wikipedia.org/wiki/Unique_key になっていたのを、https://en.wikipedia.org/wiki/Primary_key に修正しています。