♦️Ruby has a handy email regex to check if an email is valid or not. It returns nil if it doesn't match the regex. For those interested, the Regex can be found in the source here: https://t.co/m1L7zeAIsc #ruby#rubyonrails
💎Rails tip💎
Did you know you can add data-remote="true" and data-url=".." on any form inputs like checkboxes and text fields to call the URL on input changes? Super useful for auto-saving without having to write any JS.
#ruby#rails#rubyonrails