Sha256: b3a4f577eabc214d9cc1082faf70568557e03fe45008094cf270f465c9bfe300
Contents?: true
Size: 228 Bytes
Versions: 9
Compression:
Stored size: 228 Bytes
Contents
# Base64 #### Rules ```ruby # 1. Pattern /^(?:[A-Za-z0-9+$]{4})*(?:[A-Za-z0-9+$]{2}==|[A-Za-z0-9+$]{3}=|[A-Za-z0-9+$]{4})$/ ``` #### Usage ```ruby class User < ActiveRecord::Base validates :input_0, base64: true end ```
Version data entries
9 entries across 9 versions & 1 rubygems