MVC - Understanding Model in Ruby on Rails. Creating simple model and class instance method

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Legit the best video, learned more than I did through several projects and a month of class

bellafield
Автор

im learning more on these videos on you channel than i did with a months worth of online tutorials

TroyboyTv
Автор

Awesome... must say that you have explained the concept so nicely ...better than the big guys out there. Keep up the good work.

ShahnawazSayyad
Автор

thanks bro cleared it up for me nicely

carltongordon
Автор

14:15 - Best time to demonstrate Ruby's string interpolation specially for nuby (new in Ruby). 

dmurd
Автор

This method (how_old) is better make in controller or in the model? What say the "good practices"?

nego
Автор

From an ergonomic standpoint, don't think it's weird to access self.age in the model, yet the model does not document that field even to exist? You have to use the Rails console or an RDBM to know what field this model has?

pectoralis
Автор

is this command prompt with ruby on rails?

jukebox
Автор

Just wondering, maybe I didn't pay attention well enough… When you defined the how_old method, where did the "self" class come from? Is that a pre-built class? (I'm a complete development beginner)

bryanvalencia
Автор

Thank for help but i have more Quastion

traivanvon