Skip to content

Instantly share code, notes, and snippets.

@avanishgiri
avanishgiri / gist:5552675
Created May 10, 2013 06:04
active record associations
https://github.com/avanishgiri/ar-student-schema
@avanishgiri
avanishgiri / gist:5551555
Created May 10, 2013 00:07
Link to our repository for challenge 1.. Dexter Vu and Avanish Giri
https://github.com/avanishgiri/ar-student-schema
The project links a database to Ruby. Then we create a class to represent the Students table in the database, which inherits from ActiveRecord. Then we add some validations to validate user input