RSS

If You Want a Job, Wake Up and Smell the Coffee


Bob Roberts:

As a Rails Developer and one that hires developers, I can attest to “the unemployment rates range from less than 1% to just over 3%”

Originally posted on Joblink@Work Blog:

java

I must confess.  Although I like gadgets, I am not a techie per se.  Many of us enjoy technology and believe that we are well versed in it.  But, I would call that the End-User Syndrome.  That is, we enjoy the benefits of our smart phones and mobile devices.  We love to be able to do all sorts of things online, including looking up answers quickly, making purchases, and paying bills (OK, that’s not so much fun).  However, few of us would ever be interested in assembling hardware or even writing the code which drives the Internet or the apps we use.

Today, I had an opportunity to meet with recruiters Alexa and Lee at a technology recruiting company in my area.  Following an explanation of what I do, I asked them about their staffing needs.  I also asked them what areas were hard-to-find and therefore represent opportunities for current…

View original 1,697 more words

 
Leave a comment

Posted by on July 28, 2014 in Ruby on Rails

 

Naming conventions on Ruby & Ruby on Rails


Originally posted on Selva's Blog:

Ruby Naming Conventions

Local Variables
Lowercase letter followed by other characters, naming convention states that it is better to use underscores rather than camelBack for multiple word names, e.g. mileage, variable_xyz

Instance Variables
Instance variables are defined using the single “at” sign (@) followed by a name. It is suggested that a lowercase letter should be used after the @, e.g. @colour 

Instance Methods
Method names should start with a lowercase letter, and may be followed by digits, underscores, and letters, e.g. paint, close_the_door

Class Variables
Class variable names start with a double “at” sign (@@) and may be followed by digits, underscores, and letters, e.g. @@colour

Constant 
Constant names start with an uppercase letter followed by other characters. Constant objects are by convention named using all uppercase letters and underscores between words, e.g. THIS_IS_A_CONSTANT

Class and Module 
Class and module names starts with an uppercase letter, by convention they…

View original 497 more words

 
Leave a comment

Posted by on July 23, 2014 in Ruby on Rails

 

Why You Should Test


Originally posted on Six Months of Ruby:

Test driven development is both loved and loathed by software engineers everywhere. It’s a complicated relationship. While the benefits of TDD are well established, programmers are human, and the human mind is reluctant to associate non visible progress with perceived progress.

However, saying “I’ll get this done faster if I don’t write tests” is like saying “I’ll get to china faster by going in a straight line.” It’s a great sentiment if you’re willing to dig through a lot of rock. The fact is that writing tests might seem like taking a detour, but they also show you an easier path to where you want to go.

The Benefits

The first benefit of TDD is something almost intangible. Writing tests forces you to think about what you want to do. It forces you to plan, to design, and to define in your own mind what needs to be done. This…

View original 166 more words

 
Leave a comment

Posted by on July 23, 2014 in Ruby on Rails

 

Programming on the Toilet


Bob Roberts:

This is so true. I usually get my epiphanies at the end of the day in the shower. :)

Originally posted on Eat. Sleep. Code.:

It’s 5PM. I’ve been working on the same code for hours, grinding out an implementation one line at a time. It’s been a torturous process. Some days, code just naturally flows from my brain to my fingertips. This is not one of those days.

View original 697 more words

 
Leave a comment

Posted by on July 12, 2014 in Ruby on Rails

 

Exploring Rails: Single Table Inheritance


Bob Roberts:

As usual a great article by Ramon!!

Originally posted on Project Ramon:

Hello and happy Wednesday!

In the last post, we covered a solution towards using the Rails’ Form Helper accepts_nested_attributes_for to give us a convenient ability to create data fields for multiple models to save and retrieve. This is also known as creating a multi-part form.

At the time I hadn’t figured out how to implement Single Table Inheritance properly, and instead created 2 phone number classes to represent a primary and secondary number. After some quick looking around, I found some pretty insightful tutorials that allowed me to use STI in order to DRY out my two redundant classes from the last post.

What I did Wrong

Lets take a quick look at the code from my last post, in order to demonstrate the problem and set the stage for implementing STI properly in Rails.

I was having an issue with seeing the attribute fields commit or retrieve the…

View original 670 more words

 
Leave a comment

Posted by on July 9, 2014 in Ruby on Rails

 

WebSocket over Nginx


Bob Roberts:

Great write up for Websockets and Nginx (and you should be using Nginx!!)

Originally posted on Josh Software - Where Programming is an Art!:

How often do you find that the awesome movie seats you have painstakingly chosen for yourself, is suddenly not available when you proceed to pay for it. “Damn it! Just missed!” you say. Wouldn’t it be  great to be guaranteed the seat you selected everytime!

The problem with the above scenario (as is  with most e-commerce portals) is that, if two users almost simultaneously  select same seat and checkout to book, the seat will be booked with the user who has clicked first. The other user will be redirected to same page with message the Seat has already been booked. We all have used Indian Railway Website and this problem really gets me frustrated.So I wanted to build system in which the seat I select always gets booked.

To avoid this problem, I came up with two solutions

Auto Refresh every 2 seconds (like cricket scores on cricinfo.com)

  • This would…

View original 732 more words

 
Leave a comment

Posted by on July 8, 2014 in Ruby on Rails

 

Ericsson Supports Girls


Bob Roberts:

We need a group in Phoenix

Originally posted on www.barry.ie:

RailGirls that is. If you have never heard of it before, RailGirls’ aim is to give tools and a community for women to understand technology and to build their ideas. They do this by providing a great experience on building things and by making technology more approachable.

Rails Girls was born in Finland, but is nowadays a global, non-profit volunteer community, and recently held an event in Galway which Ericsson supported with sponsorship and engineers.

If you missed it, don’t worry, I’m sure there will be future events soon, but in the meantime, this might give you a feeling for one of the events if you think RailGirls might be for you and you think you might like to attend:


Ericsson Master Engineer Gerry Kavanagh at RailGirls Galway

View original

 
Leave a comment

Posted by on July 8, 2014 in Ruby on Rails