C
C
Chronic 862017-05-12 11:16:43
Ruby on Rails
Chronic 86, 2017-05-12 11:16:43

Where to store SQL queries in Rails?

There is a database, very old and in it all tables and fields are named Cyrillic. Can ActiveRecord be friends with Cyrillic? Or maybe there is some kind of gem who is friends with them?
If the answer to the question above is NO, then a question arises. Where to store pure SQL queries? Really it is direct in models as is?
Does anyone have practice?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question