aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stop storing multiple copies of a particular attribute nameAaron Patterson2013-07-023-16/+16
|
* eagerly assign the attribute name cache, remove const_missingAaron Patterson2013-07-023-2/+9
|
* initialize generated modules on inclusion and on inheritenceAaron Patterson2013-07-022-8/+1
|
* push attribute constant cache in to the attribute methods moduleAaron Patterson2013-07-022-7/+9
|
* fix to_sql output on eager loaded relationsAaron Patterson2013-07-022-1/+17
|
* lock around mutating the generated methods moduleAaron Patterson2013-07-021-2/+4
|
* remove private attribute readerAaron Patterson2013-07-022-8/+4
|
* define attribute methods in a thread safe mannerAaron Patterson2013-07-021-5/+4
|
* we don't need to use active support *everwhere* common.Aaron Patterson2013-07-021-1/+1
|
* initialize ivars so we don't have to constantly check themAaron Patterson2013-07-021-1/+3
|
* eagerly initialize the attributes module to avoid check-then-set race conditionsAaron Patterson2013-07-023-9/+17
|
* Merge pull request #11257 from arunagw/adding_actionviewCarlos Antonio da Silva2013-07-021-1/+1
|\ | | | | Adding actionview in Rakefile to run test [ci skip]
| * Adding actionview in Rakefile to run test Arun Agrawal2013-07-021-1/+1
| | | | | | and create versions
* | remove wrong documentation from a :nodoc:'d methodAaron Patterson2013-07-021-1/+0
|/
* remove unused `ActiveRecord::TestCase#sqlite3` method.Yves Senn2013-07-021-6/+0
|
* deprecated `ActiveRecord::TestCase` is no longer public.Yves Senn2013-07-024-99/+100
| | | | /cc @tenderlove
* Merge pull request #11255 from neerajdotname/restrict-be-goneCarlos Antonio da Silva2013-07-029-49/+9
|\ | | | | Dropped deprecated option `:restrict` for `:dependent` in associations
| * Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-039-49/+9
|/
* Merge pull request #11254 from neerajdotname/delete-sql-be-goneRafael Mendonça França2013-07-025-46/+15
|\ | | | | Removed support for deprecated `delete_sql` in associations.
| * 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