Ruby on Rails

Rails Fundamentals

MVC pattern, convention over configuration, Rails project structure, environments

18 āļ„āļģāļ–āļēāļĄāļŠāļąāļĄāļ āļēāļĐāļ“āđŒÂ·
Junior
1

What does the acronym MVC stand for in the context of Rails?

āļ„āļģāļ•āļ­āļš

MVC stands for Model-View-Controller, an architectural pattern that separates the application into three interconnected components. The Model handles data and business logic, the View displays the user interface, and the Controller orchestrates interactions between the two. This separation facilitates code maintenance and testing.

2

What is the main role of the Model in Rails MVC architecture?

āļ„āļģāļ•āļ­āļš

In Rails, the Model represents application data and encapsulates business logic. It interacts with the database via ActiveRecord, manages validations, entity associations, and callbacks. The Model is responsible for data integrity and business rules, independent of the user interface.

3

What does the 'Convention over Configuration' principle mean in Rails?

āļ„āļģāļ•āļ­āļš

Convention over Configuration means Rails provides sensible defaults for most aspects of the application. If developers follow naming and structure conventions, Rails automatically configures connections between models, controllers and views. This reduces boilerplate code and accelerates development.

4

According to Rails conventions, where are controller files stored?

5

Which directory contains view templates in a Rails application?

+15 āļ„āļģāļ–āļēāļĄāļŠāļąāļĄāļ āļēāļĐāļ“āđŒ

āļŦāļąāļ§āļ‚āđ‰āļ­āļŠāļąāļĄāļ āļēāļĐāļ“āđŒ Ruby on Rails āļ­āļ·āđˆāļ™āđ†

Ruby Basics

Junior
25 āļ„āļģāļ–āļēāļĄ

Ruby Object-Oriented Programming

Junior
20 āļ„āļģāļ–āļēāļĄ

Routing & Controllers

Junior
22 āļ„āļģāļ–āļēāļĄ

ActiveRecord Basics

Junior
25 āļ„āļģāļ–āļēāļĄ

Views & ERB Templates

Junior
20 āļ„āļģāļ–āļēāļĄ

ActiveRecord Associations

Mid-Level
24 āļ„āļģāļ–āļēāļĄ

Advanced ActiveRecord Queries

Mid-Level
28 āļ„āļģāļ–āļēāļĄ

Rails Forms

Mid-Level
20 āļ„āļģāļ–āļēāļĄ

Authentication & Authorization

Mid-Level
22 āļ„āļģāļ–āļēāļĄ

Modern Asset Pipeline & Frontend

Mid-Level
18 āļ„āļģāļ–āļēāļĄ

Rails API Mode

Mid-Level
20 āļ„āļģāļ–āļēāļĄ

Testing with RSpec

Mid-Level
24 āļ„āļģāļ–āļēāļĄ

ActiveJob & Background Jobs

Mid-Level
20 āļ„āļģāļ–āļēāļĄ

ActionCable & WebSockets

Mid-Level
18 āļ„āļģāļ–āļēāļĄ

ActionMailer

Mid-Level
18 āļ„āļģāļ–āļēāļĄ

ActiveStorage

Mid-Level
20 āļ„āļģāļ–āļēāļĄ

Caching Strategies

Mid-Level
20 āļ„āļģāļ–āļēāļĄ

Advanced Migrations

Mid-Level
20 āļ„āļģāļ–āļēāļĄ

Rails Engines & Modular Apps

Senior
18 āļ„āļģāļ–āļēāļĄ

Performance Optimization

Senior
26 āļ„āļģāļ–āļēāļĄ

Rails Design Patterns

Senior
22 āļ„āļģāļ–āļēāļĄ

Ruby Metaprogramming

Senior
20 āļ„āļģāļ–āļēāļĄ

Rails Security

Senior
22 āļ„āļģāļ–āļēāļĄ

GraphQL with Rails

Senior
20 āļ„āļģāļ–āļēāļĄ

Deployment & Production

Senior
20 āļ„āļģāļ–āļēāļĄ

Monitoring & Logging

Senior
20 āļ„āļģāļ–āļēāļĄ

Rails Upgrade Strategies

Senior
18 āļ„āļģāļ–āļēāļĄ

āđ€āļŠāļĩāđˆāļĒāļ§āļŠāļēāļ Ruby on Rails āļŠāļģāļŦāļĢāļąāļšāļāļēāļĢāļŠāļąāļĄāļ āļēāļĐāļ“āđŒāļ„āļĢāļąāđ‰āļ‡āļ–āļąāļ”āđ„āļ›

āđ€āļ‚āđ‰āļēāļ–āļķāļ‡āļ„āļģāļ–āļēāļĄāļ—āļąāđ‰āļ‡āļŦāļĄāļ” flashcards āđāļšāļšāļ—āļ”āļŠāļ­āļšāđ€āļ—āļ„āļ™āļīāļ„ āđāļšāļšāļāļķāļāļŦāļąāļ” code review āđāļĨāļ°āļ•āļąāļ§āļˆāļģāļĨāļ­āļ‡āļŠāļąāļĄāļ āļēāļĐāļ“āđŒ

āđ€āļĢāļīāđˆāļĄāđƒāļŠāđ‰āļŸāļĢāļĩ