Dump Mysql database to ruby class

Hello,
I just would like to know if there’s a solution in ruby to “export” a table from mysql to a ruby class by creating attributes from column, class name from table name etc.
I know that it’s possible in a lot of languages but I didn’t find solutions in Ruby.
Thanks a lot !

Hello @valoche73700,

Is that what you are looking for: How To Export A MySQL Database to JSON, CSV and XML with Ruby and the ActiveRecord Gem?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs