A Fresh Cup is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distributed team. If you'd like to hire me, drop me a line. I'm also the author of Rails Rescue Handbook and Rails Freelancing Handbook.

Navigation
« Double Shot #448 | Main | Double Shot #446 »
Thursday
07May2009

Double Shot #447

Today needs to be about writing code.


  • Record Filter - A pure-ruby DSL to replace SQL in ActiveRecord. Personally, I'd be happy with more SQL, but to each their own.

  • on APIs: more craft, less magic - "Rails seems to assume that you want to expose your database object model transparently through your API. In my experience, this is rarely what you want to do. In fact, it is a crazy way to live."

  • A git-style wiki system - Bryan Thompson ponders a way to help Rails newbies with common questions.

  • Reader Comments (4)

    Record Filter actually seems like a more verbose Ambition [http://defunkt.github.com/ambition/]... And ambitions looks more like LINQ, which personally I like a lot.

    May 7, 2009 | Unregistered Commentermartenveldthuis

    Mike, thanks for adding Record Filter this week. I'm a long-time reader, so was pretty psyched to see it here.

    @martenveldthuis one major difference with the Ambition ActiveRecord stuff is that Record Filter also has named filters that can be added to a class and chained to create more complex queries. After a quick look, it seems that Ambition's version only supports queries done on the fly. I'll put an example of using one on my intro page.

    May 7, 2009 | Unregistered Commenteraubrey

    @aubrey: Hey, that's actually pretty nice.

    May 8, 2009 | Unregistered Commentermartenveldthuis

    Hey, thanks for linking to my post! In my free time (hah, right?) I'm working on a quick proof of concept to see if what I'm thinking even makes sense in RL.

    May 9, 2009 | Unregistered CommenterBryan Thompson

    PostPost a New Comment

    Enter your information below to add a new comment.

    My response is on my own website »
    Author Email (optional):
    Author URL (optional):
    Post:
     
    Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>