Some rails 4 hooks, snippets and collections