Moved protocol assignment for email verification link inside config file.
Added rails_config gem and configured rails app accordingly.