Skip to content
This repository was archived by the owner on May 28, 2019. It is now read-only.
This repository was archived by the owner on May 28, 2019. It is now read-only.

ClientSideValidations #30

@MohHeader

Description

@MohHeader

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions