Ruby on Rails Gems Install & Implementation
FIGARO: Purpose of Use. Figaro was written to make it easy to securely configure Rails applications. How to impliment . Step:1>>In Gemfile: gem 'figaro', '~> 1.1' Step:2>>$ bundle install or gem install figaro Step:3>>$ figaro install / rails generate figaro:install It creates a commented config/application.yml file and adds it to your .gitignore. Add your own configuration to this file and you're done! Step:4>> config/application.yml DEV_DB_USERNAME: 'xx' DEV_DB_PASSWORD: 'xxxxx' DEV_DB_NAME: 'xxxxx' And here is my database.yml : development: adapter: postgresql encoding: unicode database: <%= ENV['DEV_DB_NAME'] %> pool: 5 username: <%= ENV['DEV_DB_USERNAME'] %> password: <%= ENV['DEV_DB_PASSWORD'] %> template: template0 AUDITED Purpose of Use. Audited (previously acts_as_audited) is an ORM extension that logs all changes to your models. Audited als...