Posts Tagged ‘ror plugin’
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…)
Tags: CleverValidation, error_messages, javascript, rails validation methods, ror plugin, scriptaculous effects, validation
Posted in ruby on rails | No Comments »
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…)
Tags: ror plugin, ssl plugin in ruby on rails, ssl requirement, ssl_required
Posted in ruby on rails | No Comments »
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…)
Tags: Google Analytics Plugin, google_analytics_code, integrate google analytics, ror plugin, ror plugin for google analytics, ruby on rails plugin
Posted in ruby on rails | No Comments »
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…)
Tags: bulk insert, feature of MySql, import with load data, insert bulk record, load data infile, mysql plugin, ror plugin
Posted in General | 1 Comment »
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…)
Tags: email, error, exception, Exception Notifier, mailer, notification error, notify performance, ror plugin, ruby on rails plugin, stacktrace trace
Posted in General | 1 Comment »
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…)
Tags: global server_param(, ror plugin, ruby on rails plugin, sensitive configuration, server passwords
Posted in ruby on rails | No Comments »
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…)
Tags: ActiveScaffold plugin, ajaxified table interface, CRUD functionality, ror plugin, ruby on rails plugin
Posted in ruby on rails | 1 Comment »
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…)
Tags: ActiveRecord model, Acts As Authorizable, acts_as_authorized, authorization, role based authorizations, ror plugin, ruby on rails plugin
Posted in General | No Comments »
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…)
Tags: Acts As Taggable On Steroids, acts_as_taggable, acts_as_taggable_on_steroids, ror plugin, ruby on rails plugin, seo with rails, tag cloud, tagging
Posted in ruby on rails | 1 Comment »
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…)
Tags: model validation, ror plugin, ruby on rails plugin, validate_attributes
Posted in ruby on rails | No Comments »