Archive for December, 2006

Plugin: Exception Notifier; Get detail information of exceptions occurred on the live server right on your inbox.

I don’t know whether you guys are aware of Exception Notifier plugin written by Jamis Buck or not. If you don’t then I would like to share this with you.

The Exception Notifier plugin provides a mailer object and a default set of templates for sending email notifications when errors occur in a Rails application. The plugin is configurable and allows programmers to specify:

  • the sender address of the email
  • the recipient addresses
  • the text used to prefix the subject line

The email includes information about the current request, session, and environment, and also gives a backtrace of the exception.

I am using this plugin and found it very useful, and suggest you to use it.

You can get this plugin from http://dev.rubyonrails.org/svn/rails/plugins/exception_notification/

Most awaited moment…

Tomorrow will be the our first working day in our new office at Gurgaon. We were planing to move since last year, but due to some reason we couldn’t. Now we are finally moving to our new office ;-) . Now we have enough space to hire people. If you are looking for a job/change or want to work on cutting edge web technology (Spec. Ruby on Rails), send me your resume at akhil at vinsol.com so that i can forward it for further considerations. If you don’t know ruby/rails no probs at all, Freshers OK.
Cheers…

Excellent! what else I say about Barcamp Delhi 2

Yesterday I was at Barcampdelhi2 sponsored by Opera and supported by Impetus tech. It was my first barcamp ever and it was excellent, great sessions by great people. There were 2 or 3 sessions about web standards and they forced me to think  about web standards. I never take care of them, do you…?
Anyways Thanks to Opera for T-Shirts, Pen, Ball, Lunch and Beer.

You can find BarcampDelhi2 photos at http://www.flickr.com/photos/tags/barcampdelhi2/
and slides at http://slideshare.net/tag/barcampdelhi2

Accessing session data using session_id

This is the very rare case but some times we need to access the data stored in session through session_id(specially when the request is not coming from browser). Here is a way I found and like to share:

@user=CGI::Session::ActiveRecordStore::Session.find_by_session_id(@session_id).data[:user]

BarCampDelhi-2: see you there…

barcamp.gifI will be at BarCamp this Saturday, 9th Dec. Most probably I will be presenting something related to ROR. If you’re going to attend BarCampDelhi-2, I hope that you’ll come out and hear me speak there. This will be my first public presentation ever. If you wanna attend/present at BarCamp please add yourself in the campers list(here) so the planners can arrange the space.

Ruby On Rails Search engine for Mozilla Firefox

Some days ago we created a customized google search engine for ROR, now you can use this search engine with Mozilla Firefox. What you have to do is: Download rails_search.xml, save it in your searchplugins directory under Mozilla FireFox installation path (usually it is  C:\Program Files\Mozilla Firefox\searchplugins) and you are done. Restart FireFox and Rails search engine will appear in the search engine list at top right corner.

*To download the file, right click on the link above and save link as rails_search.xml