- 25 2月, 2015 25 次提交
-
-
由 Aaron Patterson 提交于
we do this in other adapters, and it's a nice speed improvement
-
由 Aaron Patterson 提交于
AR: translate_exception_class() no longer logs error.
-
由 Arthur Nogueira Neves 提交于
Spike on new transaction callbacks
-
由 Aaron Patterson 提交于
Rely on through table name in has_many fixtures
-
由 Arthur Neves 提交于
-
由 Arthur Neves 提交于
[fixes #18903]
-
由 Arthur Neves 提交于
Add after_commit_without_transaction_enrollment and after_rollback_without_transaction_enrollment private callbacks so we can create after_commit and after_rollback callbacks without having the records automatic enrolled in the transaction. [fixes #18904]
-
由 Paul Annesley 提交于
-
由 Jeremy Kemper 提交于
-
由 Robin Dupret 提交于
-
由 Sean Griffin 提交于
Fixes #19057
-
由 Jeremy Kemper 提交于
Fix c4794806 to account for from_value -> from_clause in bdc51416
-
由 Rafael Mendonça França 提交于
Fix appending table_name to select and group when used with subquery (fr...
-
由 Rafael Mendonça França 提交于
Fix mysql's schema.rb dumper so it does not include limit on emulated booleans
-
由 Court3nay 提交于
-
由 Rafael Mendonça França 提交于
activemodel: make .model_name json encodable
-
由 Ian Ker-Seymer 提交于
Previously, calling `User.model_name.to_json` would result in an infinite recursion as `.model_name` inherited its `.as_json` behavior from Object. This patch fixes that unexpected behavior by delegating `.as_json` to :name.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Deprecate `AbstractController::Callbacks#skip_action_callback`
-
由 Yves Senn 提交于
[Toby Ovod-Everett & Andrey Nering & Yves Senn] Closes #17726. Closes #10939. This patch makes three distinct modifications: 1. no longer fall back to disabling user triggers if system triggers can't be disabled 2. warn the user when referential integrity can't be disabled 3. restore aborted transactions when referential integrity can't be disabled The motivation behind these changes is to make the behavior of Rails transparent and less error-prone. To require superuser privileges is not optimal but it's what Rails currently needs. Users who absolutely rely on disabling user triggers can patch `disable_referential_integrity`. We should investigate `SET CONSTRAINTS` as a possible solution which does not require superuser privileges. /cc @matthewd
-
由 Rafael Mendonça França 提交于
Remove unused table
-
由 Ryuta Kamizono 提交于
`postgresql_xml_data_type` table is used from nowhere.
-
由 Rafael Mendonça França 提交于
Move back `new_column_definition` into `TableDefinition`
-
由 Ryuta Kamizono 提交于
Only `primary_key` should be extracted by d47357e2 in #19030, but `new_coclumn_definition` was also extracted because #17631 is merged previously, then #19030 is auto merged without conflicts. This commit is for move back `new_column_definition` into `TableDefinition`.
-
- 24 2月, 2015 10 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Iain Beeston 提交于
As part of #19029, in future `skip_before_action`, `skip_after_action` and `skip_around_action` will raise an ArgumentError if the specified callback does not exist. `skip_action_callback` calls all three of these methods and will almost certainly result in an ArgumentError. If anyone wants to remove all three callbacks then they can still call the three individual methods. Therefore let's deprecate `skip_action_callback` now and remove it when #19029 is merged.
-
由 Rafael Mendonça França 提交于
`ActiveJob::QueueAdapters::TestAdapter` is now a singleton
-
由 Rafael Mendonça França 提交于
Extract the short-hand column methods into `ColumnMethods`
-
由 Tamir Duberstein 提交于
Since `ActiveJob::TestHelper` globally sets `ActiveJob::Base.queue_adapter` on setup, there is no benefit in instantiating a new `TestAdapter` per tests. The original rationale was to allow parallel tests to run without interference, but since they'd all mutate the global `ActiveJob::Base.queue_adapter`, that was never realized.
-
由 Santiago Pastorino 提交于
Cleaning actionpack tests
-
由 Rafael Mendonça França 提交于
Allow limit option for MySQL bigint primary key support.
-
由 Abdelkader Boudih 提交于
Fix typo
-
由 Luke Hutscal 提交于
I think this was supposed to be "roundTrip".
-
由 Ryuta Kamizono 提交于
Example: create_table :foos, id: :primary_key, limit: 8 do |t| end # or create_table :foos, id: false do |t| t.column :id, limit: 8 end
-
- 23 2月, 2015 5 次提交
-
-
由 Yves Senn 提交于
-
由 Richard Schneeman 提交于
Improve generator name suggestions a bit.
-
由 Abdelkader Boudih 提交于
[ci skip] Fix `Object-Relational` to `Object Relational`
-
由 yui-knk 提交于
-
由 Rafael Mendonça França 提交于
Require `belongs_to` by default.
-