aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
...
* | move the reader method cache in to the read moduleAaron Patterson2013-07-032-49/+49
| |
* | keep a cache of the reader methods so we can reuse themAaron Patterson2013-07-032-34/+50
| |
* | Remove deprecated `ActiveRecord::Fixtures.find_table_name` in favour of ↵Vipul A M2013-07-032-6/+5
| | | | | | | | `ActiveRecord::Fixtures.default_fixture_model_name`.
* | Removed deprecated method `columns_for_remove`Neeraj Singh2013-07-032-6/+4
| |
* | Merge pull request #10565 from prathamesh-sonpatki/rake-dbCarlos Antonio da Silva2013-07-021-3/+3
|\ \ | | | | | | Improved grammar and replaced 'dbs' slang with 'databases'
| * | Improved grammar and replaced 'dbs' slang with 'databases'Prathamesh Sonpatki2013-06-271-3/+3
| | |
* | | Merge pull request #11258 from frodsan/remove_deprecated_distinctCarlos Antonio da Silva2013-07-023-55/+4
|\ \ \ | | | | | | | | Remove deprecated SchemaStatements#distinct
| * | | Remove deprecated SchemaStatements#distinctFrancesco Rodriguez2013-07-023-55/+4
| | | |
* | | | reduce the amount of code Ruby has to parseAaron Patterson2013-07-021-3/+8
| | | |
* | | | freeze the constant value so it isn't duped when used as a hash keyAaron Patterson2013-07-021-1/+1
| | | |
* | | | making the comment more accurateAaron Patterson2013-07-021-2/+5
| | | |
* | | | 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-022-8/+13
|/ / /
* | | 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
* | | Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-039-49/+9
| | |
* | | 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
| | |
* | | Removed support for deprecated `insert_sql` in associations.Neeraj Singh2013-07-023-10/+10
| | |
* | | 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
| | |
* | | Removed support for deprecated `counter_sql`Neeraj Singh2013-07-028-79/+19
| | |
* | | 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 #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)`
* | | | 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
| | | | |
* | | | | Removed deprecated method type_cast_code from ColumnNeeraj Singh2013-07-022-24/+4
|/ / / /
* | | | 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
| | | |
* | | | the data structure used to store attribute aliases should not be exposedAaron Patterson2013-07-011-2/+2
| | | |