- 17 6月, 2017 4 次提交
-
-
由 Vipul A M 提交于
Remove references to deprecared raise_runtime_errors from documentation, which is always enabled now. Ref: https://github.com/rails/sprockets-rails/commit/655b93bffc6f51b96a7cc097f9010942693bfaae and https://github.com/rails/rails/pull/24070 . Fixes #29483 [ci skip] (#29484)
-
由 Rafael França 提交于
Add the `<app_root>/test` dir to the `$LOAD_PATH` as a string:
-
由 Edouard CHIN 提交于
- [Rails <= 5.0](https://github.com/rails/rails/blob/5-0-stable/railties/lib/rails/commands/test.rb#L6) used to add the `<app_root>/test` as a string; this behaviour changed in rails 5.1, it's appending a `Pathname` object
-
由 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 4 次提交
-
-
由 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 提交于
-