lib/scaffolding_extensions/meta_model.rb
# Find the object of this model given by the id
Find the object of this model given by the id
Find the object of this model given by the id
def scaffold_find_object(action, id, options)
    object = scaffold_get_object(id)
    raise scaffold_error_raised unless scaffold_session_value_matches?(object, options[:session])
    object
  end
def scaffold_find_object ( action , id , options ) object = scaffold_get_object ( id ) raise scaffold_error_raised unless scaffold_session_value_matches? ( object , options [ :session ] ) object end
Find the object of this model given by the id
Find the object of this model given by the id
action
<not_specific>
id
<not_specific>
options
<not_specific>