Ruby on Rails Plugins
A Ruby on Rails plugin that swaps the commonly used numeric :id based URLs (/posts/34), for more useful & human readable URLs like (/posts/34-my-latest-spoon-collection)
This library makes handling of uploaded files in Ruby on Rails as easy as it should be. It helps you to not repeat yourself and write the same file handling code all over the place while providing you with nice features like keeping uploads during form redisplays, nice looking URLs for your...
A plugin that adds a partial to your view's allowing users to easily add your articles to social sites such as digg and delicious.
You have full control over what links are displayed by editing a config yml file.
This is a basic authentication generator for rails, very much in the spirit of xal's original Login Generator. This generates a basic user model, a controller, some basic views, and tests. Extra functionality can be unlocked by removing the comments for them.
The enumerations mixin allows you to treat instances of your ActiveRecord models as though they were an enumeration of values.
This plugin is based on acts_as_taggable by DHH but includes extras such as tests, smarter tag assignment, and tag cloud calculations.
The UrlKey module creates an unchanging permalink identifier for a model object.
1. URL keys are guaranteed to be unique by appending of a count.
2. URL keys are only generated on create, so they never change
This is a simple plugin extracted from Mephisto for creating permalinks from attributes.
Settings is a plugin that makes managing a table of global key, value pairs easy. Think of it like a global Hash stored in you database, that uses simple ActiveRecord like methods for manipulation.
...
Active_form is a plugin that makes it easy to have model objects that support the ActiveRecord Validations but are not backed by database tables. The plugin is designed to make it possible to use the ActiveForm derived classes in a very similar manner to the ActiveRecord::Base derived objects.
Add a comment summarizing the current schema to the top of each ActiveRecord model source file.
The Userstamp Plugin extends ActiveRecord::Base(http://api.rubyonrails.com/classes/ActiveRecord/Base.html) to add automatic updating of created_by and updated_by attributes of your models in much the same way that the...
Replaces the list of countries used by country_select and other Rails helpers with a list of countries that the United States Postal Service can send mail to.
This one’s simple. Sometimes I need to know what environment Rails is running in (for example, so I can display additional debugging information, or not link to the HTTPS version of an action), and typing out ENV['RAILS_ENV'] is a hassle and looks ugly. Hence, this plugin.
Acts as Attachment allows you to specify that a model accepts file uploads and stores the necessary meta info (filename, size, etc).
This plugin provides an easy way to make sure that your rails actions are only called with the method, protocol, and parameters that you expect.
This plugin allows you to change the expiration time of sessions. Setting the expiration date for session cookies isn’t particular difficult in Rails: pass a Time object in your config/environment.rb and you’re off and running.
Provides a simple intereface to various Apache authentication systems to allow your Rails application to find out the currently logged in user. The plugin interface is similar to the Acts As Authenticated plugin, but it does no actual authentication.
Sitealizer Web Stats lets you track visitors, referrers, robots, search terms and more. And it shouldn’t influence your site’s performance because it only saves the basic visitor information (after every 10(default) visits) in a threaded process and all the data processing is done when viewing...
Acts As Twittertasticable lets your models tell the world what there doing via Twitter. Simple include your Twitter login info in your environment.rb, include Acts As Twittertasticable in the models you want to use and you will be able to set Twitter status messages from your model.
If you need to display the time in your application in 12 hour format here's a simple plugin that tacks on an AM/PM selector to the DateHelper methods. It also handles the backend, so things are properly stored in 24-hour format.
This plugin for ActiveRecord makes the "ID" field into a URL-safe GUID.
...
A helper plugin to debug your controller/action/model/view well so it will be accessible to all of them.
This plugin replaces logger.info to be much more efficient and detailed.
Resource Fu is a collection of hacks and techniques that have been used in projects that need nested and/or polymorphic resources.
This plugin supports a simple localization for Ruby on Rails and was born in the first half of 2006 by searching a simple way to localize model and attribute names of ActiveRecord models. Time after time more and more features became necessary and the plugin grew. It supports multiple language...
Allows you to quickly test if the requesting agent is a mobile device.
This Ruby on Rails plugin implements an ActiveRecord validation helper called validates_as_uk_postcode. The helper acts as if validates_format_of was used with a regular expression that defines an valid UK postcode:
http://www.govtalk.gov.uk/gdsc/html/frames/PostCode.htm
A plugin that will DRY up your code with the standard CRUD functionality.
This is a simple plugin that makes it easy to manage the version number of your Rails application.
CookieRequirement is a Rails plugin that lets you ensure that cookies are enabled. Include the module in a controller, and declare the actions that require cookies with the +cookies_required+ class method.