Archive for the 'Ruby' Category

In my last entry we looked at using scopes to dynamically build scopes for searching in your Ruby on Rails application.  In Tryst, we needed to let our uses search for other singles that were xxx miles from their location.  We require that new users enter their zip code, so that is what we had [...]

I really like how Lovetastic’s search works.  Instead of a plethora of select boxes, users can simply use expressions to create searches.  We did something similar with Tryst’s searching.  One text field and you enter stuff like age ranges (30-45), things like smoke-yes or smoke-no, cities, zipcodes, etc.

To make this whole thing more Rails like, [...]

Ok, so five years ago I never would have though that I’d have started a ‘Web 2.0′ dating site.  Hell, I didn’t think I’d be doing a lot of things, but here I am.   There is actually a small story how I got involved with (shamless self promotion) trystme.com.  Wanna hear it?  Good.
Originally, I wanted [...]

Against the advice of, well, the entire Rails community, I attempted to deploy a project to Godaddy.
Godaddy proudly displays the little Ruby logo next to Php when browsing through their hosting plans, and seeing as you can get Rails hosting for $7/month through them, it seems like a decent deal, even if you know it’s [...]

I merged some stock quoting stuff I had into a Rails plugin today. If you’d like to be able to simply grab real time stock quotes in your Rails app, this will do the job. Pretty much any stock symbol will work and you can enter as many as you’d like, you’ll get [...]

I’ve been really putting off using Rspec. Unfortunately ( and like the vast majority or programmers out there) I have not been writing enough tests for my apps. When I did write them, they were using Rail’s built in Test::Unit library, which, many will say… sucks. Plus, honestly, they were half assed.
So, [...]

I’ve sort of finished up rDigg today. It’s to the point I’m comfortable letting other people start to play with it anyways.
As you’d expect, rDigg is a Digg API wrapper in the form of a Ruby on Rails plugin. It still needs some work, but works pretty well.
For example:
#create new Rdigg object
digg [...]

Metaprogramming.  What a lovely buzz word.  I guess I’ve heard it enough and knew what the short definition is. Metaprogramming is code that writes code.  I think it is one of those things I just never thought about, even though I had used concepts and even written some before without realizing it until recently.
Here [...]





John Yerhot / Weblog / is Digg proof thanks to caching by WP Super Cache!