1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activeresource/test/fixtures
Jacques Crocker ee5ef67c44 Allow ActiveResource to work with non-generated ids [#5660 state:resolved]
This commit updates new? so that it knows whether or not the record was actually new or not, and doesn't rely solely on the presence of id. This enables the ability to set a custom primary_key that is not autogenerated by the server.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-25 11:15:40 +02:00
..
address.rb Allow ActiveResource to work with non-generated ids [#5660 state:resolved] 2010-09-25 11:15:40 +02:00
beast.rb Subclasses share superclass site until explicitly set. This way you can set Superclass.site = ... after subclasses have been defined. 2006-12-21 22:12:21 +00:00
customer.rb Fixes parsing deep nested resources from XML. [#380 state:resolved] 2008-06-09 23:06:07 -07:00
person.rb Ruby 1.9 compat, consistent load paths 2007-10-02 05:32:14 +00:00
project.rb Added validations to ActiveResource. Added a smoke test to see if we can add a validation and use it, and add a validates callback and use it. 2009-08-19 09:03:17 -05:00
proxy.rb HTTP proxy support 2009-08-08 15:33:55 -07:00
sound.rb ActiveResource shouldn't consider modules in the path 2010-05-15 09:38:32 +02:00
street_address.rb Deep hashes are converted into collections of resources. Class attribute writer methods. 2006-09-04 10:04:23 +00:00
subscription_plan.rb Allow ActiveResource to work with non-generated ids [#5660 state:resolved] 2010-09-25 11:15:40 +02:00