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


Please Help Members By Posting Answers For Below Questions

What is the current version of ruby on rails?

949