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

    222 2022-11-24 《Hanami v1.3 Guides》
    Request Introspection Automatic Content-Type Default Request Format Default Response Format Default Charset Override Whitelisting Register MIME Types Actions have advance...
  • Testing

    223 2022-11-24 《Hanami v1.3 Guides》
    Unit Tests Running Tests Params Exposures Dependency Injection Flash messages Requests Tests Session Testing Hanami pays a lot of attention to code testability and it off...
  • Use Your Own Assets Management

    183 2022-11-24 《Hanami v1.3 Guides》
    Deployment Hanami tries to cover basic use cases for assets management: (pre)compilation , compression , fingerprinting , Content Delivery Network (CDN) with Subresource Integr...
  • Preprocessors

    192 2022-11-24 《Hanami v1.3 Guides》
    Preprocessors Engines EcmaScript 6 Preprocessors Hanami is able to run assets preprocessors and lazily compile them under public/assets . Imagine to have application.css.sc...
  • Rack Middleware

    180 2022-11-24 《Hanami v1.3 Guides》
    Hanami exposes a project level Rack middleware stack to be configured like this: # config/environment.rb Hanami . configure do middleware . use MyRackMiddleware end ...
  • Share Code

    191 2022-11-24 《Hanami v1.3 Guides》
    Prepare Prepare In our settings (lib/bookshelf.rb ), there is code block that allows to share the code for all the mailers of our application. When a mailer includes the Hanam...
  • Exception handling

    179 2022-11-24 《Hanami v2.0 Guides》
    Status codes Custom method handlers Handling exceptions in base actions When a request crashes with an exception, you may want to handle it in a graceful manner. To do this, y...
  • Parameters

    241 2022-11-24 《Hanami v2.0 Guides》
    Parameter sources Accessing parameters Parameter validation Using concrete classes Validations at the HTTP layer Body parsers The parameters associated with an incoming req...
  • v0.6.0

    186 2022-11-24 《Hanami v1.3 Guides》
    Add SERVE_STATIC_ASSETS="true" to .env.development and .env.test in order to serve static assets locally. Add require 'hanami/rake_tasks' to Rakefile in order to enable :...
  • Overview

    151 2022-11-24 《Hanami v1.3 Guides》
    Explicit Interface Explicit Loading No Proxy Loader Types Of Associations An association is a logical relationship between two entities. As of the current version, Hanami su...