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.
33 Links to follow up on from REST Fest
Wish you could be at REST Fest but stuck at home? At REST Fest and not keeping the best notes? Catch up with 33 links collected by Eric Oestrich at REST Fest.
Organize Your Assets with Rails Engines
I wrote a blog post about using Rails Engines to organize your application’s assets.
Snowden, a gem for encrypted search indices
We’ve written a gem that builds encrypted search indices, using strong crypto and enabling fuzzy search. Check it out: Snowden
Gotta ♥ Ruby’s syntax
Rarely do I see the usage of each_with_object and Hash instantiation with default value in Ruby code while they help writing shorter yet understandable code.
Refactoring to use the Ruby standard library
Some code is inefficient because it doesn’t use built in standard library functions. Some examples and discussion here. I feel like there are more that I’m missing, can you think of any?
An Open Source Curriculum for Learning Web Development
I’ve been building The Odin Project, a free and open-source curriculum to teach web development to total beginners. It charts a path through existing resources on the web and encourages students to work collaboratively on projects along the way. It’s still very much a work in progress, so your feedback goes a long way, thanks! erik@theodinproject.com
Explain Shell from your Shell
Ever wonder what that strange command on the terminal did? Now you can: Explain Shell from your Shell and find out faster than you can say “manpages”.
Protip: Faster Ruby Tests with DatabaseCleaner and DatabaseRewinder
If you still mostly use the truncation strategy for your tests, you might want to take a look at this blog post on how to speed up your tests. :)
How to build a Google Glass integration in under 2 weeks
Monica Wilkinson from Crushpath explains which services she used to build a Google Glass integration in under 2 weeks. [more inside]
RailsThemes now Rails 4 compatible
All of the themes offered at RailsThemes are now Rails 4 compatible! Anthony describes some of the changes and updates on the RailsThemes Blog.
Introducing Churn-site, to track Ruby code churn
I have been interested in code metrics, for a long time. To get a bit more involved with the community and better study metrics across many Ruby projects, I am introducing churn code metrics as a free app. It helps OSS projects track code churn over time.
Sportbook - Open Source Football Betting Pool Ready for Champions League 2013/14 in Rails
I’ve reconfigured the Sportbook web app with new match fixtures for more fun for the upcoming Champions League 2013/14. You’re welcome to add your own fixtures. More tournaments examples include Deutsche Bundesliga 2013/14, English Premier League 2013/14, Spanish La Liga 2013/14, Italian Serie A 2013/14, and others. More info. Enjoy. Cheers.
The Cost of If
Today I made a post about the cost of branching – in your code, your product, your company, and your life. You might be surprised at how a refactoring pattern for your code might be worth considering in other areas, as well.
Essential Tools for Starting a Rails App in 2013
I wrote about my most essential tools and gems that I use when starting Rails projects, including security scanners, authentication, and background worker systems, among other things.
Quick VirtualBox/Vagrant setup with Heroku-like box
Here is a quick way to setup VirtualBox VM using Vagrant with Heroku-like box on Mac.
Reform 0.2 Released – With has_one And has_many Support!
Reform is a form object gem that decouples your forms from your models. We’re happy to announce version 0.2 with support for nested forms to handle has_one
and has_many
associations in a database-agnostic way.
Exception Notification v4.0.1 has just been released!
Exception Notification v4.0.1 has just been released, with HipChat notifier and more great stuff. Get it now!
Using Node.js and Karma Framework for Unit Tests and Code Coverage in Javascript
Lean how to use Node.js in your Ruby/Rails project. Link is here.
Unofficial Github API
I just launched Unofficial Github API with unlimited requests and no authentication needed. Uses multiple threads. Allows to get a list of followers, commits and other information.
export rails variable and configuration to client-side
I just launched Client Variable Gem. It will help you create config file and allow you assign variables in syntax that you can reuse those in javascript More infomation, please visit github
Building Ruby services on and off Rails (actual code)
At reverb.com we’ve been building Ruby Services and have decided on a specific stack involving Grape, Roar, JSON+HAL, and ActiveRecord. We’ve put together a service skeleton that includes all of these things bundled together, so you can get started building your service right away. There’s even a deployment script thrown in so you can get it up on your server in about 5 seconds. [more inside]
Top level methods in Ruby
Ruby certainly has its quirks, with some weird behaviours. Here’s a few thoughts about top level methods in Ruby, how they work, and a couple open questions. [more inside]
I released iptables-ng, another iptables cookbook for chef, this time (trying) to not do it wrong.
As I want to consistently configure iptables rules independently on the underlying distribution, while at the same time respecting the way the current distribution handles their rules, I just released iptables-ng yet another iptables cookbook for chef. [more inside]
RuboCop 0.13 is released on Friday the 13th :-)
It’s one pretty loaded release! Check the changelog for details.
Sinatra and Google Currency API – Part 2
In this two-part series, Girish Sonawane shows you how to use the Google currency conversion API with a small Sinatra app. This is Part 2, where he focuses on using the API with Sinatra.