To Exam Info

IT231 -- Review Guide for Final

Bring to Final

Study

Exam Format

Definitions

Be Able To

  1. Explain how to do each of the following: create a Rails project, create a Rails controller with some views, how to add a new view to a controller after the controller has already been created, create a Rails application using scaffold software, create a Rails model without using a scaffold.
     
  2. Modify the HTML and CSS files of a Rails project.
     

  3. Modify Rails source code according to specifications.
     
  4. Use the Rails helper functions stylesheet_link, image_link, link_to.
     
  5. Modify a Ruby command line application to display output from the controller on a view using ERB.
     
  6. Write or modify a Rails project that displays an image on a form according to calculations in the controller (like Project 4).
     
  7. Use these Rails ActiveRecord methods to extract or modify the data in the database.
     

    For example here are some examples of dynamic finder methods for the Student class:
  8. Explain what an array is and how it is used in Rails.
     
  9. Test methods of the Array class.
     
  10. Explain what a Range object is and how it is used in Rails.
     
  11. Test methods of the Range class.
     
  12. Know the following about FormTagHelper and FormHelper controls:
     
    1. The difference between FormTagHelper and FormHelper controls.
    2. Which FormTagHelper or FormHelper controls are most appropriate to use in a given situation.
    3. How to use the FormTagHelper methods form_tag, text_field_tag, and submit_tag to manage data.
    4. How to use the FormHelper methods form_for, text_field, select, radio_button, and check_box to manage data.

  13. Write views that use the ActiveRecord methods to store or access data.
     
  14. Manipulate a database by issuing Ruby statements at the Rails console window or running the seeds.db file with rake db:seed.
     
  15. Load records into a database by using a seed file.
     
  16. Set up a one-many relationship between two models.
     
  17. Set up validation for controls on a form.
     
  18. Given source code for a Rails project, find the errors.