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.
Extending the Ruby String class to add OpenSSL Encryption/Decryption (for Rails)
I have posted an article on how to extend Ruby’s String class to include OpenSSL encryption/decryption in web projects (like Rails, Sinatra, Padrino, etc).
X-Frame-Options Rack Middleware
Firefox 3.6.9 added support for The X-Frame-Options response header. Other major browsers supports this too. [more inside]
Humanizer - "the simplest CAPTCHA solution ever" updated to 2.1.0
New 2.1.0 version includes new translations (Portuguese, Brazilian Portuguese, Dutch), support for inline errors in Formtastic, more flexible validation and minor polishing.
Ruby number readability tip
Quick, Millions or Billions? a quick post on how you can make numbers more readable in your Ruby code.
"Refactoring in Practice" slides from Ruby Hoedown
I gave a talk on refactoring this weekend at Ruby Hoedown in Nashville, TN. Here’s a link to the slides.
Rails 3 Application Templates
After planning this for months now, we managed to finally put together a set of Rails 3 application templates to make generating new applications easier. [more inside]
Gmate Cucumber table cleaner plugin
For those who’re using Gmate as IDE for developing Rails applications, I created plugin for one-click clean up and arrange tables in Cucumber Scenario outlines, mass form filling and other.
(My) Cucumber best practices and tips
After (My) RSpec best practices and tips I’m happy to share my Cucumber best practices and tips! This article will help you organize your garden, make smaller scenario, use scenario outlines, multiline step arguments and more!
Rails URL validation gem
Following the email validation gem, we made a small URL validation gem also. The difference is that this works with both Rails 2 and Rails 3. It’s pretty naive in its implementation, but it generally does the trick. [more inside]
Lockdown (authorization for Rails) 2.0 released
Lockdown, an authorization system for Rails(2 and 3) was just released. The release announcement has details on what has changed.
Incoming Email in Rails 3 - choosing the right approach
There are loads of options for sending email in Rails but when it comes to receiving email the options aren’t quite so clear. [more inside]
RVM and cron in production
How to use RVM and cron in production, together with some tips on the best kind of RVM install (system-wide vs. specific user).
Rails 3, Ruby and JQuery documentation into Mac OS Dictionary
All together here
Rails Test Prescriptions Beta 7 now available
Beta 7 of Rails Test Prescriptions by Noel Rappin is now available from the Pragmatic Press. This version includes a new chapter on RSpec.
Platypus: small inter-related collection of type-oriented libraries
Have you seen my Platypus? He was around here somewhere. A little horse told me he could do method overloading, pseudo-classes and double-dispatch type conversion. That’s fun. Next time someone asks for these, you can scrap the goose gander and just send him out for Platypus steaks –well done.
Rails 3 email validation gem
We have just finished a small, but hopefully useful gem to help validating email addresses in Rails 3. You can see the source at GitHub or grab the gem itself from RubyGems.
Rails Best Practices 6: Filters and helpers file
My new article about Rails best practices: <a href”http://blog.devinterface.com/2010/09/rails-best-practices-6-filters-and-helpers-file/”>Filters and helpers file</a>
Cheezburger - RSpec for LOLcats!
We just launched cheezburger, a small gem extending RSpec for writing specs in LOLspeak! Fork it on Github also!
Rubylearning just announced a new course
RubyLearning just announced a new course - Ruby programming 101 that starts in Oct. Registrations have started and there is an Early Bird Discount. Hurry. Ruby Programming 101
ruby-shout 2.2.0
I just released ruby-shout 2.2.0, a maintainance release for ruby 1.9 compatibility. So if you’re using ruby-shout in a project there’s one less reason to update to 1.9 now. If you don’t: ruby-shout is probably one of the easiest ways to get the sound to your own webradio station.
Removing duplicate error messages in Rails
Quick post on removing redundant validation error messages from Rails form builder.
Weekly Ruby Roundup - 03-09-2010
Weekly Ruby News Roundup from last week This Week: Rails 3, Pomegranate, Extendible Hashing and more…
radix62 - A new gem for base 62 conversions
I just pushed my latest gem, radix62. [more inside]