madebymany / sir-trevor-rails

Rails gem for Sir Trevor integration.
MIT License
149 stars 50 forks source link

Set custom block types #57

Closed raffij closed 5 years ago

raffij commented 5 years ago

Improves performance for blocks which are not custom defined.

We no longer rely on NameError each time we load a block and only use this approach if the block is known to be custom defined.