RUBY ON RAILS
DESCRIPTION
Course Content
Ruby On Rails Course Content
Ruby:
● Chapter 1: An Introduction to Ruby
1. What is Ruby?
2. Installing Ruby
3. Executing Ruby Code
4. Ruby Reserved Words
5. Naming Conventions
6. Comments
● Chapter 2: Standard Ruby Data Types
1. Numbers
2. Strings
3. Regular Expressions
4. Time Methods
● Chapter 3: Language Components
1. The if Statement
2. The case Construct
3. Loops
4. Iterators
5. String Iterators
6. Methods
● Chapter 4: Collections
1. Arrays
2. Array Operator Methods
3. Array Equality Operator
4. Higher Dimensional Arrays
5. Other Useful Arrays Methods
6. Hashes
7. Common Hash Methods
8. Sorting Hashes
9. Iterators with Arrays and Hashes
10. Ranges
11. Arrays and Methods
12. Hashes and Methods
13. Symbols
14. Procs
● Chapter 5: Classes
1. Objects
2. Brief History of OOP
3. OOP Vocabulary
4. Creating a New Class
5. Using Objects
6. Defining Operator Methods
7. Inheritance
8. Ancestors
9. self
10. Access Levels public
11. Access Levels – private
12. Access Levels protected
13. Access Levels Specification
14. Class Data and Class Methods
15. Adding Methods to Classes and Objects
16. Scope of Variables
17. Builtin Class Hierarchy
● Chapter 6: Input and Output
1. Introduction
2. Reading from the Standard Input
3. Reading a Character at a Time
4. Writing to the Standard Output
5. Reading and Writing Disk File
6. Processing Directories
● Chapter 7: Exceptions
1. Introduction
2. Exception Hierarchy
3. Handling Exceptions
4. Multiple Rescue Clauses
5. Exceptions are Classes
6. ensure
7. retry
8. raise
9. catch and throw
● Chapter 8: Modules
1. Introduction
2. require
3. load
4. Modules
5. include
6. Mixins
Rails
● Chapter 1: An Overview Of Ruby on Rails
1. What is Ruby on Rails?
2. Review of the MVC Architecture
3. Overview of Rails Components
4. Installing Rails
5. A Simple Rails Application
6. Starting the Rails Server
7. Static Pages Within a Rails Application
8. The Structure of a Rails Application
9. Generating a Controller
10. Rendering the View
11. Adding a Static Page
12. Dynamic Pages with Embedded Ruby
13. Using the render Method
14. Using the link_to Method
● Chapter 2: Rails and HTML Forms
1. A Basic HTML Form
2. Processing an HTML Form
3. Working With Form Data
4. Other Form Elements
5. Form Tag Helpers
● Chapter 3: Databases and Rails
1. Entities and Relationships
2. Databases and Models
3. Rails Database Conventions
4. Adding a Model
5. Database Migrations
6. The Rails Database Console
7. Creating a Rails View of a Database Table
8. Scaffolding
9. RESTful Routes and Resources
● Chapter 4: Form Helpers and Validation
1. Introduction
2. Form Helpers and form_for
3. Processing Form Helpers
4. From Form to Database
5. Redirection
6. Data Validation
7. Validation Helpers
8. The presence Validator
9. The numericality Validator
10. The uniqueness Validator
11. The length Validator
12. The format Validator
13. Custom Validation Methods
14. The errors Object
15. Displaying Validation Errors in the View
● Chapter 5: Associations in Rails
1. has_one association
2. belongs_to
3. has_many association
4. has_many :through
5. habtm
● Chapter 6: Filters & callbacks
1. what is filters?
2. Different types of filters
3. what is callbacks?
4. different types of callbacks
● Chapter 7: Adding Style to an Application
1. Styling
2. Rails and Sass
3. Cascading Style Sheets
● Chapter 8: Sample Application
1. Introduction
2. Registering Users
3. The Register Action
4. The flash Hash
5. Validating the Registration
6. Logging in
7. Logging Out
8. Protected Pages
9. Filters