I am using Ruby on Rails v3.0.9 and I have a web application running in production mode. I would like to change and add some data in the database (also, I would like to make that these data changes take effect in development mode - that is, for example, that the added data should be present also in development mode when I am running and developing my application on my local machine)...
... what is "the best way"\"the most commonly used approach" to do that? I mean, for example, should I create a migration file with in some User.create(:name => '...', :surname => '...', ...)
statements and run those or there are other ways to accomplish what I would like to do?
Note: I do not need to populate the database with initial data (I already made that in the seed.rb
file). I just need to update and add database table rows.