Articles

Using Git Submodules for Shared Rails Components

In some cases you may have the need to run multiple Rails applications with shared functionality. While Rails 3 promises to bring “mounting apps in apps” and the ability to make the whole process simple, for now we’re stuck in the real world. However, it is possible to share components. This post will walk you through how to set up shared components that live in multiple Rails applications at once and even run specs properly.

A few notes before we begin:

#310 | »Ruby on Rails Guides« in Category Learning/Help/Support

»Ruby on Rails Guides«

Rspec bundle for Textmate

I was looking for a Rspec bundle for textmate and it is here with steps to follow and simply superb!

http://blog.emson.co.uk/2008/06/installing-the-latest-rspec-textmate-bundle/

Pads

Rails on Oracle: Part 1 - Installing the oracle instant client on Mac OS X

These instructions were performed using version 10.5.6 of OS X and the 10.1.03 Oracle instant client.

Step 1: Download the instant client from Oracle

We’re going to use the instant client because this is by far the easiest way to get up and running. Traditionally oracle clients have been quite heavy weight but the instant client is quick to download and easy to install.

Building API Wrapping Gems Could Not Get Much Easier

In which I show how easy it is now to create ruby gems that wrap APIs, using Google Weather as an example.

Google has a weather api that is dead simple to use. Just discovered that tonight so I whipped together a wrapper using HTTParty. I decided to try out Jeweler, a project by Josh Nichols, that makes creating gems a snap and it delivered. I used shoulda and fakeweb for the tests. Holy crap has making a gem that wraps a web service become really easy.

Presently.com: Twitter Meets LinkedIn

On March 14 at SXSW, we launched Presently.com, designed to be the first professional microblogging environment. The idea behind Presently.com is that we wanted to bring the best of microblogging and career/professional social networking into one environment. Think of it as Twitter meets LinkedIn.

Testing picture / file uploads with webrat and cucumber

Webrat implements the step:

Ruby – Fixnum Documentation

Fixnum class Documentation

Ruby has many classes.

Now we are going to see about Fixnum class.

Fixnum contains these methods in default.

How to know when your ui is using the right dsl

When you are describing a feature to a client and the client asks “How do I select x and then send it?” and you can reply “You select x and press send,” then you know your ui is going to make sense to the client.

If you have to reply with “You go to z and press n and press submit,” then you are going to have problems.

Playing on a Grid

For my dissertation I'm working on a genetic algorithm solution to the guitar fingering problem. It's got just under 2 months to run now, and it's time to start wrapping it up.

Part of the process is getting results and evaluating them. I have running code now so it's time to start putting it through its paces.

The department provides students with access to a 'grid' computing setup, which is basically a batch processing system you access by ssh.

Locaweb Akita | Rails Fire

Locaweb Akita

Railssummit Slides

Here are the slides of my presentation at Railssummit 2009. Huge thanks to Locaweb and Fabio Akita for organizing the conference and having me there.

My talk was about Rails focused tips/tricks.

Syndicate content