Displaying 1 result from an estimated 1 matches for "nbhez7wbyjgxvpaokbccqe4".
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