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.

Extending ActiveRecord association to cleanup your associations code

For some reason not many RoR developers know that they can extend ActiveRecord associations. This feature can be a great way to cleanup any relational code that is dependent on a parent resource. Here are few examples on how and when to use it: Extending ActiveRecord association to cleanup your associations code

How do I encrypt data in my database?

A beginner’s guide to keeping your data safe from those nasty bad guys:

This encrypts the data in the database, but if your application is hacked it do…
No it won’t keep your application safe, just your database.
I wrote a quick reply just for you Philip :-) http://theartandscienceofruby.…

Be aware about the out-of-memory killer

One of the most important things for applications is stability. There are various hosting platforms that give you virtual servers, where you can run multiple services. There is no limit to the number of processes so it is up to you how much of their resources will be used. However, exceeding all available RAM memory can result in poor stability or even a server crash. This article gives you some basic knowledge about the out-of-memory system state. [more inside]

"yamlsh": Interactive REPL for authoring YAML files

I released a YAML authoring interactive REPL called yamlsh. Multi-language support (for typical I18n translation files) and cross-files consistency checks are in the works. Check it out!

The first thing I tried in yamlsh was ls -R. That does not work… …
The first thing I thought when using this was, “awesome idea.” Thanks Franck! …
Loading older posts