Ruby on Railsã§DBã®ãã¹ã¯ã¼ããdatabase.ymlã®å¤ã«æ¸ãæ¹æ³ãSubversionã«ãã¹ã¯ã¼ããã³ãããããã®ãå«ã ã£ãã®ã§èª¿ã¹ãã database.ymlã¯ERBã§å¦çãããã¨ããã®ãç¥ããªãã£ãã http://skwp.wordpress.com/2006/08/28/encrypted-db-passwords-for-rails-with-databaseyml-and-erb/ ã¨ããããã§ããããªé¢¨ã«ãã¦ã¿ã¾ãããæå·åã¯åãããããªãã production: adapter: mysql database: db username: user password: <%= File.read("#{RAILS_ROOT}/pass/to/passwordfile").strip %> host: 127.0.0.1
{{#tags}}- {{label}}
{{/tags}}