aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Add a global type registry, used to lookup and register typesSean Griffin2015-02-152-0/+172
* Mention `where.not` in the exampleGodfrey Chan2015-02-141-0/+4
* Fixed a bug where NULLs are casted into the first enum valueGodfrey Chan2015-02-131-3/+8
* Partially revert ae33aeaGodfrey Chan2015-02-131-4/+0
* Break up these testsGodfrey Chan2015-02-131-4/+23
* oops, 'format' is not a real enumGodfrey Chan2015-02-131-8/+8
* Enums should be referred to by symbolsGodfrey Chan2015-02-131-1/+14
* Do not overwrite secret token value when already present.Wojciech Wnętrzak2015-02-121-0/+7
* Merge pull request #18915 from kamipo/extract_date_time_precision_testRafael Mendonça França2015-02-124-271/+102
|\
| * Extract `DateTimePrecisionTest`Ryuta Kamizono2015-02-134-271/+102
* | Optimize none? and one? relation query methods to use LIMIT and COUNT.Eugene Gilburg2015-02-122-0/+110
|/
* Merge pull request #18886 from kamipo/allow_precision_option_for_time_columnRafael Mendonça França2015-02-121-0/+65
|\
| * Allow `:precision` option for time type columnsRyuta Kamizono2015-02-121-0/+65
* | get rid of transaction warning when running PG tests.Yves Senn2015-02-121-1/+1
* | pg tests, be clear about the missing type that causes a test skip.Yves Senn2015-02-122-15/+8
* | tests, remove unused requires.Yves Senn2015-02-122-2/+0
|/
* Refactor enum to be defined in terms of the attributes APISean Griffin2015-02-111-1/+16
* `current_scope` shouldn't pollute sibling STI classesSean Griffin2015-02-111-0/+6
* Remove the SQLite3 Binary subclassSean Griffin2015-02-111-10/+0
* Merge pull request #18883 from kamipo/fix_datetime_precision_dumping_zero_for...Sean Griffin2015-02-111-22/+39
|\
| * The datetime precision with zero should be dumpedRyuta Kamizono2015-02-111-22/+39
* | prefer `drop_table :table, if_exists: true` over explicit checks.Yves Senn2015-02-111-2/+2
* | add test to ensure `remove_reference` with index and fk is invertable.Yves Senn2015-02-111-0/+5
* | fix `remove_reference` with `foreign_key: true` on MySQL. #18664.Yves Senn2015-02-111-0/+10
|/
* Merge pull request #12257 from vipulnsward/end_on_find_in_batchesRafael Mendonça França2015-02-101-0/+9
|\
| * Add an option `end_at` to `find_in_batches`Vipul A M2015-02-091-0/+9
* | Refactor microsecond precision to be database agnosticSean Griffin2015-02-105-24/+12
* | Maintain a consistent order in `ActiveRecord::Base#attributes`Sean Griffin2015-02-101-0/+10
|/
* Remove debug codeCarlos Antonio da Silva2015-02-081-5/+0
* Fix rounding problem for PostgreSQL timestamp columnRyuta Kamizono2015-02-081-0/+16
* Merge pull request #18602 from kamipo/respect_database_charset_and_collationAndrew White2015-02-081-4/+12
|\
| * Respect the database default charset for `schema_migrations` table.Ryuta Kamizono2015-02-081-4/+12
* | Merge pull request #18848 from kamipo/add_auto_increment_methodAndrew White2015-02-081-1/+1
|\ \
| * | Add `auto_increment?` instead of `extra == 'auto_increment'`Ryuta Kamizono2015-02-081-1/+1
| |/
* / Remove unused lineRyuta Kamizono2015-02-081-1/+0
|/
* rm `Type#number?`Sean Griffin2015-02-0714-19/+0
* Push multi-parameter assignement into the typesSean Griffin2015-02-071-0/+8
* Raise ArgumentError when passing nil to Relation#mergeRafael Mendonça França2015-02-061-0/+16
* Allow a symbol to be passed to `attribute`, in place of a type objectSean Griffin2015-02-069-18/+55
* Merge pull request #18589 from kamipo/fix_test_types_line_upRafael Mendonça França2015-02-051-2/+2
|\
| * Fix `test_types_line_up` when column type missingRyuta Kamizono2015-01-301-2/+2
* | Merge pull request #18526 from vipulnsward/add-silence-streamRafael Mendonça França2015-02-053-47/+8
|\ \
| * | - Extracted silence_stream method to new module in activesupport/testing.Vipul A M2015-01-203-47/+8
* | | Do not run remove_connection in memory db testRafael Mendonça França2015-02-051-7/+7
* | | Merge pull request #18809 from meltheadorable/bugfix/postgres_moneySean Griffin2015-02-042-2/+4
|\ \ \
| * | | Fix test cases for money, bit and bit_varyingMelody2015-02-042-2/+4
* | | | Respect custom primary keys for associations in `Relation#where`Sean Griffin2015-02-041-1/+37
|/ / /
* | | rm `Column#cast_type`Sean Griffin2015-02-033-63/+21
* | | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-0328-28/+0
* | | Merge pull request #18791 from Sinjo/consistent-foreign-key-name-generationSean Griffin2015-02-021-2/+2
|\ \ \