Posts tagged with rails


Valid Ruby (the only valid line of code in this post) before_validation(on: :create) { contact.email ||= email } Drop braces and use a stabby proc before_validation(on: :create) -> contact.email ||= email Drop…

tldr; Let's get started I've heard a lot about Docker over the past year but haven't really dived into it much until recently. So far the experience has been amazing! I've found the technology to…