Import random Excel into Rails 4 app to create database schema on the fly -



Import random Excel into Rails 4 app to create database schema on the fly -

one of recent rails app requires import info excel, i've been next along ryan's railscasts #396 importing csv , excel, worked out pretty okay, 1 limitation, have create database schema first, wondering how can create more adaptable, pick excel header or number of columns, base of operations on imported data, create database schema on fly. possible? :)

relational database works when know construction of data, there not suitable making migrations triggered user data, if don't know construction can schema like:

mytable col1: string col2: string col3: string coln: string

other approach may seek utilize non-relational database mongodb, it's compatible ruby on rails.

ruby-on-rails

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -