www.SmarteGuru.com
  Home | Blogs | Recipe | Find a Friend | Discussion Board | Resources | Developers Area | Articles | Health |  Login | Register Now 

Posts Tagged ‘ror plugin’

CleverValidation: Plugin for ruby on rails validation

Thursday, October 30th, 2008

CleverValidation is an extension to the existing rails validation methods that includes the ability to customize your validation error messages and features javascript functionality for adding a bit of interaction to your validations via scriptaculous effects.

Repository
: git://github.com/two2twelve/clever_validation.git

Usage Example
(more…)

SSL Requirement, SSL Mode Plugin in ruby on rails

Friday, October 17th, 2008

SSL requirement adds a declarative way of specifying that certain actions
should only be allowed to run under SSL, and if they’re accessed without it,
they should be redirected.
(more…)

Integrate Google Analytics Plugin in your application

Monday, October 13th, 2008

This plugin will automatically add Google Analytics code to all of your pages, instead of manually having to add it to app/views/application.rhtml. You put your tracker id in config/environment.rb and it Just Works. It will, by default, only work in production mode, and you can switch it off for particular controllers and actions.

To install it, add plugin repository to your rails plugin sources:

script/plugin source http://svn.rubaidh.com/plugins/trunk

and to install the Google Analytics plugin:
(more…)

Ruby on rails plugin: Import With Load Data In File

Wednesday, October 8th, 2008

This plugin lets you bulk insert records into a MySql table using the “LOAD DATA IN FILE” feature of MySql.
This is about 30% faster than using a standard bulk insert (eg: ar-extensions import)

all it does is:
– take a list of columns and a 2D Array with the column values
– create a tempfile and put a csv representation of the data in it
– call mysql’s LOAD DATA INFILE against the temp file

Example:

(more…)

Exception Notifier : ror plugin for notification error

Wednesday, October 1st, 2008

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, allowing 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.
(more…)

server_config: Ruby on rails plugin for sensitive configuration

Tuesday, September 30th, 2008

A simple plugin to help separate sensitive configuration such as server passwords from your Rails source code.

Repository: git://github.com/peter/server_config.git

Example

Server parameters are configured in a config/server.rb file:
(more…)

ActiveScaffold plugin: CRUD functionality for ruby on rails application

Monday, September 29th, 2008

Most web applications have many more model objects exposed on the backend, or admin side, than they do on the front. Coding interfaces for all those models is redundant and a waste of resources when all you need is CRUD functionality that’s smart enough to handle all your ActiveRecord associations.

Enter the ActiveScaffold plugin. ActiveScaffold provides you with a wealth of dynamically created goodness:

(more…)

Acts As Authorizable: Ruby on rails plugin for role based authorizations

Sunday, September 28th, 2008

Acts As Authorizable is a part solution for providing pseudo-hierarchical role based authorizations on ActiveRecord model instances using your existing database table relationships. It is designed to eliminate the need for deep nesting controllers due to authorization. That being said, it is only part of a total authorization mechanism. Essentially it takes an authorized? call and passes it to the appropriate Role.allows? methods. You still have to define filters in controllers that call ActiveRecord models authorized? method and write the allows? method in your role class.
(more…)

SEO by Ruby on rails Plugin – Acts As Taggable On Steroids

Friday, September 26th, 2008

This plugin is based on acts_as_taggable by DHH but includes extras such as tests, smarter tag assignment, and tag cloud calculations.

Installation

ruby script/plugin install http://svn.viney.net.nz/things/rails/plugins/acts_as_taggable_on_steroids
(more…)

Validate attributes plugin with ruby on rails

Wednesday, September 24th, 2008

validate_attributes is a really simple plugin to validate specific attributes of a model unlike the method valid? which collectively validates all the attributes. This plugin provides the functionality of validating specific attribute(s) and skipping others’ validations and vice versa.

Installation
: svn://vinsol.com/plugins/sur/validate_attributes
(more…)

Home - About Us - Help - Terms and Conditions - Site Map - Link to Us - Resources - Contact Us
Google Rank Calculator | Suggest developer resource | Suggest Article
All rights reserved © 2007 SmarteGuru.com.