Explain how you can run rails application without creating databases?



Explain how you can run rails application without creating databases?..

Answer / 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

More Ruby on Rails Interview Questions

how you can run Rails application without creating databases?

1 Answers  


Explain the features of ruby on rails.

1 Answers  


Explain me what is the function of orm in ruby on rails?

1 Answers  


Tell me what is coc in rails?

1 Answers  


What is rails script? Name some of them?

1 Answers  


who developed rails?

1 Answers  


Write a program to show the functionality of request.xhr in ruby on rails ?

1 Answers  


what is the difference between Dynamic and Static Scaffolding?

1 Answers  


Explain bundler in rails.

1 Answers  


what are helpers and how to use helpers in ror?

1 Answers  


Explain me what is the difference between concern and application_controller.rb in ruby on rails?

1 Answers  


How is direct different from render?

1 Answers  


Categories