Test your basic knowledge |

Ruby On Rails Basics

Subject : it-skills
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Converts database records to objects






2. Kinds of test you create yourself






3. Naming convention for file names






4. All constants are _______






5. expression that all layouts have






6. These create namespaces






7. to check if an input is numeric






8. The three kinds of tests are: unit and functional and _________ tests






9. It generates web pages from page templates






10. to run the latest migrations






11. to include a module inside another class/file






12. to call a partial






13. Default Rails environments: development - test - ________






14. Rails' application framework






15. Naming convention for file names






16. A special class whose only job is to have attributes and to hold data






17. to insert "1 + 1" into a string






18. controller (and table) names are _______






19. tag that starts a form






20. These create namespaces






21. A special class whose only job is to have attributes and to hold data






22. This is a comparison operator






23. a RESTful application uses ... to define an interaction with the data.






24. It generates web pages from page templates






25. to get character from ascii value






26. Embedded Ruby (ERb) processes data from model objects AND _______ as inputs






27. This is a comparison operator






28. The "format" in "repond_to do |format|"? is a ______






29. to run the latest migrations






30. declaring classes inside another class






31. the second uri indicate






32. Command to run a migration






33. A search form is not associated with a ______






34. Command to run a migration






35. to get character from ascii value






36. to get ascii value of a character






37. to create a migration that adds a "phone" field to the "tickets" table






38. to declare global variables






39. Unlike regular erb files partials' names begin with an ________






40. Naming convention for classes






41. This variable changes the environment






42. to include a module inside another class/file






43. to insert "1 + 1" into a string






44. Embedded Ruby (ERb) processes data from model objects AND _______ as inputs






45. Converts database records to objects






46. This method name indicates to rails that it should validate before saving/updating






47. models have only ______names






48. You add the filter code right after the line introducing __________ in the controller






49. The "format" in "repond_to do |format|"? is a ______






50. Kinds of test you create yourself