- 11 1月, 2015 3 次提交
-
-
由 Sean Griffin 提交于
It's only used to grab the type for type casting purposes, and we would like to remove the type from the columns entirely.
-
由 Sean Griffin 提交于
I'm planning on deprecating the column argument to mirror the deprecation in [arel]. [arel]: https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11
-
由 Sean Griffin 提交于
I'm planning on deprecating the column argument to mirror the deprecation in [arel]. [arel]: https://github.com/rails/arel/commit/6160bfbda1d1781c3b08a33ec4955f170e95be11
-
- 02 1月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
-
- 30 10月, 2014 1 次提交
-
-
由 claudiob 提交于
-
- 07 7月, 2014 1 次提交
-
-
由 Zachary Scott 提交于
adapter, fixed from #16057 [ci skip]
-
- 06 7月, 2014 1 次提交
-
-
由 Akshay Vishnoi 提交于
-
- 29 6月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
The only case where we got a column that was not `nil`, but did not respond to `cast_type` was when type casting the default value during schema creation. We can look up the cast type, and add that object to the column definition. Will allow us to consistently rely on the type objects for type casting in all directions.
-
- 18 6月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
We're never going to be able to use the attribute object here, however, so let's just accept the ugly demeter violation here for now. Remove test cases which were either redundant with other tests in the file, or were actually testing the type objects (which are tested elsewhere)
-
- 03 6月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
-
- 27 5月, 2014 3 次提交
-
-
由 Sean Griffin 提交于
Database specific adapters shouldn't need to override `type_cast` to define types which are already in an acceptable state.
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
The intention is to eventually remove `column` from the arguments list both for `quote` and for `type_cast` entirely. This is the first step to that end.
-
- 26 5月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
Adds the ability to save custom types, which type cast to non-primitive ruby objects.
-
- 20 12月, 2013 1 次提交
-
-
由 Arthur Neves 提交于
Need to check if valud also respond_to :id before calling it, otherwise things could explode.
-
- 10 8月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 09 8月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 28 2月, 2013 1 次提交
-
-
由 Steve Klabnik 提交于
This reverts commit 408227d9, reversing changes made to dca0b57d.
-
- 07 2月, 2013 1 次提交
-
-
由 Dylan Smith 提交于
-
- 28 1月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 27 1月, 2013 1 次提交
-
-
由 Derek Kraan 提交于
because of an ambiguous column name. This happened if the association model had a default scope that referenced a third table, and the third table also referenced the original table (with an identical foreign_key). Mysql requires that ambiguous columns are deambiguated by using the full table.column syntax. Postgresql and Sqlite use a different syntax for updates altogether (and don't tolerate table.name syntax), so the fix requires always including the full table.column and discarding it later for Sqlite and Postgresql.
-
- 05 7月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
This patch fixes quoting for ActiveSupport::Duration instances: # before >> ActiveRecord::Base.connection.quote 30.minutes => "'--- 1800\n...\n'" # after >> ActiveRecord::Base.connection.quote 30.minutes => "1800" Also, adds a test for type casting ActiveSupport::Duration instances. Related to #1119.
-
- 10 3月, 2012 1 次提交
-
-
由 Ryan Oblak 提交于
-
- 24 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 21 1月, 2012 1 次提交
-
-
由 Stephen Celis 提交于
-
- 06 9月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 15 4月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 14 4月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 30 12月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-
- 13 10月, 2010 8 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 04 8月, 2010 1 次提交
-
-
由 RainerBlessing 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 25 4月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-