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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:02:03+00:00 2026-05-26T16:02:03+00:00

I have just moved from using php mvc frameworks to rails and have been

  • 0

I have just moved from using php mvc frameworks to rails and have been going through the guides and devouring railscasts.

It seems that everything is based around restful resources and creating functionality around these parts is intuitive.

The non-restful/non-model-based parts are slightly less intuitive or at least seem to be less covered by documentation.

There’s 3 types of users in my web app. When a user logs in then I want them to be displayed a dashboard page with some basic summary information depending on which type of user they are.

Whats the best way to represent this? Do I just create a new Action Controller called Dashboard to represent this non-model-based functionality and then create the methods I need like show or is there a better strategy?

Cheers

  • 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-26T16:02:04+00:00Added an answer on May 26, 2026 at 4:02 pm

    Yes, you could create a new Dashboard controller.

    If it will likely only be the show action, you could just add a new dashboard method to your users controller and the route match "/users/:id/dashboard" => "users#dashboard".

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

Sidebar

Related Questions

I have just moved from phase 1 to phase 2 of a project. In
I have just moved job and gone from VB 6 to VB.Net and found
I have just got a MacBook Pro and have been using it (+Fusion) to
I just moved from an Ubuntu PHP workstation dev environment back to Windows and
Ive just moved from VB.Net to C#. I dont understand why people are using
I have just moved one of my projects into VS2010/fx4.0 and am using a
I just moved my Wordpress site from using nginx to Apache2, and found that
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have just started playing with ASP.NET MVC and have stumbled over the following situation.

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.