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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:17:26+00:00 2026-05-25T02:17:26+00:00

I am new to rails and I am currently in the process of developing

  • 0

I am new to rails and I am currently in the process of developing a check list app. I would greatly appreciate some guidance as I am currently suck in my development process and would just like some help getting me on my way.

Goal:

Admins will have the privileges to add collections, and add products to those specific collections – (all will be pre-populated and defined before the site goes live).

Users should arrive at the homepage, be presented with a splash page of what the page is and be able to sign in/ up. Once signed in the user should be directed to their profile page.

a.) first time there, they should be presented with a list of collections they want to ‘follow” / “watch” (that show up on their profile page to track the products they are missing from the entire collection)

b.) second time there, they should be presented with the collections they are watching, and the all products in that collection.

Once on their profile page, they should be able to “check” and “uncheck” products in the collection. I want to show all the products in the collection regardless if they have them or not, and they can check the ones they have, and I will do some fancy front side stuff to make it visually appealing. (fade from black / color – on true/false value – animate all selected ones to front of container..ect)

What I have:

I have a Collection(has_many) -> Products(belongs_to) association models set up. I have both of the controllers CRUIDified, and the product page is CRUIDified through association with collection. (nested routes / @collection.products.build etc.)

I have a generated Devise User model with email confirmation. I gave that model a User(has_many) -> Collections(belongs_to) association.

My next steps?

I am trying to assign a user to a profile page that I can display the results of the their collections/products. I am stuck as to how to achieve this. Do I need to create a user controller and put a before_filter :authenticate_user! and limit the actions I don’t want accessible by normal users? Or do I need to generate a new Model Profile, and put an association there?

If you would like to see my current code it can be found here:
https://github.com/gogogarrett/Blind-Boxd

Thanks in advance,

Garrett

  • 1 1 Answer
  • 1 View
  • 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-25T02:17:27+00:00Added an answer on May 25, 2026 at 2:17 am

    If you want to have a page for signed in users to see their collections and products, you don’t necessarily need that to be in a User Controller.

    I have put my user overview pages in a pages_controller. You then have a before filter of :authenticate_user!, and you just pass whatever you need into the view (@collections = current_user.collections).

    It doesn’t sound like you need a new model.

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

Sidebar

Related Questions

I'm kind of new to rails - I'm currently learning by developing a web-app,
hi im new in ruby on rails development and currently im working in a
I'm currently in the process of writing my first Rails app. I'm writing a
I'm new to Rails and currently working on an app where my classmates/schoolmates can
Currently I have a Rails 3 app that subscribes new users up to MailChimp.
I have started developing a new Rails app on my server using RVM, Rails
I'm trying to build a new rails 3 app from scratch using OmniAuth. Currently
Being quite new to rails and currently building a project, i'm begining to be
I'm currently very new with rails and quite confused. I am doing a school
I am new to Rails routing and I currently have a problem and hope

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.