aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-035-46/+15
|
* no need to to_sym the column name, leave it as-isAaron Patterson2013-07-021-1/+1
|
* resolve aliases before passing the hash to the predicate builderAaron Patterson2013-07-023-4/+12
|
* Merge pull request #11253 from neerajdotname/removed-insert-sqlRafael Mendonça França2013-07-023-10/+10
|\ | | | | Removed support for deprecated `insert_sql` in associations.
| * Removed support for deprecated `insert_sql` in associations.Neeraj Singh2013-07-023-10/+10
|/
* Merge pull request #11252 from neerajdotname/use-extract-optionsRafael Mendonça França2013-07-021-1/+1
|\ | | | | use extract_options!
| * use extract_options!Neeraj Singh2013-07-021-1/+1
| |
* | Merge pull request #11251 from neerajdotname/deprecated-finder-sqlRafael Mendonça França2013-07-029-210/+23
|\ \ | |/ |/| Removed support for deprecated finder sql
| * fix indentationNeeraj Singh2013-07-021-14/+14
| |
| * Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-029-197/+10
|/
* Add CHANGELOG enty for #11235Rafael Mendonça França2013-07-022-1/+4
|
* Merge pull request #11241 from neerajdotname/deprecated-counter-sqlRafael Mendonça França2013-07-028-79/+19
|\ | | | | Removed support for deprecated `counter_sql`
| * Removed support for deprecated `counter_sql`Neeraj Singh2013-07-028-79/+19
|/
* Merge pull request #11240 from neerajdotname/remove-not-useful-testCarlos Antonio da Silva2013-07-021-8/+0
|\ | | | | Removing not useful test related to reflect_on_all_associations
| * Removing not useful test related to reflect_on_all_associationsNeeraj Singh2013-07-021-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The comment in the test pretty much summarizes the issue. `FIXME these assertions bust a lot` Adding any type of association in class `Firm` will break this test. I removed some deprecated stuff and this test failed. I do not think this test provides any useful value. First of all who counted last that 39 is the right number of associations. Secondly there are a large number of tests which depend on reflection returning right information about associations. Those tests will start failing if there is a bug in the code.
* | Merge pull request #11244 from ccarruitero/testing-guideCarlos Antonio da Silva2013-07-021-2/+2
|\ \ | |/ |/| update test names in testing guide [ci-skip]
| * update test names in testing guide [ci-skip]Cesar Carruitero2013-07-021-2/+2
|/
* Merge pull request #11236 from ↵Yves Senn2013-07-013-22/+4
|\ | | | | | | | | vipulnsward/deprecate_date_to_time_in_current_zone Remove deprecated `Date#to_time_in_current_zone`
| * Remove deprecated `Date#to_time_in_current_zone`Vipul A M2013-07-023-22/+4
| |
* | Merge pull request #11237 from vipulnsward/remove_whiny_nilsYves Senn2013-07-012-3/+4
|\ \ | |/ |/| Remove deprecated `config.whiny_nils`
| * Remove deprecated `config.whiny_nils`Vipul A M2013-07-022-3/+4
|/
* Use block instead passing as argumentRafael Mendonça França2013-07-021-1/+1
|
* Merge pull request #11233 from frodsan/remove_page_cache_extension_methodRafael Mendonça França2013-07-013-25/+4
|\ | | | | Remove `page_cache_extension` method
| * Remove `page_cache_extension` deprecated methodFrancesco Rodriguez2013-07-013-25/+4
|/
* Merge pull request #10604 from ↵Rafael Mendonça França2013-07-019-17/+117
|\ | | | | | | | | | | | | | | | | neerajdotname/delete_all_should_not_call_callbacks Do not invoke callbacks when delete_all is called Conflicts: activerecord/CHANGELOG.md
| * Do not invoke callbacks when delete_all is calledNeeraj Singh2013-06-309-17/+117
| | | | | | | | | | | | | | | | | | | | | | Method `delete_all` should not be invoking callbacks and this feature was deprecated in Rails 4.0. This is being removed. `delete_all` will continue to honor the `:dependent` option. However if `:dependent` value is `:destroy` then the default deletion strategy for that collection will be applied. User can also force a deletion strategy by passing parameter to `delete_all`. For example you can do `@post.comments.delete_all(:nullify)`
* | Merge pull request #11229 from neerajdotname/deprecated-default-scopeRafael Mendonça França2013-07-013-6/+8
|\ \ | | | | | | calling default_scope without a proc will raise ArgumentError
| * | calling default_scope without a proc will raise ArgumentErrorNeeraj Singh2013-07-023-6/+8
|/ / | | | | | | Calling default_scope without a proc will now raise `ArgumentError`.
* | Merge pull request #11230 from ↵Rafael Mendonça França2013-07-011-5/+0
|\ \ | | | | | | | | | | | | frodsan/remove_deprecated_clear_stale_cached_connections_method Remove AR::Connection#clear_stale_cached_connections! deprecated method
| * | Remove deprecated AR::Connection#clear_stale_cached_connections! methodFrancesco Rodriguez2013-07-011-5/+0
| | |
* | | Merge pull request #11231 from neerajdotname/deprecated-type-cast-codeRafael Mendonça França2013-07-012-24/+4
|\ \ \ | |/ / |/| | Removed deprecated method type_cast_code from Column
| * | Removed deprecated method type_cast_code from ColumnNeeraj Singh2013-07-022-24/+4
|/ /
* | Remove deprecated `Proc#bind` with no replacement.Carlos Antonio da Silva2013-07-014-32/+4
| |
* | Remove deprecated Array#uniq_by and Array#uniq_by!Carlos Antonio da Silva2013-07-014-50/+5
| | | | | | | | Use native Array#uniq and Array#uniq! instead.
* | Remove deprecated AS::BasicObject, use AS::ProxyObject insteadCarlos Antonio da Silva2013-07-014-24/+4
| |
* | Remove deprecated constants from Action ControllerCarlos Antonio da Silva2013-07-013-12/+12
| | | | | | | | | | | | | | | | | | | | ActionController::AbstractRequest => ActionDispatch::Request ActionController::Request => ActionDispatch::Request ActionController::AbstractResponse => ActionDispatch::Response ActionController::Response => ActionDispatch::Response ActionController::Routing => ActionDispatch::Routing ActionController::Integration => ActionDispatch::Integration ActionController::IntegrationTest => ActionDispatch::IntegrationTest
* | avoid intermediate zipped arrayAaron Patterson2013-07-011-3/+2
| |
* | make the identity type a singleton to save on object creationAaron Patterson2013-07-012-3/+7
| |
* | only deal with strings internallyAaron Patterson2013-07-011-3/+3
| |
* | Merge pull request #11222 from neerajdotname/removed-deprecation-for-sqlRafael Mendonça França2013-07-015-41/+8
|\ \ | | | | | | Removed deprecated options for assocations
| * | Removed deprecated options for assocationsNeeraj Singh2013-07-025-41/+8
| | | | | | | | | | | | | | | Deprecated options `delete_sql`, `insert_sql`, `finder_sql` and `counter_sql` have been deleted.
* | | build an AST rather than slapping strings togetherAaron Patterson2013-07-011-11/+7
|/ /
* | Remove deprecation messages about protected_attributes and rails-observersCarlos Antonio da Silva2013-07-011-39/+0
| |
* | stop exposing the underlying alias datastructureAaron Patterson2013-07-011-4/+4
| |
* | we don't need to to_s the columnAaron Patterson2013-07-011-1/+1
| |
* | Add missing requireCarlos Antonio da Silva2013-07-011-0/+1
| | | | | | | | | | | | Commit cfa35c55bb38b27af305ad21408e181bc3cd739e removed the buffered_logger from AS, which required the logger file. Now we need to add the proper require here.
* | the data structure used to store attribute aliases should not be exposedAaron Patterson2013-07-012-2/+12
| |
* | remove deprecated `ActiveRecord::Base#connection` method.Yves Senn2013-07-013-12/+5
| |
* | Merge pull request #11227 from vipulnsward/form_builderYves Senn2013-07-013-17/+5
|\ \ | | | | | | Remove `FormBuilder` deprecation warning about block argument and tests
| * | Remove `FormBuilder` deprecation warning about block argument and associated ↵Vipul A M2013-07-023-17/+5
| | | | | | | | | | | | tests