forked from mitijain123/mongoid-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
chrisupb/mongoid-sample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Getting Started Note: You should install mongodb database, before using this application. 1. Clone the application 2. bundle install 3. rails s == Model An Artist embeds one instrument. There is an ArtistRepresenter and InstrumentRepresenter. We use 'roar-rails' GEM. == Reproduce error Accept application/json 1. POST http://127.0.0.1:3000/artists in order to create an artist. 2. GET http://127.0.0.1:3000/artists/:id => undefined local variable or method `artists_url' for #<Artists::Instrument:0x00000001c16000> URL helpers for the _embedded_ class 'instrument' are not available.
About
Sample app for showing extending errors in roar-rails
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 72.1%
- JavaScript 27.9%