Note that there are some explanatory texts on larger screens.

plurals
  1. USAndreas
    primarykey
    data
    text
    plurals
    1. COThey are under separate folders under `vendor/assets/chosen`. I did think about putting them under `vendor/assets/javascripts` and `vendor/assets/stylesheets` but since it's a self contained module written by someone else i'd much rather keep the files grouped together in some way to make it clear to future maintainers that the files belong to each other. Another option would be to put them under something like `vendor/assets/javascripts/chosen` but that would still leave them fairly scattered.
      singulars
    2. COEven though relative paths might work it makes very ugly includes for deeply nested files and the way i do it should work according to the rails guides. Sorry, forgot to mention in my post that i had already inspected assets.paths in the rails console and vendor/assets/chosen is included there.
      singulars
    3. COYes, i looked around and found out about that too but as far as i understand that only allows me to do global things like replacing null with an empty string or the other way around. What i'm looking for is a way to define views that convert a model into JSON and allows me to do some transformations like rabl does (like only rendering certain fields and renaming fields and pulling in related objects). I know there are annotations that you can put on the models to affect the jackson output but i'd like to do that on a view to view basis and i don't want to touch my models for this.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload