rom icon indicating copy to clipboard operation
rom copied to clipboard

Data mapping and persistence toolkit for Ruby

Results 32 rom issues
Sort by recently updated
recently updated
newest added

Reporting this as a placeholder for now. Specific improvements are TBD.

feature
core

The example described here https://rom-rb.org/5.0/learn/repositories/writing-aggregates/ Creating a record along with associated records raises ``` ROM::Struct::MissingAttribute: undefined method `[]=' for # Did you mean? [] (attribute not loaded?) # /Users/username/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/rom-core-5.0.2/lib/rom/struct.rb:105:in `rescue...

bug
help wanted

When using auto_struct and a module definition, ROM is not respecting the configured types for an association. ```ruby schema(:articles, infer: true) do associations do belongs_to :profiles, as: :author, foreign_key: :author_id...

bug
associations
repository

**Describe the bug** After following the repository quick start guide, specifically the [create sub-section](https://rom-rb.org/5.0/learn/repositories/quick-start/#create), I attempted to pass an array of hashes to the exposed `create` method on the repository....

bug
help wanted

In the same vein that you can define virtual columns in a database, maybe it could be convenient to have something similar for rom attributes at the relation definition level....

feature
discussion

A common scenario is when you want to *adjust* the default dataset rather than setting it up from scratch, that's why it will be convenient when the default dataset is...

feature

- In ruby 3.x the `result: :many` will get forwarded incorrectly if there is a `combine`. That is, something like `relation.command(:create, result: :many)` will work but `relation.combine(:child_relation).command(:create, result: :many)` will...

ActiveSupport 7.1 defines `Object#with` that interferes with ROM. This PR fixes it. We use `define_method/undef_method` sequence due to uncertain load order. The method needs to be defined for `undef_method` to...

## Describe the bug I made a script of the example code, and it seems that the example code for the auto-generated structs no longer reflects reality, and as a...

bug
help wanted

## Describe the bug Loading `rom-sql` with Rails 7.1 (main) fails due to the recently added `Object#with` monkey-patch (yeah, it strikes again): ``` /opt/homebrew/lib/ruby/gems/3.2.0/bundler/gems/rails-d954155dd8cc/activesupport/lib/active_support/core_ext/object/with.rb:34:in `public_send': undefined method `raise_on_error=' for #ROM::SQL::Attribute,...

help wanted