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.
GSSAPI gem for Ruby
Just release a GSSAPI for Ruby: gssapi on Github [more inside]
Developing and testing system automation with capistrano-cowboy
System automation can be tedious and time consuming to develop and test. capistrano-cowboy helps reduce the feedback loop by deploying to staging from your working directory without having to commit your work along the way. Check out how we use it.
Exploring the multi-paradigmatic nature of Ruby, the functional aspect
I just wrote an article about the functional aspect of ruby, enjoy!
Multiple Applications with Devise, Omniauth and Single Sign On
The best way to scale an application is to split the application business logic into different inter-communicable components. However, authenticating, authorizing and security raise concerns. OAuth comes to the rescue – and like a knight in shining armour – omniauth steals the show. A practical solution by Gautam Rege.
Kata 0.1.1 - A DSL for writing code katas and pair programming exercises
A kata is defined as an exercise in programming which helps hone your skills through practice and repetition. Authoring katas is done on the web in blogs but you can’t really test yourself. This gem provides a DSL to author the kata and administer it as a test providing feedback for evaluation. Check it out on Github.
Rails 3 custom validation using parent model's attributes
This post goes over how to do validate the value of an attribute in a Rails 3 model based on the value of a parent model.
Ripple 0.8.3 release
Version 0.8.3 of Ripple, the trio of libraries for connecting to Riak KV and Search were released on Monday. Included are new Rails 3 generators with better support for test mode, a new adapter for the Excon HTTP library, and numerous bugfixes. Full release notes here.
SmartAsset - Like AssetPackager, but smarter
SmartAsset only re-packages files that have been modified, uses Closure Compiler for javascript compression, and is framework agnostic. Easy to migrate from AssetPackager. Check it out on GitHub.
Best practice for Ruby's require
After lots of heartache, heated debates, and mistakes, here’s our prescription on how to use Ruby’s require and how to structure your project. [more inside]
SimpleCov adapter for Gems - 1.9 Coverage
The tiniest gem I think I’ll ever make is what seems to be a critically missing feature in SimpleCov (a Ruby 1.9 coverage tool), namely, a default configuration for gems. So do gem install simplecov-gem-adapter, then require 'simplecov', then SimpleCov.start 'gem' in your gem’s spec_helper.rb (or wherever your tests are).
Reassurance - RubyFlow's passwords are hashed and salted
Given the recent nightmares Gawker (and some of its users) have been having, I should reassure you that the passwords on RubyFlow are (and always have been) salted and SHA-1 hashed. Nonetheless, use different passwords everywhere or a tool like 1Password where possible! Also consider this a reminder to check your own apps’ password systems.. :-)
The Flying Camera - An Open Source MacRuby OpenGL Game
The Flying Camera is an OS X OpenGL game written in MacRuby developed during the 2010 Super Game Dev Weekend. If you fancy digging into a MacRuby + OpenGL project, this is a great place to start.
BBPush - A simple server-side Blackberry push notification client
BBPush is a simple server-side Blackberry push notification client that works with any BIS applications. The library makes it trivial to send push notifications, be it for one PIN, multiple PINs or even all devices that have your app installed.
Getting started with Heroku
Heroku is designed to be as painless as possible to get going, and to provide a powerful, stable, and scalable platform for your code says Ben Scofield in the informative article “Getting started with Heroku”. A guest blog post on RubyLearning.
Getting to Know the Ruby Standard Library – Shellwords
Come along with me as I take a walk through Shellwords, an interesting part of the standard library that often gets overlooked.
Automated Deploy with Unicorn and Git
A quick script to manage deploying with unicorn automatically via git.
Beyond Ruby: Mirah, Reia, Rite
Ruby was influenced by languages such as Perl, Lisp and Smalltalk, and now it is influencing an entirely new set of languages such as Mirah, Reia and Rite.
A brief introduction to the RVM Ruby API
Posted by Darcy Laycock (The Frontier Group) - A brief introduction to the RVM Ruby API.
Ruby gems — what, why and how
Gems are one of the wonders of the Ruby land – it’s important to understand what they are, why they exist and how they work. Gonçalo Silva talks about it in the article “Ruby gems — what, why and how”.
PROPER™ is a Semantic Rich Text Editor
We just released PROPER™ 0.1 — A Semantic Rich Text Editor that outputs sanitized HTML markup. [more inside]
An app for your app coming soon
I made a generic Sinatra app coming-soon that shows a pre-launch page and collects emails. Also includes an admin view and CSV export.
Crafting Rails Applications: Why I wrote this book
José Valim (member of Rails Core Team) just wrote an advanced Rails book called Crafting Rails Applications. This blog post is his take on why he wrote it.
ROR Ecommerce: Add Country to app
I just made a Video to show you how to add a Country to RoR Ecommerce (open source e-commerce platform). Also checkout the documentation.
Why you should already use CoffeeScript
My blog article on how to use CoffeeScript in your Rails application. If you haven’t tested it yet, you’ll may find that it’s actually easier than you think :).