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

  Рет қаралды 41,679

PeopleCanCode

PeopleCanCode

Күн бұрын

Пікірлер: 22
@bellafield9667
@bellafield9667 3 жыл бұрын
Legit the best video, learned more than I did through several projects and a month of class
@LukaszMuzyka
@LukaszMuzyka 3 жыл бұрын
Thank you for kind words. Such a pitty I have no time to go back to those tutorials.
@TroyboyTv
@TroyboyTv 8 жыл бұрын
im learning more on these videos on you channel than i did with a months worth of online tutorials
@ShahnawazSayyad
@ShahnawazSayyad 8 жыл бұрын
Awesome... must say that you have explained the concept so nicely ...better than the big guys out there. Keep up the good work.
@hammassaleem2803
@hammassaleem2803 2 жыл бұрын
Great Explanation❤
@carltongordon
@carltongordon 9 жыл бұрын
thanks bro cleared it up for me nicely
@pectoralis1602
@pectoralis1602 Жыл бұрын
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?
@nego1988
@nego1988 8 жыл бұрын
This method (how_old) is better make in controller or in the model? What say the "good practices"?
@FrozenSandVideo
@FrozenSandVideo 7 жыл бұрын
dobrze wytłumaczone :)
@d06murd
@d06murd 10 жыл бұрын
14:15 - Best time to demonstrate Ruby's string interpolation specially for nuby (new in Ruby).
@ajitkumargupta7470
@ajitkumargupta7470 6 жыл бұрын
Awesome
@jukebox6071
@jukebox6071 2 жыл бұрын
is this command prompt with ruby on rails?
@Sebastian-ln1gj
@Sebastian-ln1gj 2 жыл бұрын
he never does specify what software he uses. also he is on a mac which also complicates what he is doing. this video is for the specialists, not the general crowd.
@ksato3991
@ksato3991 7 жыл бұрын
Great
@arjuns2219
@arjuns2219 4 жыл бұрын
Thanks bruh!
@rohanbose4882
@rohanbose4882 6 жыл бұрын
Wow
@bryanvalencia7797
@bryanvalencia7797 10 жыл бұрын
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)
@bradchellingworth5973
@bradchellingworth5973 8 жыл бұрын
+Bryan Valencia I believe "self" means to refer to the instance of the object. So in this case it would be Tom.age
@SuckBoot
@SuckBoot 5 жыл бұрын
Outside of an instance method, self refers to the class and is a class method. If self is invoked inside an instance method, it refers to the calling object
@traivanvon6498
@traivanvon6498 8 жыл бұрын
Thank for help but i have more Quastion
Understanding MVC  and REST  in Ruby on Rails 2/2
22:16
PeopleCanCode
Рет қаралды 12 М.
Understanding Controler and View
24:36
PeopleCanCode
Рет қаралды 10 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Understanding Active Record Associations
15:16
webcrunch
Рет қаралды 35 М.
Understanding MVC  and REST  in Ruby on Rails 1/2
14:15
PeopleCanCode
Рет қаралды 23 М.
Databases & Rails: Database Backed models with ActiveRecord
21:09
Learn Active Record associations with Starwars
24:20
CJ Avilla (cjav_dev)
Рет қаралды 7 М.
Should you use Ruby on Rails in 2024?
14:43
webcrunch
Рет қаралды 59 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 843 М.
Taking A Look At Scopes In Ruby On Rails 7
11:16
Deanin
Рет қаралды 2,4 М.
ElasticSearch and Ruby on Rails - Part 1
46:41
Phil Smy
Рет қаралды 11 М.
Create Model in Rails
15:42
APPSIMPACT Academy
Рет қаралды 9 М.
Ruby on Rails in 100 Seconds
3:33
Fireship
Рет қаралды 491 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН