-
-
Save obelich/b1debcadf065d332eada4dda10e5d0cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
has_many :$Modelo$,, dependent: :destroy | |
accepts_nested_attributes_for :$Modelo$, allow_destroy: true, reject_if: proc { |att| att['$Campo$'].blank? } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment