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.
TheSortableTree 2.0 released. (Drag&Drop GUI for NestedSet)
TheSortableTree 2.0 - Probably, best way to render Nested Set trees. Ready for Rails 4. This gem is a dream for many CMS developers. Easy to use. Easy to customize. Now it’s fast - about 2000 nodes/sec.
devise-async 0.6.0 released with Devise 2.2 support
I just released devise-async 0.6.0 with Devise 2.2 support. [more inside]
Disable Rails generators you don't need
A quick article on disabling some of Rails’ built-in generators with a couple of words on why I do this.
Delivering all email from staging to a group email address
All email from the staging environment of a Rails app can be intercepted and delivered to a group email address. This avoids accidentally delivering staging email to production customers and lets the product team see all the emails that are being sent to customers.
Simplify your testing with MicroTest
I just launched the MicroTest GEM. It sports an extremely simple interface and supports a nice workflow with Pry that makes it easy to debug test failures. It also supports asynchronous test runs. It works especially well for testing smaller projects.
How Tealeaf Academy increased student engagement 3x
Read our guest blog post on the Mailgun blog about how we improved student engagement threefold using Mailgun. Lots of code, and a pretty diagram too. If you’re interested in learning how to build Rails apps, check out Tealeaf Academy
Rails Girls in San Francisco!
Check out all the details about the upcoming Rails Girls event here!
Using Rails & Devise with Ember.js
I wrote an article on how to use Devise with Ember.js
Emergent One just launch a free tier!
Emergent One enables companies to expose their data to developers, partners, and mobile apps with an instantly generated REST API. We just launched a free tier to help you get started on your API.
Life of save in ActiveRecord
Method save in ActiveRecord is defined at multiple places and the save operation needs to take care of multiple tasks like dirty checking, transaction management and more. [more inside]
Image opacity manipulation and dynamic watermark generation
This blog post shows how you can use cloud-based image transformations to easily manipulate the opacity of images and how to use this technique to add watermarks to images. Ruby sample code is included.
New in Haml 3.2: hyphenated data attributes
One of the best new features in Haml 3.2 for me personally is the hyphenate_data_attrs option. Here’s what it does.
Ruby Singletons and Threads
In an earlier MetaCasts.tv episode we took a look at using singletons in Ruby. But what happens when we try to use singletons in a threaded environment? This episode will take a look at how we can solve threading issues in our singletons using the Mutex class: Ruby Singletons Threaded
Good, Simple Design
There has been a lot of talk about design for beginners or for advanced developers in Rails an other libraries. The argument that a well designed product works for both sounds good, but what does it mean? Take a dive into some developer products to see what it means to make a truly Good, Simple Design
Developing iOS applications with Ruby
This week’s post in Crowd Interactive’s tech blog: [more inside]
Making Vim, Unix and Ruby sing harmony
If you use Vim and Ruby, here’s an awesome way to transform text in Vim using Ruby scripts.
Small Refactorings in Ruby
I wrote down a few refactorings I do without really noticing I’m doing them anymore with a short explanation as to each.
Nokogiri’s Xpath Search Is Fast(er)!
Did you know that Nokogiri’s xpath search is faster than your own? I didn’t. Benchmark here.
Onlinebrief24 gem / (A German PDF to snail mail service)
I just released a small gem that provides an easy to use Ruby interface for the German Onlinebrief24.de service. Just put in your pdf files + letter options and the letter will reach the recipient by traditional/snail mail one or two days later.
neg, a neg narser
neg is a neg narser, it could have been a peg parser, but it didn’t make it to the exam.
Squash: Open-source, full-featured exception reporting tool
If you’re unsatisfied with Hoptoad, give Squash a try. It’s free, open-source, and packed with useful features to get your bugs fixed faster.
Obscenity, a profanity filter for Ruby, ActiveModel, and Rack.
Obscenity is a profanity filter gem for Ruby/Rubinius, Rails (through ActiveModel), and Rack middleware.
Faster Websites: Crash Course on Web Performance
3 hour workshop on web performance from the ground up: what is fast, impact of latency and bandwidth, TCP performance, SPDY protocol, browser parsing and execution, rendering optimizations, critical path, and more.
Almanac 0.9 Is Out
I just released an update for Almanac mountable blog engine. Version 0.9 includes a bunch of bug fixes as well as Disqus commenting support. Give it a try!
Guide to setting up pairing and CI servers
Dan Ivovich shares how SmartLogic set up pairing and CI servers, what hardware we used, and improvements we’re hoping to make in this post about application development infrastructure.