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.
Doorkeeper - OAuth 2 provider for Rails
Doorkeeper is a gem that makes it easy to introduce OAuth 2 provider functionality to your application. We’ve just released the version 0.2!
Internationalize Haml-Templates with haml-i18n
I’ve created a gem named haml-i18n that makes internationalizing HAML templates easier and more readable. I introduce it in my blog: Read more
How to implement DCI in Ruby
In this post I show different ways of implementing DCI (Domain, Context, Interaction) in Ruby.
On Colorized Output - Get Comfortable with OptionParser
In this article I demonstrate how to make colorized output configurable using OptionParser. This is a followup to my last post about writing pipeline-aware Ruby scripts. I also add a few other configurable options and show some best practices.
Accessible Facebook Dialogs and Feed Posting With Ruby on Rails
After you’ve integrated omniauth, we show you how to start allowing your users to syndicate content via Facebook Feed Dialogs with Rails
Ruby On REST 2: Representers and the DCI Pattern
Read about how DCI and Representers in Roar work together. The post briefly describes DCI in Ruby and Rails and how this can be used to write REST APIs.
Rake for Rails Developers
I wrote a guide to writing rake tasks with emphasis on doing it within rails. It should be good for getting someone who doesn’t know rake up to speed. Rake for Rails Developers.
Bahia - Aruba for non-cucumber test frameworks
Bahia makes it easy to acceptance test your executables. It simply adds your executable and resulting stdout, stderr and process object as test methods. Just include it!
Have you deployed a wrong branch to production? try capistrano-confirm
Have you deployed a wrong branch to production? Or deploy some quickfix without code review. mostly, it would lead more bugs! Then lets try capistrano-confirm, you need to confirm you deploy by resolve a simple math question ;) Read more
033 Ruby Rogues Book Club – Eloquent Ruby
This week the Ruby Rogues discussed the book Eloquent Ruby by Russ Olsen.
Asset Pipeline Best Practices
I started writing some thoughts on how to best use the Asset Pipeline. I’m most likely going to write several more articles about the asset pipeline. Thanks for reading.
Global Day of CodeRetreat recap (with Sets in Ruby)
At the GDCR in Knoxville, I learned that what I didn’t know: using Sets in Ruby. Check it out.
ComfortableMexicanSofa (Rails CMS Engine) 1.6.0 released
I just released ComfortableMexicanSofa 1.6.0. Switched rich text editor to elRTE that allowed for easier image insertion integration.
Vendorer: keeps your vendor files & folders updated
Manage and update jquery-extensions / rails plugins / etc. with Vendorer (think ‘bundler’ for external files and folder)
City Programmer, Country Programmer - Building Rural User Groups
I just wrote a blog post about my experiences running a small, rural Ruby User Group! Hoping that other rural devs find it helpful in some way!
Set up Jenkins-CI on Ubuntu for painless Rails3 app CI testing
I’ve to add a CI server for the rails 3.1 project and I choose JenkinsCI. I googled around but all those articles posted, I couldn’t find any that details on how to setup Jenkins for a rails 3.1 app with Github hooked. So, I wrote a post on how to setup Jenkins CI for a rails app integrated with private github repository with all the bells and whistles.
rails_best_practices 1.7.0 released
I just released rails_best_practices 1.7.0, it supports slim template engine and mongomapper now, check out the changelogs here
Twitter Bootstrap Helper
I just released a gem boorstrap_helper. It auto generates twitter bootstrap HTML codes including menu, breadcrumb, notice_message, form and other stuffs.
Yet another JSON terminal gem!
Another gem reimplementing common tasks in a json context is available. This time we are implementing diff. Try it out @ github or just gem install jsdiff. Send in issues if your particular ruby complains! [/o_O]
Data Synchronization in Android Applications for Tablets With Back-End RDBMS
ITTIA DB SQL now provides application developers of Android tablets and mobile devices bidirectional data synchronization capability for connection with any type of back-end enterprise database. ITTIA DB SQL offers unique small footprint architecture, concurrent shared access both for reading and writing, multiple table options, and is the ideal choice for application development at a low cost.
Three tips to improve the performance of your test suite
José Valim shares three tips to improve the performance of your Rails apps’ test suite.
Building a Massive Event-Log Collector with Fluent on Heroku with Splunk
There is a new screencast on “Building a Massive Event-Log Collector with Fluent on Heroku with Splunk”. This demonstrates how you can create an event log collector on heroku for almost free :-) Check this out.
Geo-Rails part 4: Coordinate Systems and Projections
I just posted Geo-Rails part 4: Coordinate Systems and Projections, the fourth installment in my ongoing series on location-based and geospatial programming using Ruby and Rails.
Writing Ruby Scripts That Respect Pipelines
Want to write a Ruby program that behaves like grep, cat, or tail? I wrote an article showing how you can make your Ruby scripts accept input via command line arguments or pipes. I show you how to differentiate your output so that you can output nicely formatted text for terminals, but always send plain text when you’re being piped to another program.
JSON parser gem for the terminal, with COLORS!
Created a JSON prettifier gem for the terminal with COLORS! Check it out at Github. It’s easy to use just pipe the JSON to cjson and behold! Read more