1

When I learn the ruby on rails video, I saw a line code like below:

Write Controller Code to put a life in your application.

I don't know the meaning of the put a life, could you explain what is the meaning ?

enter image description here

4
  • I think it means to enliven Jan 22, 2017 at 3:45
  • @user178049 I think Joe Pinsonault's answer is reasonable.
    – aircraft
    Jan 22, 2017 at 3:50
  • Oh, OK. Im glad he helps you :) Jan 22, 2017 at 4:22
  • It is not idiomatic or correct, though. More normal would be "Put life in your application", because we're talking about life as a general phenomenon, not a specific person's life.
    – stangdon
    Jan 22, 2017 at 15:11

1 Answer 1

0

I'm guessing that they meant something like "to put life into your application". RoR controllers are where you put the business logic of your application. Where read from a database, transform your data, and then pass information to your Views. That's what I assume they meant by "put a life in" given the context

This page might help you

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .