2016/06/25åã®ã³ãããã§ãã
CHANGELOGã«ã®ã£ãã³ãããã¯ä»¥ä¸ã®éãã§ãã
Revert "[ci skip] better docs for ActiveRecord::AttributeSet::YAMLEncoder#decode"
ActiveRecord::AttributeSet::YAMLEncoder#decode
/ ActiveRecord::AttributeSet::YAMLEncoder#decode
ã¡ã½ããã«docã追å ããã[ci skip] better docs for ActiveRecord::AttributeSet::YAMLEncoder#decode · rails/rails@7ea502aãrevertãã¦ãã¾ãã
ActiveRecord::AttributeSet::YAMLEncoder
ã¯å
é¨åãã¯ã©ã¹ã§ãããpublic APIã§ã¯ç¡ãçºãã¨ã®ãã¨ã§ãã
nodoc ActiveRecord::AttributeSet::YAMLEncoder
activerecord/lib/active_record/attribute_set/yaml_encoder.rb
ã®docã®ä¿®æ£ã§ãã
ã¨ããããã§ã ActiveRecord::AttributeSet::YAMLEncoder
ã¯ã©ã¹ã«:nodoc:
ãè¨å®ãã¦ãã¾ãã
[ci skip] Add link to method referenced in ActiveSupport::PerThreadRegistry
activesupport/lib/active_support/per_thread_registry.rb
ã®docã®ä¿®æ£ã§ãã
ActiveSupport::PerThreadRegistry
moduleã®dcoå
ã«ããthread_mattr_accessor
ã«ã該å½ã®API docã¸ã®ãªã³ã¯ã追å ãã¦ãã¾ãã
Update grammar for config.enable_dependency_loading
docs
rails guideã®Configuring Rails Applications
ã®ä¿®æ£ã§ãã
config.enable_dependency_loading
ã«ã¤ãã¦ã®èª¬æã®è¨ãåããä¿®æ£ãã¦ãã¾ãã
Merge pull request #25287 from marekkirejczyk/fix_25267
actionview/lib/action_view/helpers/date_helper.rb
ã®ä¿®æ£ã§ãã
select_year
ã¡ã½ããã«include_position
ãªãã·ã§ã³ãæå®ããå ´åã«æ£ããåä½ãã¦ããªããã°ããã£ãã®ãä¿®æ£ãã¦ãã¾ãã
make as
option work with get parameters
actionpack/lib/action_dispatch/testing/integration.rb
ã®ä¿®æ£ã§ãã
ActionDispatch::Integration
moduleã®get
ã¡ã½ãã + as
ãªãã·ã§ã³ãæå®ããå ´åã«ãURIã®çæãæ£ããè¡ããªããã°ããã£ãã®ãä¿®æ£ãã¦ãã¾ãã
Merge pull request #23011 from arnvald/bugfix/correctly_parse_date
activesupport/lib/active_support/json/decoding.rb
ã®ä¿®æ£ã§ãã
ActiveSupport::JSON.decode
ã¡ã½ããã«ã¿ã¤ã ã¾ã¼ã³ã®æå®ã®ãªãæ¥æã®å¤ã渡ããéã«ãã¿ã¤ã ã¾ã¼ã³ãUTCã¨ãã¦æ±ããã¦ããã®ããRailsã¢ããªã«æå®ããtimezoneã®å¤ã§æ±ãããããä¿®æ£ãã¦ãã¾ãã
ActiveSupport.parse_json_times = true Rails.application.config.time_zone # => Tokyo # before ActiveSupport::JSON.decode(%({"a": "2007-01-01 01:12:34"})) # => {"a"=>"2007-01-01 01:12:34"} # after ActiveSupport::JSON.decode(%({"a": "2007-01-01 01:12:34"})) # => {"a"=>Mon, 01 Jan 2007 01:12:34 JST +09:00}
actionpack/lib/action_dispatch/testing/integration.rb
ã®ä¿®æ£ã§ãã
as
ãªãã·ã§ã³ãnilãã©ããã®ãã§ãã¯ã«!as.nil?ã使ç¨ãã¦ããã®ããåç´ã«
as`ã®å¤ãè¦ãããä¿®æ£ãã¦ãã¾ãã
Extract method to share path expansion logic.
actionpack/lib/action_dispatch/testing/integration.rb
ã®ä¿®æ£ã§ãã
åãURIã®pathãçæããå¦çãè¤æ°ã®ç®æã§è¡ããã¦ããã®ã§ãã¡ã½ããã«åãåºãã¦ãã¾ãã
Merge pull request #25350 from tricknotes/uri-generic-as-json
activesupport/lib/active_support/core_ext/object/json.rb
ã®ä¿®æ£ã§ãã
URI::Generic
ã¯ã©ã¹ã«as_json
ã¡ã½ããã追å ãã¦ãã¾ãã
# before URI.parse('http://example.com').as_json # => {"scheme"=>"http", # "user"=>nil, # "password"=>nil, # "host"=>"example.com", # "port"=>80, # "path"=>"", # "query"=>nil, # "opaque"=>nil, # "fragment"=>nil, # "parser"=> # {"regexp"=> # {"SCHEME"=>"(?-mix:\\A[A-Za-z][A-Za-z0-9+\\-.]*\\z)", # "USERINFO"=>"(?-mix:\\A(?:%\\h\\h|[!$&-.0-;=A-Z_a-z~])*\\z)", # "HOST"=> # "(?-mix:\\A(?:(?<IP-literal>\\[(?:(?<IPv6address>(?:\\h{1,4}:){6}(?<ls32>\\h{1,4}:\\h{1,4}|(?<IPv4address>(?<dec-octet>[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5]|\\d)\\.\\g<dec-octet>\\.\\g<dec-octet>\\.\\g<dec-octet>))|::(?:\\h{1,4}:){5}\\g<ls32>|\\h{,4}::(?:\\h{1,4}:){4}\\g<ls32>|(?:(?:\\h{1,4}:)?\\h{1,4})?::(?:\\h{1,4}:){3}\\g<ls32>|(?:(?:\\h{1,4}:){,2}\\h{1,4})?::(?:\\h{1,4}:){2}\\g<ls32>|(?:(?:\\h{1,4}:){,3}\\h{1,4})?::\\h{1,4}:\\g<ls32>|(?:(?:\\h{1,4}:){,4}\\h{1,4})?::\\g<ls32>|(?:(?:\\h{1,4}:){,5}\\h{1,4})?::\\h{1,4}|(?:(?:\\h{1,4}:){,6}\\h{1,4})?::)|(?<IPvFuture>v\\h+\\.[!$&-.0-;=A-Z_a-z~]+))\\])|\\g<IPv4address>|(?<reg-name>(?:%\\h\\h|[!$&-.0-9;=A-Z_a-z~])*))\\z)", # "ABS_PATH"=>"(?-mix:\\A\\/(?:%\\h\\h|[!$&-.0-;=@-Z_a-z~])*(?:\\/(?:%\\h\\h|[!$&-.0-;=@-Z_a-z~])*)*\\z)", # "REL_PATH"=>"(?-mix:\\A(?:%\\h\\h|[!$&-.0-;=@-Z_a-z~])+(?:\\/(?:%\\h\\h|[!$&-.0-;=@-Z_a-z~])*)*\\z)", # "QUERY"=>"(?-mix:\\A(?:%\\h\\h|[!$&-.0-;=@-Z_a-z~\\/?])*\\z)", # "FRAGMENT"=>"(?-mix:\\A(?:%\\h\\h|[!$&-.0-;=@-Z_a-z~\\/?])*\\z)", # "OPAQUE"=>"(?-mix:\\A(?:[^\\/].*)?\\z)", # "PORT"=>"(?-mix:\\A[\\x09\\x0a\\x0c\\x0d ]*\\d*[\\x09\\x0a\\x0c\\x0d ]*\\z)"}}} # after URI.parse('http://example.com').as_json # => "http://example.com"
Tiny documentation fixes [ci skip]
activemodel/lib/active_model/errors.rb
ã®docåã³
guides/source/5_0_release_notes.md
ã®ä¿®æ£ã§ãã
ä¸è¦ãªã¹ãã¼ã¹ãã¿ã¤ãã®ä¿®æ£ãã¾ã¨ãã¦è¡ã£ã¦ãã¾ãã