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.
The Best Way To Pretty Print JSON On The Command-Line
We work with JSON APIs every day, so it helps to know what options there are when it comes to formatting our JSON on the command line. Your easiest/best bets are the Python JSON tool (if there is no other option), YAJL tools, or the ppjson gem, written using the escort framework.
Concurrent Programming and Threads in Ruby – a reading list
I just posted an English translation of a reading list on the topic of concurrent programming and threads in Ruby, based on the list compiled by @brainopia
Minor update to Seedbank
I just released an update to the Seedbank incorporating contributions from pivotal-cloudplanner and Tim Galeckas.
Piggyback github gists for dev blogging
Published a blog post on how to utilize github gists to make a simple, easy-to-use, static-site (but actually easy to edit) blog with Github-flavored markdown, comments, fast hosting, all for free.
The No Nonsense Guide To Ember.js on Rails
I wrote up a no non-sense, no steps skipped guide to getting a new Rails app running the latest version of Ember.js. There is already great tooling for Ember when it’s part of a Rails project.
lazy_google_analytics, GA api client for the lazy
I just launched lazy_google_analytics, this gem it´s an abstraction around google-api-client gem, to make server to server api calls. [more inside]
Remote controlled Home Automation using Sinatra and the LightwaveRF Wifi box
In this blog post I added a Sinatra web interface to the LightwaveRF gem allowing you to control devices in your house with an HTTP GET.
Conred, adding YouTube and Vimeo videos to your Rails app from a link
Hello there dear rubyists, I created Conred gem that helps to convert YouTube and Vimeo links to embedded iframes in your Rails app views.
state_machine 1.2.0 released
state_machine 1.2.0, an FSM library for Ruby and several ORMs, has been released after more than a year of development since 1.1.0! Check out the CHANGELOG for the details. After a long hiatus, development is active again :)
Speedup your deployment process with zero_deploy gem
zero_deploy gem has just been released. This gem makes your deployment fast as hell by improving key actions like gems installation and assets precompilation. Currently is supports all major tools like Capistrano or Chef.
How to upgrade your application to Rails 4
I’m writing a leanpub book on how to upgrade your Rails 3 application to Rails 4. It covers all new features introduced in Rails 4 and contains the deprecated features as well. You can follow along with the included upgrade checklist to upgrade all breaking changes. Here is the link: https://www.leanpub.com/upgradetorails4. Feedback and suggestions are very welcome.
Should you concerned about defaults?
Any software has configuration, bad simple configuration, just default values for abstract environment. For. Abstract. Environment. [more inside]
Rails find with Airbrake
This small issue caused a lot of 404s to be shown to the users and left our application broken without us knowing it was in this state.
Compressing large data sets in Redis - Ruby test case
A just wrote a post about my attempt to decrease Redis memory consumption by Gzipping the data that I was having there. Wanna see how it ends? Click here: Compressing large data sets in Redis - Ruby test case.
beer.db - Another Open Beer & Brewery Database - Cheers, Prost, Salud
The world.db gets another addon. Following the football.db fixtures I have started beer.db for free public domain beer and brewery data in plain text. So far 100+ beers and 30+ breweries listed. Use the beerdb gem to import and reuse ActiveRecord models etc. More info. Cheers. Prost.
Control flow differences between Ruby Procs and Lambdas
Just imported an old piece on Procs and Lambdas.
zeus-parallel_tests 0.2.0 released
Few days ago I released version 0.2.0 of zeus-parallel_tests. It supports cucumber now!
CarrierWave Documents Viewer add-on
I just launched carrierwave-viewer gem for integration GroupDocs Viewer service with Carrierwave.
Rails engine to serve modal image viewer!
Very excited to share this latest library! Image Viewer Rails [more inside]
EuRuKo 2013: Call for Presentations is now open!
We are very excited to announce that Call for Proposals for EuRuKo 2013 is now open and you can send your proposals until April 23rd! We have put a lot of effort in order to create a selection process that will encourage submissions by everyone irrespective of publicity, gender, race, domain, etc, guarantee a high quality conference and at the same time be fun for all participants. The process has been refined with feedback from the community and all the details can be found here. [more inside]
Build your own Ruby and Rails Searchable API Docs
If you want a local, searchable copy of Ruby or Rails API docs here are some instructions.
Upgrade Rails 3.2 to Rails 4 on jRuby
I recently had a chance to upgrade to Rails 4 on jRuby project I’ve been working on. There’s a few gotchas to watch out for.
Boston - Wicked Good Ruby Conf Oct 12 - 13 2013 is launched!
Please see the website for details wickedgoodruby.com [more inside]
Immutability in Ruby Part 2: Domain Models
Immutability can be a useful concept in not just basic data structures, but also your domain model. I just published Immutability in Ruby Part 2: Domain Models.
Git-subtree and Rails
I just wrote about how we used git-subtree to share code between LienLog and LienMarket (both are Rails 3.2 applications) in my blog. </br> http://igor-alexandrov.github.com/blog/2013/03/28/using-git-subtree-to-share-code-between-rails-applications.