ensl.org/app/services/api/v1/collection.rb
2020-03-23 05:11:36 +02:00

6 lines
145 B
Ruby

class Api::V1::Collection
def execute_query
print arel_query.to_sql
ActiveRecord::Base.connection.execute(arel_query.to_sql)
end
end