Archive for October, 2006

Validates captchais a good pluging to implement captcha in your rails application.
However i found that there is repetition of the string of the image and the quality of image is not that good. To get a good quality image and random string replace the code of the file /vendor/plugins/validates_captcha/lib/captcha_challenge.rb with the following code…

require ‘digest/sha1′
module AngryMidgetPluginsInc […]

Tuesday, October 17th, 2006 | 1 Comment

To add a rake task to the rails application which removes all the image and audio files created by captcha, create a file named remove_captcha_files.rake in the lib/tasks directory.
Add the following code to the lib/tasks/remove_captcha_files.rake file…

desc “Remove captcha images and audio files”
task :remove_captcha_files do
image_path = “#{RAILS_ROOT}/public/images/captcha/”
audio_path = “#{RAILS_ROOT}/public/captcha_audio/”
Dir.foreach(image_path){|file| File.delete(image_path+file) […]

Monday, October 16th, 2006 | No Comments

Satish Talim, the man behind PuneRuby has created a site to help learn ruby.
The site is based on the notes that he had prepared while learning ruby.
The site is here .. Learning Ruby
The bonus offer is that Satish will answer all your Ruby questions, for Free!

Monday, October 16th, 2006 | No Comments

As far as I know there are very few people working on RubyOnRails in India. Vinayak solutions Pvt. Ltd. is doing great in this field. Recently Manik Juneja (Director) attended the Rails conf. Landon and last week traveled Colombo to train a team of web programmers on Ruby on Rails.

Saturday, October 14th, 2006 | No Comments

Believe me! The scene is much hotter than what I had anticipated a few months back.
Good to see so many companies and developers jumping ( or wanting to jump) onto Rails/Ruby from other frameworks and languages.
This means increased competition for us. But it could also be consolidation time for the small agile Rails teams in […]

Friday, October 13th, 2006 | No Comments