A Rails plugin to automate your CRUD controllers.
The base of this plugin consists of two basic principals.
First: If we're going to make an application, it's going to be custom. I simply don't like losing control about my own product and I've never been able to put an entire product in the same box as an other one. This plugin therefor simply offers a set of tools you can use if you like it on places where you like it and it should preform the way you'd like it to do.
Second: Every application consists of generic lists with CRUD options and some application specific part. This plugin is mainly meant to help you with the first.
Install required assets using rake task:
When possible, the installation will create symlinks in your public folder to the assets of the plugin. When you update your plugin, you're public is automaticly up-to-date.
If the install procedure wasn't able to create symlinks, all files are copied to public/crud. You'll need to run the install again after an update.
When you want a controller to acts as a simple CRUD, append the following:
acts_as_autocrud def autocrud_options end
Please note that Autocrud users mass assignments to update your models. Be sure to use attr_accessible and/or attr_protected where appropriate to prevent security issues with your application.
Some column types require additional plugins to be installed. They are described here.
CKEditor is a text editor to be used inside web pages. It's a WYSIWYG editor, which means that the text being edited on it looks as similar as possible to the results users have when publishing it. It brings to the web common editing features found on desktop editing applications like Microsoft Word and OpenOffice.
Download CKEditor from: ckeditor.com/
Paperclip is a file attachment plugin for Ruby on Rails’ Active Record classes which turns files into attributes that work the same way as normal database fields.
Download Paperclip from: thoughtbot.com/community/
LocalizedCountrySelect (type: country_select)
Rails plugin to provide support for localized <select> menu with country names and for storing country information as country code (eg. ‘es’), not name (eg. ‘Spain’), in the database.
Download LocalizedCountrySelect from: github.com/karmi/localized_country_select
© 2010 LICO Innovations