Simon Cooper


3,420 Experience
5 Lessons Completed
3 Questions Solved


Posted in Create dynamic table for existing resource


I have an existing RoR site, and I've added a new resource that will allow users to add different coffee roasts. On the resulting table, I'd like users to be able to filter the restults based on attributes, (country, dark roast, espresso etc). I have a JSON-API for this. Whilst working out how to do that, I'm thinking I'd like the table to reduce dynamically, without having to reload the entire page. I've drifted towards the idea of having a seperate front-end to do this, but am now overwhelmed with all othe options. Should this be some JavaScript solution like, VueJS or Ember. Is there something in Rails that I can already take advantage of to accomplish this?