Quiz: Controllers

Test your understanding of the concepts of controllers.

1

(Select all that apply.) Although controllers are written in Ruby, they are really an example of an internal domain-specific language. Why?

A)

We don’t instantiate the controller or call its methods ourself.

B)

The methods don’t receive explicit parameters.

C)

The return value is irrelevant to the behavior of the method.

D)

Controllers are designed to be stateless, unlike internal domain-specific languages that often rely on maintaining state.

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.