awesome_nested_fields
awesome_nested_fields copied to clipboard
ClientSideValidations
Dears,
Is there a solution for integrating both awesome_nested_fields with Client_Side_Validations gem
I found this https://github.com/ryanb/nested_form/wiki/Integrating-with-client_side_validations put it is for : nested_form
any similar solution ?
Thank you.
EDIT : BTW : I need to validate :
class Parent< ActiveRecord::Base
attr_accessible :children_attributes
has_many :children, :dependent => :destroy
validates_presence_of :children
accepts_nested_attributes_for :children, :allow_destroy => true , :reject_if => lambda { |a| a[:name].blank? }
end