RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

[Screencast] Client Side Encryption

Add an extra level of security to your application with client side encryption. Even over an SSL connection, there are attacks which could expose your users’ sensitive information. Using JSEncrypt, learn how to encrypt on the client side and decrypt on the server side. https://www.driftingruby.com/episodes/client-side-encryption

This does not add any security, because if an attacker is able to attack SSL, h…

Hello, Pages! Theme - Easy 1-2-3 Publishing w/ GitHub Pages (and Jekyll) Live Sample

Hello, I’ve put together a (simple) sample (static) website called Hello, Pages! (Source) using the latest and greatest built-in Jekyll plugins e.g. Optional Front Matter, README Index, Default Layout, and Titles from Headings that let you publish pages on GitHub without any configuration or front matter blocks e.g. just add some pages in plain text with markdown formatting. That’s it. Happy publishing w/ Jekyll. Cheers. PS: Bonus: I’ve added the Hello, Pages! V2 (Source) sample w/ custom layout, github banner, footer (w/ build time) and more.

Rails 5 and ActiveRecord before_destroy callbacks

I recently stumbled in one of Rails 5 new breaking feature that somehow flew under my radar. It’s not a very recent change, still it’s the case that many others (at least at my company) missed it. I think that’ a good reason for talking a bit (more) about it: How requirements shaped my code, AKA Rails 5 and ActiveRecord before_destroy callbacks.

Rescue's Elegant Trick for Knowing Which Exceptions to Catch

You probably know how to ask Ruby to rescue specific exceptions. But how does Ruby know if a particular exception meets your criteria? In this article, we’ll walk through Ruby’s simple exception matching mechanism and see how we can use it to our advantage. - http://blog.honeybadger.io/ruby-rescue-elegant-trick-for-knowing-which-exceptions-to-catch/

Loading older posts