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.
TechnicalEcstasy.net
I recently launched TechnicalEcstasy.net, a blog on science and software development. The blog engine is developed using Ruby and Sinatra. [more inside]
Master Space and Time With JavaScript: Ember now complete
My book, Master Space and Time with JavaScript is now feature-complete. It covers JavaScript, Backbone, and Ember using a Rails project as the back end. [more inside]
RabbitMQ a Quick and Dirty Introduction
RabbitMQ has become one of the most popular solutions for application messaging. Owned and maintained by VMWare, its proven track record, stability, and speed has made it the poster child of what a powerful message bus should be. This introduction should be viewed as a boiled down crash course in RabbitMQ. [more inside]
What's new in Ruby 2.1?
The release notes were not that informative, so I wrote a blog post.
Chunked transfer encoding in Rails
Anyone that has written a little PHP knows what the flush() family of functions do. The ideal usage scenario for using chunked transfer is when we have something costly to render. more
Rack middleware to render Graphviz diagrams from inline source
I love Graphviz, and thanks to inspiration from a PHP project I’ve written some Ruby code to make it easy to inline Graphviz graphs, with a Rack middleware to intercept requests for image versions of the graphs and render them.
Lambda/Procs in Case Expressions
I just wrote a short article on using lambdas in case expressions.
DRY your CRUD with Simple Form and Inherited Resources
Admin views can be tedious to develop and maintain, but full-on admin engines can be too heavy and hard to use. I wrote a blog post that shows how you can use two gems, Inherited Resources and Simple Form, along with Rails’ built in view inheritance, to build easy-to-maintain admin CRUD.
Monologue 0.3.0 and monologue-markdown released
Last night, I launched a new version of Monologue and monologue-markdown. What is Monologue? It is a Rails mountable blog engine pretty much barebone but with very few dependencies to ease it’s use within your Rails apps. monologue-markdown is an extension replacing Monologue’s default editor with a neat Markdown editor. See the details, new features and all that jazz here.
RJR: Ruby JSON-RPC v0.16.2 released
I invite everyone to checkout the latest release of the rjr gem. [more inside]
Ruby is Beautiful! So why is my code ugly?
This is my blog entry about why we sometimes write ugly code when we are beginning, and why it’s a good thing.
Pluto Planet Generator Now Includes Web Admin Sinatra App - run PlutoAdmin::Server
Hello, the pluto planet gem that lets you create planet sites (that is, sites that get auto-build and auto-updated from web feed subscriptions) now includes a web admin app that you can include in your planet. Example: map '/db' { run PlutoAdmin::Server } . See the Sinatra pluto.admin app in action, for example on Planet Ruby or Planet vienna.rb. More info. Cheers.
Modularity in Javascript
Your Ruby on Rails project most likely have Javascript code and you want to handle it in similar to Ruby way. Read my my blog entry about how it can be done.
Rails Israel 2013 Program Announced
35 speakers have been revealed for this October’s Rails Israel conf in Tel Aviv, Israel.
Followup to "Better Single-Table Inheritance"
I just posted a followup post to my previous post, “Better Single-Table Inheritance”, addressing some of the points readers have emailed me about.
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.