ruby randbg
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 297
ruby-randbg 0.9
ruby-randbg is a small script to change your computers background wallpaper to a random image in a specified directory. more>>
ruby-randbg is a small script to change your computers background wallpaper to a random image in a specified directory.
ruby-randbg project uses a simple cache file to make sure that wallpapers do not repeat. Each time a wallpaper is used, it is added to the cache. Once the cache fills up, it resets, and the wallpapers start over.
TODO:
Create the .randbg file automagically.
Add multiple directory support if requested.
<<lessruby-randbg project uses a simple cache file to make sure that wallpapers do not repeat. Each time a wallpaper is used, it is added to the cache. Once the cache fills up, it resets, and the wallpapers start over.
TODO:
Create the .randbg file automagically.
Add multiple directory support if requested.
Download (0.008MB)
Added: 2006-03-24 License: GPL (GNU General Public License) Price:
1312 downloads
Ruby OpenID 0.9.4
Ruby OpenID is a Ruby library for verifying and serving OpenID identities. more>>
Ruby OpenID is a Ruby library for verifying and serving OpenID identities. Ruby OpenID makes it easy to add OpenID authenticaion to your web applications.
Main features:
- Easy-to-use API for verifying OpenID identities (OpenIDConsumer)
- New support for serving OpenID identities (OpenIDServer)
- Does not depend on underlying web framework
- Multiple storage implementations (Filesystem, SQL)
- Comprehensive test suite
- Example code to help you get started, including:
- WEBrick based consumer
- Ruby on rails based consumer
- Ruby on rails based server
- OpenIDLoginGenerator for quickly creating a rails app that uses OpenID for authentication
- ActiveRecord adapter for using an SQL store in rails
<<lessMain features:
- Easy-to-use API for verifying OpenID identities (OpenIDConsumer)
- New support for serving OpenID identities (OpenIDServer)
- Does not depend on underlying web framework
- Multiple storage implementations (Filesystem, SQL)
- Comprehensive test suite
- Example code to help you get started, including:
- WEBrick based consumer
- Ruby on rails based consumer
- Ruby on rails based server
- OpenIDLoginGenerator for quickly creating a rails app that uses OpenID for authentication
- ActiveRecord adapter for using an SQL store in rails
Download (0.19MB)
Added: 2006-02-02 License: LGPL (GNU Lesser General Public License) Price:
1359 downloads
Ruby-UDBM 0.7
Ruby-UDBM is a Ruby binding for the UPPAAL DBM library. more>>
The Ruby DBM library has now a binding to the popular Ruby language. The binding offers several modules as different layers on top of the DBM library, depending on what the user wants to do. The different modules are:
- udbm: This is the core binding that provides the classes Constraint to define constraints 3) or (a.x > 4) | (a.y > 5), compute intersections, relations, unions, whatever you can do on federations, but with sets instead. It is another view of federations.
Enhancements:
- The graphical viewer can now display points together with federations.
- This release has been rebuilt against the DBM library version 2.0.5.
<<less- udbm: This is the core binding that provides the classes Constraint to define constraints 3) or (a.x > 4) | (a.y > 5), compute intersections, relations, unions, whatever you can do on federations, but with sets instead. It is another view of federations.
Enhancements:
- The graphical viewer can now display points together with federations.
- This release has been rebuilt against the DBM library version 2.0.5.
Download (0.11MB)
Added: 2006-06-30 License: GPL (GNU General Public License) Price:
1211 downloads
Ruby webgen 0.4.0
webgen is a Web site generator implemented in Ruby. more>>
webgen is a Web site generator implemented in Ruby. Ruby webgen is used to generate static Web sites from templates and page description files. Ruby webgen is easy to use and extensible through plugins.
Main features:
webgen core
- Easily extendable through plugins
- Easy to install and use
- Uses templates for separating layout from content
- Easy to configure if one needs to (no need if you are happy with the default values)
- Command line interface uses command style syntax (like Subversions svn command)
- Fast
File Handler (for handling the files in the source directory)
- Powerful file copy handler for copying single files or entire directories to the output directory
- Support for gallery definition files generates entire image galleries, with automatic thumbnail creation
Page Description Files (for define web pages)
- Support for ERB (embedded Ruby) in page description files and in templates
- Supports several different content formats (Textile, Markdown, RDOC, plain HTML), new ones are easy to add
- Support for specifying meta information (e.g. title, menu ordering information, ...)
Tags (used for easily adding dynamic content to web pages)
- Standard distribution provides often used tags
- Menu tag can generate different types of menus (simple menus and ones with CSS drop downs)
- Breadcrumb trail tag generates a breadcrumb trail so that one always knows where he is in the hierarchy
- Relocatable tag for automatically generating correct relative paths to files
- ... and much more!
Other Features
- Automatically checks generated files if they are standard conform
- Supports virtual files via meta information backing files
- Support for automatic smiley replacement with emoticons
Enhancements:
- The core of webgen has been completely rewritten, many new plugins have been added, more predefined Web site styles are now available, and the homepage has been redesigned.
<<lessMain features:
webgen core
- Easily extendable through plugins
- Easy to install and use
- Uses templates for separating layout from content
- Easy to configure if one needs to (no need if you are happy with the default values)
- Command line interface uses command style syntax (like Subversions svn command)
- Fast
File Handler (for handling the files in the source directory)
- Powerful file copy handler for copying single files or entire directories to the output directory
- Support for gallery definition files generates entire image galleries, with automatic thumbnail creation
Page Description Files (for define web pages)
- Support for ERB (embedded Ruby) in page description files and in templates
- Supports several different content formats (Textile, Markdown, RDOC, plain HTML), new ones are easy to add
- Support for specifying meta information (e.g. title, menu ordering information, ...)
Tags (used for easily adding dynamic content to web pages)
- Standard distribution provides often used tags
- Menu tag can generate different types of menus (simple menus and ones with CSS drop downs)
- Breadcrumb trail tag generates a breadcrumb trail so that one always knows where he is in the hierarchy
- Relocatable tag for automatically generating correct relative paths to files
- ... and much more!
Other Features
- Automatically checks generated files if they are standard conform
- Supports virtual files via meta information backing files
- Support for automatic smiley replacement with emoticons
Enhancements:
- The core of webgen has been completely rewritten, many new plugins have been added, more predefined Web site styles are now available, and the homepage has been redesigned.
Download (1.2MB)
Added: 2007-01-05 License: GPL (GNU General Public License) Price:
1022 downloads
ruby-ircd 0.04
ruby-ircd is an IRC daemon implementation. more>>
ruby-ircd is an IRC daemon implementation. ruby-ircd extends the webrick generic server.
Currently, it only supports minimal facilities like creation of rooms and private messaging between users and rooms.
Enhancements:
- Compatibility fixes were made for different clients. AWAY, LIST, TOPIC, WHOIS, and VERSION were implemented.
- The code was cleaned up.
<<lessCurrently, it only supports minimal facilities like creation of rooms and private messaging between users and rooms.
Enhancements:
- Compatibility fixes were made for different clients. AWAY, LIST, TOPIC, WHOIS, and VERSION were implemented.
- The code was cleaned up.
Download (0.004MB)
Added: 2007-06-16 License: GPL (GNU General Public License) Price:
861 downloads
JRuby 0.9.1
JRuby is a Ruby interpreter written in Java. more>>
JRuby is a pure Java implementation of the Ruby interpreter, being developed by the JRuby team.
JRuby is free software released under a dual LGPL/GPL license.
JRuby is tightly integrated with Java to allow both to script any Java class and to embed the interpreter into any Java application.
Main features:
- Ruby 1.6.7 compatible interpreter. (Not all builtin classes are supported yet!)
- Working towards full compatibility with Ruby 1.8.1.
- Support for scripting Java classes and interfaces in JRuby.
- Bean Scripting Framework (BSF) support.
Enhancements:
- Overall performance is 50-60% faster than 0.9.0.
- Improved Rails support.
- A new syntax for including Java classes into Ruby.
- A new interpreter design.
- Refactoring of the method dispatch, code evaluation, and block dispatch code.
- Parser performance enhancements.
- Rewriting of Enumerable and StringScanner in Java.
- New experimental syntax for implementing interfaces.
- 86 Jira issues have been resolved since 0.9.0.
<<lessJRuby is free software released under a dual LGPL/GPL license.
JRuby is tightly integrated with Java to allow both to script any Java class and to embed the interpreter into any Java application.
Main features:
- Ruby 1.6.7 compatible interpreter. (Not all builtin classes are supported yet!)
- Working towards full compatibility with Ruby 1.8.1.
- Support for scripting Java classes and interfaces in JRuby.
- Bean Scripting Framework (BSF) support.
Enhancements:
- Overall performance is 50-60% faster than 0.9.0.
- Improved Rails support.
- A new syntax for including Java classes into Ruby.
- A new interpreter design.
- Refactoring of the method dispatch, code evaluation, and block dispatch code.
- Parser performance enhancements.
- Rewriting of Enumerable and StringScanner in Java.
- New experimental syntax for implementing interfaces.
- 86 Jira issues have been resolved since 0.9.0.
Download (2.6MB)
Added: 2006-10-21 License: GPL (GNU General Public License) Price:
1101 downloads
Ruby Crypt 1.1.4
Ruby Crypt library is a pure-ruby implementation of a number of popular encryption algorithms. more>>
Ruby Crypt library is a pure-ruby implementation of a number of popular encryption algorithms. Block cyphers currently available include Blowfish, GOST, IDEA, and Rijndael (AES). Cypher Block Chaining (CBC) has been implemented. Twofish, Serpent, and CAST256 are planned for release soon.
Crypt is written entirely in ruby so deployment is simple - no platform concerns, no library dependencies, nothing to compile.
Performance is what you would expect from a pure-ruby implementation: it is adequate for shorter messages but I wouldnt try to encrypt my whole disk with it. If performance is critical then you might want to try ezcryptos interface to OpenSSL.
Enhancements:
- This release is available as a Ruby gem for easy installation.
- A defect in Blowfish was fixed.
<<lessCrypt is written entirely in ruby so deployment is simple - no platform concerns, no library dependencies, nothing to compile.
Performance is what you would expect from a pure-ruby implementation: it is adequate for shorter messages but I wouldnt try to encrypt my whole disk with it. If performance is critical then you might want to try ezcryptos interface to OpenSSL.
Enhancements:
- This release is available as a Ruby gem for easy installation.
- A defect in Blowfish was fixed.
Download (0.020MB)
Added: 2006-08-10 License: Public Domain Price:
1172 downloads
Ruby Time Tracker 1.0
Ruby Time Tracker is a stable and complete time tracking system. more>>
Ruby Time Tracker is a stable and complete time tracking system for small businesses that invoice for time spent by several employees on many projects.
Future Plans
Planned upgrades include:
Locking down past periods so that no entries can be made or changed after invoicing
Custom periods so that users may define billing cycles for thier company
Reminders sent to employees who have not made entries daily or at the end of a billing cycle
Two Versions
There are currently two versions in development. The professional version uses a MySQL database and requires some knowlege of installing and configuring Ruby on Rails applications to install. The lite version includes an installer that will install and configure an SQLight database and a webrick web server for easy installation. Development is being done on the professional version and periodically the lite version will be updated to include new functionality.
<<lessFuture Plans
Planned upgrades include:
Locking down past periods so that no entries can be made or changed after invoicing
Custom periods so that users may define billing cycles for thier company
Reminders sent to employees who have not made entries daily or at the end of a billing cycle
Two Versions
There are currently two versions in development. The professional version uses a MySQL database and requires some knowlege of installing and configuring Ruby on Rails applications to install. The lite version includes an installer that will install and configure an SQLight database and a webrick web server for easy installation. Development is being done on the professional version and periodically the lite version will be updated to include new functionality.
Download (0.40MB)
Added: 2006-07-25 License: MIT/X Consortium License Price:
1192 downloads
Ruby-BDD 0.2
Ruby-BDD is a BDD Binding for Ruby. more>>
Ruby-BDD is a BDD Binding for Ruby.
BDDs [bry86,and97] (or more precisely ROBDDs) are efficient data structures for representing boolean formula. They are widely used in formal verification, in particular symbolic model-checking. The idea of symbolic model-checking is to represent sets of states transition relations as formula (and to compute the fix-point of the set of all reachable states for reachability analysis).
Buddy is a BDD library written in C with an API both in C and C++. It is developer friendly with a simple interface. It supports all standard BDD operations, variable ordering, printing, has automated garbage collection, and is compilable on Unix and Windows platforms.
Ruby, despite being a scripting language, is a powerful and clean object-oriented language that is very easy to learn and use. In particular it is well-suited for quick prototyping and education purposes. Ruby-BDD is a binding for Ruby based on Buddy that provides BDD classes to create and manipulate BDDs in Ruby.
Enhancements:
- This release adds support for bit vectors and finite domains.
- Most of the Buddy library is now available through a Ruby style API.
<<lessBDDs [bry86,and97] (or more precisely ROBDDs) are efficient data structures for representing boolean formula. They are widely used in formal verification, in particular symbolic model-checking. The idea of symbolic model-checking is to represent sets of states transition relations as formula (and to compute the fix-point of the set of all reachable states for reachability analysis).
Buddy is a BDD library written in C with an API both in C and C++. It is developer friendly with a simple interface. It supports all standard BDD operations, variable ordering, printing, has automated garbage collection, and is compilable on Unix and Windows platforms.
Ruby, despite being a scripting language, is a powerful and clean object-oriented language that is very easy to learn and use. In particular it is well-suited for quick prototyping and education purposes. Ruby-BDD is a binding for Ruby based on Buddy that provides BDD classes to create and manipulate BDDs in Ruby.
Enhancements:
- This release adds support for bit vectors and finite domains.
- Most of the Buddy library is now available through a Ruby style API.
Download (0.037MB)
Added: 2006-08-09 License: GPL (GNU General Public License) Price:
1172 downloads
MPI Ruby 0.3
MPI Ruby is a Ruby binding of MPI. more>>
MPI Ruby is a Ruby binding of MPI. MPI Rubys primary goal in making this binding was to make the power of MPI available to Ruby users in a way that fits into the languages object oriented model.
In order to do this, the buffer and datatype management necessary in the C, C++, and Fortran bindings have been removed. What this means is that MPI Ruby allows you to treat objects as messages.
MPI Ruby also aims to be a complete binding to MPI in that it offers access to nearly all functionality of MPI. While there is not a one-to-one correspondence to functions and constants in the Ruby and C/C++/Fortran bindings, all of the communication and topology features are available.
There are fewer methods in the Ruby binding than there are functions in the C/C++/Fortran bindings, but this is mainly due to the fact that the programmer no longer needs to deal with buffers and datatypes.
Enhancements:
- examples/irecv.rb: Removed sleep from irecv example
- configure: Removed configure
- examples/Makefile.am: Added op example to Makefile
- examples/redsubmit.rb, examples/op.rb, examples/redhalt.rb, examples/red.rb:
New examples:
User-defined operations
Ruby Execution Daemon (red).
- src/ops.rb, src/main.c, src/mpi.c, src/mpi_comm.c, src/mpi_group.c, src/mpi_keyval.c, src/mpi_op.c, src/mpi_op_fns.c, src/mpi_request.c:
Fixed all of the rb_str_new2()s that were causing marshalling problems.
Fixed defines of singleton methods.
Fixed dims_create()
Now works with MPICH because of atexit(MPI_Finalize)
Set the MPI error handler
Fixed operators in MPI::Group (+ -> | and ^ -> &)
- examples/Makefile.am: New examples.
- docs/rd/mpi_group.rd, docs/rd/mpi_keyval.rd, docs/rd/mpi_op.rd, docs/rd/mpi_ruby.rd, docs/rd/mpi_comm.rd, docs/man/man3/Makefile.am, docs/man/man3/mpi_comm.3, docs/man/man3/MPI_Ruby.3, docs/man/man3/MPI_Status.3, docs/man/man3/MPI_Exception.3, docs/man/man3/MPI_Group.3, docs/man/man3/MPI_Keyval.3, docs/man/man3/MPI_Op.3, docs/man/man3/MPI_Request.3, docs/man/man3/MPI_Comm.3:
Doc updates to reflect fixes to singleton methods in several classes.
Typos fixed.
- docs/man/man1/mpi_ruby.1, docs/man/man1/Makefile.am:
Short doc on the interpreter itself (how to run)
- docs/man/Makefile.am: Added man1
- docs/html/index.html, docs/html/mpi_comm.html, docs/html/mpi_group.html, docs/html/mpi_keyval.html, docs/html/mpi_op.html, docs/html/mpi_ruby.html:
Doc updates to reflect fixes to singleton methods in several classes.
Typos fixed.
- configure, configure.in: Bumped to 0.3
Added man1/Makefile to output
<<lessIn order to do this, the buffer and datatype management necessary in the C, C++, and Fortran bindings have been removed. What this means is that MPI Ruby allows you to treat objects as messages.
MPI Ruby also aims to be a complete binding to MPI in that it offers access to nearly all functionality of MPI. While there is not a one-to-one correspondence to functions and constants in the Ruby and C/C++/Fortran bindings, all of the communication and topology features are available.
There are fewer methods in the Ruby binding than there are functions in the C/C++/Fortran bindings, but this is mainly due to the fact that the programmer no longer needs to deal with buffers and datatypes.
Enhancements:
- examples/irecv.rb: Removed sleep from irecv example
- configure: Removed configure
- examples/Makefile.am: Added op example to Makefile
- examples/redsubmit.rb, examples/op.rb, examples/redhalt.rb, examples/red.rb:
New examples:
User-defined operations
Ruby Execution Daemon (red).
- src/ops.rb, src/main.c, src/mpi.c, src/mpi_comm.c, src/mpi_group.c, src/mpi_keyval.c, src/mpi_op.c, src/mpi_op_fns.c, src/mpi_request.c:
Fixed all of the rb_str_new2()s that were causing marshalling problems.
Fixed defines of singleton methods.
Fixed dims_create()
Now works with MPICH because of atexit(MPI_Finalize)
Set the MPI error handler
Fixed operators in MPI::Group (+ -> | and ^ -> &)
- examples/Makefile.am: New examples.
- docs/rd/mpi_group.rd, docs/rd/mpi_keyval.rd, docs/rd/mpi_op.rd, docs/rd/mpi_ruby.rd, docs/rd/mpi_comm.rd, docs/man/man3/Makefile.am, docs/man/man3/mpi_comm.3, docs/man/man3/MPI_Ruby.3, docs/man/man3/MPI_Status.3, docs/man/man3/MPI_Exception.3, docs/man/man3/MPI_Group.3, docs/man/man3/MPI_Keyval.3, docs/man/man3/MPI_Op.3, docs/man/man3/MPI_Request.3, docs/man/man3/MPI_Comm.3:
Doc updates to reflect fixes to singleton methods in several classes.
Typos fixed.
- docs/man/man1/mpi_ruby.1, docs/man/man1/Makefile.am:
Short doc on the interpreter itself (how to run)
- docs/man/Makefile.am: Added man1
- docs/html/index.html, docs/html/mpi_comm.html, docs/html/mpi_group.html, docs/html/mpi_keyval.html, docs/html/mpi_op.html, docs/html/mpi_ruby.html:
Doc updates to reflect fixes to singleton methods in several classes.
Typos fixed.
- configure, configure.in: Bumped to 0.3
Added man1/Makefile to output
Download (0.12MB)
Added: 2006-05-31 License: Freely Distributable Price:
1242 downloads
MetaRuby 0.7
MetaRuby contains miscellaneous libraries (useful now) for a future Ruby-in-Ruby interpreter. more>>
MetaRuby contains miscellaneous libraries (useful now) for a future Ruby-in-Ruby interpreter including Array/Hash/String as abstract ("Hollow") classes, an undo queue, a statistical time-profiler.
It also has an event loop, a modular marshaller ("ToSource"), a specification for a modular+reflexive+homoiconic remote call system ("LGRAM"), a declarative type system, a schema for expressing Ruby source code as proper (non-special) Ruby objects, etc.
<<lessIt also has an event loop, a modular marshaller ("ToSource"), a specification for a modular+reflexive+homoiconic remote call system ("LGRAM"), a declarative type system, a schema for expressing Ruby source code as proper (non-special) Ruby objects, etc.
Download (0.051MB)
Added: 2006-08-24 License: GPL (GNU General Public License) Price:
1156 downloads
FXRuby 1.6.5
FXRuby is a Ruby extension module that provides an interface to the FOX GUI toolkit. more>>
FXRuby project is a Ruby extension module that provides an interface to the FOX GUI toolkit.
Enhancements:
- This release fixes a number of recently reported problems, and adds preliminary support for keyword-style arguments.
<<lessEnhancements:
- This release fixes a number of recently reported problems, and adds preliminary support for keyword-style arguments.
Download (1.7MB)
Added: 2007-01-23 License: LGPL (GNU Lesser General Public License) Price:
1007 downloads
Ruby/Amazon 0.9.2
Ruby/Amazon is a Ruby language library that allows programmatic access to the popular Amazon Web. more>>
Ruby/Amazon is a Ruby language library that allows programmatic access to the popular Amazon Web site via the REST (XML over HTTP) based Amazon Web Services. In addition to the original amazon.com site, the amazon.co.uk, amazon.de, amazon.fr, amazon.ca, and amazon.co.jp properties are also supported.
Ruby/Amazon library aims to wrap the grunt work of interacting with the Amazon API behind a high-level layer of Ruby, thereby making it easier to use.
Although the library is still in development, it already provides support for the vast majority of the AWS v3.1 API. For example, all forms of product search are implemented, along with the transaction details API and the remote shopping-cart API. Furthermore, advanced features such as threaded retrieval of multiple pages, object caching and determining a clients most appropriate AWS locale are all implemented. See the RDoc library documentation for more information, in particular the page about the top level Amazon module.
More features are planned for future versions, such as Amazon Web Services for Sellers.
<<lessRuby/Amazon library aims to wrap the grunt work of interacting with the Amazon API behind a high-level layer of Ruby, thereby making it easier to use.
Although the library is still in development, it already provides support for the vast majority of the AWS v3.1 API. For example, all forms of product search are implemented, along with the transaction details API and the remote shopping-cart API. Furthermore, advanced features such as threaded retrieval of multiple pages, object caching and determining a clients most appropriate AWS locale are all implemented. See the RDoc library documentation for more information, in particular the page about the top level Amazon module.
More features are planned for future versions, such as Amazon Web Services for Sellers.
Download (0.095MB)
Added: 2006-08-11 License: GPL (GNU General Public License) Price:
1169 downloads
Ruby ObjectGraph 0.0.1
Ruby ObjectGraph will output Graphviz dot files of your Ruby objects in memory. more>>
Ruby ObjectGraph will output Graphviz dot files of your Ruby objects in memory.
The project will ferret out your instance variables and enumerate over your enumerables to give you a graph of your object and its relationships.
For sample output and more sample code see:
* http://flickr.com/photos/aaronp/tags/graphviz/
* http://tenderlovemaking.com/2007/01/13/graphing-objects-in-memory-with-ruby/
PROBLEMS
The output graph kind of lies when displaying Hashes. A Hash will point to an Array with a key and value. If the hash contains 7 pairs, it will point to 7 Arrays.
SYNOPSYS
list = %w{ hello world how are you? }
hash = { :list => list, :string => "tenderlovemaking.com" }
puts ObjectGraph.graph(hash)
INSTALL
sudo gem install ograph
<<lessThe project will ferret out your instance variables and enumerate over your enumerables to give you a graph of your object and its relationships.
For sample output and more sample code see:
* http://flickr.com/photos/aaronp/tags/graphviz/
* http://tenderlovemaking.com/2007/01/13/graphing-objects-in-memory-with-ruby/
PROBLEMS
The output graph kind of lies when displaying Hashes. A Hash will point to an Array with a key and value. If the hash contains 7 pairs, it will point to 7 Arrays.
SYNOPSYS
list = %w{ hello world how are you? }
hash = { :list => list, :string => "tenderlovemaking.com" }
puts ObjectGraph.graph(hash)
INSTALL
sudo gem install ograph
Download (0.002MB)
Added: 2007-01-24 License: MIT/X Consortium License Price:
1004 downloads
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. more>>
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.
<<lessThe 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.
Download (3.0MB)
Added: 2006-07-07 License: GPL (GNU General Public License) Price:
1205 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above ruby randbg search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed