約799件1ページ目

条件を指定して検索しています。すべての条件を解除する

  • 最終更新日:1週間以内
  • 21時間前 -So I learned about validations that occur at the model-level, but I'm now trying to learn more about database validations. I was wondering if you guys could ...

    6日前 -ActiveRecord(モデル)のバリデーション設定を行うことで、実際にデータが保存される前に不適合データを弾くことができます。ほとんどのデータベースはカラムに制約を設定 ...

    6日前 -This style guide evolves over time as additional conventions are identified and past conventions are rendered obsolete by changes in Ruby itself. Tip. If you're ...

    4日前 -... Rails instance can use to make requests upstream to a connected service backend. The public validation keys are published using OIDC discovery API endpoints.

    4日前 -Once the form data has been validated on the client-side, it is okay to submit the form. And, since we covered validation in the previous article, we're ready ...

    A.回答を一意にするUserなのかどうかを判別するフラグを新たに持たせて、それをwith_optionsメソッドで判定すればいいです。 以下を参考にしてください。 Railsで特定の条件下で走る...

    A.validates は ActiveModel::Validations モジュールで 定義されてる特異メソッドで ActiveRecord::Base などの フィールドをチェックします。 今...

    A.データベースより前に、フロントエンドの脆弱性対策が先だと思います。 まずは、無料のツールを使ってみてはいかがですか。 https://yun-craft.com/admin-blog/tomiz...

    2日前 -翻訳設定てきように用意しておく以下は英語翻訳で、属性に対しての翻訳ひとつのモデルに対してのエラーの種類の翻訳を指定した例api/config/locales/activerecord.e…

    6日前 -Sometimes want to skip certain validations on your database models. Maybe you have a multi-step wizard or want admins to have more freedom in changing data.

    2日前 -Imagine a world where your security and compliance requirements feed into an assessment engine, and that engine validates the implementation of the requirements ...

    5時間前 -The fresh capital will help the firm develop its ledger-based interbank rails for real-time clearing and settlement.