Save and render helper for in_place_editor method Ruby script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: 2905
  • Last update:
  • Platform: Windows / Linux
  • Language: Ruby
  • Price:Freeware
  • Company: zerohalo (View more)

Save and render helper for in_place_editor method script description:




Publisher review:
Save and render helper for in_place_editor method automatically calls a controller named set_table_field. in_place_editor automatically calls a controller named set_table_field. You can create one automatically with teh in_place_edit_for but only if ey want to display the actual text typed. That doesn't work for drop-down boxes or in cases where you want to update other elements based on the field changed.

For that you create the method yourself, and rely on the params[:id] and params[:value] to find the correct record, update the attribute, save and return the value to be displayed via ajax. If you have a lot of them in your site, you end up with a lot of code duplication. This helper fixes that.
Save and render helper for in_place_editor method is a Ruby script for Snippets scripts design by zerohalo. It runs on following operating system: Windows / Linux.

Operating system:
Windows / Linux

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5