How it can feel working with hashes

Earlier this week I went through a technical interview where I did not finish the coding challenge in the specified time frame, but took some time afterward to tackle it and eventually solve it. I’ve altered the question in this post so it is not the exact one that was presented, but requires the same steps in order to solve. The two interviewers were absolutely fantastic — they were encouraging and supportive, and clearly enjoyed the company they work for. I think there is no greater testament to a company’s culture than the genuine happiness and feedback from its employees.

Ah yes, you know this one. Tale as old as time…the good ‘ol FizzBuzz challenge.

Beginning my coding journey with Flatiron School, this was one of the initial lab challenges students were asked to complete in Phase 1: Ruby.

There are a multitude of articles and other resources that do an excellent job of explaining and solving this challenge in depth, so this post will do its best to steer away from unnecessary redundancy. The purpose and highlight for this post is to review the differences of how this coding challenge can be solved in Ruby versus Javascript with the…

This past week I began studying data structures and algorithms after meeting for a mock technical interview with a Flatiron School alumni. The interview was extremely insightful in showing me where my areas of opportunity were. If you didn’t already guess, it was in algorithms. This post will be centered on first question I was asked. The language I opted for was Ruby.

The Question:

# write a function "replace_char" as quickly as possible that takes in a string, a character and another character and returns the string with all the instances of that character replaced with the second character.

My experience with Heroku so far has been full of turmoil as I navigate issues with deployment and learn to understand the logs. There may even have been an existential crisis….or two (only half-kidding).

This post will discuss the most recent log error I solved, thus successfully deploying an application I’ve been working on.

The Error:

ActionView::Template::Error (PG::UndefinedTable: ERROR:  relation "products" does not exist

The Situation:

These last few days I’ve been working on a pure Ruby on Rails application that serves as an online platform for pet owners to create review posts of their favorite products. Other users are…

My coding buddy Rocky, ready to help walk you through today’s blog post!

In this post, I will be detailing how I set up my project using Rails as an API-only backend with Postgresql as the database, as well as how to deploy to Heroku. With hours spent debugging errors in setting up Postgresql and deploying Heroku, I hope to save new learners a headache and most importantly, some time. Feel free to follow along in your own editor.

The Project: B.O.B.

Blacked Owned Breweries, or B.O.B., is an idea I came up with when my friends and I went out recently to support local, family owned breweries in our area. After visiting…

Just a few months ago I embarked on one of the most rewarding and terrifying journeys of my life. My journey started with the difficult decision to leave my job during a pandemic due to safety concerns for myself and my family. A few days ago, I received my certification of completion from Flatiron’s Software Engineering Program.

As a first-generation American with humble beginnings, I never imagined the young girl who designed Xanga and Myspace websites for fun in middle school would ever be able to say that she is now a certified full stack developer. …

Javascript project-week has arrived! The requirements for the project were as follows: “The application must be an HTML, CSS, and JavaScript frontend with a Rails API backend. All interactions between the client and the server must be handled asynchronously (AJAX) and use JSON as the communication format.”

In addition, students had to use Object Oriented JS to “encapsulate related data and behavior”. Students also had to include at least one has-many relationship in their models, have at least 3 AJAX calls, and at least use 2 CRUD functions. …

This week students were tasked with building their first Ruby on Rails project. I can honestly say that this was the most difficult task to date. Below I will describe my process for completing the project. To begin, the following were the requirements for the project:

Requirements:Use the Ruby on Rails framework.Your models must:• Include at least one has_many, at least one belongs_to, and at least two has_many :through relationships• Include a many-to-many relationship implemented with has_many :through associations. …

In reviewing my project, I realized I had forgotten to do a crucial step in my program — authenticating my users. What exactly is user authentication and why is it so important?

User authentication essentially verifies a user, or proves the identity of a user, when they are logged into any application. Their identity is verified, or authenticated page to page while they are logged on so they do not have access to another user’s information, and vice versa. So if a person logs into their Instagram account, they can only see their profile, post to their profile, edit/delete something…

For my second project for Flatiron, I had to build a CRUD, MVC app using Sinatra. The program had to allow a user to create/read/update/delete an item, or object on the web application. I chose to build an application that represented a grocery store website where a user could create an order, edit their order, see their order history, and/or delete an order. Please continue reading as I do my best to describe the steps I took to build “Stop & Bob”(..I know).

Getting Started: Setting Up My Application Files

To set up the structure of my program, I used…

Diana M.

Software Engineering graduate with a penchant for matcha lattes and baked goods. Most of my content will consist of RoR, JS, HTML/CSS, and React.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store