2016/06/09åã®ã³ãããã§ãã
CHANGELOGã¸ã®è¿½å ã¯ããã¾ããã§ããã
Allow Oracle bind parameter syntax :a1
activerecord/test/cases/associations/left_outer_join_association_test.rb
ã®ä¿®æ£ã§ãã
left_outer_joins
ã¡ã½ãããå¼ã³åºãéã®SQLã確èªãããã¹ãã§ãbind parameter syntaxã®ä¸è¦§ã«:a1
ã追å ãã¦ãã¾ãã
def test_join_conditions_added_to_join_clause queries = capture_sql { Author.left_outer_joins(:essays).to_a } - assert queries.any? { |sql| /writer_type.*?=.*?(Author|\?|\$1)/i =~ sql } + assert queries.any? { |sql| /writer_type.*?=.*?(Author|\?|\$1|\:a1)/i =~ sql } assert queries.none? { |sql| /WHERE/i =~ sql } end
Oracleã§ã¯:a1
ã使ç¨ãããçºã¨ã®äºã§ããç¥ããªãã£ãã
actionpack/test/dispatch/cookies_test.rb
ã
activesupport/test/core_ext/hash_ext_test.rb
ã®ä¿®æ£ã§ãã
existent
ãexistant
ã«ã¿ã¤ããã¦ããã®ãä¿®æ£ãã¦ãã¾ãã
activerecord/test/cases/batches_test.rb
ã®ä¿®æ£ã§ãã
overridden
ãoverriden
ã«ã¿ã¤ããã¦ããã®ãä¿®æ£ãã¦ãã¾ãã
remove deprecated :prefix
option from doc [ci skip]
actionview/lib/action_view/helpers/number_helper.rb
ã®docã®ä¿®æ£ã§ãã
number_to_human_size
ã¡ã½ããã®docãããdeprecatedã«ãªã£ã¦ããprefix
ãªãã·ã§ã³ãåé¤ãã¦ãã¾ãã
render_to_string Regression Outside of Real Requests in Rails 5.0.0.rc1 (#25308)
actionpack/lib/abstract_controller/rendering.rb
ã®ä¿®æ£ã§ãã
#render_to_string
ãcontrollerã®ã¤ã³ã¹ã¿ã³ã¹ãç¬èªã«ä½æãã¦ä½¿ç¨ããå ´åã«ãã¨ã©ã¼ã«ãªã£ã¦ãã¾ã£ã¦ããã®ãä¿®æ£ãã¦ãã¾ãã
- if defined?(request) && request.variant.present? + if defined?(request) && !request.nil? && request.variant.present?
controllerã®ã¤ã³ã¹ã¿ã³ã¹ãç¬èªã«ä½æããå ´åãå½ç¶request
ãnilã«ãªã£ã¦ãã¾ãã®ã§ãããrequest
ãnilã ã£ãå ´åã®èæ
®ãä¸è¶³ãã¦ããã®ã§ãnilãã§ãã¯ã追å ã対å¿ãã¦ãã¾ãã