Skip to content

Made the gem augment actionview by subclassing#11

Open
iainbeeston wants to merge 1 commit intoduncanbeevers:masterfrom
iainbeeston:nicer_augmentation
Open

Made the gem augment actionview by subclassing#11
iainbeeston wants to merge 1 commit intoduncanbeevers:masterfrom
iainbeeston:nicer_augmentation

Conversation

@iainbeeston
Copy link
Copy Markdown
Contributor

I've made the gem load by subclassing rails' own partial renderer, then overriding the render_partial method to use the rails view annotator renderer instead. Loading it this way seems nicer and less prone to break if rails changes it's api.

metaprogramming

Just seems nicer and less prone to break if rails changes it's api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant