2016/06/11åã®ã³ãããã§ãã
CHANGELOGã¸ã®è¿½å ã¯ããã¾ããã§ããã
Add config.assets.quiet = true as default value
railties/lib/rails/generators/rails/app/templates/config/initializers/assets.rb.tt
ã®ä¿®æ£ã§ãã
rails new
ã§çæãããassetsç¨ã®initializerã«ãRails.application.config.assets.quiet = true
ã追å ãã¦ãã¾ãã
å æ¥ãsprockets-railsã«asset requestsã®å ´åã«ãã°ãåºåããªãããã«åºæ¥ã対å¿(Add config.assets.quiet = true as default for generator)ãå ¥ãã¾ããã
ã§ãassets.quiet
ã«trueãæå®ããã¨ãã®è¨å®ãæå¹åãããasset requestsã®å ´åã¯ãã°åºåãè¡ãããªãããã«ãªãã¾ãã quiet_assets gemã§ãã£ã¦ãäºãsprockets-railsæ¬ä½ã«åãè¾¼ãã å½¢ã§ããã便å©ã
[ci skip] define_model_callbacks
only exist in active model:
activesupport/lib/active_support/callbacks.rb
ã®docã®ä¿®æ£ã§ãã
ActiveSupport::Callbacks::ClassMethods#define_callbacks
ã¡ã½ããã®docã§ãdefine_model_callbacks
ã«ã¤ãã¦èª¬æãã¦ããã®ã§ãããdefine_model_callbacks
ã¯Active Modelã«ããç¡ãã¡ã½ããã®ãªã®ã§èª¬æãåé¤ãåã³define_callbacks
ãåãååã§è¤æ°åå¼ã³åºããå ´åã®æåã«ã¤ãã¦ã®èª¬æã追å ãã¦ãã¾ãã
Replace Kernel#caller by the faster Kernel#caller_locations
activesupport/lib/active_support/core_ext/module/delegation.rb
ã®ä¿®æ£ã§ãã
Module#delegate
ã§ããã¯ãã¬ã¼ã¹ãåå¾ããã®ã«ãKernel#caller
ã使ç¨ãã¦ããã®ããKernel#caller_locations
ã使ç¨ããããä¿®æ£ãã¦ãã¾ãããã¡ãã®æ¹ãæ©ãçºãã¨ã®äºã§ãã
Make sure the yielded variable is the logger
activesupport/lib/active_support/logger.rb
ã®ä¿®æ£ã§ãã
silence
ã¡ã½ããã§blockãå¼ã³åºãéãself(ActiveSupport::Logger
)ã渡ãããä¿®æ£ãã¦ãã¾ãã
else - block.call(level) + block.call(self) end
Merge pull request #25321 from prathamesh-sonpatki/update-release-notes-1
rails guideã®Ruby on Rails 5.0 Release Notes
ã®ä¿®æ£ã§ãã
説æãå¿ è¦ã¨æããã対å¿ã«ã¤ãã¦Release Notesã«entryãã¾ã¨ãã¦è¿½å ãã¦ãã¾ãã
activesupport/lib/active_support/testing/isolation.rb
ã®ä¿®æ£ã§ãã
使ç¨ããã¦ããªã_run_class_setup
ã¡ã½ãããåé¤ãã¦ãã¾ãã
activerecord/lib/active_record/relation/query_methods.rb
ã®docã®ä¿®æ£ã§ãã
ActiveRecord::QueryMethods#or
ã¡ã½ããã®docå
ã®å®è¡çµæã®ä¾ããå®éã®çµæã¨ç°ãªã£ã¦ããã®ããä¿®æ£ãã¦ãã¾ãã