Skip to content

Instantly share code, notes, and snippets.

@jhsu
Created April 8, 2010 20:16
Show Gist options
  • Save jhsu/360483 to your computer and use it in GitHub Desktop.
Save jhsu/360483 to your computer and use it in GitHub Desktop.
@requirement = criterion.requirement
@applicant_requirements = @requirement.applicant_requirements.of(@applicant).all
gpas_by_requirement = render_to_string :partial => "applicants/gpas_by_requirement", :locals => {:applicant_requirements => @applicant_requirements}
render :json => {...., :gpas_by_requirement => gpas_by_requirement}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment