This project is archived and is in readonly mode.
Changeset [753304bd113d7524f6d48d220483a2723c534557] by Gaël Deest
Revision 753304bd113d7524f6d48d220483a2723c534557,
committed by Gaël Deest
· March 27th, 2010 @ 08:40 AM
Makes ActiveResource work with form_for: - Adds a build'
method that can be used instead ofnew' to load a new,
unsaved resource from the remote site, filled with the correct
default values. - Adds a persisted?' method that simply
returns the opposite value than thenew?' method. [#4222
state:resolved] [#4155 state:resolved]
Signed-off-by: wycats wycats@gmail.com
http://github.com/rails/rails/commit/753304bd113d7524f6d48d220483a2...
1 changed file
-
M
activeresource/lib/active_resource/base.rb