Changeset 3

Show
Ignore:
Timestamp:
02/12/07 17:50:00 (3 years ago)
Author:
eevee
Message:

Changed: Model::DBIC connection parameters have been moved to the global Catalyst config file (vee.yml).

Location:
veekun
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • veekun/lib/Vee/Model/DBIC.pm

    r1 r3  
    33use strict; 
    44use base 'Catalyst::Model::DBIC::Schema'; 
    5  
    6 # Created by DBIx::Class::Schema::Loader v0.03003 @ 2006-07-09 12:51:54 
    7  
    8 __PACKAGE__->config( 
    9     schema_class => 'Vee::Schema', 
    10     connect_info => [ 
    11         'dbi:mysql:pokedex', 
    12         'perl', 
    13         '', 
    14     ], 
    15 ); 
    165 
    176=head1 NAME 
     
    2514=head1 DESCRIPTION 
    2615 
    27 L<Catalyst::Model::DBIC::Schema> Model using schema L<Vee::DBIC::Schema> 
     16L<Catalyst::Model::DBIC::Schema> Model using schema L<Vee::DBIC::Schema>. 
     17This class's only purpose is to hold configuration, which is stored in 
     18vee.yml. 
    2819 
    2920=head1 AUTHOR 
  • veekun/vee.yml

    r1 r3  
    3636    ignore_extensions: 
    3737        - tt 
     38 
     39Model::DBIC: 
     40    schema_class: Vee::Schema 
     41    connect_info: 
     42        - dbi:mysql:pokedex 
     43        - perl 
     44        - 
     45