Displaying 1 result from an estimated 1 matches for "mbr_item_category".
2006 Jun 27
1
Utility App using rails models
...g like:
# Database
require ''rubygems''
require_gem ''activerecord''
require ''../../vendor/plugins/acts_as_logged/lib/acts_as_logged''
require ''db_connection''
require ''../models/claim''
require ''../models/mbr_item_category''
... code ...
db_connection is just a little helper file I created so that all my
utils can be centrally configured to connect to the database, it
looks something like:
ActiveRecord::Base.establish_connection({
:adapter => "postgresql",
:database => ...