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

Correct error in User spec (wincent.dev, d55c2c6)

Created 10/16/2007, updated 3/12/2024
  • snippets

Should have been using delete_all, not delete(:all); the delete method expects as a parameter the id of the row to be deleted.

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

← Initial import (wikitext, db2cb81)
Whitespace fix (wincent.dev, df00cf2) →

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).