メモ
ActiveRecord::Base.connection.select_all("select * from users").to_hash
めちゃくちゃ参考になる記事
https://qiita.com/yut_h1979/items/4cb3d9a3b3fc87ca0435
More than 3 years have passed since last update.
メモ
ActiveRecord::Base.connection.select_all("select * from users").to_hash
めちゃくちゃ参考になる記事
https://qiita.com/yut_h1979/items/4cb3d9a3b3fc87ca0435
Register as a new user and use Qiita more conveniently