aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Collapse)AuthorAgeFilesLines
* refactor the method cache objects to have a superclassAaron Patterson2013-07-033-51/+41
|
* keep a cache of writer methodsAaron Patterson2013-07-031-11/+34
|
* 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-031-6/+0
| | | | `ActiveRecord::Fixtures.default_fixture_model_name`.
* Removed deprecated method `columns_for_remove`Neeraj Singh2013-07-031-6/+0
|
* 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-021-9/+0
|\ \ | | | | | | Remove deprecated SchemaStatements#distinct
| * | Remove deprecated SchemaStatements#distinctFrancesco Rodriguez2013-07-021-9/+0
| | |
* | | 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-021-1/+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-021-1/+9
| | |
* | | lock around mutating the generated methods moduleAaron Patterson2013-07-021-2/+4
| | |
* | | remove private attribute readerAaron Patterson2013-07-021-6/+2
| | |
* | | 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
|/ /
* | deprecated `ActiveRecord::TestCase` is no longer public.Yves Senn2013-07-022-97/+0
| | | | | | | | /cc @tenderlove
* | Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-035-11/+4
| |
* | Removed support for deprecated `delete_sql` in associations.Neeraj Singh2013-07-032-16/+11
| |
* | 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-022-10/+6
| |
* | fix indentationNeeraj Singh2013-07-021-14/+14
| |
* | Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-023-41/+6
| |
* | Removed support for deprecated `counter_sql`Neeraj Singh2013-07-024-18/+14
| |
* | Merge pull request #10604 from ↵Rafael Mendonça França2013-07-012-15/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-302-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-3/+2
| | | | | | | | | | | | 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-021-24/+0
|/ / /
* | | 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-012-19/+0
|\ \ \ | | | | | | | | Removed deprecated options for assocations
| * | | Removed deprecated options for assocationsNeeraj Singh2013-07-022-19/+0
| | | | | | | | | | | | | | | | | | | | 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
| | |
* | | remove deprecated `ActiveRecord::Base#connection` method.Yves Senn2013-07-011-8/+0
| | |