Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | move the reader method cache in to the read module | Aaron Patterson | 2013-07-03 | 2 | -49/+49 | |
| | | ||||||
* | | keep a cache of the reader methods so we can reuse them | Aaron Patterson | 2013-07-03 | 2 | -34/+50 | |
| | | ||||||
* | | Remove deprecated `ActiveRecord::Fixtures.find_table_name` in favour of ↵ | Vipul A M | 2013-07-03 | 2 | -6/+5 | |
| | | | | | | | | `ActiveRecord::Fixtures.default_fixture_model_name`. | |||||
* | | Removed deprecated method `columns_for_remove` | Neeraj Singh | 2013-07-03 | 2 | -6/+4 | |
| | | ||||||
* | | Merge pull request #10565 from prathamesh-sonpatki/rake-db | Carlos Antonio da Silva | 2013-07-02 | 1 | -3/+3 | |
|\ \ | | | | | | | Improved grammar and replaced 'dbs' slang with 'databases' | |||||
| * | | Improved grammar and replaced 'dbs' slang with 'databases' | Prathamesh Sonpatki | 2013-06-27 | 1 | -3/+3 | |
| | | | ||||||
* | | | Merge pull request #11258 from frodsan/remove_deprecated_distinct | Carlos Antonio da Silva | 2013-07-02 | 3 | -55/+4 | |
|\ \ \ | | | | | | | | | Remove deprecated SchemaStatements#distinct | |||||
| * | | | Remove deprecated SchemaStatements#distinct | Francesco Rodriguez | 2013-07-02 | 3 | -55/+4 | |
| | | | | ||||||
* | | | | reduce the amount of code Ruby has to parse | Aaron Patterson | 2013-07-02 | 1 | -3/+8 | |
| | | | | ||||||
* | | | | freeze the constant value so it isn't duped when used as a hash key | Aaron Patterson | 2013-07-02 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | making the comment more accurate | Aaron Patterson | 2013-07-02 | 1 | -2/+5 | |
| | | | | ||||||
* | | | | stop storing multiple copies of a particular attribute name | Aaron Patterson | 2013-07-02 | 3 | -16/+16 | |
| | | | | ||||||
* | | | | eagerly assign the attribute name cache, remove const_missing | Aaron Patterson | 2013-07-02 | 3 | -2/+9 | |
| | | | | ||||||
* | | | | initialize generated modules on inclusion and on inheritence | Aaron Patterson | 2013-07-02 | 2 | -8/+1 | |
| | | | | ||||||
* | | | | push attribute constant cache in to the attribute methods module | Aaron Patterson | 2013-07-02 | 2 | -7/+9 | |
| | | | | ||||||
* | | | | fix to_sql output on eager loaded relations | Aaron Patterson | 2013-07-02 | 2 | -1/+17 | |
| | | | | ||||||
* | | | | lock around mutating the generated methods module | Aaron Patterson | 2013-07-02 | 1 | -2/+4 | |
| | | | | ||||||
* | | | | remove private attribute reader | Aaron Patterson | 2013-07-02 | 2 | -8/+4 | |
| | | | | ||||||
* | | | | define attribute methods in a thread safe manner | Aaron Patterson | 2013-07-02 | 1 | -5/+4 | |
| | | | | ||||||
* | | | | we don't need to use active support *everwhere* common. | Aaron Patterson | 2013-07-02 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | initialize ivars so we don't have to constantly check them | Aaron Patterson | 2013-07-02 | 1 | -1/+3 | |
| | | | | ||||||
* | | | | eagerly initialize the attributes module to avoid check-then-set race conditions | Aaron Patterson | 2013-07-02 | 2 | -8/+13 | |
|/ / / | ||||||
* | | | remove unused `ActiveRecord::TestCase#sqlite3` method. | Yves Senn | 2013-07-02 | 1 | -6/+0 | |
| | | | ||||||
* | | | deprecated `ActiveRecord::TestCase` is no longer public. | Yves Senn | 2013-07-02 | 4 | -99/+100 | |
| | | | | | | | | | | | | /cc @tenderlove | |||||
* | | | Dropped deprecated option `:restrict` for `:dependent` in associations | Neeraj Singh | 2013-07-03 | 9 | -49/+9 | |
| | | | ||||||
* | | | Removed support for deprecated `delete_sql` in associations. | Neeraj Singh | 2013-07-03 | 5 | -46/+15 | |
| | | | ||||||
* | | | no need to to_sym the column name, leave it as-is | Aaron Patterson | 2013-07-02 | 1 | -1/+1 | |
| | | | ||||||
* | | | resolve aliases before passing the hash to the predicate builder | Aaron Patterson | 2013-07-02 | 3 | -4/+12 | |
| | | | ||||||
* | | | Removed support for deprecated `insert_sql` in associations. | Neeraj Singh | 2013-07-02 | 3 | -10/+10 | |
| | | | ||||||
* | | | fix indentation | Neeraj Singh | 2013-07-02 | 1 | -14/+14 | |
| | | | ||||||
* | | | Removed support for deprecated `finder_sql` in associations. | Neeraj Singh | 2013-07-02 | 9 | -197/+10 | |
| | | | ||||||
* | | | Add CHANGELOG enty for #11235 | Rafael Mendonça França | 2013-07-02 | 2 | -1/+4 | |
| | | | ||||||
* | | | Removed support for deprecated `counter_sql` | Neeraj Singh | 2013-07-02 | 8 | -79/+19 | |
| | | | ||||||
* | | | Removing not useful test related to reflect_on_all_associations | Neeraj Singh | 2013-07-02 | 1 | -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ça | 2013-07-01 | 9 | -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 called | Neeraj Singh | 2013-06-30 | 9 | -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 ArgumentError | Neeraj Singh | 2013-07-02 | 3 | -6/+8 | |
| | | | | | | | | | | | | | | | | Calling default_scope without a proc will now raise `ArgumentError`. | |||||
* | | | | Merge pull request #11230 from ↵ | Rafael Mendonça França | 2013-07-01 | 1 | -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! method | Francesco Rodriguez | 2013-07-01 | 1 | -5/+0 | |
| | | | | | ||||||
* | | | | | Removed deprecated method type_cast_code from Column | Neeraj Singh | 2013-07-02 | 2 | -24/+4 | |
|/ / / / | ||||||
* | | | | avoid intermediate zipped array | Aaron Patterson | 2013-07-01 | 1 | -3/+2 | |
| | | | | ||||||
* | | | | make the identity type a singleton to save on object creation | Aaron Patterson | 2013-07-01 | 2 | -3/+7 | |
| | | | | ||||||
* | | | | only deal with strings internally | Aaron Patterson | 2013-07-01 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | Merge pull request #11222 from neerajdotname/removed-deprecation-for-sql | Rafael Mendonça França | 2013-07-01 | 5 | -41/+8 | |
|\ \ \ \ | | | | | | | | | | | Removed deprecated options for assocations | |||||
| * | | | | Removed deprecated options for assocations | Neeraj Singh | 2013-07-02 | 5 | -41/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Deprecated options `delete_sql`, `insert_sql`, `finder_sql` and `counter_sql` have been deleted. | |||||
* | | | | | build an AST rather than slapping strings together | Aaron Patterson | 2013-07-01 | 1 | -11/+7 | |
|/ / / / | ||||||
* | | | | Remove deprecation messages about protected_attributes and rails-observers | Carlos Antonio da Silva | 2013-07-01 | 1 | -39/+0 | |
| | | | | ||||||
* | | | | stop exposing the underlying alias datastructure | Aaron Patterson | 2013-07-01 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | we don't need to to_s the column | Aaron Patterson | 2013-07-01 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | the data structure used to store attribute aliases should not be exposed | Aaron Patterson | 2013-07-01 | 1 | -2/+2 | |
| | | | |