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 3852724
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:21:36+00:00 2026-05-19T17:21:36+00:00

I’m working on a web app where people can save records using an industry-specific

  • 0

I’m working on a web app where people can save records using an industry-specific taxonomy. Most of my users will be familiar with it, but some may not be, or they may be rusty… etc.

I have some required fields in these records where I’d like to give people the option to select: “I don’t know.” However, I don’t want the database to be full of lazy “I don’t know” entries, so I’d like to limit each user to marking “I don’t know” only a few times per day.

In addition, I have moderators on the site who will go back and look at entries filed “I don’t know.” I’d like for the moderators to be notified of any new “I don’t know” answers whenever they log in to the site so they can take a look and correct the record.

Lastly, I’d like for users whose records have been corrected to be notified when they login that their record was updated. In this way they can go back and see how they should have filed their record.

What I really want to know is:

  1. Does this kind of problem follow a specific pattern that you’re aware of? (IE: is there a term I could Google that would point me to good resources about how to handle this kind of situation)
  2. Are you’re aware of some good reading / tutorials that might be helpful.
  3. Most importantly, can you offer some guidance as to how to solve this problem in the “Rails way”?

Thanks!

-EDIT-
To add some clarity to what I’m really hoping for: If you had this kind of need on your site, how would you solve it? Would you use an observer? Do you make an attribute in the model and have the observer “manipulate” that, or do you keep all the code in the observer. Is there a different way to solve this problem?

Really I just have no idea how to approach this, and I’d very much value any feedback you all can give as to how you would think about this kind of problem and an outline of how you might solve it.

I’m aware that I can use Observers as part of the solution, but I don’t really know the best way to tell an observer to notice if something has happened three times in 24 hours… that kind of thing, or to know whether or not someone has read a notification.

Thanks!

  • 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-19T17:21:36+00:00Added an answer on May 19, 2026 at 5:21 pm

    To pile on (in a little more detail)

    1) Use custom validation, where you check the user_id, the answer & the updated_at. If the answer “I don’t know” appears more that X number of times where updated_at > 1.day.ago … have it fail validation

    2) You will need “persistent flash messaging”. This mean that you will need to FlashMessage model where you store the messages to display to the users on login. It will need the following fields: user_id, message, is_read(boolean)

    3) Lastly, you will need an observer on the table that has the validator (mentioned in point 1). That observer will write to the flash_messages table “after_create”

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
I have just tried to save a simple *.rtf file with some websites and
I'm making a simple page using Google Maps API 3. My first. One marker
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I want use html5's new tag to play a wav file (currently only supported
this is what i have right now Drawing an RSS feed into the php,

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.