Setting up Ruby SDK for RubyMine with Vagrant

This article is about how you can configure to use the Ruby SDK in your Vagrant image with RubyMine. For this, I have used the joshfng/railsbox Vagrant image because I was using that image for a Rails project. First you have to find where is your Ruby interpreter located for your project. Let’s assume your project lies in the same folder where you have Vagrantfile. In this case, by default the /vagrant folder in the vagrant image will contain your code....

October 12, 2017 · Sinaru Gunawardena

Londonderry, Northern Ireland

<a href=“http://www.sinaru.com/wp-content/uploads/2017/10/20171007_172916_HDR-e1507500800246.jpg” data-rel=“lightbox-image-0” data-rl_title="" data-rl_caption="" title=""> <a href=“http://www.sinaru.com/wp-content/uploads/2017/10/20171007_162235_HDR-e1507500787293.jpg” data-rel=“lightbox-image-1” data-rl_title="" data-rl_caption="" title=""> <a href=“http://www.sinaru.com/wp-content/uploads/2017/10/20171007_170404_HDR-e1507500776920.jpg” data-rel=“lightbox-image-2” data-rl_title="" data-rl_caption="" title="">

October 8, 2017 · Sinaru Gunawardena

Donegal city, Ireland

I visited Donegal today. Took a bus from Dublin to Donegal for almost four hours then walked around the city.

October 7, 2017 · Sinaru Gunawardena

Galway, Ireland

Sep 11, 2017

September 12, 2017 · Sinaru Gunawardena

Waterford, Ireland

Sep 8, 2017

September 8, 2017 · Sinaru Gunawardena

Kilkenny, Ireland

Sep 2, 2017 Today I went to Kilkenny. Visited many places. It’s a nice small town. Below you can see a photo of Saint Canice’s Cathedral and Round Tower.

September 2, 2017 · Sinaru Gunawardena

London, UK

...

August 22, 2017 · Sinaru Gunawardena

Brú na Bóinne, Meath, Ireland

...

July 16, 2017 · Sinaru Gunawardena

Limerick, Ireland

...

June 3, 2017 · Sinaru Gunawardena

Think differently when the current tests fails

This is a lesson learned from work. SO we use Rials in our project at the workplace. SP for a new requirement, we had to have a validation for a particular attribute of a model. The requirements were specific on where the validation should happen. Say for example for what controller actions. However, the initial idea was tho have the validation at the model so that it will be validated on create and update....

April 25, 2017 · Sinaru Gunawardena