- 23 10月, 2016 1 次提交
-
-
由 Sean Griffin 提交于
This reverts commit 671eb742. This is not a change we would like moving forward.
-
- 03 10月, 2016 1 次提交
-
-
由 Iain Beeston 提交于
ActiveModel::Type) Some code was previously referring to ActiveModel::Type::*. This could cause issues in the future if any of the ActiveRecord::Type classes were overridden in the future.
-
- 22 9月, 2015 1 次提交
-
-
由 Kir Shatrov 提交于
The first step of bringing typecasting to ActiveModel
-
- 08 2月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
This predicate is only used in `query_attribute`, and is relatively easy to remove without adding a bunch of is a checks.
-
- 31 1月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
Remaining are `limit`, `precision`, `scale`, and `type` (the symbol version). These will remain on the column, since they mirror the options to the `column` method in the schema definition DSL
-
- 27 8月, 2014 1 次提交
-
-
由 ankit1910 提交于
-
- 09 9月, 2012 1 次提交
-
-
由 Ernie Miller 提交于
When calling a query method on an attribute that was not selected by an ActiveRecord query, an ActiveModel::MissingAttributeError is not raised. Instead, a nil value is returned, which will return false once cast to boolean. This is undesirable, as we should not give the impression that we know the attribute's boolean value when we haven't loaded the attribute's (possibly) non-boolean value from the database. This issue is present on versions going back as far as 2.3, at least.
-
- 08 9月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
* There is no need to delete the primary key from cloned attributes, since it sets the same pk to nil afterwards. * Check for empty? instead of any? to run initialize callbacks.
-
- 03 8月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 07 2月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 28 3月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 22 1月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
This reverts commit f936a1f1. Conflicts: activerecord/lib/active_record.rb activerecord/lib/active_record/base.rb Revert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open] This reverts commit 28319964. Reason : It's not generating attribute methods properly, making object.column 5x slower.
-
- 18 10月, 2009 1 次提交
-
-
由 Eric Chapweske 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 31 7月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-