Blog Posts
Keeping Subscription dates tidy during February and Leap years
Crafted 17 days ago ::~ 0 Comments
This will be a quick one.
If a client of yours signed up for your service on jan 30th, and you bill monthly, there are a couple ways you can handle the dreaded ‘end of February’ problem you coul…
Testing ActiveResource - Basic Tutorial
Crafted 3 months ago ::~ 0 Comments
Note: This post may be the first post ever to NOT use an @matz example in it, when demonstrating how to use httpmock in your Test Unit tests.
ActiveResource Testing Basics
In order to tes…
Active Resource to Sinatra DataMapper backend
Crafted 3 months ago ::~ 1 Comment
In my rails app, I’m using Active Resource to ‘talk to’ another Sinatra app that is using Datamapper as it’s ORM. (To learn more about ActiveResource, check out the railscasts 94/95…
ArmRest and the tale of the No Schema Scheme
Crafted 5 months ago ::~ 2 Comments
I spent three weeks in March of 2010 trying to make CouchDB and Ruby do what i wanted. The idea was simple, i thought:
Have a truly schema-less app.
What I mean by the statement above, i…
Active Resource View Examples
Crafted 6 months ago ::~ 0 Comments
It appears to me, that google only knows how to display Active Resource examples that use the Console to display the good stuff.
I’ve learned a lot from reading the "Active Resource railscast 94…
Textmate Ruby 1.9.1 and rvm - the facts
Crafted 6 months ago ::~ 3 Comments
boy, I almost went to macVim because of this error. /me shudders.
Note: this solution appears to work for Mac’s that can’t run in Snow Leopard in full 64 bit mode. Here is my uname on my bo…
Easiest Postgres Install Ever - Mac Edition
Crafted 6 months ago ::~ 6 Comments
Well do I have a script for you. One of the best sources of ’nix based solutions for our Ruby & Rails world is wayneeseguin .
wayneeseguin (irc name) trolls plenty…
Two Questions to Help Decide Between RDBMS, MongoDB or CouchDB
Crafted 7 months ago ::~ 1 Comment
I am by no means an expert on the topic of Key Value Stores, or noSQL databases.
However to make the decision easier, I came up with a two question system whose answers appear to guide one to t…
Testing Rails 3 - Just the Facts
Crafted 7 months ago ::~ 1 Comment
While I’ll leave the technical jargon to those that care to write that, I’d like to share with you a simple way for you to test your own Rails 3 app.
I’m using k776’s generate_rails_app.rb "scri…
Acts_as_snook - Creating an admin panel
Crafted 7 months ago ::~ 1 Comment
Well, I’m going to try something a little different with this post. I’ll just post some code and explain one or two things that are out of the ordinary, instead of going through a full blow by blow…