app/controllers/observations_controller.rb
def selector
    search_params, find_options = get_search_params(params)

    @observations = Observation.latest.query(search_params).paginate(find_options)
      
    respond_to do |format|
      format.html { render :layout => false, :partial => 'selector'}
      # format.js
    end
  end
# Renders observation components as form fields for inclusion in 
# observation-picking form widgets
Renders observation components as form fields for inclusion in
observation-picking form widgets
Renders observation components as form fields for inclusion in observation - picking form widgets
def selector
    search_params, find_options = get_search_params(params)
    @observations = Observation.latest.query(search_params).paginate(find_options)
    respond_to do |format|
      format.html { render :layout => false, :partial => 'selector'}
    end
  end
def selector search_params , find_options = get_search_params ( params ) @observations = Observation . latest . query ( search_params ) . paginate ( find_options ) respond_to do | format | format . html { render :layout => false , :partial => 'selector' } end end
Renders observation components as form fields for inclusion in
observation-picking form widgets
Renders observation components as form fields for inclusion in observation - picking form widgets
# format.js