app/controllers/application_controller/ci_processing.rb
# find the record that was chosen
find the record that was chosen
find the record that was chosen
def identify_record(id, klass = self.class.model)
    begin
      record = find_by_id_filtered(klass, from_cid(id))
    rescue ActiveRecord::RecordNotFound
    rescue => @bang
      if @explorer
        self.x_node = "root"
        add_flash(@bang.message, :error, true)
        session[:flash_msgs] = @flash_array.dup
      end
    end
    record
  end
def identify_record ( id , klass = self . class . model ) begin record = find_by_id_filtered ( klass , from_cid ( id ) ) rescue ActiveRecord :: RecordNotFound rescue => @bang if @explorer self . x_node = "root" add_flash ( @bang . message , :error , true ) session [ :flash_msgs ] = @flash_array . dup end end record end
find the record that was chosen
find the record that was chosen
id
<not_specific>
klass
<not_specific>
class
<not_specific>
model
<not_specific>