# Rails MVC

Rails MVC is the default Rails architecture bundle.

```ruby
architecture :rails_mvc
```

This defines:

- `controllers`
- `models`
- `helpers`
- `mailers`
- `jobs`
- `services`

It checks that models and services stay away from controller and helper dependencies, and that they do not call controller-only APIs such as `render`, `redirect_to`, `params`, `session`, `cookies`, or `flash`.

The usual shortcut is:

```ruby
preset :rails_way
```

Use `preset :rails_strict` when the app follows Zeitwerk naming and you also want cycle checks across the Rails components.
