adspace
Explain how you can run rails application without creating databases?
Answer Posted / Brijesh Kumar Mishra
You can run a Rails application without a database by setting up `dummy` or `fixture` data. To use dummy data, add `config.active_record.dummy_data = true` to your environment file.nnFor fixture data, you'll need to create .yml files in the db/test/fixtures directory with test data. Set the environment to 'test' before running the application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers