Blog » Page 1

Pages:  [ 1 ] [ 2 ] [ 3 ]  >  »

Moving a Rails app from 1.2.6 -> 2.0.2

July 5, 2008

Recently I was tasked with upgrading a working Rails 1.2.6 application to version 2.0.2. Here are the majority of issues I found and their fixes/workarounds: Old reverse_proxy_plugin = broken functional tests: The units tests were fine, but all the functional tests were broken. Something like this: post :list, { :site_id => site.id }, { :user_id => user.id ...

Broken mirrors and fingernails

July 2, 2008

Today on the way home I was ran off the road by a blue BMW driven by a young guy with brown hair. He came flying around the corner on my side of the road and would have hit me had I not swerved over in time. Swerving over caused me to side-swipe a large plastic trash can sitting out very close to the road. The impact with the trash can snapped my passenger side mirror right off....

Responses to "benny the rock" on Zend Framework

June 20, 2008

Another misguided individual, benny, put some rather pointless opinions about Zend Framework on my blog post . I replied to them, here, in a new blog entry: > It probably took you lots of time to rant about this why not use the time more productively? In my defense, I had been coding in Rails all that day, so my increased productivity had me out ahead of the game. I...

More silly Zend Framework idiocy..

June 16, 2008

This really misguided individual, Matthew Ratzloff , put some rather stupid comments and opinions about Zend Framework on my blog post . I replied to them, here, in a new blog entry: > Ugh. I'm having flashbacks from my computer science days, For me, in my daily work in genetics research, every day is a "computer science" day. I'm sad for you that yours seem to...

4 Comments

Benchmarking Rails: Mongrel versus mod_rails

June 1, 2008

After I setup one of my Rails applications to use mod_rails yesterday, I decided today to benchmark the new setup against my old Mongrel setup. In a nutshell, I found mod_rails to be slightly faster. It certainly wasn't a huge margin of victory, but I'll take it. :) I ran these benchmark tests three times each and took the best ones. I did this to account for other tr...

How To Deploy Rails Using mod_rails On Apache

May 31, 2008

I've just spent my afternoon evaluating mod_rails . I must say I am very, very impressed so far. The install is fairly simple. Here's how I did mine: First I installed the "passenger" gem: gem install passenger Next, I used passenger to build a mod_rails module for Apache: passenger-install-apache2-module At the end of the mod_rails build proces...

Zend Framework core developers continue to dismay

May 31, 2008

So while learning Zend Framework, I realized I would need two different doctype statements in my two different view layouts, since I would be using a frameset in my admin, but then regular XHTML everywhere else. I found out pretty quickly I was unable to setup the proper logic directly in the view layout. I also noticed the buggy Zend Framework doctype() helper was allowing n...

1 Comment

Zend Framework - more stupid idiocy to deal with

May 29, 2008

It seems you're not allowed to use Zend Framework's doctype() helper in a layout file like the docs clearly show. When I tried to use it in my application's layout, my form helper calls would render non-standard HTML. In particular the closing forward slash for my input fields was missing. When I asked the Zend Framework guys about it I was informed the doctype() must ...

Zend Docs.. much suckage

May 28, 2008

Don't count on the Zend Framework documentation to ever be very accurate. Within 24 hours I've uncovered two case sensitivity issues: http://www.nabble.com/layout-content-not-rendering-to17504992.ht ml and: http://www.nabble.com/helper-%27DocType%27-not-found-to17516508. html If they can't get the simple stuff right, why on earth should anyone have any trust ...

VirtualBox "no workie" after kernel upgrade

May 27, 2008

Ubuntu released a new kernel version recently without also releasing a matching VirtualBox kernel module. Like me, you probably got an error message like: VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED). A pain, but easy enough to work around, here's how: Clean out the exiting "Ubuntu" version of VirtualBox: dpkg -r virtualbox-ose-modules-2.6.24-16...

3 Comments

Pages:  [ 1 ] [ 2 ] [ 3 ]  >  »