Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix quoting for ActiveSupport::Duration instances | Francesco Rodriguez | 2012-07-04 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Prevent creating valid time-like objects from blank string from db | Egor Lynko | 2012-05-05 | 1 | -0/+28 |
| | | | | Issue #6045 | ||||
* | Don't type cast values that don't respond to to_i to 1 | James Sanders & Jason Noble | 2012-04-30 | 1 | -0/+24 |
| | |||||
* | on and ON are type casted to a true boolean column | Santiago Pastorino | 2012-01-11 | 1 | -0/+29 |