A clone of Rails' ActiveRecord class (models) written in Ruby and SQL. Makes use of Ruby's metaprogramming features and custom SQL queries.
- Clone Git repository or download as ZIP.
- Navigate to
ActiveRecordLitedirectory in terminal. - Install required gems by entering:
gem install sqlite3gem install rspec
- Create database by entering:
cat spec/cats.sql | sqlite3 spec/cats.db
- Run specs by entering:
rake
- Source code is under the
lib/active_record_litedirectory