2014/05/18分のコミットです。
CHANGELOGへの追加はありませんでした。
Fix app generator test hanging.
railties/test/generators/app_generator_test.rb
の修正です。
test_application_name_is_detected_if_it_exists_and_app_folder_renamed
のテストでcreate_config_files
していたのをupdate_config_files
に修正しています。
元々ファイルがあった場合に更新するように、という事かと。なお、このコミットでは修正がまだ不足していた為、後ほど追加でテストがコミットされています。
Add missing tests for column type cast behavior
activerecord/test/cases/column_test.rb
の修正です。
Column#type_cast
メソッドのテストを追加しています。
New applications should be created with json serializer
railties/test/generators/app_generator_test.rb
の修正です。
config/initializers/cookies_serializer.rb
についてのテストを追加しています。
Collected TimeZone's class methods together
activesupport/lib/active_support/values/time_zone.rb
の修正です。
self.seconds_to_utc_offset
メソッドをclass << self
配下に移動しています。
元々class << self
が定義されていたので、処理をまとめる為ですね。
Document method visibility for designing API docs. [ci skip]
rails guideのAPI Documentation Guidelines
のページの修正です。
Method Visibility
の項を追加しています。 public APIとinternal APIの違いについて。internal APIには:nodoc:
をつけましょう、という説明がされています。
Remove dead test code for unsupported adapters
各種テストコードからサポート外のDB Adaptersの処理を削除しています。
サポート外になったのは、Sybase、Firebird、FrontBase、OpenBase。
PostgreSQL timestamps are always datetimes
activerecord/lib/active_record/connection_adapters/postgresql/oid.rb
の修正です。
PostgreSQLのDB Adapterでtimestamps型はいつもdatetime
として扱うよう修正しています。
今までも基本的にはdatetime
として扱われていたのですが、Array
の時だけtimestamp
として扱われていました。で、Array
についてもdatetime
として扱うよう修正しています。
Add a type object to Column constructor
ActiveRecord::ConnectionAdapters::Column
のコンストラクタにtype objectを追加しています。
type objectには型の情報等を持つようなのですが、このコミットではまだその部分は対応されてないような。
ActiveRecord columnをリファクタしているPRがあり、このコミットから一部抜粋したようです。
Let others know why this code is here
activemodel/lib/active_model/secure_password.rb
の修正です。
docを追加しています。
remove ecosystem link that is broken
guides/source/layout.html.erb
の修正です。
無くなっているページへのリンクを削除しています。