Permalink
Browse files

Merge pull request #730 from samdebutcha/master

Hi, about Issue #717
  • Loading branch information...
2 parents 614b4a5 + 1982788 commit fe46a8f51c899d90995a4357f99de5944e0f2f59 @bbenezech bbenezech committed Sep 22, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/rails_admin/config/fields/types/has_many_association.rb
@@ -36,6 +36,12 @@ def dom_name
def method_name
"#{super.to_s.singularize}_ids" # name_ids
end
+
+ # Reader for validation errors of the bound object
+ def errors
+ bindings[:object].errors[name]
+ end
+
end
end
end

0 comments on commit fe46a8f

Please sign in to comment.