Flatiron School Graduation

October 21, 2016 | Web Development

1 year ago, I started teaching myself how to code.

8 months ago, I started part time at Flatiron School’s Online Web Development program.

6 months ago, I left my job as Operations Manager at a digital agency to pursue this career path full time.

3 months ago, I started my own company for website development to leverage my skills from previous job and the new ones I was learning.

This week, I officially graduated from Flatiron School and am proud to be a Full Stack Web Developer!

Continue reading “Flatiron School Graduation”

Music Gear Share

A gear sharing app built with AngularJS and Rails

MusicGearShare is a Craig’s List style application where users can sign up and share their music equipment with each other, including anything ranging from instruments, accessories, sound equipment, and more. After signing up, users can search gear thats available to rent and messages each other to coordinate sharing and renting.

Continue reading “Music Gear Share”

Writing better Git commit messages

September 27, 2016 | Web Development

Using Git is a crucial part of most developers’ workflows, and so is writing committing messages for the changes they make. As a newer developer, I did some research into what make a good commit message and how I can improve my commits. Having clear, concise, and sufficiently detailed messages in critical when working on a project and even more so when working with other developers.

Continue reading “Writing better Git commit messages”

Using AJAX and HandlebarsJS in Ruby on Rails

September 8, 2016 | Javascript, Ruby, Web Development

AJAX, HandlebarsJS, Rails Tutorial

In this post I’m going to show you how to create a simple single page Rails app using AJAX and HandlebarsJS. This is a great pattern to use for small, dynamic apps that’s quick and easy to implement.

You’ll need:
– Knowledge of Ruby, Ruby on Rails, Javascript, and JQuery
– The active_model_serializers gem, to serialize our model instances
JSONView Chrome Extension, to make any of our JSON rendered in the browser more readable
– A basic understanding of HandlebarsJS
– Some knowledge of how AJAX works

Continue reading “Using AJAX and HandlebarsJS in Ruby on Rails”

Rails Project Management AJAX Refactor

Now with 100% more AJAX

ajax
No, not that AJAX.

About one month ago, I finished version 1 of Rails Project Management, my first full scale web application, for my Flatiron School Ruby on Rails assessment. My next assessment was to refactor the program with Javascript and implement dynamic features only possible through JQuery and a JSON API. I decided to focus on refactoring some of the CRU functionality for Projects, Tasks, Comments, and Notes so they use AJAX instead of full page refreshes. This project was also a great learning experience for using HandlebarsJS, a Javascript templating tool. While the “remote: true” pattern would have been easier, the assessment required that we not use it.

In this post I’ll do a deep dive into how and why I refactored each feature.

Continue reading “Rails Project Management AJAX Refactor”

Creating Ruby gems for Front End libraries

August 5, 2016 | Uncategorized

While working on my Rails Project Management application, I had an idea. If I can use Bootstrap’s gem to import CSS styles and JS libraries, can I make one?

During the course of any project there are often CSS styles, JS scripts, and other elements that I like to reuse. After some Googling, I found an excellent video on how to create a gem for front end libraries – and it’s super easy (like, less than 10 minutes of work if you’re already familiar with how to make Ruby Gems). In this post I’ll show you how to create your own.

Continue reading “Creating Ruby gems for Front End libraries”

Rails Project Management

Rails Project Management, (or just RailsPM) is my first full scale web application, built from scratch for my Flatiron School Ruby on Rails assessment. As a former project manager, I thought it would be fun to build an app based on the knowledge I acquired at my previous job. While realistically I wouldn’t be able to currently build an application that could complete with robust software on the current market (like Teamwork, my favorite PM application), I had a lot of fun in the process. There were a number of challenges I faced along the way but I also learned a lot!

Continue reading “Rails Project Management”

Using Basic and Custom Rails Validations

Rails Validations

In Rails, validations are special method calls defined at the top of the model class. Validations protect your database by preventing model instances from being saved to the database if they contain invalid data. Rails uses ActiveRecord to execute these validations. Keep in mind that AR validations are not the same as database validations, which check for things such as string length, data type, etc.

In the following post I’m going to cover implementing both basic and custom Rails validations. I had a tough time figuring out how to make the custom validations work since there was a lack of detailed information about them.

Continue reading “Using Basic and Custom Rails Validations”