$ rails g model User
belongs_to
has_one
HTTP status code symbols for Rails | |
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings. | |
Status Code Symbol | |
1xx Informational | |
100 :continue | |
101 :switching_protocols | |
102 :processing |
import { useEffect, useMemo } from 'react' | |
type tTimeoutId = number | |
const useTimeout = () => { | |
const timeoutsSet = useMemo(() => new Set<tTimeoutId>(), []) | |
// eslint-disable-next-line @typescript-eslint/no-explicit-any | |
const _setTimeout = (callback: any, delay?: number) => { | |
const timeout = setTimeout(callback, delay) |
Prepare:
Go to this URL (https://www.google.com/recaptcha/admin/create) to create a reCAPTCHA app.
Give the reCAPTCHA a label.
Select reCAPTCHA v2.
Add the domain name of where this captcha checkbox will be used. To test this checkbox on your development server, add localhost as your domain name.
Click Submit.