- 22 6月, 2017 1 次提交
-
-
由 Edouard CHIN 提交于
- On Mysql, some command line options that affect option-file handling such as `--no-defaults` have to be passed before any other options - Modified rails to pass them right after the `mysql` command - Ref https://dev.mysql.com/doc/refman/5.7/en/option-file-options.html and https://bugs.mysql.com/bug.php?id=83386 - Ref #27437
-
- 17 6月, 2017 1 次提交
-
-
由 Rafael França 提交于
Log subscriber - avoid rescuing certain exceptions
-
- 16 6月, 2017 6 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Guillermo Iguaran 提交于
Document setting the delivery_job for ActionMailer [ci skip]
-
由 Matthew Mongeau 提交于
-
由 Rafael França 提交于
[ActiveModel] Improve the performance of mass assignments
-
由 Rafael França 提交于
Don't map id to primary key in raw_write_attribute
-
由 Rafael França 提交于
Fix `dump_schema_information` with empty versions
-
- 15 6月, 2017 19 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Guillermo Iguaran 提交于
Add test cases for #28274
-
由 Guillermo Iguaran 提交于
Allow mailers to configure their delivery job
-
由 Eugene Kenny 提交于
The `raw_write_attribute` method is used to update a record's attributes to reflect the new state of the database in `update_columns`. The hash provided to `update_columns` is turned into an UPDATE query directly, which means passing an `id` key results in an update to the `id` column, even if the model uses a different attribute as its primary key. When updating the record, we don't want to apply the `id` column change to the primary key attribute, since that's not what happened in the query. Without the code to handle this case, `write_attribute_with_type_cast` no longer contains any logic shared between `raw_write_attribute` and `write_attribute`, so we can inline the code into those two methods.
-
由 Ryuta Kamizono 提交于
Fixes #29460.
-
由 Vipul A M 提交于
-
由 Vipul A M 提交于
Update `working with javascript` readme to support rails-ujs behaviour. [ci skip]
-
由 Matthew Mongeau 提交于
Setting delivery_job on a mailer class will cause MessageDelivery to use the specified job instead of ActionMailer::DeliveryJob: class MyMailer < ApplicationMailer self.delivery_job = MyCustomDeliveryJob ... end
-
由 Dmytro Vasin 提交于
-
由 Rafael França 提交于
Allow `uuid_test.rb` to be loaded on all adapters
-
由 Rafael França 提交于
Prevent extra `sync_with_transaction_state`
-
由 shotat 提交于
-
由 Ryuta Kamizono 提交于
`object.id` is correctly restored since #29378 has merged. Closes #28274, Closes #28395. [Ryuta Kamizono & Eugene Kenny]
-
由 Rafael França 提交于
Allow translate default option to accept an array similar to i18n.t
-
由 Ryuta Kamizono 提交于
`sync_with_transaction_state` in `to_key` is unneeded because `id` also does.
-
由 Vipul A M 提交于
-
由 Eugene Kenny 提交于
Running `bin/test` from the activerecord directory produces this error: test/cases/adapters/postgresql/uuid_test.rb:43:in `<class:PostgresqlUUIDTest>': undefined method `supports_pgcrypto_uuid?' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007fc405e72a68> (NoMethodError) The test only actually runs on the PostgreSQL adapter; we can avoid triggering the error on other adapters with this `respond_to?` guard.
-
由 Rafael França 提交于
Avoid overwriting the methods of `AttributeMethods::PrimaryKey`
-
由 Matthew Draper 提交于
Use `require_relative` instead of `require` with full path
-
- 14 6月, 2017 4 次提交
-
-
由 bogdanvlviv 提交于
-
由 shotat 提交于
-
由 shotat 提交于
-
由 Rafael França 提交于
Add test for backward compatibility when using change_table
-
- 13 6月, 2017 3 次提交
-
-
由 Koichi ITO 提交于
-
由 Ryuta Kamizono 提交于
Fix formatting of AD::FileHandler and AD::Static doc [ci skip]
-
由 yuuji.yaginuma 提交于
-
- 12 6月, 2017 6 次提交
-
-
由 Vipul A M 提交于
Add note to Railtie docs to use unique filenames
-
由 Tim Vergenz 提交于
The fact that the names need to be globally unique was not obvious to me, so I thought it'd be worth documenting. This not being clear was the cause of both ctran/annotate_models#468 and instructure/outrigger#1. [ci skip]
-
由 Guillermo Iguaran 提交于
Drop IRB out of the web-console Gemfile comment
-
由 Vipul A M 提交于
-
由 Genadi Samokovarov 提交于
We don't provide exactly the same experience as IRB does, so let's not advertize it like that. We can say that it's an interactive console, without further references. I have also followed byebug's comment and changed the calling `console` part. Hopefully, this can hint that the invocation is not view specific and you can use it like the debugger statement. [ci skip]
-
由 Ryuta Kamizono 提交于
Fix `Message::Encryptor` default cipher [ci skip]
-