Вы можете использовать http аутентификацию в вашей среде. Использование надзирателя
ApplicationController
before_filter :authenticate_homol
def authenticate_homol
if (Rails.env == 'staging') # for example
authenticate_or_request_with_http_basic do |username, password|
username == "login" && password == "123456"
end
warden.custom_failure! if performed?
end
end