Skip to content

cedm/jsonapi-apartment-test

Repository files navigation

README

Barebone Rails install with Apartment and Jsonapi-resources gems.

This repos is meant for testing against bug cerebris/jsonapi-resources#1316

A Monkey patch solution available at: config/initializers/jsonapi_resources.rb (uncomment and restart app to use).

How to test

  1. Pull repo
  2. bundle install
  3. rails db:setup
  4. rails s
  5. Browse http://demo.lvh.me:3000/api/posts (tenant-specific data)
  • Should respond successfully
  1. Browse http://demo.lvh.me:3000/api/account (shared model - singleton resource)
  • Should respond sucessfully (show Account info) - with patch or proper solution
  • Break with SQL error - without patch/solution

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published