I just replied to someone about using send_file and while I was testing
my solution I
figured out that the controllers “current working dir” appears to be the
root of the app.
Then I saw a reply that Ezra sent to someone where he used RAILS_ROOT
and I thought “duh,
I’ve seen that before… shoulda used that”.
But, when I had an action print out RAILS_ROOT it’s
“./script/…/config/…”. I’m probably
being dense here, but what, why, huh? What does that mean and why isn’t
full system path to the app?