Giter VIP home page Giter VIP logo

phase-4-quiz-validations's Introduction

id course_id repo
18303
4182
phase-4-quiz-validations

Validations Quiz

It's time to check your knowledge! Use this quiz to create a custom study guide. Note any answers that were marked incorrect, so you can study the relevant material and try this quiz again.

If you don't know the answer to a question, please do not guess. Instead, select "I don't know". It's OK not to know everything and to admit when we're unsure.

phase-4-quiz-validations's People

Contributors

ihollander avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phase-4-quiz-validations's Issues

Wrong Link in Active Record Validations Lesson

Canvas Link

https://learning.flatironschool.com/courses/4324/pages/active-record-validations

Concern

In the Lifecycle Timing section, it says that database activity triggers validation, and links to Section 4 of this page with a list of methods that trigger validation. This section lists methods that trigger callbacks, not validation. In the Validations quiz, there is a link to methods that trigger validation, which is different from what was listed in the lesson. I came away from the lesson thinking that any method that triggered database activity (including destroy methods, toggle, and touch) would trigger validations as well, but it wasn't until I completed the quiz that I realized those methods trigger callbacks, not validations.

Additional Context

No response

Suggested Changes

It would be great to clarify that the only methods that trigger validations are the methods listed in section 1.2 of the validations page, and to remove the information about callbacks because it's not relevant to the current topic.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.