How you run your rails application without creating databases?



How you run your rails application without creating databases?..

Answer / Pawan Chaubey

To run a Rails application without creating a database, you can use the built-in SQLite3 database for development purposes. You can specify this in your config/database.yml file by setting the default value of development under the 'sqlite3' section. Additionally, running `RAILS_ENV=test rails server` will start the Rails server using the test environment which does not need a database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

What is the purpose of load, auto_load, and require_relative in ruby ?

1 Answers  


What are the types of caching used in rails, what are they?

1 Answers  


Why ruby on rails is used for?

1 Answers  


what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?

1 Answers  


how can we define Ruby regular expressions?

1 Answers  


Why do we use request.xhr? in rails

2 Answers   IBM,


How is the model view controller framework used in ruby on rails?

1 Answers  


What is the difference between save and save?

1 Answers  


Choosing between belongs_to and has_one?

1 Answers  


Explain rvm in rails?

1 Answers  


What are the differences betweeen Rails 2.x and Rails 3

4 Answers   Al Larin, Baidu, CTS,


In how many ways you can create rails layout http response.

1 Answers  


Categories