search for: 79wdtonmb5ys1friqp

Displaying 1 result from an estimated 1 matches for "79wdtonmb5ys1friqp".

2006 Feb 28
1
SQLite database filename?
I''d need to be able to figure out the filename of the SQLite backend of this application (for backups). Does Rails provide API to access the database configuration? Or do I need to load db/database.yml and check for ENV["RAILS_ENV"]? A simple inspection of the ActiveRecord::Base.connection object sheds no light, the @filename attribute is there but instance_methods