Flowdock
method

table_name_suffix=

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: ModelSchema
table_name_suffix= public

Works like table_name_prefix=, but appends instead of prepends (set to “_basecamp” gives “projects_basecamp”, “people_basecamp”). By default, the suffix is the empty string.

If you are organising your models within modules, you can add a suffix to the models within a namespace by defining a singleton method in the parent module called table_name_suffix which returns your chosen suffix.

Show source
Register or log in to add new notes.