书栈网 · BookStack 本次搜索耗时 0.029 秒,为您找到 117 个相关结果.
  • Migrations

    149 2022-11-24 《Hanami v1.3 Guides》
    Anatomy Of A Migration Up/Down References Migrations are a feature that allows to manage database schema via Ruby. They come with some command line facilities that allow to p...
  • Content Delivery Network (CDN)

    205 2022-11-24 《Hanami v1.3 Guides》
    Content Delivery Network (CDN) Subresource Integrity From A CDN Content Security Policy (CSP) Local Assets Settings Content Delivery Network (CDN) A Hanami application can...
  • Database Configuration

    196 2022-11-24 《Hanami v1.3 Guides》
    Environment variables Setup your database Sequel plugins Environment variables Before starting your server, you need to configure the database link in .env* files. Open thi...
  • Belongs To

    177 2022-11-24 《Hanami v1.3 Guides》
    Setup Basic usage Remove Also known as many-to-one, is an association between a one of the entities (Book ) associated to one parent entity (Author ). Setup $ bundle exec ...
  • Formats and MIME types

    198 2022-11-24 《Hanami v2.0 Guides》
    Configuring a format for all actions Configuring a format for particular actions Request acceptance Parsing JSON request bodies Response format Default character set Register...
  • Getting Started

    238 2022-11-24 《Hanami v1.3 Guides》
    Prerequisites Create a New Hanami Project Hanami’s Architecture Writing Our First Test Following a Request Generating New Actions Hanami Generators Layouts Modeling Our Dat...
  • Container and components

    246 2022-11-24 《Hanami v2.0 Guides》
    Dependency injection Injecting dependencies via Deps Renaming dependencies Opting out of the container Autoloading and the lib directory Container compontent loading Hanami.p...
  • App config

    193 2022-11-24 《Hanami v2.0 Guides》
    General inflections slices Code loading root shared_app_component_keys no_auto_register_paths Router base_url middleware Actions You can configure various aspec...
  • Assets

    227 2022-11-24 《Hanami v1.3 Guides》
    Precompile Example We can manage assets via the command line. Precompile This command is useful for deployment purposes. $ bundle exec hanami assets precompile The fir...
  • Code Reloading

    209 2022-11-24 《Hanami v1.3 Guides》
    Development Environment Other Environments Code reloading allows us to edit code and see the changes with a browser refresh, without needing to stop and restart the server . ...