The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Rose::Planter::ConventionManager - some handy convention defaults

DESCRIPTION

This is a subclass of Rose::DB::Object::ConventionManager with a few tweaks.

METHODS

auto_relationship_name_one_to_many

By default if "foo_params" is a child of a table "foo", we remove the the "foo_" portion from "foo_params".

i.e. If this table has only _one_ foreign key and the table name referred to in the foreign key is a prefix of this table name plus an underscore, then remove the table name and the underscore. Got it?