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
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
..
cases Allow ActiveResource to work with non-generated ids [#5660 state:resolved] 2010-09-25 11:15:40 +02:00
fixtures Allow ActiveResource to work with non-generated ids [#5660 state:resolved] 2010-09-25 11:15:40 +02:00
abstract_unit.rb Refactor setup methods by extracting them in abstract_unit, remove TODO. 2010-09-17 17:03:58 +02:00
connection_test.rb Revert "Setup explicit requires for files with exceptions. Removed them from autoloading." 2010-09-02 21:11:03 +02:00
setter_trap.rb added require abstract_unit on setter_trap.rb 2010-03-18 11:32:51 -07:00