Asim Mehmood Khan

Joined

350 Experience
2 Lessons Completed
0 Questions Solved

Activity

Hi,

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.

Regards,

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.

https://github.com/AsimKhan2019/RORDBApp1

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.

https://github.com/AsimKhan2019/RORDBApp2

Is there a way for me to achieve that?

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

Hi,

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.

github.com/AsimKhan2019/RORAssociationExercise

Regards,
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.