Jeremy Kemper
|
c172154054
|
Base#==, eql?, and hash methods. == returns true if its argument is identical to self or if it's an instance of the same class, is not new?, and has the same id. eql? is an alias for ==. hash delegates to id.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-22 21:42:52 +00:00 |
|
Rick Olson
|
55d4dbb8df
|
Fix issues with ActiveResource collection handling. Closes #6291. [bmilekic]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-12 15:29:54 +00:00 |
|
Jeremy Kemper
|
704443dcf2
|
workaround collections loaded as :people => { :person => [{..attrs..}, {..attrs..}] }
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 21:29:54 +00:00 |
|
Jeremy Kemper
|
26b76ea4ce
|
load expects a Hash
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-05 00:02:17 +00:00 |
|
Jeremy Kemper
|
97487c4e11
|
load nil is noop. use new? instead of new_resource?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 23:36:13 +00:00 |
|
Jeremy Kemper
|
c918fbf14b
|
Deep hashes are converted into collections of resources. Class attribute writer methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 10:04:23 +00:00 |
|