Links
Categories
Plugins Tagged model
-
Validate Attributes!!
Validate Attributes plugin provides a simple way to validate specific attribute(s) unlike the function valid? which collectively validates all the attributes.
-
AttrLocked
Adds the ability to prevent changes to model attributes - perfect for fixing usernames or making sure no-one tampers with your financial records.
-
Nested has_many_through
Makes it possible to define has_many :through associations that
go through other has_many :through associations, allowing them to span any number of tables. -
Validates Constancy
Allows you to prevent particular database fields from being changed after a record is created. A validation error occurs on updates if an attribute of a model object is different from its value in the database.
-
seo_urls
Overwrites to_param to append a url-friendly version of the model’s ‘name’ or ‘title’ attribute to it’s id.
-
Acts as Feeder
Acts as feeder is a plugin that generates a feed aggregator in Ruby on Rails. This plugin is inspired by Craig Ambrose FeedFetcher. Thanks Craig.
-
super_transaction
SuperTransaction allows you to save and destroy objects just as you normally would, but under the
safety of a database transaction. It extends upon the built in Rails transaction method to cut
duplication of what I find myself repeating all over when using transactions. -
suggests_id
Takes user input (such as their name) and returns an available ID string for use in login names or URLs.
-
ActsAsResource
Acts As Resource combines ActiveRecord and ActiveResource features in *one* class.
-
acts_as_hot_record
a simple plugin that could be used to show records that are set with their hotness level and be shown on the homepage of the application. The hotness level could be set and has expiration date of the hot_records.
-
Validation Scenarios
Adds validation scenarios support to an Active Record model.
-
Bangin' Finders
Add a bang(!) to your dynamic ActiveRecord finders to have them raise RecordNotFound if they return something that is .blank?
-
Annotate models
Add a comment summarizing the current schema to the top of each ActiveRecord model source file.
-
db_column_with_spaces
A simple plugin that enables ActiveRecord's accessor methods and dynamic finders to work with legacy database tables that have column labels containing spaces.
-
You Tube Model
Generates a model that interacts with the YouTube API. Still beta so no uploading yet.
-
pdf_converter
Convert PDF documents to various image formats in attachment based models.
-
Vote Fu
Vote and Karma Management: Adds acts_as_voteable, acts_as_voter , and has_karma mixins to your recipe book. Good for tallying votes, finding the most popular items, and seeing who voted for what objects.
-
polymorphic_association
Create polymorphic association without join table or class. Just a couple lines of code will do the magic.
-
has_types
This plugin allows you to specify the types for your STI models. This ensures that all of the types are loaded whenever find conditions using the subclasses are constructed, and an error is raised when a non specified class inherits from a base class.
-
auto_html
Rails plugin for easy converting URL's to appropriate HTML blocks for links, images, youtube, vimeo, deezer, ... (more to come)
