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

      respond_with(object, options, &block) if stale?(object)
    end
def show(options = {}, &block)
      object = get_resource_ivar || find_resource

      respond_with(object, options, &block) if stale?(object)
    end
show 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 is set with the object, variable name is based
 on the model name set in the restful macro.