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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
BlackHulk - Awesome Blog Engine for Developer
We’d like to share an awesome blog engine for developer. Your posts will be saved on a GitHub repository and BlackHulk will display on a web browser. Read more
Color Blind Test your Web Application
Did you know that about 8% of the male population is color blind? Why eliminate that much of a potential market for your Web apps? Read more
Rails DB updates
Happy New Year! Please welcome new version of Rails DB gem with some optimisations and bug fixes
CRF - Find repeated files Gem
I wrote my first gem called CRF, which finds repeated files in a given directory (and subdirectories). I would love to hear your opinions, suggestions and error reports! Read more
Simple Rust, From a Rubyists Perspective
A four-part blog series on solving Exercism’s anagram problem in Rust. Heavy comparisons between Ruby and Rust, since I’ve been a Rubyist for years.
Using RSpec Metadata
Not all tests are created equal. Here we examine patterns for using RSpec metadata for to test configuration on a per test, context, or even directory-level basis
The FILTER clause in Postgres 9.4
Postgres 9.4 was released in December 2014 adding the FILTER clause to aggregate functions and this clause is quite useful when you want to count or sum specific records when executing group by. Read more!
Ruby String Formatting
Want some zero-padding with that burger? Read this tutorial to learn how to do that and more.
Introducing Assets For Lotus
Introducing assets features: helpers, preprocessors, EcmaScript 6, deployment, checksums, CDN, and third party gems! Out in two weeks with v0.6.0.
Using Sidekiq across different applications
In this blog post, I describe a simple technique for how to continue working with Sidekiq when you’re splitting up your monolith into multiple different applications. Read more
State of the 2016 Rails Stack
What’s a Rails stacks look like in the wild these days? Most popular Rails version? Most popular Ruby? Is Delayed Job still hanging on? We combed thru the data to see the most popular libraries powering Rails apps heading into the New Year.
A little string formatting tip and how we handle dynamic email subjects
If you are used to format string via % operator you should be careful with dynamic content evaluation. Here is how I handle special cases when using dynamic e-mail subjects.
Sometimes Code Makes Me Sad - This Is How I Get Over It
It’s called code envy
2015 Roundup - Inch, What a Year
Part 1 of my 2015 Roundup:
What to look for in a Rails expert
Should your Rails developer be certified? Should they have multiple degrees? Here’s what you should look for when hiring a Rails expert for your product team.
Invalid Object Is An Anti-Pattern
Here’s some food for thought where I present the idea of objects validating themselves as an anti-pattern and provide a short introduction to dry-data and type-safety in Ruby.
Disqus on Rails - How to implement and why?
Did you ever wonder how to implement disqus on your rails blog? It’s easy, but the real question is: why it’s better than standard comments?
Refactoring in Ruby: TDD your way through Extract Class
In this post, I cover an example of refactoring Ruby code with the Extract Class pattern by using Test-Driven Development. Check it out here.
New features in Ruby Raven
Released a new version of Ruby Raven. For more info read the blog
Wye Tech News #4
A new issue of our weekly compilation of interesting news and articles about Ruby, Rails, JavaScript and web development related stuff that we found during the week.
Terminal input with tty-prompt
I’m happy to introduce tty-prompt for gathering user input in terminal. You can ask user for a masked input, keypress, multiline text or to select a single or multiple options from a list. The library sports a robust validation mechanism that provides dynamic error messages. Finally, tty-prompt comes with many conversion methods for converting input to desired type. Give it a try and let me know what you think!
How HTTP headers get passed from nginx to your Ruby app
Whether you use rails, Sinatra, or Lotus, you don’t really have to think about how cookies and other headers pass from nginx or apache, to the application server and into your app. We’re going to examine this journey in a little more depth. Because it turns out that the story of headers contains a lot of interesting information about the history of the web. http://blog.honeybadger.io/how-cookies-and-other-http-headers-get-passed-from-nginx-to-rack-and-into-rails/
One more Enums implementation in Ruby. What for?
Check out my recent post about one ore Enums implementation in Ruby. Why did we released it and what for? All the answers are there. Your questions, notes, criticism, pull requests and issues are welcome!
Delayed Job Gem for CSV
Delayed Job Gem is a ruby gem which can be applied to execute certain tasks in background process in the Rails environment. Read full article at RailsCarma Blog.
Third way to use block argument
Recently I found a relatively rare used way to use block argument in a method, and I wrote a post to introduce it.