1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Sean Griffin c51f9b61ce Refactor enum to be defined in terms of the attributes API
In addition to cleaning up the implementation, this allows type casting
behavior to be applied consistently everywhere. (#where for example). A
good example of this was the previous need for handling value to key
conversion in the setter, because the number had to be passed to `where`
directly. This is no longer required, since we can just pass the string
along to where. (It's left around for backwards compat)

Fixes #18387
2015-02-11 15:02:36 -07:00
..
active_record/connection_adapters rm Column#cast_type 2015-02-03 15:02:18 -07:00
assets
cases Refactor enum to be defined in terms of the attributes API 2015-02-11 15:02:36 -07:00
fixtures Fixes #18492 2015-01-14 21:36:58 +05:30
migrations
models Merge pull request #18512 from vipulnsward/18492-fixtures-with-sti 2015-01-31 18:03:45 -08:00
schema Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
support Reset ActiveRecord::SchemaDumper.ignore_tables value after changed in tests 2014-09-03 11:30:36 +09:00
.gitignore
config.example.yml remove the last traces of OpenBase from our codebase. [ci skip] 2014-11-07 10:12:01 +01:00
config.rb