Quantcast
Channel: A variety of (dis)information » Ruby
Browsing all 10 articles
Browse latest View live

Fixing a rake schema.rb oracle dump

El Problemo When issuing a ‘rake db:schema:dump’ (or a simple ‘rake test’ since it uses db:schema:dump) on the legacy oracle db mentioned in the previous post the schema.rb contained some weird entries...

View Article


Getting Real by 37signals

I recently read ‘Getting Real‘, a book (only available as pdf) by 37 signals. 37 signals are the people behind the much hyped Ruby on Rails and a bunch of webapps based on this RoR (=Ruby on Rails)...

View Article


Update your rails application without downtime

It’s often not possible or wanted to take down your rails application for updates. Even if it is, I still regard downtime as something that should be avoided if possible. When using the absolutely...

View Article

mod_rails

I’ve been planning on checking out nginx for a while. Mainly as an alternative for apache in my currently preferred apache/haproxy/mongrel Rails install. I guess I’ll have to hold on to apache a little...

View Article

mod_rails – first impressions

Installing was easy as pie. I was missing the Apache development headers and the installer told me which ‘yum’ command I should use to install them. Nice. When you don’t have heaps of memory, remember...

View Article


Ruby crc16 implementation

I needed a crc16 in order to feed some data to a dinosaur. Google couldn’t help me this time so I rolled my own. The pre-calc table was borrowed from a python implementation. Hope this saves someone...

View Article

Ruby live regex checker

This Ruby regular expression checker/tester is a hidden gem that’s far too low in the serps: http://rubular.com/.

View Article

Twitter traffic might not be what it seems

Are you using bit.ly stats to measure interest in the links you post on twitter? I’ve been hearing for a while about people claiming to get the majority of their traffic originating from twitter these...

View Article


Twitter gem – undefined method `stringify_keys’

Have you been getting the following errors when running the Twitter gem lately ? /usr/local/lib/ruby/gems/1.8/gems/httparty-0.4.3/lib/httparty/response.rb:15:in `send': undefined method...

View Article


Image may be NSFW.
Clik here to view.

Generating a twitter OAuth access key – the semi-manual way

[UPDATE] Apparently someone at Twitter was listening, or I’m going senile/blind. Let’s call it a combination of both. Instead of following all the steps below, you could just login with the Twitter...

View Article
Browsing all 10 articles
Browse latest View live


Latest Images