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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:32:01+00:00 2026-06-16T17:32:01+00:00

I have 3 models such as User model,Book model, and Author model. I’d like

  • 0

I have 3 models such as User model,Book model, and Author model.

I’d like to implement the function with which, User can bookmark record of Books or Authors as
their favorite.

Is there any good gem to do this easily???

I’m not thinking of making on my own.

  • 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-16T17:32:02+00:00Added an answer on June 16, 2026 at 5:32 pm

    You could use acts_as_votable gem and use the likes as the bookmarks.

    You could use

    @user.get_up_voted Book

    This will return all books that @user has voted up (these are the bookmarks of this user)

    you will find more information in the voter section here.

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

Sidebar

Related Questions

I have two devise models: User and Member As such, I'm specifying authentication keys
I have Messages and User models with corresponding tables. The Messages table has such
Given models User and Comments being populated such that a user may have many
I have a such model named Foo: class Foo(models.Model): name = models.CharField() entry =
I have a function in my Comic Model as such: <?php class Comic extends
Suppose I have a simple model, such as Record: @Model public class Record {
I have models like this: class Vendor(models.Model): title = models.CharField() class Product(models.Model): ... vendor
So I have the following model structure for a django project class RawData(models.Model): user
I have a circular dependency in my Django models, such that model A has
I have two models in Rails 3 - a User model and a Profile

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.