Skip to content

Commit

Permalink
Merge pull request railsadminteam#662 from shawndrost/tracking-20110816
Browse files Browse the repository at this point in the history
Tracking 20110816
  • Loading branch information
sferik committed Aug 17, 2011
2 parents 608ae86 + 2feb7a5 commit 4465e5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rails_admin/config/fields/association.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def inverse_of
association[:inverse_of]
end

# Reader for validation errors of the bound object
# Reader for the bound object's validation errors relating to this association
def errors
bindings[:object].errors[child_key]
bindings[:object].errors[name]
end

# Reader whether the bound object has validation errors
Expand Down

0 comments on commit 4465e5b

Please sign in to comment.