Initializers

Jets supports custom iniitalization by running your app’s config/initalizers files during the bootup process. Here’s an example:

config/initializers/custom.rb:

Jets.application.config.silly = ActiveSupport::OrderedOptions.new
Jets.application.config.silly.name = "FooBar"

The example above is just a simple example.

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!