small patch for AR calculations

Made a small patch to restore support for expressions in calculations
that was lost with change set 9018 (http://dev.rubyonrails.org/
changeset/9018).

Please Review:
http://dev.rubyonrails.org/ticket/11355

+1 if it works for you.

Thanks,

nick.