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.
Viewpoint-SPWS: A Ruby Sharepoint library.
I just pushed out version 0.5.0 of viewpoint-spws; a rewrite of the previously named viewpoint_spws library. It allows one to talk to Sharepoint through its web services. There is still a lot that needs to be done but the library allows for some basic List manipulation. Viewpoint-SPWS
Authenticating multiple models with a strategy pattern
Used with the Rails has_secure_password
Call for translations for devise-i18n
This project provides translations for the devise gem in various languages - many languages have missing translations so if you can contribute, please do so! Read more
Miso Adventures in Scaling: PostgreSQL, Scaling and Replication
A while ago Miso migrated the primary database for our Ruby applications from MySQL to PostgreSQL. Back then, we had published a post explaining PostgreSQL setup and tuning in detail. Today, we published a followup post in the series explaining hot standbys, high availability and streaming replication and detailed instructions on how to set these up for your application.
Every Little Things Capistrano Does Is Magic
That’s the title of my new post on RubyFleebie. It’s about the not so obvious things that capistrano does when you type cap deploy in a rails 3.1+ app.
Gumrider - API client for Gumroad
Gumrider covered 99% of available methods in the Gumroad’s API and is available on Github and RubyGems. Install via ‘gem install gumrider’. Docs included in the repository.
SOA for the Little Guys
I just published an article titled SOA for the Little Guys. It covers breaking apart a monolithic app into services with testing and Sinatra as the driving forces.
Visualizing a network with the Neography gem and D3.js
Ruby nested hash trickery helps visualize a network using Neo4j and the Cypher language.
Ruby 1.9.3 on Mac OSX Lion via RVM: Success Story
Your Rails app deserves to benefit from the faster loading performance brought by Ruby 1.9.3! This post explains how to successfully install Ruby 1.9.3 on Mac OSX Lion, via RVM.
"Creating basic Chrome extensions" and "Object Oriented Nirvana"
Check out this week’s internal talk slides at Codegram (taken from our blog): Basic Chrome Extensions: Marc Divins introduced us to the creation of some extensions. Warning: Intense trolling ahead! Object Oriented Nirvana: Oriol Gual refactored some of our Spinach codebase by applying some Object Orientation’s best practices taken from The ThoughtWorks Anthology
Spotify Water Cooler - Killing productivity...one beat at a time!
Last weekend, I won 1st place at the 2012 API Hackday NYC with my submission Spotify Water Cooler. It is a Spotify playlist manager that interacts with Spotify playlists (intended to be played on a shared space/office computer blasting Spotify). The water cooler bit refers to a simple non-persistant web chat as well as the awesome Twilio Client API integration for a voice chat from the browser. The app was built with Sinatra. Enjoy!
Not use time_ago_in_words
Rails provides helper method time_ago_in_words to calculate the time distance, but it’s not good, we should use client side solution instead, Not use time_ago_in_words
Justifying TDD/BDD & Technical Debt
It’s time to turn the task of making a schedule for the business folks into a time to Justify TDD/BDD & Technical Debt. Too often we just give a time based schedule. Spend less time on your schedule and more time justifying Best Practices. Flip what you hate doing into a meeting about what you love.
MailCatcher – a super simple SMTP server that intercepts email for testing
MailCatcher has been around for a while now, but there’s been numerous updates, so definitely worth a look if you haven’t started using it in development. Read more
Deloyment with Vlad
I just wrote a blog post about application deployment with Vlad.
Split 0.3.2 released
Split, the Rack Based AB testing framework, has just been updated to 0.3.2 and it now handles redis errors and downtime gracefully. Read more
Parsing Dates and Times From Strings Using Strptime
As much as we’d prefer to just deal with nicely formatted data; the real world sometimes requires that we parse weird date/time strings. Learn how to parse dates and times using strptime and turn those weird strings into actual DateTime objects.
Ruby Object Model - Comparison with Smalltalk-80
The document at www.atalon.cz now contains an appendix: Comparison with Smalltalk-80.
Spree 1.0.0 Released
We’re pleased to announce the official 1.0.0 release of Spree Commerce. Spree is a 100% open source e-commerce platform for Ruby on Rails. If you haven’t tried Spree yet (or if its been a while since you last tried it) head on over to spreecommerce.com to find out more.
Ruby GSSAPI v1.1.0
I just pushed out version 1.1.0 of the Ruby GSSAPI library. Changes include: * cleaner loading of MIT or Heimdal libraries (your choice) * Added support for Ruby 1.8.x because of requests to do so. * Some minor fixes and improvements to the Simple wrapper * additional examples
Why is abbreviation such a long word?
I just launched em — a shortcut for ‘eventmachine’. Read more
Ruby Rogues 041 - Code Metrics
This week the Ruby Rogues welcome their guest Rogue, Bryan Helmkamp, to discuss code metrics, what that is, and tools and services to derive and report that data in a number of useful (and some scary) ways.
Using (Optional) Anonymous Blocks as Function Arguments
A brief tutorial on adding optional anonymous blocks as function arguments.
RedStorm 0.4.0, JRuby integration & DSL for the Storm distributed realtime computation system
RedStorm v0.4.0, the JRuby integration & DSL for the Storm distributed realtime computation system, has been released to Rubygems. It includes Storm 0.6.2 and JRuby 1.6.6 compatibility.