Replace Node with Rails