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

Modify in_place_editor_field for better nested route support (wincent.dev, e2ac00d)

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

Instead of requiring the caller to manually specify the URL, add a ":nested" option which can be passed a model name. The helper method then constructs a URL appropriately.

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

← Override local_request? method for previewing errors (wincent.dev, 9d5b9a1)
In-place editing for translations (wincent.dev, 022faf3) →

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