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.
kibana-rack 0.1.3 released
Unfortunately there was a regression in 0.1.1 where path that static dashboard files were served from was incorrect. If you downloaded version 0.1.1 of kibana-rack after the previous post, please upgrade to 0.1.3 immediately. [more inside]
Gem Glory - a set of useful gems for Ruby devs
A set of Ruby gems that save us a lot of time & effort in our daily work. And hey, if they help us, there’s a chance they can be useful for you as well! Taka a peek at 10 Gems To Make Ruby Dev’s Life Easier.
Ninefold CLI Gem 1.7.3 - now available
We have released an update (1.7.3) to our command line interface. This release is to address some API changes we have made with db backups. You will need to update to this version if you want to work with your db backups via the command line. Learn more
kibana-rack 0.1.1 released (important bugfix)
I just released a critical bugfix for a couple of issues in the initial release of kibana-rack. If you downloaded the initial release of kibana-rack over the weekend, please upgrade to v0.1.1 immediately. [more inside]
OpenSSL 1.0.1i
On August 6th there were a number of security advisories for OpenSSL. We have deployed updates on all affected instances, and all future deployments will automatically include the updates. Learn more
[BUGFIX] Inch 0.4.8
I had to release an important bugfix to Inch related to the generation of the “Inch Rake task”. If you use Inch in your Rake tasks, please update to the new version 0.4.8!
gem-compare: A new way of tracking upstream changes for RubyGems
Read about a new RubyGems plugin for tracking upstream changes and check the project on GitHub.The project was originally develop for the needs of Ruby package maintainers, but can be effectively used by anyone. Need to know how the dependencies evolved through time for the rails gem? Then just type gem compare rails '>=0.0.0' --runtime.
finite_machine 0.9.1 bug fixes
finite_machine got another release with few bug fixes. Please give it a try and if you want to share your thoughts, report a bug, request a feature go to issues
Nginx (and Puma behind) maintenance mode for Rack/Rails applications with Capistrano
There is a time, when we need to switch our apps into maintenance mode. Maybe it is because of some data processing stuff, maybe because of backups, deployment or whatever good reason you might have. To be honest it doesn’t matter why. What does matter, is how we should handle working users of our apps. In this article I describe how to setup an automatic maintenance page that will show during each Capistrano deploy. Nginx (and Puma behind) maintenance mode for Rack/Rails applications with Capistrano
kibana-rack 0.1.0 released
I just released the initial version of kibana-rack, a gem for embedding Kibana in a Rack/Rails application.
Inch 0.4.7 released
I just released a new version of Inch, a tool to evaluate and lint your inline-docs. [more inside]
Zero Downtime Delayed Jobs
Just posted about a script I created to do zero downtime delayed job restarts. Please check it out and give any feedback! [more inside]
DNS to CDN to Origin
Content Distribution Networks (CDNs) such as Amazon CloudFront and Fastly have the ability to “pull” content from their origin server during HTTP requests in order to cache them. They can also proxy POST, PUT, PATCH, DELETE, and OPTION HTTP requests, which means they can “front” our web application’s origin like this: DNS -> CDN -> Origin.
How to Add Comments to Rails App with Commontator
I’ve wrote tutorial about how to add comments in Rails using commontator gem.
A new version of middleman-presentation is available
I released a new version of middleman-presentation:
Version Number
To make it easier to build and maybe reuse a presentation, you can now add a version number to your presentation
Custom Slide Template
Now it is possible to define a custom slide template.
Easier creation of themes
Now there’s a helper command available which makes theme-creating a lot of easier.
Footer for your presentation
Now middleman-presentation displays a footer on each slide (from the 2nd slide on) with your name, the copyright and the version number
Language detection for new presentations
Now it tries to guess what’s the best language to use (based on the LANG-environment variable) when you create a new slide using the slide-command
Make debugging of slides easier
With this release you find HTML-comments with the file name in the rendered output.
beer.csv - Open Beer Data in Plain Text (CSV) Fixtures w/ Ruby Build Scripts
Hello, Using Ruby build scripts, that is, rake tasks, I’ve built up a new GitHub org, that is, beer.csv - for open beer data in the CSV (comma-separated values) format, that is, plain old text. To get started I’ve added - for a change - beer statistics such as production, imports, exports, consumption, consumption per head, etc. for countries. Cheers. Prost. Salud. Kampai.
Call for submissions: Ruby on Rails Interview Questions
Check out Toptal’s new community-driven list of great Ruby on Rails interview questions. We’ve begun with an initial sampling of questions. Read them, comment on them, or even contribute your own. [more inside]
Rails logging into several backends
Found a simple way to make several logging facilities in Rails.
Avoid AngularJS Dependency Annotation with Rails
Annotating AngularJS inject dependencies got you down? Using Rails? Try disabling variable mangling during JavaScript minification to alleviate your woes.
Customize Minitest Assertions and Expectations
Minitest earns a lot of praise for being simple to pick up, but did you know that you can add your own custom assertions and expectations to make your tests read the way you want them to?
rails_param : easily validate and convert your controllers parameters
Here is a new gem which will help you validate and convert your Rails controllers parameters in a clean & readable way.
Nuts & Bolts #2: Run a Rails production console with Capistrano (and RVM)
We all love to enter the Rails console to try out some stuff. It’s just a rails c away in development, but what if you want to view or fetch some specific data on your remote production server (and you’re not on Heroku)? [more inside]
Add OAuth to a Rails App Using Sorcery
We recently added OAuth to to our Rails app that uses Sorcery for authentication and wrote a tutorial for it. [more inside]