Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nulogy/activerecord_base_without_table

Leverage the full ActiveRecord interface without having a table in the database.
https://github.com/nulogy/activerecord_base_without_table

Last synced: about 1 month ago
JSON representation

Leverage the full ActiveRecord interface without having a table in the database.

Awesome Lists containing this project

README

        

# ActiveRecord::BaseWithoutTable

Get the power of ActiveRecord models, including validation, without having a table in the database.

This is a fork of the original project by Jonathan Viney, Peter Abrahamsen, and Peter Suschlik,
with modifications to make it compatible with more recent versions of Rails.

## Create the dummy database

```
cd spec/dummy
rails db:create
```

## Running the specs

```
bundle exec appraisal rake
```