Hello I’m a RoR newbe facing a problem.
I would like to upload two arrays to a database called ‘wrtlist’ i
used this migration file to create the database
class AddWrtsList < ActiveRecord::Migration
create_table :wrtlist do |t|
The first array contains the titles and the second contains the links,
the first title correspondents to the first title and the second to
I also want to add the static content “publisher_name” to publisher.
What should be the best way to create a loop to upload the content to
Thank you for your help!