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.

  Today

Does Rails everything for us?

The latest Rails security fixes were another reminder that we shouldn’t rely too much on a framework to solve everything security for us. Let’s take a moment every time we use user input directly (like in render params[:id]) and think about what class it could potentially be: Fixnum, String, Array, Hash, nil, a blank string. This and other news in the Rails and web app security reading list.

ActiveRecord is reinventing Sequel

I’ve been happily using Sequel for over a year now, and was finding it to be consistently better than ActiveRecord. Moreover, I found out that most of new ActiveRecord’s features were already part of Sequel for quite some time. I think that’s a big and controversial discovery, so I decided to write a post where I attempt to prove my claims.

View, Add, Remove & Modify Metadata Details of Documents & Image Files within .NET Ap

We are happy to release the new version of GroupDocs.Metadata for .NET. It supports working with metadata associated with various document and image formats. The API facilitates the user with simple syntax, easy to use methods and few lines of code to perform metadata operations. It provides the support of many popular document and image formats and the number is going to increase in next release. Metadata is structured information that is used to contain important business information of different resources. Having the ability to filter through that metadata makes it much easier for someone to locate a specific resource. Keeping the eyes on the importance of metadata, GroupDocs team thought to make an API that will help users to deal with metadata in an easy manner. GroupDocs.Metadata API is developed to empower developers and make their life easier while working with metadata. It is a very powerful and easy to use API that provides all basic metadata operation (i-e view, add, modify, remove) for a number of file formats. API gets the file as an input and makes its metadata accessible for the user. Now, it is up to the user to perform any of his desired operations on this metadata. Read more: http://goo.gl/mlz5dy

This has nothing to do with ruby

ThreadPool: a Ruby antihero

Threading gets a bad wrap in Ruby - even still, you may be using thread pools everyday without even knowing it. Many of the most popular ruby gems use the concept of “pooling” to manage expensive resources. In this post, we’ll examine why thread pools are useful and take a test-driven approach to implementing one ourselves. https://rossta.net/blog/a-ruby-antihero-thread-pool.html

Unicode Character Widths

Q: How do you determine how many terminal columns a string will take? A: It is not possible, because it is not standardized for every character! But you can achieve good results with EastAsianWidth.txt, Unicode’s general categories and other data. [more inside]

Loading older posts