Updates for Rails 3.1+

I'm still working on this, so don't accept yet, but these are the changes I'm making as I'm getting gridzilla to work with Rails 3.2.  I'll add a comment when I'm ready for this to get pulled in.