This is a brand new Rails 6.0.0.rc1 starter for developing Web Applications. The Application uses ROM-RB as the ORM layer.
Here are the basic changes that are done from the standard "rails new"
- The application is created with
rails new --skip-active-record --webpack --skip-sprockets --skip-test - The gems
pg,rom-rails,rom-sqlare added - I prefer using
rspec-railsfor testing. The gem is added and installed. - An initializer is added in
config/rom.rbaccording to Getting Started - Rails Setup - The gem
dotenv-railsis added. The database configuration is added in the file .env.development - The test database configuration is added in the file .env.test
- Added a line
rom/sql/rake_task. This line will enable rake tasks for generating and running migrations fromrom-sql
- Clone the repo
- Change database configurations including username and password in
.env.developmentand.env.test - In
application.rbchange the module name fromRomStarterto your application name
MIT License. Feel free to use the work if it is useful in anyway for you.
Make an enterprise-ready application skeleton to give a headstart for developers in Enterprise Application Development. I thank @radar for the inspiration.