Remix.run Logo
digitaltrees 4 hours ago

I built a set of gems (propel_rails) that takes the already terse Ruby on Rails code to the next extreme. It generates a set of top level classes like an API controller and some concerns that then create a full restful resource (model, controller, serializer, unit and e2e tests) with 0 boilerplate code. The controller ends up being only a list of all permitted attributes the api will accept because the restful actions are automatically generated. It’s a bit hard to fully describe but the meta programming power of Ruby really does make amazing things easy.

dajonker 39 minutes ago | parent | next [-]

I can find it on rubygems but the link there to GitHub returns a 404.

digitaltrees 17 minutes ago | parent [-]

Ah. It’s currently private. I haven’t open sourced it yet :)

nine_k 4 hours ago | parent | prev [-]

This sounds like CRUD, distilled.

I suppose it works in terms of your domain model?

digitaltrees 18 minutes ago | parent [-]

It sets up automatic filters, sorting, multi tenancy, authorization, and uses “accepts nested attributes for” to make it more graphic like that simply crud