Interface Private Queries Timestamps Legacy Databases Count Custom commands An object that mediates between entities and the persistence layer. It offers a standardized API...
Create Drop Migrate Rollback Prepare Apply Version We can manage our database via the command line. The following commands can be only used with the SQL adapter and with ...
Configuring the inflector Using the inflector in a component Replacing the inflector Hanami includes an inflector that supports the pluralization, singularization and humaniza...
Version Version By running hanami version we can see the current version of the framework that we are using. $ bundle exec hanami version v1 . 3.0 There are also --ver...
Setup Basic usage Add, Remove, Update, and Replace Also known as one-to-one, is an association between an entity (User ) associated to one child entity (Avatar ). Setup $ bu...
Filter sensitive information Arbitrary Arguments Automatic Logging Custom Loggers Colorization Disable colorization Custom colorizer Each project has a global logger avail...
Principles Rendering Context Clean Context Explicit Interfaces Disable Helpers Principles A Hanami view is an object that defines presentational logic. Helpers are modules ...
Rename all the gems in your Gemfile from lotus to hanami Rename .lotusrc into .hanamirc Find and replace in project: lotus => hanami Find and replace in project: Lo...
Sources Access Symbol Access Whitelisting Validations & Coercion Use Cases Boundaries Usage Concrete Classes Inline predicates Body Parsers Parameters are taken from t...