This project is archived and is in readonly mode.

Changeset [753304bd113d7524f6d48d220483a2723c534557] 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...

Committed by Gaël Deest

  • M activeresource/lib/active_resource/base.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>