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.

Delayed Job Gem for CSV

It is essential to have a fast server as the delay in processing can literally kill a business’ revenue stream and frustrate the users. The speed of a website is the actual time it takes for a web page to load on the screen after being requested by the browser. Now consider a scenario where you need to use huge database and send emails to a list longer than the Wall of China. Exaggeration or not, sending emails to a long list of people will take time, increasing the processing time which will slow the server and annoy the users. To read full visit : Railscarma Blog

YAML Quick Reference (Cheat Sheet) for Jekyll Datafiles @ Planet Jekyll

Hello, I’ve added another quick reference in the Planet Jekyll series. YAML examples for Jekyll datafiles include: List of Key/Value Records (e.g. books.yml) • Nested List of Key/Value Records (e.g. nav.yml) • Hash (Dictionary) of Key/Value Records (e.g. people.yml) • Multi-Line Strings • And some more. Questions? Comments? Welcome. Cheers.

Object Oriented Design Basics : Flexible Design

Software does not exist in a vacuum. It interacts with environment and the environment interacts with it. The environment is market forces, users, external systems, operating systems, competing software, changes in law etc. It evolves, either it improves or decays over time. The only thing that is constant is change demanded by the environment. To read more, check out the Flexible Design article.

PR Log: Turn Pull Requests into Changelog Entries

tf/pr_log (MIT license) is a small command line tool which fetches recent pull requests from a GitHub repository and inserts changelog items. It encourages handcrafted changelogs and plays nicely with existing changelog content. It uses GitHub milestones and labels to filter items and insert custom prefixes like “Bug fix”. In most cases it can parse its configuration automatically from the project’s gemspec. [more inside]

How to restore support for Nginx’s gzip_static in Rails 4.2

Nginx has the ability to serve static .gz files instead of compressing assets on the fly, which is great for performance. The Rails asset pipeline has supported this feature in the past, but unfortunately, this support is currently missing in Rails 4.2 and Sprockets 3. The Rails team is aware of the problem and has promised a fix, but in the meantime, here’s a workaround to restore this great feature.

How to clear all Sidekiq queues, using the power of emoji

It’s easy to find code snippets that will delete the jobs from one Sidekiq queue. But we have lots of queues. I want to clear the jobs from all of them. After a little digging, I came up with an emoji-based approach that seems to work well. http://blog.honeybadger.io/how-to-clear-all-sidekiq-queues-using-the-power-of-emoji/

New Jekyll F.A.Q.s - Frequently Asked Questions (and Answers) @ Planet Jekyll

Hello, I’ve started a new F.A.Q for all things Jekyll and friends. Still early. Questions so far include: Where can I find the latest (and greatest) Jekyll news and goodies? Where can I find themes? Can I use Bootstrap with Jekyll? Where can I find help? Where can I find Jekyll friends? What Jekyll plugins can I use on GitHub Pages? and some more Question? Comments? Welcome. Cheers.

Loading older posts