Ruby%20On%20Rails%20Interview%20Questions%20and%20Answers
Question: What is Rake in Ruby on Rails?Answer:Rake is a popular ruby gem that makes the job of running tasks simpler. Rake is most often used for DB tasks, but it can be used for m The common DB commands are: rake db:migrate rake db:reset You can use cron to schedule rake tasks. Sometimes you would create a dataloader.rake file and put it in the lib/tasks folder so that it can be used to populate the database on startup. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Ruby On Rails?
- Why Ruby on Rails?
- Explain how (almost) everything is an object in Ruby.
- What are Gems and which are some of your favorites?
- How would you declare and use a constructor in Ruby?