Asim Mehmood Khan


350 Experience
2 Lessons Completed
0 Questions Solved



So recently I cloned a repo from Azure DevOps into Visual Studio 2022 and proceeded to install a rails application into the project, but encountered an error even though a ‘development’ branch had been identified.

I used the following command to try to install the Rails application

rails new . -d=postgresql

But when I use the following command to install the rails application, then the application gets installed successfully

rails new . -d=postgresql --skip-git

I want to know if there is a workaround for this error.


Asim Khan

Posted in Two applications same database

Hello fellow programmers,
I have built a first application using devise and postgresql to sign up the admin for the exercise. The first application is for sign up purpose only.

I want to use the same admin model and the postgresql database from the first application and use it in the second application to login the admin into the portal, and not sign up.

Is there a way for me to achieve that?

Posted in The Unusual Error when rendering the main page at start


I am having this unusual error where I have created the view, models, and controllers for a page with home and about views. I have also set the routes to point to the pages#home, but the view displays an error that the controller is missing a template. I do not know what to do. I am only practicing some parts of ruby on rails and now I do not know how to debug this issue. Kindly please help me in this matter.

Asim Khan

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.