2017/03/25分のコミットです。
CHANGELOGへの追加はありませんでした。
Update Action Cable README.md - typo fix
actioncable/README.mdの修正です。
Connectionクラスでuserをverifyする処理のexampleで==を=にタイポしていたのを修正しています。
def find_verified_user - if current_user = User.find_by(id: cookies.signed[:user_id]) + if current_user == User.find_by(id: cookies.signed[:user_id]) current_user
が、元のコード(=)が正しかった為、後ほどrevertされています。
Fix doc format for duplicable? [ci skip]
activesupport/lib/active_support/core_ext/object/duplicable.rbのdocの修正です。
duplicable?メソッドのdoc内のexampleコードでインデントが足りておらず、exampleが正しく表示されてなかったのを修正しています。
Revert “Merge pull request #28569 from HarryCollins/patch-1”
Connectionクラスでuserをverifyする処理のexampleで==を=にタイポしていたのを修正した、Update Action Cable README.md - typo fix をrevertしています。理由は先に書いた通り。
Rename local variable name current_user to verified_user [ci skip]
actioncable/README.mdの修正です。
Connectionクラスでuserをverifyする処理のexampleで、verifyしたuserを格納する変数の変数名をcurrent_userからverified_userに修正しています。
Rename local variable name current_user to verified_user [ci skip]
rails guideのAction Cable Overviewの修正です。
先のactioncable/README.mdの修正と同様に、verifyしたuserを格納する変数の変数名をverified_userに修正しています。