Remove router requirement that resources be Webmachine::Resource subclasses.
Remove requirement that resource be Webmachine::Resource subclass
This is a pretty low impact change, but I have conflicting feelings about it.
The type checking is definitely not idiomatic ruby. Removing it seems like a good idea in principle.
However, Resource is conceptually coupled to the FSM because of the template methods. Resource duck typing doesn't really gain you anything.
Overall, I don't support this without a strong use case. I just don't see the value. Moreover, I am curious to know what the use case is.
This is really stale, closing. Re-open or resubmit with a more detailed justification for the change if it is important to you.