Search code examples
rubyormrom

Ruby Object Mapper documentation


I need to use an ORM for my project and I opted to use ROM, since every other ORM seems to be directly tied to Rails and I am not using and will not use Rails.

I find the official documentation of ROM, found on www.rom-rb.org, to be awful. It doesn't provide any minimal code examples or even a cohesive experience. Instead, it gives you multitudes of theoretical breadcrumbs that are completely unrelated to each other. After reading the entire documentation under the "Learn" section, I realised my knowledge of ROM did not change in the slightest.

I need help from developers who have experience with ROM. Is there an actual source of knowledge on how to use ROM? Where can I find code examples or projects that use ROM? Or is there a good alternative ORM in Ruby that isn't tied to Rails?


Solution

  • Following some recommendations from the comments to the question, I decided to ditch ROM in favour of Sequel. It really turned out to be much simpler and, most importantly, to actually work.

    It is quite ironic that ROM is in part based on Sequel...