Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Error at the docs #4

Closed
brayann opened this issue Feb 5, 2013 · 3 comments
Closed

Error at the docs #4

brayann opened this issue Feb 5, 2013 · 3 comments

Comments

@brayann
Copy link

brayann commented Feb 5, 2013

Hi guys, I guess there's a error on the docs at this line:

Retrieve the validation errors message collection instance with Ardent->errors() method or Ardent->validationErrors property.

I wasn't able to use the method Ardent->errors() (method undefined).

I guess that this method would be the getErrors(), or am I missing something?

Bye.

@micaweb
Copy link

micaweb commented Feb 13, 2013

Ardent->validationErrors worked fine for me, getErrors() worked fine also.

@brayann
Copy link
Author

brayann commented Feb 13, 2013

Yes @micaweb, Ardent->validationErrors works, but Ardent->errors() isn't working.

@laravelbook
Copy link
Collaborator

Thanks @brayann for spotting the typo!
As requested by others, the getErrors() method has been renamed to errors(). viz. eb4551d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants