aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Add comment to point out String#[] is intentionalAndrew White2014-11-021-0/+1
* Revert "Replace String index juggling with Pathname goodness in db:fixtures:l...yuuji.yaginuma2014-11-021-1/+1
* Add an `assert_deprecated` for `sanitize_sql_hash_for_conditions`Sean Griffin2014-11-021-1/+3
* Handle `RangeError` from casting in `find_by` and `find_by!` on RelationSean Griffin2014-11-022-0/+14
* Revert deprecation of `sanitize_sql_hash_for_assignment`Sean Griffin2014-11-022-6/+2
* Deprecate `sanitize_sql_hash_` methods on ActiveRecordSean Griffin2014-11-022-0/+12
* Pass the `SelectManager`, rather than the AST when querying w/ RelationSean Griffin2014-11-021-1/+1
* Merge pull request #17483 from pabloh/optimize_gsub_callsSean Griffin2014-11-011-1/+1
|\
| * Call gsub with a Regexp instead of a String for better performancePablo Herrero2014-11-011-1/+1
* | Don't duplicate predicate building logic in Relation findersSean Griffin2014-11-011-5/+2
* | Add a test case for range type castingSean Griffin2014-11-011-0/+4
* | Use a bound parameter for the "id = " portion of update statementsSean Griffin2014-11-012-5/+14
|/
* Correctly cast calculation results on PGSean Griffin2014-11-013-1/+16
* [ci skip] `Relation#bind` is not public APISean Griffin2014-11-011-1/+1
* Fix test which failed in isolationSean Griffin2014-11-011-0/+1
* Use bind values for joined tables in where statementsSean Griffin2014-11-018-1/+43
* Merge pull request #17463 from mrgilman/remove-index-from-substitute-atSean Griffin2014-11-013-7/+6
|\
| * Remove redundant substitute index when constructing bind valuesMelanie Gilman2014-10-313-7/+6
* | Don't needlessly alphabetize columns for insert/updateSean Griffin2014-11-011-4/+3
* | remove unused and untested APIAaron Patterson2014-10-311-6/+2
* | fix set_pk_sequence and add a test for it.Aaron Patterson2014-10-312-1/+9
* | Added region sequencing of primary keys for Postgres.Joe Rafaniello2014-10-311-0/+21
|/
* Don't attempt to load the schema file in tests if none existsSean Griffin2014-10-312-3/+18
* Don't modify the columns hash to set defaults from the attributes APISean Griffin2014-10-313-14/+39
* Load test schema even if there are no migrationsSean Griffin2014-10-312-1/+18
* Merge pull request #17305 from ziggythehamster/activerecord-connectionhandlin...Rafael Mendonça França2014-10-312-1/+90
|\
| * If Rails is not defined, check ENV["RAILS_ENV"] and ENV["RACK_ENV"].Keith Gable2014-10-212-1/+90
* | Use the correct values for int max and minSean Griffin2014-10-313-56/+119
* | Treat strings greater than int max value as out of rangeSean Griffin2014-10-319-18/+56
* | Rename `default_attributes` to `_default_attributes`Sean Griffin2014-10-312-3/+3
* | Don't require calculations to be aliased to a columnSean Griffin2014-10-312-2/+1
* | Prepare for 4.2.0.beta4 releaseGodfrey Chan2014-10-301-1/+1
* | Use released arelGodfrey Chan2014-10-301-1/+1
* | Merge pull request #17440 from claudiob/remove-yet-another-redundant-to-sXavier Noria2014-10-306-11/+11
|\ \
| * | Remove redundant `to_s` in interpolationclaudiob2014-10-306-11/+11
* | | Use `#between`, rather than `#in` for passing Ranges to ArelSean Griffin2014-10-302-2/+2
|/ /
* | Merge pull request #17434 from claudiob/remove-redundant-to-sXavier Noria2014-10-301-2/+2
|\ \
| * | Remove redundant `to_s` in interpolationclaudiob2014-10-291-2/+2
* | | add bigserial pk supportAaron Patterson2014-10-293-0/+23
|/ /
* | Merge pull request #17411 from mcfiredrill/doc-change-column-default-abstract...Rafael Mendonça França2014-10-291-1/+1
|\ \
| * | :nodoc: for abstract_mysql_adapterTony Miller2014-10-291-1/+1
* | | fix MySQL enum type lookup with values matching another type. Closes #17402.Yves Senn2014-10-293-6/+17
* | | edit pass over all warningsXavier Noria2014-10-287-16/+19
* | | Add mysql and pg specific attributes to Column#== and hashSean Griffin2014-10-282-2/+20
* | | Merge pull request #17421 from rails/warn-with-heredocXavier Noria2014-10-2813-53/+103
|\ \ \
| * | | let's warn with heredocsXavier Noria2014-10-2813-53/+103
| |/ /
* | | 💣Sean Griffin2014-10-282-2/+5
* | | Implement hash equality on columnSean Griffin2014-10-281-0/+5
* | | Implement #== for columnSean Griffin2014-10-281-0/+8
* | | Remove unneccessary default values from relation mergerSean Griffin2014-10-281-2/+2