It allows you to have an object oriented approach to structuring/cleaning up your views whereas Helper files are more functional. That probably makes no sense though sorry.
Really enjoy your videos, very enlightening. Any chance your going to do some more intermediate skill videos. Looking at things like explaining some of the trickier parts of ruby on rails? Many thanks.
Your video on the Rails params hash and white listing got me out of a deep rut. Prehaps you could do a similar video with details on how to best use the controller. I'm not sure exactly what is needed but I think there's a real market for learner videos done in your style.
I like it. I'll definitely do an episode on this because I think you're definitely right. It's not super clear as to what the controller's role is in the ecosystem always. On a side note, I covered a related topic here that I'm curious to hear your feedback on! gorails.com/episodes/sending-data-between-controllers-and-views?autoplay=1
Thank you! It was helpful for me :)
Perfect, thanks for this explanation Draper gem, is very help me.
Why would I need a decorator when I can do this with a helper file?
It allows you to have an object oriented approach to structuring/cleaning up your views whereas Helper files are more functional. That probably makes no sense though sorry.
Really enjoy your videos, very enlightening. Any chance your going to do some more intermediate skill videos. Looking at things like explaining some of the trickier parts of ruby on rails? Many thanks.
Of course, but "trickier" is relative to everyone. What are you interested in seeing?
Your video on the Rails params hash and white listing got me out of a deep rut. Prehaps you could do a similar video with details on how to best use the controller. I'm not sure exactly what is needed but I think there's a real market for learner videos done in your style.
I like it. I'll definitely do an episode on this because I think you're definitely right. It's not super clear as to what the controller's role is in the ecosystem always.
On a side note, I covered a related topic here that I'm curious to hear your feedback on! gorails.com/episodes/sending-data-between-controllers-and-views?autoplay=1
nice video , what colorscheme do you use for vim?
niceeee