1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model
Jon Leighton 6a81ccd69d ActiveRecord::Base.all returns a Relation.
Previously it returned an Array.

If you want an array, call e.g. `Post.to_a` rather than `Post.all`. This
is more explicit.

In most cases this should not break existing code, since
Relations use method_missing to delegate unknown methods to #to_a
anyway.
2012-07-27 13:34:12 +01:00
..
locale confirmation validation error attribute 2012-04-23 17:16:05 -04:00
mass_assignment_security add :nodoc: to internal implementations [ci skip] 2012-06-25 12:14:50 -05:00
serializers small refactoring of as_json method 2012-07-03 15:11:41 +02:00
validations Update documentation and change the range method name to delimiter. 2012-07-20 14:23:05 -03:00
attribute_methods.rb Refactor attribute method matcher to use Hash#fetch 2012-06-26 22:21:19 -03:00
callbacks.rb Make internal callback model definitions private in AMo 2012-06-25 13:21:26 -03:00
conversion.rb update ActiveModel::Conversion documentation [ci skip] 2012-07-04 23:11:47 -05:00
dirty.rb update ActiveModel::Errors documentation and minor fixes [ci skip] 2012-06-22 11:54:15 -05:00
errors.rb Merge branch 'master' of github.com:lifo/docrails 2012-06-30 23:15:22 +05:30
lint.rb update ActiveModel::Lint documentation [ci skip] 2012-06-22 18:01:12 -05:00
mass_assignment_security.rb Changed attr_accessible example to reflect grouped roles 2012-07-01 10:14:13 +05:30
model.rb Merge branch 'master' of github.com:lifo/docrails 2012-06-30 23:15:22 +05:30
naming.rb update ActiveModel::Name documentation [ci skip] 2012-06-25 10:40:54 -05:00
observer_array.rb Make observer enable/disable documentation more informative. 2012-06-09 16:04:01 -03:00
observing.rb ActiveRecord::Base.all returns a Relation. 2012-07-27 13:34:12 +01:00
railtie.rb
secure_password.rb has_secure_password shouldn't validate password_digest. It should also take options to turn validations off. 2012-05-08 18:08:55 -05:00
serialization.rb update ActiveModel::Serialization documentation [ci skip] 2012-07-06 00:09:08 -05:00
test_case.rb Remove dead code from AMo. 2011-12-20 18:38:20 +01:00
translation.rb Fix human attribute_name to handle deeply nested attributes 2012-05-16 08:39:48 +09:00
validations.rb Set hash value instead of merge a single key, and use flatten! if possible 2012-06-26 22:21:18 -03:00
validator.rb add :nodoc: to internal implementations of AM::Validator [ci skip] 2012-07-06 00:17:13 -05:00
version.rb rails/master is now 4.0.0.beta and will only support Ruby 1.9.3+ 2011-12-20 09:30:37 -06:00