Applications Actions Models Migrations Mailers Hanami has convenient code generators to speed up our development process. If we commit a mistake, we can destroy what we jus...
Reloading in the console Hanami offers fast code reloading in development via the hanami-reloader gem. When you run hanami server in development, guard watches the file syst...
Setup Basic usage Add and Remove Querying Also known as one-to-many, is an association between a single entity (Author ) and a collection of many other linked entities (Book ...
A Simple View Naming View Module A view is an object that’s responsible for rendering a template. In a full stack Hanami application, an incoming HTTP request goes through th...
Cache Control Expires Conditional GET ETag Last Modified We refer to HTTP caching as the set of techniques for HTTP/1.1 and implemented by browser vendors in order to make f...
Standard base classes Leveraging action inheritance When you inherit from an action class, you also inherit much of its behavior. This includes: Dependencies specified with t...
Templates Naming Custom Template Engines Templates Directory Templates A template is a file that contains a body for a specific format of a multipart email. For instance, w...