Skip to content

Instantly share code, notes, and snippets.

@jjballano
Created January 16, 2011 15:38
Show Gist options
  • Save jjballano/781891 to your computer and use it in GitHub Desktop.
Save jjballano/781891 to your computer and use it in GitHub Desktop.
class Student < ActiveRecord::Base
validates :first_name, :presence => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment