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.
guard-annotate gem released
I just released the guard-annotate gem for Rails developers who use guard and the annotate gem. Source code is available on GitHub.
JSONSelect for Ruby.
I just ported JSONSelect to Ruby.
Getting Your Rails 3 App's Routes at Runtime
Check out this blog post with a quick tip on how to get a ‘rake routes’ functionality at runtime on your Rails 3 app.
nanoc-cachebuster gem
I have created a gem that makes it easy to add cachebusters to the static assets in your Nanoc project: nanoc-cachebuster. It helps you make the most of client-side caching. I extracted it from my nanoc-template project. If you use Nanoc, check it out, leave some feedback and fork away.
The State of MacRuby (Episode 95 from the SD Ruby podcast)
Matt Aimonetti discusses the latest developments with the MacRuby project, which aims to implement Ruby 1.9 directly on top of Mac OS X core technologies. Watch episode
Send/Receive SMS Messages with SMSified Gem for 1 Penny
@JSGoecke releases the SMSified Gem that allows your to send/receive SMS messages using Ruby for 1 penny per message! It’s simple.. see inside for examples. Happy texting and BTW, messages are free until we get around to implementing billing!
padrino-lazy
Through padrino-lazy, we can include some common properties shared between the model object used a base model object. continue
PJAX Demo in Padrino
Just as an experiment, I threw together an adapted version of defunkt’s original sinatra PJAX demo and cleaned it up by augmenting it with Padrino in the padrino-pjax project. Check out the live demo to see Padrino+PJAX in action. Mind you the real core to this is all in defunkt’s jquery.pjax. Really cool little library!
"Pure" CoffeeScript with Guard
Here is how to use the guard-coffeescript gem to maintain a “pure” CoffeeScript project with a clean, off-to-the-side directory of all the compiled JavaScript files and still preserve the directory structure within it.
The Ruby Rogues on Templating Languages
Ever wanted to have a rousing discussion on which templating language to use in your application? Are you a HAML nut or an ERB freak? Think SASS is the bee’s knees? [more inside]
Rails core_ext: Array Access
I just published a post: Rails core_ext: Array Access, the first article of the Rails core_ext series.
How We (EY) Migrated to Terremak's Cloud: Part I and II
Dan Peterson walks through the process and tools used when we migrated from our own infrastructure to xCloud on Terremark. Read the details in Part I and Part II of Dan’s blog series.
Why Frozen Rails will never charge our speakers a penny
A few of the reasons why Frozen Rails will never charge admission fees to our speakers (in response to talk about DjangoCon on Twitter yesterday).
Copy is a simple, Sinatra-based CMS (Copy Management System).
Copy allows you to create blocks of easily editable text; it’s perfect for small, brochure-like sites. See the demo.
CoffeeBeans - The parts of CoffeeScript they forgot in Rails 3.1!
In Rails 3.1 it’s incredibly easy to build your application’s JavaScript using CoffeeScript, however if you fire off an AJAX request to your application you can only write your response using regular JavaScript and not CoffeeScript, at least until CoffeeBeans came along.
Gemsitter - GEM Version Update Checker
Gemsitter check the installed gem’s and the versions in your webapplication for updates.
Questionable!
Questionable makes it easily to add question methods (those ending with a question mark..) for internally testing against instance variables. See an example here. Check out the GitHub repo over here.
Robut, the plugin-enabled HipChat bot
Robut is a simple bot that connects to a HipChat server using their new XMPP interface. Using simple plugins, it can listen, perform actions, and respond to what’s being said. Robut includes some sample plugins, including a hook to the TWSS gem and an Rdio client for queueing and playing music.
Vendor gems with style
Vendoring gems still apply, but in practice, it can be bothersome. However, it’s very easy, if you do it with style.
Learn how rails, selenium, & font-face can be wielded to test pixel perfect browser rendering
The latest episode of webpulp.tv features Ryan Carver from Typekit talking about how they use ruby, rails, CDN, selenium, etc. It is a great interview that includes Ryan talking about Selenium and their automated testing of browser font rendering.
RSpec 2.6.0 and RCov
Just upgraded to the newest RSpec (2.6.0) and found that RCov has stopped working completely? Check out Mario’s post: RSpec 2.6.0 and RCov.