Module FlexiRecordDemo
In: lib/flexirecord-demo.rb

Copyright (c) 2007 FlexiGuided GmbH, Berlin

Author: Jan Behrens

Website: www.flexiguided.de/publications.flexirecord.en.html


Demonstration module for FlexiRecord.

Methods

demo  

Classes and Modules

Class FlexiRecordDemo::Medium
Class FlexiRecordDemo::MediumEntry
Class FlexiRecordDemo::Movie
Class FlexiRecordDemo::Person
Class FlexiRecordDemo::Rating

Constants

ConnectionPool = FlexiRecord::BaseRecord.connection_pool = FlexiRecord::ConnectionPool.new(:engine => :postgresql, :db => 'moviedemo')   FlexiRecord::ConnectionPool used for all models in this module.

Public Instance methods

A small demonstration program. In order to be run, a database named ‘moviedemo’ has to be installed and initialized with the ‘flexirecord-demo.sql’ file, which is shipped with the software package.

[Validate]