Ticket #28 (closed Feature Request: fixed)
Active Record configuration placement is misleading.
| Reported by: | JAAulde | Owned by: | JAAulde |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | Version: | ||
| Keywords: | Cc: |
Description (last modified by JAAulde) (diff)
Currently the configuration for turning on or off Active Record is in the separate DB connection config arrays in the database.php configuration file. However, given the manner in which the CI_DB class is instantiated, only the configuration for the first DB loaded makes any difference.
If the config for the first DB loaded has AR on, AR will be on for all. If it is off, AR will be off for all. Considering most people either want it for all or not anyway, it should become a single config outside of the specific database connection configs.
Changing this will smooth the fix for a separate major ticket (#29), so I am making this major.
