Skip to content

Instantly share code, notes, and snippets.

View fsmanuel's full-sized avatar

Manuel Wiedenmann fsmanuel

View GitHub Profile
module KingForm
# Method for building forms that contain fields for associated models.
module NestedFormHelper
# Renders the form for nested objects defined via activerecord accepts_nested_attributes_for
#
# The associated argument can be either an object, or a collection of objects to be rendered.
#
# An options hash can be specified to override the default behaviors.