add rails-way relations