My Rails Project

Zainab Omar
1 min readDec 30, 2020

--

I am finally done with my project. At the beginning, I thought this project will be easy and I can finish it in four days because it is similar to Sinatra. But I was wrong Rails is harder than Sinatra. The extra requirement of this project is to use bidirectional has many through relationship. I also had to include nested routes, scope method, and for users to be able to sign in, signup by third party (Facebook, google, GitHub, etc.). The hardest parts for me were planning out the project and figuring out the relationships between my models. Second, was doing the GitHub Omniauth.

My app has four models: User, Account, Expense, and Category. My app allows users to be able to create an account with certain amount of money and then create expenses belong to the account they create. My expenses routes are nested inside account routes. My users also can access all their expenses through unnested route and can filter them by categories.

This project so far was the hardest for me. It had more requirements and I had to deal with nested routes, Omniauth, strong params and figuring out how the models work with each other. I found Sinatra much easier and simpler. Rails is harder but doing this project helped deepen my understanding of Rails.

I feel proud to have completed this project and learned so much during working on it. Looking forward to learning about JavaScript.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response