class SessionsForm
  include ActiveModel::Model

  attr_accessor :organization_login_name, :user_email, :user_password

  def login
    false
  end
end

class SessionsForm
  include ActiveModel::Model

  attr_accessor :organization_login_name, :user_email, :user_password

  validates :organization_login_name, presence: true
  validates :user_email,    presence: true
  validates :user_password, presence: true

  def login
    return false unless valid?

    false
  end
end

Add presence validation to sessions form
Add presence validation to sessions form
