Ruby on Rails is creating the storms in the web development all over the world. RoR is even capable to challenge Big Caps like Microsoft’s Asp.NET and so everything else in the specific area. World is continuously changing… The current WEB not solely depends on the old,encoded,paid,stressful technologies but the [ Read More ]
Hello Everyone !! I have released a captcha plugin Simple Captcha. It is really simple to implement, and provides a cool feature of multiple styles of images. Visit here for more explanation. Previous post on validates_captcha ——————————————————— To implement captcha in RubyonRails, validates_captcha plugin can be a good option but [ Read More ]
Current World’s software giant Microsoft finally released the new milestone IE-7. Once again web programmers have to reload their guns to cross a new barrirer of all new standards of MicroSoft another thing IE-7. Its a feel of proud for Microsoft to not to follow the web-standards of W3C and [ Read More ]
A regular expression (abbreviated as regexp or regex, with plural forms regexps, regexes, or regexen) is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used by many text editors and utilities to search and manipulate bodies of text based on [ Read More ]
To use your migrations for preparing test database create a file testdb.rake in the directory lib/tasks. Now add the following code in the lib/tasks/testdb.rake file… module Rake module TaskManager def redefine_task(task_class, args, &block) task_name, deps = resolve_args(args) task_name = task_class.scope_name(@scope, task_name) deps = [deps] unless deps.respond_to?(:to_ary) deps = deps.collect {|d| [ Read More ]
Hello Everyone !! I have released a captcha plugin Simple Captcha. It is really simple to implement, and provides a cool feature of multiple styles of images. Visit here for more explanation. Previous post on improving image for validates_captcha ——————————————————— Validates captcha is a good plugin to implement captcha in [ Read More ]
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/" [ Read More ]