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.
Automatic Login Links
They’re not as scary as you think! They’re no less secure than password-reset links and can give your users a much more pleasant experience. This blog post shows how to implement automatic login links easily and properly.
The Simplicity that is Pow
I have been using Pow a lot lately and learned a bunch so I wanted to share my experiences - The Simplicity that is Pow.
Learn how to build your own cloud platform with Cloud Foundry
Watch as we talk with Ezra Zygmuntowicz about CloudFoundry. Sit back and learn how Cloud Foundry works, what technologies they use, and how they enabling cloud platforms.
Stubbing out Rails.env
New Blog Post: A Solution to stubbing out Rails.env.
Rails 3.1 Asset Pipeline in the Real World
See this blog post to learn what you need to do to your images, JavaScript and CSS when upgrading to Rails 3.1. The post is based on how we handled it at Flowdock.
Cells 3.6 released - Portlets for Rails 3.x
A quick summary of what changed in Cells 3.6 and how we support Rails 3.0 and 3.1 in one gem.
2 require tips for Rails 3.1 assets bundling with sprockets
I just published an article on our blog: 2 require tips for Rails 3.1 assets bundling with sprockets.
EPAS Released (Amazon EC2/Puppet auto signer)
I just released the epas (ec2 puppet auto signer) gem. This gem provides a simple script to autosign ec2 instances into puppet. This way you can launch new instances in ec2 and avoid having to sign them manually.
Book Review - Eloquent Ruby
Book Review - Eloquent Ruby
How to Use Postgres On OS X For Ruby and Rails Development [Screencast]
Over on Ruby Inside, I’ve put together a post that links to a great written writeup of installing and using Postgres for Rails development by 37signals’ Will Jessop but also a screencast version of my own. Enjoy. It has some Rebecca Black action in there.
A video on "How Arel Works"
BigBinary published a video on How Arel Works .
ValidAttribute 1.0 - A better way to BDD model validations
What is it and why you should be using it
Metior 0.1.3 released – A Ruby API for source code statistics
Metior 0.1.3 fixes all – known – remaining problems of 0.1.x. Give it a try and suggest features, report bugs or contribute to make 0.2.0 even better. Go: gem install metior .. And Metior’s source is available from GitHub.
RubyGems + Bundler integration, shebang release
I just released rubygems-bundler integration gem version 0.2.1 - no more calling ‘bundler install –binstubs’ or ‘bundler exec …’. Install it by calling ‘gem install rubygems-bundler’ and follow the on-screen instructions. Current version 0.2.1 includes ported custom_shebang from rubygems 1.9, now you can start using it before it is released. rubygems-bundler works fine with ruby 1.8.7 & 1.9.2, it works with rubygems 1.3.7, 1.5.0, 1.6.2 & 1.8.5 … it should be also working with 1.9.0 when it will be released. Note: This gem allows to use binaries in version specified by Gemfile ;)
[Tutorial] How To Create An API Client
We figure out how to create an API client by looking at Cloud Foundry’s VMC gem and mimicking the Twitter and Octokit gems.
Automatically Isolate Project Dependencies with RVM
I just wrote up a simple post explaining some of the techniques I use to make my .rvmrc files reusable across projects and platforms.
As if it couldn't get better. I just pushed Slop 1.8.0
I’ve just pushed Slop version 1.8.0 which includes 3 nice new features. See the Changelog for information. To summarize, you can now do optparse style option building! on '-n', '--name NAME', Symbol etc. Check out the new Wiki pages and API documentation
BEncodr 2.0.0 released.
I just released version 2 of BEncodr. It lets you marshal and unmarshal your ruby objects into BEncode (similar to JSON), which is the format used by BitTorrent for torrent files and communication between trackers and clients.
Hexdump 0.2.x
Just released Hexdump 0.2.1. Blog post discusses the new features and performance improvements.
[Tutorial] Cloud Foundry's User Token Generation
We take a look at how Cloud Foundry’s Cloud Controller generates a user token for authentication.
Low hanging fruit for Ruby performance optimization in Rails
We’ve been looking into Ruby performance optimization after noticing our site response time increasing in New Relic. While there may be many causes for slow performance, looking into your garbage collection performance is an easy way to impact response time by > 20%. It also helps us identify actions that have especially expensive memory allocation.
Rack 1.3.0 & Serving Static Files
A quick how-to on setting a simple config.ru file to use new features in rack to serve static files.
ChiliProject 2.0.0RC2 released
The second release candidate for ChiliProject has been released. ChiliProject is a Rails project management system that forked from Redmine in January 2011.
Ruby scripts to manage Kindle notes
I just released a set of scripts I use to manage my Kindle notes. They started out as a late night hack and grew into an important tool I use to review all of the books I read (over 40 books in 6 months already).
Automated Heroku Database Backups to Amazon S3, Rackspace Cloud Files, or Google Storage
I wrote a blog post about a gem I released called heroku_cloud_backup. This gem utilizes fog and the Heroku PG Backups addon to automate Postgres database backups to your favorite cloud storage provider. Since it stores the same dumps the PG Backups addon does, restoring is a breeze.