aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Prefer `drop_table if_exists: true` over raw SQLRyuta Kamizono2015-02-1821-25/+25
* prefer `drop_table if_exists: true` over raw SQL.Yves Senn2015-02-1812-12/+12
* Rm `Type#type_cast`Sean Griffin2015-02-172-2/+2
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-1712-90/+90
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-1714-46/+46
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-1716-44/+44
* Add line endings to files which are missing themSean Griffin2015-02-1716-16/+16
* Fix test failures on Mysql 5.5Sean Griffin2015-02-171-1/+1
* Update code which depended on methods added by 1502caefSean Griffin2015-02-171-1/+1
* Revert "Allow `:precision` option for time type columns"Sean Griffin2015-02-171-65/+0
* Deprecated passing of `start` value to `find_in_batches` and `find_each` in f...Vipul A M2015-02-171-7/+28
* Merge pull request #18662 from estum/foreign-key-existsYves Senn2015-02-161-0/+21
|\
| * Add `foreign_key_exists?` method.Anton2015-01-241-0/+21
* | 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