-
Notifications
You must be signed in to change notification settings - Fork 5
Generators
Ondřej Moravčík edited this page Sep 26, 2018
·
1 revision
rails generate rys:plugin --help
rails generate rys:plugin NAME
The target direcotry is evaluated in this order:
-
--path
options -
RYS_PLUGINS_PATH
environemnt variable - RAILS_ROOT/rys_plugins
Gem is also added into Gemfile.local
.
rails generate rys:patch TYPE PLUGIN NAME
rails generate rys:patch m RYS_PLUGIN_NAME Issue
rails generate rys:patch model RYS_PLUGIN_NAME Issue
rails generate rys:patch helper RYS_PLUGIN_NAME Issues
Or you can use interactive generator
rails generate rys:ipatch
You can use the same generator like in any Rails plugin. Just add prefix rys
and specify Rys plugin name.
rails generate rys:model RYS_PLUGIN_NAME ...normal arguments...
rails generate rys:scaffold RYS_PLUGIN_NAME ...normal arguments...
rails generate rys:controller RYS_PLUGIN_NAME ...normal arguments...
Rys basic
Dependencies
Tests
Management