- 21 12月, 2010 13 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
has_many associations with :dependent => :delete_all should update the counter cache when deleting records
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Fix problem where wrong keys are used in JoinAssociation when an association goes :through a belongs_to [#2801 state:resolved]
-
由 Jon Leighton 提交于
Remove unnecessary overloaded methods create, create! and create_record from HasAndBelongsToManyAssociation
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Delete create, create! and create_record from HasManyThroughAssociation in exchange for more generic versions in AssociationCollection
-
由 Jon Leighton 提交于
Specify insert_record with NotImplementedError in AssociationCollection, to indicate that subclasses should implement it. Also add save_record to reduce duplication.
-
- 20 12月, 2010 3 次提交
-
-
由 José Valim 提交于
-
由 John Firebaugh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 John Firebaugh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 19 12月, 2010 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Added ActiveRecord::Base#has_secure_password (via ActiveModel::SecurePassword) to encapsulate dead-simple password usage with SHA2 encryption and salting
-
- 17 12月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Piotr Sarnacki 提交于
-
- 16 12月, 2010 21 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Fix problem with duplicated records when a :uniq :through association is preloaded [#2447 state:resolved]
-
由 Aaron Patterson 提交于
-
由 Pavel Gorbokon 提交于
* rename method names (actually in tests) * rename instance variable @_named_scopes_cache to @_scopes_cache * rename references in doc comments * don't touch CHANGELOG :)
-
由 Víctor Martínez 提交于
NilClass.type is no longer defined in Ruby 1.9 and causes ActiveRecord::Base.to_xml to fail with message: undefined method `type' for nil:NilClass
-
由 Aaron Patterson 提交于
-
由 Jon Leighton 提交于
-
由 Ernie Miller 提交于
-
由 Aaron Patterson 提交于
class names are already strings, so we do not need to call to_s on the strings that are already strings
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Chiel Wester 提交于
Only call save on belongs_to associations if the record has changed or any nested associations have changed (resolves #3353) Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-