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

  • Home
  • SEARCH
  • 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 8251131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:08:19+00:00 2026-06-08T00:08:19+00:00

I am working in a Rails application. The app has concepts like user can

  • 0

I am working in a Rails application.
The app has concepts like user can add custom tabs and add custom sections under each tab.
Also user can delete these tabs or sections from frontend.

Right now i am using the actual Tab id / Section id in the delete option like div id="del_1"
, so when user clicks this div the id is separated and passed through ajax request for deleting the section or tab.

is showing actual id of a tab/section or any other entities in front end for this kind of operation is correct?

if not how can i encode these data in the html?
i tried using baseencode, but it produces some special characters which i cannot really use in html.

  • 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-06-08T00:08:20+00:00Added an answer on June 8, 2026 at 12:08 am

    If there isn’t some security reason you need to obfuscate the object ids I wouldn’t suggest trying to. As far as I’m concerned showing the actual id of an object in the front end is not only correct but makes the entire system easier to understand and develop.

    That being said you shouldn’t trust what comes from your clients, so if you need a auth/permissions system take a look at Devise or AuthLogic.

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

Sidebar

Related Questions

The Rails application I'm working on, has two central pieces: users and groups. A
I'm working on a rails app and would like to hide away some code
I'm working on a simple Rails app, which currently has four pages - Home,
I'm working on a Rails application that's kind of like a blog. Users create
I'm working on a rails 3 application which has different sub domains for specific
I'm working on rails application with postgres db.I have a table called merchant_review_votes where
I'm working on a Rails application where I have some a set of two
I am thinking of working on a Rails application that uses PostgreSQL. I have
I'm having working on a Rails application that is supposed to run on an
Background Currently, I am working on a Rails application. I have different products that

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.