Skip to content

Instantly share code, notes, and snippets.

@brylor
Created February 12, 2015 20:25
Show Gist options
  • Save brylor/23d46877bea1dc1d929a to your computer and use it in GitHub Desktop.
Save brylor/23d46877bea1dc1d929a to your computer and use it in GitHub Desktop.
def projection_params
params.require(:projection).permit(:name,
incomes_attributes: [:id, :name, :amount, :projection_id]
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment