Skip to content

Instantly share code, notes, and snippets.

View leesheppard's full-sized avatar

Lee Sheppard leesheppard

View GitHub Profile
@leesheppard
leesheppard / Validators
Created March 20, 2019 01:03
Validators
Meta tags
https://cards-dev.twitter.com/validator
https://developers.facebook.com/tools/debug
https://www.linkedin.com/post-inspector/
Web markup
https://validator.w3.org/
CSS
http://jigsaw.w3.org/css-validator/
@leesheppard
leesheppard / .prettierrc
Created March 20, 2019 05:39
.prettierrc_example
{
"singleQuote": true,
"trailingComma": "all"
}

Adding Custom Fields to Devise

Before doing anything, please check the versions of the gem files:

gem 'rails', '~> 5.1.4'
gem 'devise', '~> 4.4.0'

Disclaimer - This solution may not work with older versions of rails and devise. Versions listed above were the latest versions of gems which I was using at the time of creation and tests. (10 Jan 2018)