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.
HTML5 Geolocation testing with Cucumber
Article about HTML5 Geolocation API testing with Cucumber and Capybara.
Testing code that's testing itself
I just published an article explaining how I tried to solve the problem of broken code being unable to test itself because it’s broken. What do you think? :)
ChunkyPNG and OilyPNG 1.0.0.beta1 released
I have just released version 1.0.0.beta1 of ChunkyPNG, the pure Ruby PNG library and OilyPNG, a C module that speeds up ChunkyPNG. It now includes full support for the PNG spec, for both encoding and decoding. [more inside]
New Ruby on Rails blog!
I just launched syedaslam.com. I blog here about software development — whatever I am thinking about or working on. I research and document things I find interesting with a public blog post, which I can easily find and refer to later. Hopefully other people will find these posts helpful, relevant, or interesting. I firmly believe that blogs are a two-way conversation, so I welcome email and comments — as long as they’re on topic, more or less.
Ruby Enumerables: Hashes
I just write a new post that introduces Ruby Hashes. Read it on DevInterface Blog.
Git Deployment for the unpriviledged
I finished this blog post yesterday to combine Gitolite with some nice Ruby/UNIX Sockets code to make deployments without privileges or shell access
RVM and Passenger setup for Rails 2 and Rails 3 apps
Guides on how to setup RVM and Phusion Passenger with Apache on Ubuntu to deploy Rails 2 and Rails 3 applications on the same machine.
Rubikon 0.6.0 released
I’ve just released version 0.6.0 of my console application framework Rubikon. It features a nicer DSL for arguments (including validation), saving of config files, help screens for individual commands, better argument parsing and more: Rubikon’s home and source code.
Sharding with DataMapper
I recently wrote an article about Sharding with DataMapper and Ruby on Rails 3.
Track watchers on GitHub
A quick way to view a list of projects, watchers, and forks for any GitHub user: vain
Beware of Ruby Sugar
Yesterday, I blogged about iterating through time with Rails; unfortunately at first I missed a terrible inefficiency in the code, which I explain in my next post, Beware of Ruby Sugar.
RoR ecommerce is now 0.4.0
RoR ecommerce now allows customers to pay with store credit and process returns by giving store credit. Check out the git account.
Setting up and Testing Devise - Delicious Clone
This video is the second installment in the Delicious Clone series on Teach Me To Code. [more inside]
Iterating Through Time With Rails
Cool tip I learned from @rjspotter: Iterating Through Time With Rails.
Migrate Custom Blog to Jekyll and Disqus
I have rewrited my custom blog, using jekyll and disqus, so the first new blog post introduce how to use jekyll and some extensions/plugins, and alos two scripts to migrate old posts to jekyll and migrate old comments to disqus
The Strange Ruby Splat
Is your code too readable? Do your co-workers complain that it always makes sense? The check out ruby’s splat operator. Actually it’s pretty neat, I cover some useful and some questionable uses for it.
Loading Path Gotchas in Rails 3
The algorithm of load path inferring in Rails 3 is a bit weird when class caching is turned off. Here is one gotchas http://owenou.com/2011/01/20/loading-path-gotchas-in-rails3.html.
delayed_job_admin: a simple admin interface for Delayed::Job
I just published my first Rails 3 gem engine: delayed_job_admin. It’s a simple admin interface for Delayed::Job. José Valim’s enginex made it a breeze. I gather that Piotr Sarnacki pulled the functionality into the in-progress Rails 3.1, so making engines like this is going to be a no-brainer very soon. Give it a try - it’s easier to create a well-tested gem engine than you might think!
Google URL Shortener
Following the recent release of the googl URL shortening API, we created a gem to make working with the service a little easier. Our blog post shows how we use the CLI in our daily workflow and how to get up and running. Check out the intro blog post here.
Pro tip: Increase webpage performance using sprite, data-uri and jammit
JoshSoftware, a Rails company based in Pune India, discusses how to improve frontend performance by getting your pages to load faster using techniques like sprites, data-uri and jammit in the blog post titled “Increase webpage performance using sprite, data-uri and jammit.”
Tweet from the cosnole
A simple gem to tweet from the console. http://github.com/seejohnrun/console_tweet
mongoid-eager-loading 0.3.0 released
I just released mongoid-eager-loading 0.3.0, I fixed a big issue and made it work well with latest mongoid, it gives a great performance improvement for queries with association.
Creating Your Own Auto-Updating Twitter Widget
I just wrote about Creating Your Own Twitter Widget with Rails
Padrino Ruby Web Framework 0.9.20 Released!
Padrino is a ruby web framework built as a full-stack extension to the very awesome Sinatra. The latest version released contains a lot of bug fixes and full support for Sinatra 1.1.X and 1.2a. Check out the latest changes in this release in the blog post.