ruby Archives:

Ramaze Error Handling

I recently had to build custom 404 & exception handlers for a Ramaze application. There are several useful discussions on the Ramaze Google Group regarding this topic but I thought I’d synthesize the solution here for the sake of convenience.
Handling 404 Errors
Ramaze has a built-in controller action to handle 404 errors; it presents a vanilla page [...]

Ramaze Partials with Etanni

Innate/Ramaze Version: 2009-10
Template Engine: Etanni
The title of this blog post is a little inaccurate as what I’m actually going to describe are Etanni partials but considering Etanni is the default template engine in Innate/Ramaze 2009-10 I figured “Ramaze Partials” was a fair generalization.
Etanni partials are easy to work with and as Pistos points out below [...]

Rails Alternatives: Merb, Sinatra & Ramaze

Over the past few months I’ve been on the hunt for a Ruby web framework to replace Rails as my weapon of choice when building an online presence. Rails struck me as being overly heavy in this context and I wanted something lighter.
I was primarily looking for a web framework that, out of the box, [...]

Bridging the gap

Mike Gunderloy started off this week by announcing an exciting new initiative: Rails Bridge. Its mission statement says it all:
To create an inclusive and friendly Ruby on Rails community
To give a bit of context to my excitement… Up until this time I could sum up my view of the Rails community in one sentence:
Novices need [...]

Getting Classy with Sinatra

I had heard about the Sinatra Ruby web DSL a while back but I had not had a chance to play with it until a few days ago. I’m happy to say it was a highly enjoyable experience. I accomplished what I was trying to do very quickly thanks to the good documentation and intuitive [...]

Ruby on Linux with jEdit

I recently moved from Windows to a Linux development environment and needed to find good text editor – particularly one that was (or could be made) friends with Ruby. Ideally this editor would be cross platform because, on occasion I do have to load up Windows and if possible I wanted to avoid having a [...]