なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2015/05/22)

2015/05/22分のコミットです。

CHANGELOGへの追加はありませんでした。


[skip ci] Update documentation for ArrayInquirer#any?

activesupport/lib/active_support/array_inquirer.rbのdocの修正です。

ArrayInquirer#any?メソッドのdocを追加しています。


revises a test to account for case-insensitive file systems

actionview/test/actionpack/controller/render_test.rbの修正です。

case-insensitiveファイルシステムtest_render_action_upcasedがコケていたのを対応しています

アクション名が大文字の場合に小文字のテンプレートファイルにマッチしない、というテストだったのですが、case-insensitiveファイルシステムの場合テンプレートファイルにマッチしてしまう為、ファイルシステムに合わせてテスト内容を変更するようにしています。

通常のunix系だと普通無いのですが、rails-dev-boxをvagrantで使った場合に問題になってたようです。


[skip ci] Update documentation for MemCacheStore::build_mem_cache

activesupport/lib/active_support/cache/mem_cache_store.rbのdocの修正です。

MemCacheStore.build_mem_cacheメソッドのdocを追加しています。


[skip ci] Add nodoc label for protected Cache methods

activesupport/lib/active_support/cache/memory_store.rbactivesupport/lib/active_support/cache/strategy/local_cache.rbのdocの修正です。

private API:nodoc:を追加しています。


Merge pull request #20251 from davydovanton/doc-memory-store


"maybe" => "may be"

activerecord/lib/active_record/nested_attributes.rbのdocの修正です。

ActiveRecord::NestedAttributes module doc無いの"maybe" を "may be"に修正しています。


Make link to configuring guide relative [ci skip]

rails guideのA Guide to Testing Rails Applicationsの修正です。

config.active_support.test_orderオプションについてのリンクを、絶対リンクで記載していたのを相対リンクに修正しています。


Merge pull request #20254 from eliotsykes/link-relatively-to-configuring-guide


Link association.exists?(...) to API docs [ci skip]

rails guideのActive Record Associationsの修正です。

ActiveRecord::Base.exists?メソッドについて説明している箇所でAPI doc(http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-exists-3F)へのリンクを追加しています。