2015/05/20分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
updating the links, they were removed in cc30f5f9 [ci skip]
rails guideのRuby on Rails Security Guide
の修正です。
以前削除したhttp://ha.ckers.org
の代わりにOWASPのCross-Site scripting Cheat Sheetへのリンクを追加しています。
Eliminate the duplication code of StatementPool
ActivieRecordのConnectionAdaptersの修正です。
各adapterで重複していたStatementPool
クラスに関する処理を削除しています。
actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb
のdocの修正です。
CollectionCaching
module内のoverriden
-> overridden
にタイポを修正しています。
Avoid the heredoc in one line queries and simple queries
activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
の修正です。
表示が1行内で収まるシンプルなqueryの生成について、ヒアドキュメントを使用しないよう修正しています。
Remove require 'arel/visitors/bind_visitor'
各ファイルから不要なarel/visitors/bind_visitor
のrequireを削除しています。
Merge pull request #20157 from tak1n/master
rails guideのA Guide to Testing Rails Applications
の修正です。
Testing Views
の項に"route testはcontroller testsの中に含むのが一般的旨説明を追加しています。
doc changes for readability [ci skip]
activejob/lib/active_job/queue_adapter.rb
のdocの修正です。
doc内の強調したい箇所にに等幅フォント用の設定を追加しています。
ActiveRecordの修正です。
使用していないファイルのrequire処理を削除しています。
parent_reflection should store only a reflection object
activerecord/lib/active_record/associations.rb
、
activerecord/lib/active_record/reflection.rb
の修正です。
parent reflectionを取得する際、reflectionクラスのインタンスと、親の名前の情報を別に持っていたのを止めて、親の名前についてreflectionクラスから取得するよう修正しています。
updated squash docs-section [ci skip]
rails guideのContributing to Ruby on Rails
の修正です。
Squashing commits
の項で、upstreamに対してrebaseしてからコミットをsquashするような手順になっていたのを、まとめて行うよう修正しています。
-$ git rebase upstream/master -$ git rebase -i +$ git rebase -i upstream/master
Patch Delegator
to work with #try
activesupport/lib/active_support/core_ext/object/try.rb
の修正です。
class Decorator < SimpleDelegator def delegator_method 'delegator method' end end Decorator.new(@string).try(:delegator_method) # => "delegator method"
元々try
メソッドはObject
クラスに定義していたのですが、Delegator
クラスはBasicObject
クラスを継承しており、Object
は継承関係に無かったので、try
メソッドが使えなかったんですねえ。
Small stylistic tweaks for Delegator#try
patch
activesupport/lib/active_support/core_ext/object/try.rb
、activesupport/test/core_ext/object/try_test.rb
の修正です。
module名の修正、インデントの整理をお粉ています。
activesupport/lib/active_support/number_helper/number_to_currency_converter.rb
の修正です。
absolute_value
メソッドで引数のnumber
がabs
メソッドを定義しているかどうかのチェック処理で、respond_to
の引数にStringを指定していたのを、Symbol
を指定するよう修正しています。
[ci skip] add to doc that acceptance validator allows nil
by default
rails guideのActive Record Validations
の修正です。
validates
メソッドのacceptance
オプションについての説明の箇所に、メソッドに指定した属性がnil
じゃない場合のみ動作する旨説明を追加しています。
Fix docs markup for option_groups_from_collection_for_select [ci skip]
actionview/lib/action_view/helpers/form_options_helper.rb
のdocの修正です。
option_groups_from_collection_for_select
メソッドのdoc内、group_label_method
オプションの説明で、マークアップがおかしくなっていた(+
が足りてなかった)のを修正しています。
Updated postgresql documentation link to use latest version [ci skip]
各docの修正です。
PostgreSQLのdocへのリンクを、バージョン指定から現在の最新のdocに修正しています。
-* [type definition](http://www.postgresql.org/docs/9.3/static/hstore.html) +* [type definition](http://www.postgresql.org/docs/current/static/hstore.html)
activerecord/lib/active_record/aggregations.rb
のdocの修正です。
NetAddr
クラスのrubydocへのリンクが間違っていたのを修正しています。
add missing punctuation in changelog. [ci skip]
activesupport/CHANGELOG.md
の修正です。
行末にピリオドが無かった行があったのを追加しています。
activerecord/lib/active_record/callbacks.rb
のdocの修正です。
Callbacks
moduleのdoc内、ActiveRecord::RecordInvalid
クラスが強調されるようtt
タグで囲んでいます。
Rails 5.0 will target Ruby 2.2+, correct rails guide example [ci skip]
rails guideのDebugging Rails Applications
の修正です。
Rails server 実行結果の出力例のRubyのバージョンを 2.2.2に修正しています。
[ci skip] update ruby doc links; for rails next version ruby 2.2+ will be supported only
各guideの修正です。
ruby docへのリンクに指定するRubyのバージョンを2.2.2に修正しています。
-This type is mapped to Ruby [`Range`](http://www.ruby-doc.org/core-2.1.1/Range.html) objects. +This type is mapped to Ruby [`Range`](http://www.ruby-doc.org/core-2.2.2/Range.html) objects.
Fix broken link for minitest. [ci skip]
guides/source/testing.md
のdocの修正です。
Minitestのdocへのリンクをruby-docからdocs.seattlerbに修正しています。
updated Inline format at activerecord rdoc
activerecord/README.rdoc
のdocの修正です。
Product#name=
メソッドをバッククオートでエスケープしていたのをtt
タグ(RDoc記法)でエスケープするよう修正しています。