Removed usage of `Rails.root` in generators