なるようになるブログ

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

2018-05-01から1ヶ月間の記事一覧

rails commit log流し読み(2018/05/30)

2018/05/30分のコミットです。 CHANGELOGへの追加はありませんでした。 Remove unused require "active_support/file_update_checker" activesupport/lib/active_support/i18n_railtie.rbの修正です。 不要なactive_support/file_update_checkerのrequireを…

rails commit log流し読み(2018/05/29)

2018/05/29分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activerecord/CHANGELOG.md Fix parent record should not get saved with duplicate children records. Hide Active Storage migration installation task (#33007) activestora…

rails commit log流し読み(2018/05/28)

2018/05/28分のコミットです。 CHANGELOGへの追加はありませんでした。 Parse raw value only when a value came from user in numericality validator activemodel/lib/active_model/validations/numericality.rbの修正です。 PostgreSQLでmoney typeを使用…

rails commit log流し読み(2018/05/27)

2018/05/27分のコミットです。 CHANGELOGへの追加はありませんでした。 Fix belongs_to_counter_cache_after_update to respect polymorphic type change Active Recordの修正です。 polymorphic association + counter cacheを使用している場合に、polymorp…

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

2018/05/26分のコミットです。 CHANGELOGへの追加はありませんでした。 Fix different_target? to respect custom primary key counter activerecord/lib/active_record/associations/belongs_to_association.rbの修正です。 BelongsToAssociation#different…

rails commit log流し読み(2018/05/25)

2018/05/25分のコミットです。 CHANGELOGへの追加はありませんでした。 update README link: md instead rdoc [ci skip] activejob/lib/active_job/queue_adapters.rbのdocの修正です。 correct link to activejob readme [ci skip]で対応したREADMEへのリン…

rails commit log流し読み(2018/05/24)

2018/05/24分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 actionmailer/CHANGELOG.md Ensure mail gem is eager autoloaded when eager load is true to prevent thread deadlocks. Merge pull request #32882 from utilum/unnecessary_m…

rails commit log流し読み(2018/05/23)

2018/05/23分のコミットです。 CHANGELOGへの追加はありませんでした。 Merge pull request #32931 from jeremyevans/fast-xor actionpack/lib/action_controller/metal/request_forgery_protection.rbの修正です。 ActionController::RequestForgeryProtect…

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

2018/05/22分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activesupport/CHANGELOG.md Add index_with to Enumerable. Allow Range#=== and Range#cover? on Range ctivestorage/CHANGELOG.md Variant arguments of false or nil will no…

rails commit log流し読み(2018/05/21)

2018/05/21分のコミットです。 CHANGELOGへの追加はありませんでした。 SqlTypeMetadata is :nodoc: class [ci skip] activerecord/lib/active_record/connection_adapters/postgresql/type_metadata.rbの修正です。 内部向けのクラスであるPostgreSQLTypeMe…

rails commit log流し読み(2018/05/20)

2018/05/20分のコミットです。 CHANGELOGへの追加はありませんでした。 Add test case that configure config.action_view.finalize_compiled_template_methods railties/test/application/configuration_test.rbの修正です。 ActionView::Template.finalize…

rails commit log流し読み(2018/05/19)

2018/05/19分のコミットです。 CHANGELOGへの追加はありませんでした。 Raise a better exception when a invalid depreation behavior is set activesupport/lib/active_support/deprecation/behaviors.rbの修正です。 ActiveSupport::Deprecation.behavior…

rails commit log流し読み(2018/05/18)

2018/05/18分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activestorage/CHANGELOG.md Generated attachment getter and setter methods are created within the model's GeneratedAssociationMethods module to allow overriding and co…

rails commit log流し読み(2018/05/17)

2018/05/17分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activestorage/CHANGELOG.md Add ActiveStorage::Blob#open, which downloads a blob to a tempfile on disk and yields the tempfile. Deprecate ActiveStorage::Downloading. A…

rails commit log流し読み(2018/05/16)

2018/05/16分のコミットです。 CHANGELOGへの追加はありませんでした。 Don't expose SingularAssociation#replace which is internal API Active Recordの修正です。 内部向けAPIであるSingularAssociation#replaceの可視性をpublicからprivateに変更してい…

rails commit log流し読み(2018/05/15)

2018/05/15分のコミットです。 CHANGELOGへの追加はありませんでした。 Add math tests activerecord/test/cases/arel/attributes/math_test.rb、 activerecord/test/cases/arel/nodes/count_test.rbの修正です。 math operatorについてのテストを追加してい…

rails commit log流し読み(2018/05/14)

2018/05/14分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 railties/CHANGELOG.md Don't generate unused files in app:update task Merge pull request #32837 from ttanimichi/app-update-skip-spring railties/lib/rails/app_updater.r…

rails commit log流し読み(2018/05/13)

2018/05/13分のコミットです。 CHANGELOGへの追加はありませんでした。 Remove ActiveRecord::Transactions#rollback_active_record_state! activerecord/lib/active_record/transactions.rbの修正です。 ActiveRecord::Transactions#rollback_active_record…

rails commit log流し読み(2018/05/12)

2018/05/12分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activejob/CHANGELOG.md Pass the error instance as the second parameter of block executed by discard_on Remove reference to old :text rendering option actionview/lib/a…

rails commit log流し読み(2018/05/11)

2018/05/11分のコミットです。 CHANGELOGへの追加はありませんでした。 Added a lot of Oxford commas 各docのカンマのフォーマットをOxford comma フォーマットに修正しています。 becomes should clear the mutation tracker which is created in after_in…

rails commit log流し読み(2018/05/10)

2018/05/10分のコミットです。 CHANGELOGへの追加はありませんでした。 [ci skip] fix typo in active_support_instrumentation.md guide rails guideのActive Support Instrumentationの修正です。 send_data.action_controller hookについて説明している箇…

rails commit log流し読み(2018/05/09)

2018/05/09分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activestorage/CHANGELOG.md Pass in identify: false as an argument when providing a content_type for ActiveStorage::Attached::{One,Many}#attach` to bypass automatic co…

rails commit log流し読み(2018/05/08)

2018/05/08分のコミットです。 CHANGELOGへの追加はありませんでした。 Remove leftover requires actionview/lib/action_view/digestor.rbの修正です。 不要なrequireを削除しています。 Fix named route parameter example [ci skip] rails guideのRails R…

rails commit log流し読み(2018/05/07)

2018/05/07分のコミットです。 CHANGELOGへの追加はありませんでした。 Remove test_match_p since Rails 6 requires Ruby 2.4.1 or newer activesupport/test/core_ext/regexp_ext_test.rbの修正です。 Regexp#match?メソッドのテストを削除しています。 元…

rails commit log流し読み(2018/05/06)

2018/05/06分のコミットです。 CHANGELOGへの追加はありませんでした。 prefer File.write for bulk writes File.openしてからwriteメソッドを使用してデータを書き込んでいたのを、File.writeを使用するよう修正しています。 Address CI failure due to non…

rails commit log流し読み(2018/05/05)

2018/05/05分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activerecord/CHANGELOG.md Fix logic on disabling commit callbacks so they are not called unexpectedly when errors occur. railties/CHANGELOG.md Don't generate assets' …

rails commit log流し読み(2018/05/04)

2018/05/04分のコミットです。 CHANGELOGへの追加はありませんでした。 Minor edits to the Active Storage guide rails guideのActive Storage Overviewの修正です。 各項のグラマー、フォーマットの修正を行っています。 Merge pull request #29955 from p…

rails commit log流し読み(2018/05/03)

2018/05/03分のコミットです。 CHANGELOGへの追加はありませんでした。 Stream blobs from disk activestorage/app/controllers/active_storage/disk_controller.rbの修正です。 ActiveStorage::DiskControllerでdisk serviceからファイルをダウンロードする…

rails commit log流し読み(2018/05/02)

2018/05/02分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activestorage/CHANGELOG.md The Google Cloud Storage service properly supports streaming downloads. Partly revert #32289 to provide Rails' custom fallback in case rail…

rails commit log流し読み(2018/05/01)

2018/05/01分のコミットです。 CHANGELOGへの追加はありませんでした。 Fix test: threads being nil in ensure `activesupport/test/cache/behaviors/connection_pool_behavior.rb@の修正です。 connection_poolのテストでテストの先頭でthreads変数を初期…