• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Make sure product name is not nil (wincent.dev, 8ef596d)

Created 3/5/2008, updated 3/12/2024
  • snippets

Add a database-level constraint.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Add example data for products model (wincent.dev, 4109d10)
Create products model (wincent.dev, 68a5a55) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).