aboutsummaryrefslogtreecommitdiffstats
path: root/version.rb
diff options
context:
space:
mode:
authorGaël Deest <gael.deest@gmail.com>2010-03-18 23:12:16 +0100
committerwycats <wycats@gmail.com>2010-03-27 01:40:46 -0700
commit753304bd113d7524f6d48d220483a2723c534557 (patch)
tree0fd935d3ccfbca97fffa74a4188c36fa6d228c4b /version.rb
parent41e5c7ed44fedb95636ef9b7a792c46ea03309bd (diff)
downloadrails-753304bd113d7524f6d48d220483a2723c534557.tar.gz
rails-753304bd113d7524f6d48d220483a2723c534557.tar.bz2
rails-753304bd113d7524f6d48d220483a2723c534557.zip
Makes ActiveResource work with form_for: - Adds a `build' method that can be used instead of `new' 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 the `new?' method. [#4222 state:resolved] [#4155 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions