Since I have graduated, I have yet to receive an offer to work as a developer from any of the companies for which I have interviewed! Despite my lack of success, I thought that it would be beneficial for myself to analyze what I’ve been doing well and what I can work on. My hope is that this can be helpful for you in some way!
Today we are going to tackle a small API project using Rails that will later be used in a React Js application. We will be using the jbuilder gem in our Rails API to make an awesome looking json view page!
As a fellow Rails developer, you have most likely received the task of creating something similar to a blogging app (bear with me if you haven’t). Recently, I have had to create one complete with commenting, sharing, and voting capabilities. Typically I would take time to map out the schema prior to running
rails new but in this case I was pressed for time. Luckily I had the
act_as_voteable gem to save the day!
I would say about 50% of my rails apps begin with me forgetting to add the
--databse=postgresql flag. Just in case you are as forgetful as I am, here are the simple steps to changing your rails app from a sqllite3 to postgre without needing to delete the whole app.
layout: post title: Angular JS intro tag: [blog] —