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.

New Jekyll Theme Directory Browse by Author, A-Z, And More - A Jekyll Site ;-)

Hello, Max White has relaunched the Jekyll theme directory listing more than 100+ ready-to-fork static sites. What’s news? You can now browse by authors, A to Z. You can subscribe to a web feed and best of all you can try out live demos. Any theme missing? Add yours! It’s just another Jekyll site ;-) Cheers. PS: My favorite theme? Of course Dr Jekyll Classics Books ;-) What’s yours? Let us know. Cheers. (Update: Use new themes.jekyllrc.org domain).

football.db - European Champions League 2015/16 Fixtures (try $ sportdb new cl2015-16

Hello, The plain text football fixtures (datasets) for leagues, teams, match schedules, and more that you can read with the sportdb gem into your SQL database of choice now includes the European (UEFA) Champions League 2015/16. Try using the cl2015-16.rb Datafile to (download and) build yourself a copy e.g.: $ sportdb new cl2015-16 All data, code, and league and JSON HTTP API starter kits public domain. Enjoy. Cheers.

Save image as progressive image using paperclip and imageMagick

Otimizing images is one of the most important branch of the web optimization process. Images that are delivered by the web server to the client’s browser must be optimized in order to improve the page load speed and to offer a better user experience. It’s known that perceived speed is more important than actual speed. Read more here

Testing race conditions in your Rails app

Only 15 people can subscribe to a course, only limited number of people can buy this physical or virtual product, only 200 people can go to a concert, etc. How do you test that this limitation actually work? And not only work but that it works under heavy load, when there are multiple customers trying to buy the last item because it is a hot event or the product is offered with a big discount? Read more

Creating Ruby enumerators on the fly

When you treat your collections as enumerators, you get to use all your favorite functions like #map and #reduce without having to write any extra code. In this post I show you how easy it is to create enumerators on the fly, without defining extra classes or messing around with the Enumerable module. http://blog.honeybadger.io/creating-ruby-enumerators-on-the-fly/

Lovely, tiny example. You might also enjoy reading: http://blog.arkency.com/201…

Grape API Throttling with Grape-Attack gem

Grape-Attack has your API endpoints covered. Grape-Attack is a middleware for Grape to add endpoint-specific throttling. Will also take care of setting custom rate limit headers for you.

Looks like a very good start for a gem. I like the usage of adapters. Is there …
Absolutely, you can specify an identifier per endpoints like this: throttle max…
Oh sorry you meant per clients. Not yet but this could be a really nice feature…
Loading older posts