14 Dec '17, 7pm

Encrypted Configuration on Rails 5.2

Encrypted Configuration on Rails 5.2

Credentials is a new feature on Rails 5.2 which replaces secrets and encrypted secrets. Under the hood Credentials use EncryptedConfiguration which you can reuse if you need to use encryption on other parts of your application. If you only want to use the credentials on config/credentials.yml.enc, Rails has special methods for that like Rails.application.credentials. This blog post is for using EncryptedConfiguration with other files. EncryptedConfiguration You can use EncryptedConfiguration through Rails.application.encrypted . Let's say you want to encrypt some data and save the encrypted file on top_secret.txt.enc. encrypted = Rails.application.encrypted("top_secret.txt.enc") This will create a new EncryptedConfiguration object which you can use to encrypt and decrypt text. encrypted.write("This is a top secret message.") If you check the file top_secret.txt.enc, you wi...

Full article: https://www.engineyard.com/blog/encrypted-configuration-o...

Tweets

ぱっと読めるコードを書きましょう。 (rails) https://t.co/vqACGds5...

apidock.com 21 Dec '17, 9am

and friends for dates where the calendar reform is involved. It additionally prevents an infinite loop fixed

ぱっと読めるコードを書きましょう。 (rails) https://t.co/vqACGds5...

apidock.com 21 Dec '17, 9am

calculations for years, months, and days. The options parameter takes a hash with any of these keys:

rubocop-rails (1.1.2): RuboCop configuration wh...

rubygems.org 16 Dec '17, 3pm

RubyGems.org is the Ruby community’s gem hosting service. Instantly publish your gems and then install them . Use the API ...

Another useful Tutorial on how to use Active Storage on Rails 5.2

Another useful Tutorial on how to use Active St...

engineyard.com 22 Dec '17, 12pm

Active Storage is a built-in gem included on Rails 5.2 that handles file uploads to storage services from Amazon, Google, ...

Let's create an intermediate level Ruby On Rail...

rubyflow.com 16 Dec '17, 6pm

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...

Rails 5.2 implements fetch_values for HashWithI...

blog.bigbinary.com 06 Dec '17, 4pm

This blog is part of our Rails 5.2 series . Ruby 2.3 added fetch_values method to hash . By using fetch_values we are able...

週刊Railsウォッチです!Ruby 2.5.0-rc1リリース、Ruby 2.4.3セキュリ...

techracho.bpsinc.jp 15 Dec '17, 8am

# actionpack/lib/action_dispatch/system_testing/driver.rb#67 browser_options.args << "--headless" browser_options.args << ...