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

ArticleStatus#updateアクションのバリデーションの修正 #31

Open
bo40 opened this issue Apr 30, 2018 · 0 comments
Open

ArticleStatus#updateアクションのバリデーションの修正 #31

bo40 opened this issue Apr 30, 2018 · 0 comments
Assignees

Comments

@bo40
Copy link
Contributor

bo40 commented Apr 30, 2018

バリデーションが不十分。

params do
  required(:meeting).schema do
    required(:articles) do
      array? do
        each do
          hash?
          # FIX ME: hash? 中身までバリデーションをする
        end
      end
    end
  end
  required(:id).filled(:int?)
end
@bo40 bo40 self-assigned this Apr 30, 2018
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

No branches or pull requests

1 participant