app/controllers/application_controller.rb
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
Prevent CSRF attacks by raising an exception.
For APIs, you may want to use :null_session instead.
Prevent CSRF attacks by raising an exception . For APIs you may want to use : null_session instead .
def is_stand_alone
    if User.all().size.to_i > 2
      return false
    else
      return true
    end
  end
def is_stand_alone if User . all ( ) . size . to_i > 2 return false else return true end end
Prevent CSRF attacks by raising an exception.
Prevent CSRF attacks by raising an exception .