- Chris H. (firstname.lastname@example.org) [051117 13:00]:
I mean, I could modify the source file itself in but then that would result in
all apps using the new code, so is there a way i can basically make a copy of
base.rb to use in a single app for testing purposes?
You would either want to put a rails checkout in vendor/ and mess with
your local install, or do what we usually do (since Ruby is so darned
dynamic) and simply override ActiveRecord methods (etc.) by reopening
the appropriate classes and modules and redefining things on the fly.
also, is there a way to submit the changes to the rails developers?
File a [PATCH] ticket at http://dev.rubyonrails.com/
http://www.rickbradley.com MUPRN: 641
| standards compliant
random email haiku | browsers than that never quite
| seems to get it right.