Hello guys! Here is my relation class code:
class Code < ROM::Relation[:sql]
schema do
attribute :id, Types::Int
attribute :code, Types::String
attribute :used, Types::Bool
primary_key :id
end
end
All the other things are by default configured for ROM-Rails. Nothing changed except adding relation into new Rails project with integrated ROM-RAILS with ROM-SQL
What can be the problem here?