My Grocery Price Book Blog

The tech story behind the app and tools

Upgraded Site to use Rails 5

I must say that upgrading from Rails 4.2 to Rails 5.0 has been way smoother than previous rails. Upgrading from 3.2 to 4.0 was hard and upgrading from 2.3 to 3.0 was a plain nightmare. Hands down to the Rails core team this time around, they have really...

... Read more

Creating a simple Contact form using formspree.io

Creating a simple contact form with Ruby on Rails is straight forward and simple but I found an even simpler way of doing your contact form.... Read more

Useful Services for self hosted rails applications

When building your own application using Ruby on Rails and you are a one man team, you really can use all the help you can get. I am going to list a few of the services I am using that is making the process of building a application a little more...

... Read more

Simple Reactjs AutoComplete using Typehead's Bloodhound

I wanted to add autocomplete to the shopping list, hopefully making it easier to build them. Using Reactjs made it very difficult to use out of the box autocompletes like typeahead and jquery ui autocomplete ... Read more

Building a component library

When working with a team of frontend developers/designers or working by yourself, having a components list of what css is available to you can be a real time saver. I don't know how much longer I would have taken without bootstraps components. There...

... Read more

Writing jasmine test for reactjs components on Ruby on Rails

Now that I have manage to write a few components using reactjs/rails and I feel I understand the basics of reactjs, I wanted to be able to write tests for my components. I looked into using jasmine-rails for testing my components.

Installing it was...

... Read more

Acceptance testing multiple sessions/actors using capybara

I recently wanted to add functionality that would allow multiple shoppers to work on the same Price Book.... Read more

Reactjs Shopping Lists

I have been recently trying out reactjs and decided to rebuild the shopping list section using it. give it a try, you can login as a Guest.... Read more

Police your code with Rubocop

Keeping your code on a project in shape is a daily challenge but there is a a ruby gem called rubocop that can help you with this. ... Read more

Vagrant and Ansible the ultimate combo

So for the last few months I have been using Vagrant and Ansible for any new projects that I have to work on. ... Read more