- 11 4月, 2013 1 次提交
-
-
由 Noemj 提交于
-
- 25 2月, 2013 32 次提交
-
-
由 Aaron Patterson 提交于
Changed update to use prepared statements
-
由 Guillermo Iguaran 提交于
Raising an ActiveRecordError when one tries to use touch on a new record object
-
由 wangjohn 提交于
object that has not yet been persisted. This behavior follows the precedent set by update_columns.
-
由 Guillermo Iguaran 提交于
This reverts commit 046e27a7. Check https://github.com/rails/rails/pull/8815#issuecomment-14026122 for details.
-
由 Steve Klabnik 提交于
AS JSON encoder: remove monkey patch of Array
-
由 Carlos Antonio da Silva 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Added `ActiveSupport::TimeWithZone#to_r` for `Time#at` compatibility. Closes #9404
-
由 stopdropandrew 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Taking the wise advice of @carlosantoniodasilva
-
由 Xavier Noria 提交于
-
由 Rafael Mendonça França 提交于
don't apply invalid ordering when preloading hmt associations.
-
由 Yves Senn 提交于
closes #8663. When preloading a hmt association there two possible scenarios: 1.) preload with 2 queries: first hm association, then hmt with id IN () 2.) preload with join: hmt association is loaded with a join on the hm association The bug was happening in scenario 1.) with a normal order clause on the hmt association. The ordering was also applied when loading the hm association, which resulted in the error. This patch only applies the ordering the the hm-relation if we are performing a join (2). Otherwise the order will only appear in the second query (1).
-
由 Rafael Mendonça França 提交于
update the example for `after_commit` in the guides.
-
由 Yves Senn 提交于
This is a follow up to #9356.
-
由 Xavier Noria 提交于
-
由 Rafael Mendonça França 提交于
Remove `--builder` option from `rails` command
-
由 Prem Sichanugrist 提交于
Ability to use a custom builder by passing `--builder` (or `-b`) has been removed. Consider using application template instead. See this guide for more detail: http://guides.rubyonrails.org/rails_application_templates.html
-
由 Xavier Noria 提交于
remove config.auto_explain_threshold_in_seconds
-
由 Yves Senn 提交于
We discussed that the auto explain feature is rarely used. This PR removes only the automatic explain. You can still display the explain output for any given relation using `ActiveRecord::Relation#explain`. As a side-effect this should also fix the connection problem during asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie` forced a connection.
-
由 Guillermo Iguaran 提交于
-
由 Rafael Mendonça França 提交于
Updated doc to clarify about update_all and delete_all
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Rafael Mendonça França 提交于
Point to the Protected Attributes gem to those who want a smoothly upgrade path before to change to use Strong Parameters. [ci skip]
-
由 Neeraj Singh 提交于
delete_all will call callbacks if depdent option is specified as :destroy. This behavior is not very clear from the documetation and hence issue #7832 was raised. closes #7832
-
由 Rafael Mendonça França 提交于
The connection url parssing don't accept the socket option
-
由 Rafael Mendonça França 提交于
We should only type cast when we need to use. Related to 4b005fb3
-
由 Guillermo Iguaran 提交于
Revert "move config.assets.precompile into config/application.rb"
-
由 grosser 提交于
-
由 Steve Klabnik 提交于
multiple actions for :on option with `after_commit` and `after_rollback`
-
- 24 2月, 2013 7 次提交
-
-
由 Rafael Mendonça França 提交于
test case to prevent duplicated associations with custom PK.
-
由 Yves Senn 提交于
closes #9201
-
由 Carlos Antonio da Silva 提交于
Address failure test_rename_column_with_multi_column_index with Oracle
-
由 Yasuo Honda 提交于
because of Oracle database index length spec.
-
由 Rafael Mendonça França 提交于
also rename the test-case class inside columns_test.rb
-
由 Yves Senn 提交于
-
由 Xavier Noria 提交于
Reason: on a second thought, minitest prints a seed as run option regardless of the test order, and it actually calls srand, so albeit it might be misleading I believe, it is the way it is and should be left that way. This reverts commit c15862ae.
-