Getting ActiveScaffold to work with Rails 2.2 edge

November 18th, 2008

Due to the way template handling works in Rails 2.2, activeScaffold does not work on edge rails anymore.
Thanks to Dr.Gaffo there is fix for the problem in his fork of ActiveScaffold. Get the edge branch of his fork at http://github.com/gaffo/active_scaffold/tree/edge which is compatible with edge Rails.
Even after this you might face some problems like the path to Inflector. Just move the reference to ActiveSupport::Inflector and you should be good.

There is one issue that I noticed, date time field handling by ActiveScaffold is broken, thanks to refactoring in Rails core for handling these. I will post a fix for this as soon as possible and update this post too.

Agile Expert Series in Delhi

November 13th, 2008

Sanjiv Augustine a well known International Agile expert is in NCR and is giving a free community talk on the 15th Nov. The event will happen in Gurgaon and Noida (evening and morning). The event details and signup is at http://agilencr.wikidot.com/agile-expert-series-sanjiv-augustine.



So if you yourself are or know someone who is interested in agile development practices, this is a must attend event.

Ruby Fun Day: The first full day Ruby and Ruby on Rails event in India

November 1st, 2008

Here’s announcing the first Ruby and Rails Full Day event in India. It has been in the making for months if not years, and now finally it is going to happen on 22nd of November 2008.
We invite all Rubyists and Rails Lovers in India to participate and give us the enthusiasm to organize Fun-Days regularly.

Call it the Ruby-barcamp if you may. Everybody is welcome to speak, but send us a summary of what you would speak about.
This will be an event for the Geeks by the geeks and so we want to ensure hardcore technical sessions.
The only criteria for this one is “more code, less talk”. And of course it has to be related to Ruby or Ruby on Rails.

For event details and participation confirmation: visit http://rubyonrails.in/events/3

Have a day full of Fun and Ruby.
Special Thanks to Impetus Technologies in Noida for providing the venue.

Would you hire this Ruby on Rails developer

September 30th, 2008




I had this interaction with somebody who applied for a job at Vinsol







What is disturbing here is the attitude of Indian developers towards contributing to open source projects, and belive me, this is fairly rampant. Contributing to open source projects matters more than your marks in school to us and to a lot of other companies around.

A political and spiritual leader is an oxymoron

August 20th, 2008

I am subscribed to an email list run by Bob Proctor, which sends an “Insight of the day” email daily and this is what I received today:

Quote:

“Consciously or unconsciously, every one of us does render some service or other. If we cultivate the habit of doing this service deliberately, our desire for service will steadily grow stronger, and will make, not only our own happiness, but that of the world at large.”

Mahatma Gandhi
1869-1948, Indian Political and Spiritual Leader

What caught my attention was not the quote, but the honorific attributed to Mahatma Gandhi, Indian Political and Spiritual Leader . In the present times, this would be described as oxymoronic.
How can a political leader in India (maybe the world) be even remotely spiritual. Before you nudge me to get into politics to correct the situation, let me confess that I am trying to run a business and be spiritual.
Politics…. someday…. maybe… who knows. Ask Shiv Khera.

Ride the Rails: Still skeptical?

April 26th, 2008

Ok, so we had been shouting ourselves hoarse, claiming that Rails is all about developer productivity and joy. So is that all about it?, huh!, was the normal reaction. But isn’t that a big enough reason. Not for many people though.

Yes, we accept that there are some pain points, like hosting Rails applications at shared hosts. No we don’t need those in production, but don’t you wish it was easier to deploy a rails app for a quick review with a client (a client who can’t run it on his own machine). Yes php scores there, just throw the code on the server and you are done. Why do I still run this blog on wordpress and not typo or mephisto? The big reason is that it’s easy to let just apache handle everything.

But things might change soon with the launch of passenger aka modrails.

And the other classic allegation against Rails has been performance. Remember the discussion between JDD and DHH about CPU cycles vs. developer cycles. We are definitely headed in the direction of lesser CPU cycles for our Rails app. Rails2 made some advances towards that and with Ruby1.9 and YARV and Rubinium, we have high expectations. Also you have heard about Ruby Enterprise Edition , haven’t you?

So things might change, when people try to figure out the fastest web language or framwework , the next time around.

I and those around me here, are generally biased towards rails. Ruby makes us happy. For us the pleasure points in Rails were always far more than the pain points. The basic Rails principles of DRY and Convention Over Configuration clicked with us. Ruby’s and Rail’s simplicity and beauty clicked with us. We did not need hosting on shared hosts. We could work with Rails caching to improve performance. No wonder we were one of the early adopters of Rails in India. But today, I would like to thank the critics whose untiring rants have moved Rails in the direction of being much more than what is was a couple of years ago.

Some of those changes have been in rails, but more have been around it. If you would have noticed, most of these development are not in rails as such, but in the ruby ecosystem.

Rails provides developer productivity and joy; ease of deployment; and ever-improving performance. And no, now you don’t need to go back to Java. We knew it, I am just repeating it for you.

Extrapolate this one year old graph for yourself.

So what is your reason for not having rail-ed yet?

Update: Charles Nutter has a post on upcoming Ruby implementations here