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

Add update_attribute! to Active Record (wincent.dev, cec57c5)

Created 1/26/2008, updated 3/12/2024
  • snippets

Just like update_attribute except calls save! instead of save.

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

← Perform validation during in-place editing (wincent.dev, bc34e99)
Fix typo in in place editor helper (wincent.dev, a29bd91) →

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