Archive

Archive for the ‘plugin’ Category

RubyOnRails Plugin: Auto Tags

April 29th, 2008

Announcing the release of this tiny useful plugin AutoTags.
A couple of weeks ago I travelled to Mumbai in train which was a long 17hrs journey… and I utilized that by coding down the idea while travelling. So here it comes…

AutoTags, an open source project, is a plugin for RubyOnRails applications to automatically generate the relevant tags for the provided content. Its quite simple to use and provide easy integration with ActiveRecord. The plugin is very useful for social applications, community websites and all those networking applications where there is a scope of user generate content to be tagged. No more heck for the admin to sit and add the tags to the content or waiting for the users to add the tags to their content.

For installation and usage read here.

If you liked the plugin then please recommend me on workingwithrails.

sur auto_tags, networking, open_source, plugin, rubyonrails

Plugin: Validate Attributes - validate one or more specific attributes

May 20th, 2007

Hi all,
I found an answer(a tweak) to the question which was pinging my mind while working on my current project that How to validate one or more specific attribute of the model(field of the table i mean)?, as the requirement was to save a record after validating the model’s object through 4 steps ie. 4 different forms. Although i found something in the Rails API to put some step constraints on the validations in the model, but i didn’t find it that much flexible so i wrote a snippet which validates one or more specific attributes and can also save the record on the basis of validating specific attributes. Then i thought to pluginize it, as it might be useful

Check out the plugin Validate Attributes
It provides a simple way to validate specific attribute(s) unlike the function valid? which collectively validates all the attributes.

For more information about the plugin regarding SVN repository, usage, example please visit here

If you like/dislike the plugin or if you have some issue/conflict, please do not forget to post a comment.

sur plugin, rails, ror, ruby, rubyonrails, validate_attributes

Simple Captcha 1.0

March 23rd, 2007

Update: SimpleCaptcha 1.2.2 is up!!

Major Changes…

FileSystem Usage Removed

Works Perfectly with Multiple Clustered Servers

Read Here for more details on implementation, usage and examples.


sur captcha, plugin, rails, ruby, rubyonrails, validations

Plugin: Simple Captcha - captcha for rubyonrails

February 6th, 2007


Simple Captcha 1.0 released

If you are using an older revision of SimpleCaptcha then it is strongly recommended that update it to the Simple Captcha version 1.0, coz there were certain bugs in the previous release viz. update_attribute, which has been fixed in this release.

Bugs Fixed and Features

  • update_attribute and update_attributes are now working
  • Automated removal of old simple captcha images
  • can be implemented as controller or model based captcha
  • implementation requires a single line of code in view and a single line of code in controller/model
  • customized CSS can be implemented
  • Distortion of images can be selected from three different levels as low, medium or high…
    so that now we can handle the complexities of images
  • Eight different styles of images are available to be selected as your captcha image

check out more details here

sur captcha, plugin, rails, ror, rubyonrails