MLB Baseball Cards Collection -Ruby On Rails Project
Today I have completed my third project for Flatiron School — Ruby On Rails. If anyone read my previous blog post your can say your know something personal from me. My 2 last blog posts for Flatiron School talk about the projects I have done with the school, the first one talk about the MLB player list in Ruby, the second one MLB Scouting report. This blog post is again about MLB baseball, I don’t work for MLB but I wish I can work for them because I love Baseball I have a passion for baseball, and when I was a kid my dream was to be a Professional Baseball Player but I couldn’t make it.
Technology was another passion and a dream in my life, I didn’t make it as a professional baseball player but I’m trying to make it as a Software Developer for Baseball in MLB.
Let's talk about today project for Flatiron School, My brainstorm start from the time when I was a kid playing baseball, I used to collect baseball cards of my favorite player and I save them in a little box but the downside of that was if I lose one the card it was hard to get it back and also with the time the card gets ugly and its damage by the time pass. I create a Baseball Collection card for people that have cards or collect them to upload an image of the card to the personal account online.
I had fun creating this app because it is about something I have experienced in the past and for a sport I have a passion for, I have learned a lot in Flatiron School which I’m more motivated to continue learning more and more.
I want to talk about some of the parts I have challenges of the project, one of them was setting up the relationship of the application, one of the project requirements is to have a few relationships like belongs_to, has_many, and has_many through, for me it was confusing because I was like “What and How”, I’m going to make an app that has one thing that belong to something and what thing will have Many things of something. I was getting headaches as I was planning, it took me like two days to come with something that make sense for my app.
My second challenge was my routes setting them up the right way because rails read the routes in order from top to bottom and I was making routes that need it to be passed after another one.
Today I feel more reliable on working on a Rails project, I have so much fun and I learn so much, I want to continue creating more and more projects in rails to keep learning more things, rails are powerful and I want to learn all of its power.