2015/04/01分のコミットです。
CHANGELOGへの追加はありませんでした。
Make method as nodoc since we are already docummenting at AbstractAdapter
activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
のdocの修正です。
change_column_default
メソッドに:nodoc:
を追加しています。
Fix eager loading association using default_scope for finder methods.
activerecord/lib/active_record/scoping/default.rb
の修正です。
クラスメソッドとしてdefault_scope
を定義した場合に、find
系のメソッドでdefault_scope
が設定されなバグがあったのを修正しています。
Remove unused subdir deployment considerations section [ci skip]
rails guideのConfiguring Rails Applications
の修正です。
利用されていないConsiderations when deploying to a subdirectory
セクションを削除しています。
Only coerce time when comparing if necessary
activesupport/lib/active_support/core_ext/time/calculations.rb
の修正です。
compare_with_coercion
メソッドで、引数のクラスがTime
だった場合に、不要なto_time
の呼び出しを行わないよう修正しています。
- if other.is_a?(Time) + # we're avoiding Time#to_datetime and Time#to_time because they're expensive + if other.class == Time + compare_without_coercion(other) + elsif other.is_a?(Time) compare_without_coercion(other.to_time)
rails guideのRails Routing from the Outside In
の修正です。
Routing to Rack Applications
の項にmount
メソッドを使用した場合のexample、説明を追加しています。
[ci skip] Fix :having
option with having
method
rails guideのActive Record Query Interface
の修正です。
Having
メソッドの説明で、having
メソッドをhaving
オプション、と誤って説明してしまっていた箇所があったのを修正しています。
[ci skip] fix guides example on arbitrary SQL execution
rails guideのActive Record Migrations
の修正です。
When Helpers aren't Enough
の項、execute
メソッドのexampleに記載してあるSQLが、実際動作しないSQLだった為、動作するようSQLを修正しています。