Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only define StaticPage validations on Fae::TextField and Fae::TextArea #418

Merged
merged 3 commits into from
Jul 20, 2018

Conversation

jamesmk
Copy link
Member

@jamesmk jamesmk commented Jul 16, 2018

If you define validations on a Fae::Image within StaticPage#fae_fields Fae will attach a method on Fae::Image that will raise an exception. This prevents the method from getting attached to unsupported models.

@jamesmk jamesmk merged commit 893edda into master Jul 20, 2018
@jamesmk jamesmk deleted the static-page-validation-fix branch July 20, 2018 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant