Tuesday, September 27, 2011

Rubymine recommended font for windows

Didn't find a lot about it on internet so:

File->Settings->Editor->colors & fonts->Font
 first save as current schema
than click the  ... button choose Consolas and set size to 14

looks much better!

MVC Frameworks and dynamic languages

Warning! just figure out a mistake that can happen to every other programmer, and even brogrammers.

I defined a method on my model that has the same name as one of the field of the model, because I used a dynamic language (ruby on rails) it was pretty hard to understand this issue (took me more than 1 hour).

So a little tip:

When thinking about names of actions and fields of your model, work with conventions and guidelines like:
Don't name your fields after action names!!!

that's it.