Skip to content

A collection of extensions and developer tools for Inertia's Rails adapter.

License

Notifications You must be signed in to change notification settings

skryukov/inertia_rails-contrib

Repository files navigation

InertiaRailsContrib

Community documentation and generators has been upstreamed to the Inertia Rails repository.

Please visit the official Inertia Rails documentation at https://inertia-rails.dev.

From now on we're planning to use InertiaRailsContrib as a playground for new features and ideas. The gem will be updated with new features and improvements, and then the most successful ones will be proposed to the core Inertia Rails repository.

Future plans:

  • Ruby LSP plugin for Inertia Rails
  • Modals support

Stay tuned!

Built by Evil Martians

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add inertia_rails-contrib

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install inertia_rails-contrib

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/skryukov/inertia_rails-contrib.

License

The gem is available as open source under the terms of the MIT License.