2019/01/24分のコミットです。
CHANGELOGへの追加はありませんでした。
activerecord: Fix statement cache for strictly cast attributes
activerecord/lib/active_record/relation/query_attribute.rbの修正です。
QueryAttribute#unboundable?メソッドでvalueがStatementCache::Substituteのインスタンスの場合、cast処理が行われないよう修正しています。
StatementCache::Substituteはstatement cacheを構築する際に使用するクラスでcastは行う必要はなく、かつ、cast処理を行おうとすると定義されていないメソッドを呼ぼうとしてエラーになってしまう為。
Pass the view around instead of using an ivar
actionview/lib/action_view/renderer/streaming_template_renderer.rb、
actionview/lib/action_view/renderer/template_renderer.rbの修正です。
render_templateメソッドが、renderの際にivarにあるviewを使用していたのを、メソッドの引数でviewを指定出来るようにしそのviewを使用するよう修正しています。
処理の流れをわかりやすくするため、との事です。
Tell the user what to use instead of update_attributes/!
activerecord/lib/active_record/persistence.rbの修正です。
update_attributes、update_attributes!のdeprecateメッセージを表示する際に、代わりに使用するメソッド(update、update!)を表示するよう修正しています。
Fix document formatting on Action Text docs [ci skip]
Action Textのdocの修正です。
Action Textのdoc全体のフォーマットの修正を行っています。
Allow column_exists? to be passed type argument as a string
activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rbの修正です。
column_exists?メソッドのtype引数にStringが指定出来なかった(Stringを指定した場合、存在しているカラムでもfalseが返ってきていた)のを、Stringも指定出来るよう修正しています。