Linux SoftwareDatabaseAdministrative frontendsRuby on Rails SubList Plugin 0.1

Ruby on Rails SubList Plugin 0.1


Ruby on Rails SubList Plugin makes it easy to have dynamic lists of related models on a single editing page. The plugin is design
Developer:   Luke Galea
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   3073K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Ruby on Rails SubList Plugin makes it easy to have dynamic lists of related models on a single editing page.

The plugin is designed for models with one or more has_many relationship with other models.

By using AJAX for adding and removing "sub-forms" one can present the user with a single edit page that creates/edits the parent model as well as all of the children.

Usage:

Place the sub_list directory in the vendor/plugins dir of your application.

In the controller which you wish to have a sub list displayed, add the following lines:

include UIEnhancements::SubList
helper :SubList

sub_list 'SubModel', 'parent' do |new_research_student|
#Place any construction (ie. defaults) required here
end

Replace 'SubModel' with the class name of the sub model you wish to make available.

Replace 'parent' with the parent object.

For instance, if you wish to have a Person controller that has a sub list of Dogs for each person, the sub model would be 'Dog' and the parent would be 'person'. It is expected that @person would exist and that it contains a has_many relationship named 'dogs'.
tags sub list  you wish  the sub  the parent  sub model  with the  many relationship  has many  

Download Ruby on Rails SubList Plugin 0.1


 http://files.rubyforge.vm.bytemark.co.uk/rorsublist/sublist_v01.tar.bz2


Authors software

KQEmu 0.3 Alpha (by Luke Galea)
KRDesktop is a GPL-ed KDE (QT3) front-end for QEMU

KRDesktop 0.4 (by Luke Galea)
KRDesktop is a GPL-ed KDE (QT3) front-end for rdesktop

Ruby on Rails SubList Plugin 0.1 (by Luke Galea)
Ruby on Rails SubList Plugin makes it easy to have dynamic lists of related models on a single editing page.

The plugin is design


Similar software

Ruby on Rails SubList Plugin 0.1 (by Luke Galea)
Ruby on Rails SubList Plugin makes it easy to have dynamic lists of related models on a single editing page.

The plugin is design

cheapskate 0.0.1 (by Devan Goodwin)
cheapskate is a simple Ruby on Rails application for personal budgeting.

Rails is a web-application and persistence framework that

Php AjaX with Smarty Templates 0.0.2 (by maho)
Php AjaX with Smarty Templates (PAXT) is a library built on top of the HTML_AJAX package and using Smarty templates.

Download paxt

PHP-Controller 0.6.0 (by Eddie Tejeda)
PHP-Controller implements the controller for building MVC applications

DEMOS 0.9.1 (by DASCOM Project)
DEMOS is a modeling tool for the EP model

Misfit Model 3D 1.3.0 (by Kevin Worcester)
Misfit Model 3D is an OpenGL-based 3D model editor that works with triangle-based models

Rails History Plugin 0.2 (by Damien Merenne)
Rails History Plugin is a Ruby on Rails plugin that stores user actions (i.e

Rails 1.1 (by Rails Team)
Rails web framework is a full-stack framework for developing database-backed web applications according to the Model-View-Control pat

Maypole::FormBuilder 0.44 (by David Baird)
Maypole::FormBuilder is a Perl module with CGI::FormBuilder support in Maypole.

SYNOPSIS

use Maypole::Application qw( FormB

Rose::HTML::Form 0.53 (by John C. Siracusa)
Rose::HTML::Form is a HTML form base class.

SYNOPSIS

package PersonForm;

use Rose::HTML::Form;
our @ISA = qw(Rose::HT


Other software in this category

phpMyAdmin 2.9.1.1 (by phpMyAdmin Devel Team)
phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the WWW.

Currently it can create and drop

TUTOS 1.3.20060914 (by Gero Kohnert)
TUTOS prpject is a tool to manage the the organizational needs of small groups, teams, departments ...

Here are some key features

Information Resource Manager 1.5.7 (by Yann Ramin)

Netjuke 1.0 RC2 (by Blake Watters)
Artekopia Netjuke is a cross-platform Web-based audio streaming jukebox powered by PHP 4 and an increasing choice of databases.

MP

TYPO3 4.0.3 RC1 (by Kasper Sk?rh?j)
TYPO3 is a free Open Source content management system for enterprise purposes on the web and in intranets.

TYPO3 offers full flexi

    search


Featured Software

jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java

Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser

GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


Subscribe in Rojo
Google Reader
Add to My Yahoo!

Add to My AOL
Subscribe with Bloglines
Subscribe in NewsGator Online
Add 'nixbit linux software' to Newsburst from CNET News.com
del.icio.us nixbit linux software


Top tags