Commit message (Expand) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | | Handle `RangeError` from casting in `find_by` and `find_by!` on Relation | Sean Griffin | 2014-11-02 | 1 | -0/+4 | |
* | | | | | | | | | | | Revert deprecation of `sanitize_sql_hash_for_assignment` | Sean Griffin | 2014-11-02 | 1 | -3/+0 | |
* | | | | | | | | | | | Deprecate `sanitize_sql_hash_` methods on ActiveRecord | Sean Griffin | 2014-11-02 | 1 | -0/+6 | |
* | | | | | | | | | | | Pass the `SelectManager`, rather than the AST when querying w/ Relation | Sean Griffin | 2014-11-02 | 1 | -1/+1 | |
* | | | | | | | | | | | Merge pull request #17483 from pabloh/optimize_gsub_calls | Sean Griffin | 2014-11-01 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | Call gsub with a Regexp instead of a String for better performance | Pablo Herrero | 2014-11-01 | 1 | -1/+1 | |
* | | | | | | | | | | | | Don't duplicate predicate building logic in Relation finders | Sean Griffin | 2014-11-01 | 1 | -5/+2 | |
* | | | | | | | | | | | | Use a bound parameter for the "id = " portion of update statements | Sean Griffin | 2014-11-01 | 2 | -5/+14 | |
|/ / / / / / / / / / / | ||||||
* | | | | | | | | | | | Correctly cast calculation results on PG | Sean Griffin | 2014-11-01 | 3 | -1/+16 | |
* | | | | | | | | | | | [ci skip] `Relation#bind` is not public API | Sean Griffin | 2014-11-01 | 1 | -1/+1 | |
* | | | | | | | | | | | Use bind values for joined tables in where statements | Sean Griffin | 2014-11-01 | 3 | -1/+19 | |
* | | | | | | | | | | | Merge pull request #17463 from mrgilman/remove-index-from-substitute-at | Sean Griffin | 2014-11-01 | 3 | -7/+6 | |
|\ \ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | Remove redundant substitute index when constructing bind values | Melanie Gilman | 2014-10-31 | 3 | -7/+6 | |
* | | | | | | | | | | | | Don't needlessly alphabetize columns for insert/update | Sean Griffin | 2014-11-01 | 1 | -4/+3 | |
| |/ / / / / / / / / / |/| | | | | | | | | | | ||||||
* | | | | | | | | | | | remove unused and untested API | Aaron Patterson | 2014-10-31 | 1 | -6/+2 | |
* | | | | | | | | | | | fix set_pk_sequence and add a test for it. | Aaron Patterson | 2014-10-31 | 1 | -1/+1 | |
* | | | | | | | | | | | Added region sequencing of primary keys for Postgres. | Joe Rafaniello | 2014-10-31 | 1 | -0/+21 | |
|/ / / / / / / / / / | ||||||
* | | | | | | | | | | Don't attempt to load the schema file in tests if none exists | Sean Griffin | 2014-10-31 | 2 | -3/+18 | |
* | | | | | | | | | | Don't modify the columns hash to set defaults from the attributes API | Sean Griffin | 2014-10-31 | 2 | -4/+25 | |
* | | | | | | | | | | Load test schema even if there are no migrations | Sean Griffin | 2014-10-31 | 1 | -1/+5 | |
* | | | | | | | | | | Merge pull request #17305 from ziggythehamster/activerecord-connectionhandlin... | Rafael Mendonça França | 2014-10-31 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | If Rails is not defined, check ENV["RAILS_ENV"] and ENV["RACK_ENV"]. | Keith Gable | 2014-10-21 | 1 | -1/+1 | |
| |/ / / / / / / / / | ||||||
* | | | | | | | | | | Use the correct values for int max and min | Sean Griffin | 2014-10-31 | 1 | -9/+13 | |
* | | | | | | | | | | Treat strings greater than int max value as out of range | Sean Griffin | 2014-10-31 | 6 | -3/+42 | |
* | | | | | | | | | | Rename `default_attributes` to `_default_attributes` | Sean Griffin | 2014-10-31 | 2 | -3/+3 | |
* | | | | | | | | | | Don't require calculations to be aliased to a column | Sean Griffin | 2014-10-31 | 1 | -1/+1 | |
* | | | | | | | | | | Prepare for 4.2.0.beta4 release | Godfrey Chan | 2014-10-30 | 1 | -1/+1 | |
* | | | | | | | | | | Merge pull request #17440 from claudiob/remove-yet-another-redundant-to-s | Xavier Noria | 2014-10-30 | 5 | -8/+8 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Remove redundant `to_s` in interpolation | claudiob | 2014-10-30 | 5 | -8/+8 | |
* | | | | | | | | | | | Use `#between`, rather than `#in` for passing Ranges to Arel | Sean Griffin | 2014-10-30 | 2 | -2/+2 | |
|/ / / / / / / / / / | ||||||
* | | | | | | | | | | Merge pull request #17434 from claudiob/remove-redundant-to-s | Xavier Noria | 2014-10-30 | 1 | -2/+2 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Remove redundant `to_s` in interpolation | claudiob | 2014-10-29 | 1 | -2/+2 | |
* | | | | | | | | | | | add bigserial pk support | Aaron Patterson | 2014-10-29 | 2 | -0/+3 | |
|/ / / / / / / / / / | ||||||
* | | | | | | | | | | Merge pull request #17411 from mcfiredrill/doc-change-column-default-abstract... | Rafael Mendonça França | 2014-10-29 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | | | ||||||
| * | | | | | | | | | :nodoc: for abstract_mysql_adapter | Tony Miller | 2014-10-29 | 1 | -1/+1 | |
* | | | | | | | | | | fix MySQL enum type lookup with values matching another type. Closes #17402. | Yves Senn | 2014-10-29 | 1 | -6/+6 | |
* | | | | | | | | | | edit pass over all warnings | Xavier Noria | 2014-10-28 | 7 | -16/+19 | |
* | | | | | | | | | | Add mysql and pg specific attributes to Column#== and hash | Sean Griffin | 2014-10-28 | 2 | -2/+20 | |
* | | | | | | | | | | Merge pull request #17421 from rails/warn-with-heredoc | Xavier Noria | 2014-10-28 | 13 | -53/+103 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | let's warn with heredocs | Xavier Noria | 2014-10-28 | 13 | -53/+103 | |
| |/ / / / / / / / / | ||||||
* | | | | | | | | | | Implement hash equality on column | Sean Griffin | 2014-10-28 | 1 | -0/+5 | |
* | | | | | | | | | | Implement #== for column | Sean Griffin | 2014-10-28 | 1 | -0/+8 | |
* | | | | | | | | | | Remove unneccessary default values from relation merger | Sean Griffin | 2014-10-28 | 1 | -2/+2 | |
* | | | | | | | | | | Fix uninitialized ivar warning in tests | Sean Griffin | 2014-10-28 | 1 | -1/+1 | |
* | | | | | | | | | | Call value methods when merging relations, rather than accessing keys | Sean Griffin | 2014-10-28 | 1 | -14/+14 | |
|/ / / / / / / / / | ||||||
* | | | | | | | | | Allow Relation#rewhere to work with infinite range values | Dan Olson | 2014-10-27 | 1 | -1/+1 | |
* | | | | | | | | | Merge pull request #17374 from maurogeorge/scope-exception | Yves Senn | 2014-10-27 | 1 | -0/+4 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Raises ArgumentError when try to define a scope without a callable | Mauro George | 2014-10-23 | 1 | -0/+3 | |
| |/ / / / / / / / | ||||||
* | | | | | | | | | Merge pull request #14143 from derekprior/dp-compound-index-ordering | Yves Senn | 2014-10-27 | 2 | -2/+2 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Use type column first in multi-column indexes | Derek Prior | 2014-10-24 | 2 | -2/+2 | |
| |/ / / / / / / / |