# Did anyone actually make this work with Ruby on Rails?

**URL:** <https://discourse.rom-rb.org/t/did-anyone-actually-make-this-work-with-ruby-on-rails/490>\
**Category:** Uncategorized\
**Created:** [November 25, 2021, 8:49pm UTC](https://discourse.rom-rb.org/t/did-anyone-actually-make-this-work-with-ruby-on-rails/490 "2021-11-25T20:49:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![idchlife](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.rom-rb.org/idchlife/32/252_2.png) [@idchlife](https://discourse.rom-rb.org/u/idchlife)\
**Post date:** [November 25, 2021, 8:49pm UTC](https://discourse.rom-rb.org/t/did-anyone-actually-make-this-work-with-ruby-on-rails/490/1 "2021-11-25T20:49:22Z")

</div>

Hey there! I’m trying to learn Ruby on Rails since I learned there is data mapper ORM for ruby (active record was major stopper for me in learning ruby). Did anyone actually used ROM with Ruby with Mysql/PostgreSQL/SQLite? I stumbled upon multiple problems but most of them as I can guess come from not fully understanding the Rails framework (e.g.: [ROM - Setup](https://rom-rb.org/learn/rails/2.2/) here used DATABASE\_URL which I do not have in shiny new rails project. Instead I have multiple database connections in database.yml)

So I could not make ROM with Rails work, since It’s not generating migrations with rake db:create\_migration[“MyMigration”] or rake db:create\_migration or similar.

I always get some kind of error about NoMethodError: undefined method `to\_sym’ for nil:NilClass  
OR something like that:

Database ‘db/development.sqlite3’ already exists  
Database ‘db/test.sqlite3’ already exists  
/my-project/db/schema.rb doesn’t exist yet. Run `bin/rails db:migrate` to create it, then try again. If you do not intend to use a database, you should instead alter /my-project/config/application.rb to limit the frameworks that will be loaded.

Running bin/rails db:migrate does exactly nothing.
