Started working with Ruby on Rails


For a current project that I am working on I had to start working with Rugy on Rails. My first impression of both Ruby and Rails has been quite nice, although still lacking the good debugging capabilities like visual studio provides, but I hope that slowly and gradually I will be able to manage that better as well.

The tip of the day for Ruby is to use .blank? to check if an object is null rather then using .nil? or .empty? , this approach is suppose to be much better to use and suppose to be the prefered choice going forward with ruby.

Tip picked up from the forum post http://www.railsforum.com/viewtopic.php?id=18292

 

Reblog this post [with Zemanta]
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s