Ruby Generator properties
Full Text Search options -> Search Engine
Full Text Search options -> Index Directory
In many cases it's useful to have a log file with the SQL sentences that have been executed by the application.
If the Log Level property is set to any value other than None, a gxlog<random_num> file will be generated in the current directory of the application with that information.
The possible values for Log Level property are:
NONE: trace is not generated
FATAL: trace is generated only if an error occurs that cancels execution
ERROR: the same as FATAL, but trace is also generated when the error does not cancel execution
WARN: trace is generated when errors and warnings are thrown
INFO: the same as WARN level but trace is also generated when some type of information other than a warning is thrown by the application.
DEBUG: trace is always generated
The gxconfig.yaml file located under the application directory includes configuration options which are taken into account by the application at runtime.
The syntax used in this file is:
Below is an example of this file:
Note: the .yaml extension corresponds to "Yet Another Markup Language", very similar to the XML format. It's used in Ruby because, among other reasons, it's integrated into the standard routines of the language.
In production, several Web Servers can be used:
Linux setup for running Ruby applications using mod-rack
Running Ruby applications on Thin server
First Ruby Model