aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \ \
| * | | Generate consistent names for foreign keysChris Sinjakli2015-02-031-2/+2
* | | | Properly lookup the limit for bigintSean Griffin2015-02-021-0/+5
|/ / /
* | | Fix validations on child record when record parent has validate: falseeileencodes2015-02-014-5/+50
* | | Merge branch 'master' into pr/18316Mingdong Luo2015-01-31117-840/+1426
|\ \ \
| * | | Attribute assignment and type casting has nothing to do with columnsSean Griffin2015-01-314-21/+41
| * | | Merge pull request #18512 from vipulnsward/18492-fixtures-with-stiAaron Patterson2015-01-316-11/+41
| |\ \ \
| | * | | Fixes #18492Vipul A M2015-01-146-11/+41
| | |/ /
| * | | Merge pull request #18700 from nygrenh/better-required-messageAaron Patterson2015-01-311-2/+22
| |\ \ \
| | * | | Provide a better error message on :required associationHenrik Nygren2015-01-281-2/+22
| * | | | Remove most type related predicates from `Column`Sean Griffin2015-01-3018-83/+117
| * | | | Fix a state leak in `autosave_association_test`Sean Griffin2015-01-301-0/+5
| * | | | Always perform validations on nested attribute associationsSean Griffin2015-01-302-1/+9
| | |_|/ | |/| |
| * | | Post.all.or(anything) == Post.allSean Griffin2015-01-292-5/+5
| * | | Fixed AR::Relation#group method when argument is a SQL reserved keywordBogdan Gusiev2015-01-291-0/+5