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.
gem install attr_encrypted -v 1.2.0
encrypt and decrypt attributes - shuber/attr_encrypted
Thebes: A Thin Sphinx Integration Gem for Rails.
At Harvest, our dev team was having a rough time with ThinkingSphinx and Rails 3. The experience prompted us to create a lightweight alternative for Rails+Sphinx integration we’ve released as Thebes. Read about Thebes on the Harvest blog and find the code at Github.
Hey Apple, please be nice and share
Apple seems to have decided to ship MacRuby as a private Framework in their new OS (Lion), meaning that OS X developers can’t link to it, even tho it ships with the OS. If you would like to not have to embed MacRuby, please take a minute to file a ticket as suggested in the post.
Profiling spork
Spork makes your tests run instantaneously. I wrote about profiling Spork to make it even more instantaneous.
Review of Eloquent Ruby
I wrote a review of Eloquent Ruby in which I draw a parallel with Olsen’s previous book. I’m also doing a giveaway, so a lucky reader will be able to get a free copy.
Ruby 4 Rails Presentation
I just open-sourced the Ruby 4 Rails – Learning Ruby, with Rails in mind ShowOff presentation I wrote to teach Ruby to a friend of mine. The source code is available on GitHub.
LA Ruby Conf 2011 Recap
LA Ruby Conf 2011 Recap some groovy thing
The inofficial EuRuKo 2011 waiting list
@phoet forked the official EuRuKo 2011 website, inviting everyone who failed to buy a ticket to add themselves to the inofficial waiting list. Simply fork the project, add yourself to the list and open a pull request :)
Google App Engine, JRuby, Sinatra and some fun!
Check this post on how to use JRuby, Sinatra in Google app engine to parse some feed and send a notification email.
WebSocket-Rack - Rack based WebSocket server
I just released first version of new WebSocket server - WebSocket-Rack. Why next WS server you ask? Because some of you want to have both application and WS server in the same process, and em-websocket won’t allow you to do that. WebSocket-Rack is pure Rack app, so it will work with Sinatra, Rails and Merb! [more inside]
ChunkyPNG and OilyPNG 1.0 released
After more than a year of development, I released version 1.0 of ChunkyPNG, the pure Ruby library for handling PNG images, and OilyPNG, the C module that will speed it up. [more inside]
RubyRockers | Rails
I just found some good rails stuff.
CoffeeScript (Episode 90 from the SD Ruby podcast)
People are drawn to Ruby by its beautiful syntax, and CoffeeScript brings that same joie de vivre to Javascript. John Lynch shares his experience using CoffeeScript for both web and mobile app development. Watch episode
A better irb and Rails Console that will make your life easier!
IRT adds a lot of cool features to the standard irb: recording, replay and testing, inspection and diff tools, contextual ri doc, in place editing with syntax highligh, colored output, and lot more. Just try the simple tutorial (with a lot of screenshots) and you will never want to use the vanilla irb again ;-)
Introduction to Sinatra (8 Minutes)
We’ve just launched the Introduction to Sinatra. It’s an 8 minute jaunt into the basics of routing, variables, named parameters and views. Check it out!
one9 - A commandline tool to upgrade to ruby 1.9.2
Introducing one9, a gem to help upgrade to ruby 1.9.2. Read here to see how it works. So why not upgrade now?
Capfire gem updated, now with idiot detection
I just updated capfire, a gem created to post a message to Campfire after a deploy. This release is a better capistrano companion (it now respects dry_run etc.) [more inside]
Tutorial for Adding Tabs to Rails Using Tabulous
I’ve updated the syntax of the brand new tabulous gem and created a step-by-step tutorial on how to add tabs to a Rails app.
Callbacks with jquery-ujs in Rails 3
Neeraj Singh who is a core member of the jquery-ujs project has an informative blog post on describing jquery callbacks in Rails3. In this post Neeraj walks through a detailed example of how to delete a record using Ajax.
Rails models to Open Graph objects with acts_as_opengraph
I just launched acts_as_opengraph, an ActiveRecord extension that turns your models into Facebook’s Open Graph objects.
ActiveRecord to Facebook's Open Graph objects with acts_as_opengraph
I just launched acts_as_opengraph, an ActiveRecord extension that turns your models into Facebook’s Open Graph objects.
How to send email asynchronously using Devise and Rails3
I just wrote a post about how to send email asynchronously using Devise and Rails3 and delayed_job.
Ruby Best Practices Blog comes back to life, sort of.
While we don’t have immediate plans for posting genuinely new content to the RBP blog, we’ve decided to gradually release all of my newsletter articles from the now-discontinued Practicing Ruby newsletter. The first issue has already been posted, and new ones will follow every Tuesday and Thursday until we reach Issue #30. Enjoy!
Interview with Santiago Pastorino
Interview with Santiago Pastorino - at LessCode.se
Fun with ruby arrays, hashes and benchmarking
My friend always jokes about waiting for a late post from me on subjects that come up from the day. I had one of this discussions today about making a hash from arrays that turned into a learning exercise that you can read about here