なるようになるブログ

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

rails commit log流し読み(2014/12/21)

2014/12/21分のコミットです。

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


pass over the autoloading guide [ci skip]

rails guideのConstant Autoloading and Reloadingの修正です。

タイトル、タイポ、グラマー等諸々の修正を行っています。


Renaming the autoloading guide [ci skip]

constant_autoloading_and_reloading.md -> autoloading_and_reloading_constants.mdに名前を変更しています。


Merge pull request #18092 from nippysaurus/clarity_batch_starting_point

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

Batches#find_eachBatches#find_in_batchesメソッドstartオプションの説明を修正しています。


Fixed syntax error in RDoc directive

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

:nodoc:をタイポしていた箇所があったのを修正しています。


Update comment regarding test environment with help from @matthewd [ci skip]

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

config/environments/test.rbについての説明を追加しています。


[ci skip] Improve grammar in configuring serve_static_files guide

rails guideのConfiguring Rails Applicationsの修正です。

config.serve_static_filesの説明をしている箇所について、グラマーの修正を行っています。


Describe the mailer and helpers directories which are generated by rails new.

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

generatorが生成するmailer、とhelpersについての説明を追加しています。


Fix syntax error with RDoc directive,

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

:nodoc:をタイポしていた箇所があったのを修正しています。


Remove use of "very" [ci skip]

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

説明上不要な"very"を削除しています。


Remove YAML implementation detail, as we're not trying to document all of

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

YAMLについての説明を記載している箇所を削除しています。 コミットログ見る限り、YAMLの説明をすべて行うのは無理なので、詳細は割愛したようです。


Add note about the association between the two fixture files and how they're connection.

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

YAMLにassociation先を指定した場合に、どのように関連付けが行われるかについての説明を追加しています。


Make sure this section is rendered as a NOTE and remove redundant sentence.

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

YAMLにassociation先を指定した場合の挙動について説明した箇所から、冗長な説明を削除しています。


"In PostgreSQL, just superusers.." => "In PostgreSQL, only superusers.."

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

"In PostgreSQL, just superusers.." -> "In PostgreSQL, only superusers.." に修正しています。グラマーの修正ですね。


s/folder/directory [ci skip]

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

"folder"を"directory"に修正しています。


Shorten the explaination of this to fit on one line [ci skip]

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

rake testの説明について、グラマーの修正を行っています。


Fixture data is accessible by a local method, and not a variable [ci skip]

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

fixture dataについいてアクセスする方法について説明している箇所で、データの取得を変数で取得出来る、という説明になっていたのを、メソッドから取得出来る旨説明を修正しています。


Follow-up to d9710212 [skip ci]

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

generatorが生成するディレクトリについて説明している箇所のグラマーの修正を行っています。


We will be using the application already created in the Getting Started guide.

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

Testing Guideの中で使用するアプリは、Getting Started Guideで作成済みのアプリである旨説明を追加しています。


- Fixed unused variable

activemodel/test/cases/validations_test.rbの修正です。

validateメソッドに不正なオプションを指定した場合のテストで、エラーメッセージのテストを2回に分けて行っていたので、一度で行うよう修正しています。


Add 'require' for Hash#with_indifferent_access

activejob/lib/active_job/arguments.rbの修正です。

ActiveJob::Argumentsの中でHash#with_indifferent_accessを使用しているのですが、indifferent_accessのrequireが無く、単体で使用した場合にエラーになってしまっていたので、'active_support/core_ext/hash/indifferent_access'のrequireを追加しています。