なるようになるブログ

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

rails commit log流し読み(2014/05/26)

2014/05/26分のコミットです。

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


[ci skip] Update GFM link in guides guidelines.

rails guideのRuby on Rails Guides Guidelinesの修正です。

GitHub Flavored Markdownのリンク先をここに修正しています。


Fix test cases for inflector.rb

activesupport/test/inflector_test.rbの修正です。

with_dupメソッドの中で、本来yieldでブロック呼び出しをしていたのですが、yieldが無くなってしまって本来実行されるべきテストが実行されてなかったバグを修正しています。


Rename Posts to Articles in Guides' Getting Started App, continuation of #15215 [ci skip]

rails guideのGetting Started with Railsサンプルソースの修正です。

サンプルのモデル名をpost -> articleに変更しています。以前行われたdocの修正の続きですね。


simple solution that brings rake stats task to every kind of rails project

railties/lib/rails/tasks/statistics.rakeの修正です。

STATS_DIRECTORIES定数をscopeの外に出してglobalにしています。

rails plugin等で定数を使えるようにする為、との事です。


Merge pull request #15310 from tgxworld/small_refactor_get_routes_as_head

actionpack/lib/action_dispatch/journey/router.rbの修正です。

不要なメソッド呼び出しを削除しています。


Remove duplicated to_s method call.

actionpack/lib/abstract_controller/base.rbactionpack/lib/action_controller/metal.rbの修正です。

不要なto_sメソッドを削除しています。


remove unused variable warning

activerecord/test/cases/adapters/postgresql/schema_test.rbの修正です。

不要な変数を削除しています。


Fix docs for ActionController::Renderers.add

ActionController::Renderers.addメソッドのdocの修正です。

endが足りてなかったのを追加しています。


pg, remove unused code. Use extract_schema_and_table instead.

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

使用していないextract_pg_identifier_from_nameメソッドを削除しています。


pg, add missing :nodoc: to adapter.

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

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


Add an interface for type objects to control Ruby => SQL

DB adapterの修正です。

type objectにRuby -> SQLへのコンバート用のメソッドインターフェイスを追加した、で合ってるかなあ…。

まだ作業中のようで、今後更に対応が行われるようです。