Polymorphic belongs to & computed select options

By Adrian Marin

- May 24, 2021

We have a few new features released today, all community requests ✨, and a few packages updated.

🎸 Features

Support polymorphic belongs_to

You can now add those nice polymorphic associations like Comment belongs to multiple models as: :commentable.

Select field options support a block

It's now easier to populate the select field dropdown with computed properties.

Unscoped queries on Index view

If you have a default_scope applied to the model, you may now run the unscoped query to fetch all the records from the database.

⭐️ Star the repo: https://github.com/avo-hq/avo

👍 Follow on Twitter: https://twitter.com/avo_hq

Build your next rails app 10x faster with Avo

Avo dashboard showcasing data visualizations through area charts, scatterplot, bar chart, pie charts, custom cards, and others.

Find out how Avo can help you build admin experiences with Rails faster, easier and better.