July 2nd, 2008 | 3 Comments »
Other blogs about Ruby or Rails have already touched some of the tips I’m going to show, but it never hurts to remind you these small recipes aimed at Ruby novices:
Daca esti nou pe aici, nu uita sa te abonezi la feedul meu RSS . Iti multumesc pentru vizita!
in Rails, Ruby, Tips and Tricks |
May 29th, 2008 | 1 Comment »
To my shame as a rubyist, it was only a couple of hours ago that I found out, while reading Ruby Inside about mod_rails and the wonders it does for the Rails community.
in English, Rails, Tutorials |
January 16th, 2008 | 1 Comment »
Got myself a sleepless night recently and killed some time reading the Rubyisms in Rails book. The chapter about Iterators was particularly pleasant, reminding me the beauty of Ruby’s Enumerable class - feels so Lisp-ish and Scheme-ish to write stuff like col.select{..}.collect{..}.join(”, “)
For the curious, here’s a cool excerpt from the book, with Enumerable’s most […]
in Rails, Ruby |
November 7th, 2007 | 1 Comment »
Last time I discussed Ruby and metaprogramming, I was trying to stay DRY (Don’t Repeat Yourself) while coding some very similar-looking methods. The solution, then was to use class_eval to dynamically add methods into the current class, the way attr_accessor and it’s peers already do.
Today I was having a similar, yet more difficult problem: the […]
in Rails, Ruby, Tips and Tricks |
October 2nd, 2007 | 6 Comments »
Am fost aseara la wurbe2, eveniment desfasurat la sediul Adobe. Buni baieti cei de la Adobe, ne-au dat wifi, sucuri, badge-uri de vizitatori si, mai ales, pizza - multe, multe pizze, cat sa se ajunga si sa mai si ramana.
in PHOTO, Rails |
April 25th, 2007 | 2 Comments »
If you are interested in web, databases and the like then you probably already heard of SQLITE. If not, here’s a quick intro
SQLITE is a database engine that uses just one file per database. It’s tiny, simple to use and, most importantly, very easy to use with Ruby on Rails. All you need is the […]
in Rails, Ruby, Tutorials |
April 18th, 2007 | 5 Comments »
My assignment this week, as senior Ruby on Rails developer for TrexGlobal (an US startup with some cool online apps for real estate investors that help you save lots of dollars on your taxes) was to add tests for some of the controllers in place.
Yes, I know, we should have used TDD(Test Driven Development) […]
in Rails, Tips and Tricks |
March 28th, 2007 | 5 Comments »
My cool colleagues from Trex Global gave me an unusual assignment this week: profile the current implementation of our first two apps, DeferEm and DepreciateEm.
Among the requests, the usual ones:
Request response duration
Execution profile of flow (path taken, time in methods)
SQL Queries made
Analyze and Identify performance bottlenecks - in-memory, sql query exec
in Rails, Tutorials |
March 27th, 2007 | No Comments »
Warning! This is not a full-blown tutorial, rather a quick step-by-step intro on what you have to do to run Rails on your Mac, if you are a noobie who just heard of Rails and wants to have it running on his computer ASAP:
Step 1 - Get Rails - Rumours say that in the […]
in Rails, Tutorials |