Sha256: b53cc2c270cfd27d82e15d06f497dc0df951cb3f1dcc7bb4568457b2f07f3cf2

Contents?: true

Size: 1.2 KB

Versions: 6

Compression:

Stored size: 1.2 KB

Contents

= Og Configuration parameters

This file presents a complete list of Og configuration 
parameters.

=== Og.table_prefix = nil

Attach the given prefix to all generated SQL table names.
Usefull on hosting scenarios where you have to run multiple
applications/sites on a single database.

=== Og.auto_manage_classes = true

If true, use Ruby's advanced introspection capabilities to 
automatically manage classes that define properties.
	
=== Og.enchant_managed_classes = true

If true, the library automatically 'enchants' managed classes.
In enchant mode, special db aware methods are added to 
managed classes and instances. If false, Og enchants only classes 
that define properties.
	
=== Og.create_schema = true

If set to true, Og attempts to recreate the database schema
to store the managed objects. If the table for an object class
exists, Og does not recreate it. It is useful to get Og to
automatically create the schema for your application on setup,
or when you add a new managed class to your application. On 
the downside, it inflicts a longer startup time on the 
application, so it is better to set this to false in 
production / live environments.

This option is by default true to facilitate easy development.

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
nitro-0.12.0 doc/og_config.txt
nitro-0.11.0 doc/og_config.txt
og-0.16.0 doc/config.txt
og-0.13.0 doc/config.txt
og-0.14.0 doc/config.txt
og-0.15.0 doc/config.txt