Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6196397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:38:10+00:00 2026-05-24T03:38:10+00:00

I have just installed the on_the_spot gem following the github instructions. And I’m trying

  • 0

I have just installed the “on_the_spot” gem following the github instructions.

And I’m trying to create a in-place edit for my index action. When I get the mouse over the text that should be editable, nothing happens. Only the background color changes.

This is the relevant code from my index view

<% @part_types.each do |part_type| %>
<tr>
  <td><%= on_the_spot_edit part_type, :title %></td>
</tr>
<% end %>

From the controller:

class PartTypesController < ApplicationController

#on_the_spot for in place editing
can_edit_on_the_spot
#.. rest of the controller code
end

Added to the routes:

resources :part_types do
  collection do
    put :update_attribute_on_the_spot
  end
end

nginx already restarted after these changes.

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T03:38:12+00:00Added an answer on May 24, 2026 at 3:38 am

    Inside your Gemfile add the following:

    gem “on_the_spot”
    Run the installation task:

    rails g on_the_spot:install

    if u using rails 3.1 replace created files to app/assets/javascripts (two files jquery.jeditable.mini and on_the_spot)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the problem I just installed the new Monodevelop 2.2.2 on Windows but
I have just installed Visual Studio 2008 on a Virtual PC to evaluate it
I have just installed QAS Pro Web on a computer and I am now
I have just installed that latest stable release of TortoiseSVN on Windows Server 2003
I have just installed a new ssl certificate on GlassFish 3. I also changed
I have just installed SQL Server 2008 including Reporting Services on Windows Server 2003.
I just installed TeamBox on my Ubuntu 9.10 server. I have it up and
I have just installed Microsoft Robotics Studio 2008 R2, and I must admit that
I have just installed C# 2008 Express Edition 2008 and started writing code. My
I have just installed Delphi 2010 and got some troubles with idHTTP component. If

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.