Skip to content

Instantly share code, notes, and snippets.

@dimianstudio
Created March 17, 2011 13:31
Show Gist options
  • Save dimianstudio/874306 to your computer and use it in GitHub Desktop.
Save dimianstudio/874306 to your computer and use it in GitHub Desktop.
simple_form && ancestry && grouped_colection_select
.input.required
= f.label :rate_plan_id
= f.grouped_collection_select :rate_plan_id, RatePlan.roots, :children, :name, :id, :name, {:include_blank => true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment