http://liftoff.rubyforge.org
Summary
Liftoff is a simple Rails plugin that gets your application
off the ground by generating an initial set of model files from
a single text file in which you specify only the names of the models
and the types of the associations that pertain to them using an
extremely simple DSL called "CAL". CAL stands for
"Compact Association Language" and looks like this (of course,
comments are optional).
#############################################################################
# CAL File for web store.
#
#############################################################################
# A customer places one or more orders.
# An order may request more than one product, which may be requested
by
# multiple orders.
# A line item references a single product.
customer < order <> product <= line_item # A line_item must
specify
# a quantity for the
product.
# For every order, exactly one invoice shall be generated.
# An invoice may contain multiple line items.
order => invoice < line_item
# A category describes many products and a product may be described by
# multiple categories.
category <> product
#############################################################################
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---