def edit(options = {}, &block)
      object = get_resource_ivar || find_resource

      respond_with(object, options, &block)
    end
def edit(options = {}, &block)
      object = get_resource_ivar || find_resource

      respond_with(object, options, &block)
    end
edit action, finds an object based on the passed id, if no object is
 found an ActiveRecord::RecordNotFound is raised.

 If the record is found then an instance variable, based on the model
 name set in the restful macro.

 This variable can be accessed in teh form using the resource helper
 method.