なるようになるブログ

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

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

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

2018/07/30分のコミットです。 CHANGELOGへの追加はありませんでした。 Extract Relation#update_counters for internal use Active Recordの修正です。 共通で使用出来るようにする為に、counter cacheの更新処理をRelation#update_countersメソッドに切り…

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

2018/07/29分のコミットです。 CHANGELOGへの追加はありませんでした。 Merge pull request #32695 from bdewater/enable-regex-cops .rubocop.ymlにPerformance/StartWith、Performance/EndWith、及び、Performance/RegexpMatch`copを追加し、各ファイルに…

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

2018/07/28分のコミットです。 CHANGELOGへの追加はありませんでした。 Avoid logging ActiveRecord::LogSubscriber as the query source when the source is ignored (#33455) activerecord/lib/active_record/log_subscriber.rbの修正です。 Active Record…

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

2018/07/27分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activesupport/CHANGELOG.md Add cpu_time, idle_time, and allocations to Event Add "event object" support to the notification system. Add cpu_time, idle_time, and alloc…

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

2018/07/26分のコミットです。 CHANGELOGへの追加はありませんでした。 Update with_options.rb activesupport/lib/active_support/core_ext/object/with_options.rbのdocの修正です。 Object#with_optionsメソッドのdoc内のexampleコードで、Hashを定義する…

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

2018/07/25分のコミットです。 CHANGELOGへの追加はありませんでした。 Merge pull request #33229 from albertoalmagro/albertoalmagro/prefer-rails-command-over-bin-rails 各ドキュメント、コードでrailsのコマンドを実行するのにbin/railsを使うように…

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

2018/07/24分のコミットです。 CHANGELOGへの追加はありませんでした。 Merge pull request #33371 from lanzhiheng/change-the-text-color-which-wrapped-by-code-tag guides/assets/stylesheets/main.cssの修正です。 Rails guideのcode tag内のtextのcolo…

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

2018/07/23分のコミットです。 CHANGELOGへの追加はありませんでした。 add strict argument checking to ActiveRecord callbacks activemodel/lib/active_model/callbacks.rbの修正です。 Active Recordのcallbackのオプションに不正なkey(:if, :unless, :p…

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

2018/07/22分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 actionpack/CHANGELOG.md ActionDispatch::Http::UploadedFile now delegates to_path to its tempfile. Remove unused attribute activestorage/lib/active_storage/attached.rb…

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

2018/07/21分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activejob/CHANGELOG.md Move enqueue/enqueue_at notifications to an around callback. activerecord/CHANGELOG.md Don't impose primary key order if limit() has already be…

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

2018/07/20分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 actionpack/CHANGELOG.md Prevent RequestEncoder#encode_params to parse falsey params Fix basic auth problem in ActionController::HttpAuthentication::Basic doc actionpa…

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

2018/07/19分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 actionview/CHANGELOG.md Fix issue with button_to's to_form_params Merge pull request #33358 from azbshiri/summer-time activerecord/lib/active_record/connection_adapte…

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

2018/07/18分のコミットです。 CHANGELOGへの追加はありませんでした。 Remove unnecessary tap activestorage/test/models/attached/many_test.rbの修正です。 attachmentのreplaceのテストから不要なtap処理を削除しています。 Merge pull request #33375 …

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

2018/07/17分のコミットです。 CHANGELOGへの追加はありませんでした。 Fix that successive ActiveStorage::Attached::Many#attach calls would overwrite previous attachments activestorage/lib/active_storage/attached/changes/create_many.rbの修正で…

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

2018/07/16分のコミットです。 CHANGELOGへの追加はありませんでした。 Support HTTP Range downloads from disk activestorage/app/controllers/active_storage/disk_controller.rb、 activestorage/lib/active_storage/service/disk_service.rbの修正です…

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

2018/07/15分のコミットです。 CHANGELOGへの追加はありませんでした。 Ensure attribute is a symbol in the added? method activemodel/lib/active_model/errors.rbの修正です。 ActiveModel::Errors#added?で指定されたattributeが追加されているかチェッ…

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

2018/07/14分のコミットです。 CHANGELOGへの追加はありませんでした。 Fix that detaching could purge activestorage/lib/active_storage/attached/many.rb、 activestorage/lib/active_storage/attached/one.rbの修正です。 ActiveStorage::Attached::{On…

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

2018/07/13分のコミットです。 CHANGELOGへの追加はありませんでした。 e4e1b62 broke to_param handling: actionpack/lib/action_controller/test_case.rb、 activesupport/lib/active_support/core_ext/object/to_query.rbの修正です。 Merge pull request…

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

2018/07/12分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activerecord/CHANGELOG.md Add environment & load_config dependency to bin/rake db:seed to enable seed load in environments without Rails and custom DB configuration M…

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

2018/07/11分のコミットです。 CHANGELOGへの追加はありませんでした。 Fix stubbed methods in test cases activerecord/test/cases/fixtures_test.rb、 activerecord/test/cases/tasks/mysql_rake_test.rbの修正です。 stub用のメソッドで、戻り値の指定が…

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

2018/07/10分のコミットです。 CHANGELOGへの追加はありませんでした。 Add deprecations related to rails notes command to Changelog railties/CHANGELOG.mdの修正です。 rake taskとして実装されていたrails notesをrails commandとして実装した、Merge …

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

2018/07/09分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activerecord/CHANGELOG.md Fix default value for mysql time types with specified precision. Allow to explicitly specify whether to output Rails' log to stdout railties…

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

2018/07/08分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activestorage/CHANGELOG.md Uploaded files assigned to a record are persisted to storage when the record is saved instead of immediately. Merge pull request #32986 fro…

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

2018/07/07分のコミットです。 CHANGELOGへの追加はありませんでした。 Update has_secure_password info in the guide rails guideのActive Model Basicsの修正です。 SecurePasswordの項に、has_secure_passwordに任意のattributeが指定出来る旨説明、及び…

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

2018/07/06分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 actionpack/CHANGELOG.md Pass along arguments to underlying get method in follow_redirect! Merge pull request #33297 from claudiob/shorter-attribute_previous_change ac…

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

2018/07/05分のコミットです。 CHANGELOGへの追加はありませんでした。 A Class is a Module so we remove one conditional activesupport/lib/active_support/lazy_load_hooks.rbの修正です。 LazyLoadHooks#execute_hookメソッドでbaseがClassかModuleかチ…

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

2018/07/04分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 actionview/CHANGELOG.md Mark arrays of translations as trusted safe by using the _html suffix. Example: Add safe html support to arrays of translations actionview/lib…

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

2018/07/03分のコミットです。 CHANGELOGへの追加はありませんでした。 Merge pull request #33242 from brasic/sqlite-readonly activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rbの修正です。 SQLite3AdapterでSQLite3::Databaseにr…

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

2018/07/02分のコミットです。 CHANGELOGへの追加はありませんでした。 Merge pull request #32706 from yhirano55/fix-app-update-when-hyphenated-name-is-given railties/lib/rails/generators/rails/app/app_generator.rbの修正です。 AppGenerator#app_…

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

2018/07/01分のコミットです。 CHANGELOGにのったコミットは以下の通りです。 activejob/CHANGELOG.md Allow queue option to assert_no_enqueued_jobs. Allow queue option to assert_no_enqueued_jobs activejob/lib/active_job/test_helper.rbの修正です…