Displaying posts tagged: ruby-on-rails

cPanel + Apache 2.2 + mod_proxy_balancer + mongrel_cluster + hours of frustration = “ahhh, it works”

2 Comments
I’ve spent a good portion of my weekend banging my head against the desk after getting the hare-brained idea, following my success in setting up Apache 1.3.x with mod_proxy and Mongrel, to get Apache 2.2 running on my server so that I could then use mod_proxy_balancer and therefore mongrel_cluster. As anyone who’s ever asked the question ...

Session management options in Rails

No Comments
Found via Ruby Inside, Chris Wanstrath has posted a great round-up of a developer's options for session management within Rails. Stefan Kaes' solution looks like the one I'm gonna go for in the near future.

Mongrel upload progress

No Comments
Something I check on the status of now and then is the ability to have a nice upload progress bar for uploads via the browser. Sean Treadway's initial example looked great but required special server setup. Support was added to Mongrel recently, but I never got around to properly investigating as there was no documentation of ...

Sortable list woes

No Comments
My previous post mentioned FireBug and how handy it is in tracking/debugging AJAX requests and code. This was particularly important as the problem I'm having is with Sortable lists (in tree form) and child elements not being serialized when they're added via AJAX. To explain a bit further, I'm using the technique to list the pages ...

Theme support plugin for rails

1 Comment
Another area I was having trouble with in Rails and found a simple plugin solution - switching layouts depending on whether you're logged in and which theme you've chosen if you are. Matt McCray comes to the rescue with his Rails Theme Support Plugin. It allows you to have multiple themes in their own sub-directories and ...