webcrunch

webcrunch

This channel is the home for all videos uploaded to webcrunch.com. Webcrunch is a blog about design, development, and entrepreneurship. Subscribe for future videos!

Пікірлер

  • @ddd2283
    @ddd22833 күн бұрын

    Not working from scratch. It wants yanr/esbuild and other JS shit.

  • @Webcrunch
    @Webcrunch3 күн бұрын

    You might check your current node version and make sure it's current.

  • @ernepazzo1212
    @ernepazzo12126 күн бұрын

    Muchas gracias!!! Más Ruby on Rails y mucho menos JS. Estaremos al pendiente, saludos desde #Cuba.

  • @wfbraga2099
    @wfbraga20997 күн бұрын

    I just got my first job as RoR developer. How did I do thar? By knowing people. I have apply to many companies and the one I got the job were where I had a former cliente from the time I used to work with other tech stuff.

  • @andyhemphill
    @andyhemphill8 күн бұрын

    Thanks heaps !!

  • @cesargomezu1459
    @cesargomezu14598 күн бұрын

    Professional guitarist with all the advanced performance degree's trying to switch to programming 👊🏼

  • @ErictheConqueror-gy6es
    @ErictheConqueror-gy6es16 күн бұрын

    Step 1: be a senior developer

  • @Balabala-iq1ne
    @Balabala-iq1ne16 күн бұрын

    absolutely right, extremly rare find entry job with rails

  • @Webcrunch
    @Webcrunch16 күн бұрын

    Yeah, I don't love that this is the state of the market. I'm hoping it evolves with the resurgence of the Rails I've been seeing.

  • @promiseuka
    @promiseuka16 күн бұрын

    This is really helpful. Thanks 👍

  • @Webcrunch
    @Webcrunch16 күн бұрын

    Glad to hear that!

  • @gracesoftmedia6670
    @gracesoftmedia667016 күн бұрын

    Thanks Andy I found it really helpful to me.

  • @Webcrunch
    @Webcrunch16 күн бұрын

    Great to hear!

  • @user-qn5xc3bw6q
    @user-qn5xc3bw6q16 күн бұрын

    Thanks for the video. Please add a video where we add fields which are not common to all the models

  • @timbd87
    @timbd8718 күн бұрын

    I learnt RoR over the last 8 years and just code for myself, but i don't test, and it's a huge gap in my skillset, the other one is security, need good courses on both

  • @RonDavisceo
    @RonDavisceo20 күн бұрын

    can you help?

  • @mikopiko
    @mikopiko20 күн бұрын

    Cool

  • @abdullahsaleh7196
    @abdullahsaleh719621 күн бұрын

    keep going 🫡

  • @mortjac
    @mortjac23 күн бұрын

    I liked the CSS shift to Tailwind. As I'm new to RoR, less is more. Looking forward to try it out!

  • @repoles
    @repoles23 күн бұрын

    Thank you very much! I always watch your videos. They help me a lot!

  • @formigarafa
    @formigarafa23 күн бұрын

    You don't really need that include in the controller if you are using the "static" method calls. You can think of include method pretty much as defining the methods in the module in the context of the class where it is being included. This won't apply for `def self.xyz` methods though. You can operate with the `def self.methods` in similar form using the extend method but the result affects the class not the instances (as include would). This rabbit hole goes a bit deeper, it is meta-programming all the way down. It would become a book on this comment.

  • @MarceloAlarcon-tx6qe
    @MarceloAlarcon-tx6qe23 күн бұрын

    I think we can also use concerns in a controller to separate all methods that are not a direct action of the controller. For example a method to generate a cookie would go in the concern, while the action that uses it would obviously be in the controller. This is necessary because we can't use helpers in controllers. What do you think about this practice?

  • @haroldpepete
    @haroldpepete24 күн бұрын

    i have personally used concern in poymorphic associations and when i want some special behavior in several model, and i use module to declaree functions that i need to use in my controllers or services, working with component in rails i make a metaproming module to declare instance variables witth a default values making a merge of all parameters the component can recieve

  • @IanBradbury
    @IanBradbury24 күн бұрын

    Always super helpful videos. Thanks.

  • @Webcrunch
    @Webcrunch23 күн бұрын

    Happy to help!

  • @BubblegumSneaker
    @BubblegumSneaker24 күн бұрын

    This helped me understand better something I already thought I understood.

  • @ahmed_aboelleef
    @ahmed_aboelleef24 күн бұрын

    thanks for sharing What is the editor theme name ?

  • @Webcrunch
    @Webcrunch24 күн бұрын

    Spacegray 80s I believe

  • @AndreyAzimov
    @AndreyAzimov24 күн бұрын

    I never understood how to use concerns or modules, so I just create a file in model directory help.rb and there I just have this "class Help ... end" with all my methods and constants. I can use this class anywhere (models, views, controller) in my rails app without even adding "include".

  • @djlclopez128
    @djlclopez12825 күн бұрын

    @Webcrunch Since you are a experienced Ruby developer, where can aspiring developers learn Ruby? I only know of some older classes on Udemy and codecademy, do you have recommendations?

  • @Webcrunch
    @Webcrunch24 күн бұрын

    I honestly learned best by trying to build something from scratch. I went backwards and started learning Rails before Ruby and along the way (it took a while) I learned ruby and then things just started clicking over time. You learn to spot bugs and errors and know immediately what to do. This was all before AI tools too, so it was even harder 😆

  • @marcusaureliusreturn
    @marcusaureliusreturn26 күн бұрын

    well done ❤‍🔥

  • @meshu_amare
    @meshu_amareАй бұрын

    I love it thanks for sharing but my question is, do we must have type attribute to use STI? I mean how the model understand type as a Car? Thanks

  • @Webcrunch
    @WebcrunchАй бұрын

    Yes, you need the type attribute 👍

  • @piotr-nowak
    @piotr-nowakАй бұрын

    Cool... I'm a PHP guy, but hmy.... I'll have to think about it - what you say sounds encouraging to at least give it a try:D

  • @BenjaminMahmood
    @BenjaminMahmoodАй бұрын

    Thanks for your perspective, really helped me alot with my decision on what to learn. So I will go with Rails! And I love your Rails UI Project! That's one thing I felt is missing for rails, a modern UI package

  • @Webcrunch
    @WebcrunchАй бұрын

    Glad it was helpful!

  • @LoneIgadzra
    @LoneIgadzraАй бұрын

    *Do not take ActiveRecord migrations for granted If you switch to another ecosystem, you will quickly miss them. In Java, it is normal to pay Flyway for the same features.* The main strengths of Rails that can truly speed a developer up are now the controversial choices: ActiveRecord as the ORM, and being HTML-first. HTML-first is coming back around, but I think AR is vastly misunderstood due to the ease of creating spaghetti. It combines a ton of different features, which in turn saves you a ton of time getting started. For most CRUD, you will never exceed its maintainability threshold, except for your app's most important domain models that inevitably grow into "god objects". (Those **will** need to refactored, and there is no one-way-fits-all method. I think the Rails guide could do a much better job of guiding new developers here.) AR's default lazy loading is also misunderstood! Developers clutch their pearls over view code causing database queries, not realizing that this default is **specifically** to support Rails fragment caching. Some other honorable mentions: - ActiveStorage represents months of work to re-create in any framework that doesn't have an equivalent. This feature alone brings me back to Rails when I just need something to work. - Almost every SAAS needs a job queue, and Rails has that as well. - Abusing Turbo to create highly interactive screens with just plain old Rails feels delightfully lazy. Most of the controversial stuff in Rails that developers bitch about endlessly has a reason for existing that they are misunderstanding.

  • @LoneIgadzra
    @LoneIgadzraАй бұрын

    "Convention over configuration" is I think over-explained and misunderstood these days. Many web frameworks now target this as far as they are able, but there are degrees. Most JS frameworks do not include an ORM or testing framework, for example. The environment in which these frameworks is exist is just too volatile. Rails aims to include absolutely *everything* you would need to make an MVP - especially including the ORM - with no developer decision to be made other than on how to build value.

  • @mistert1628
    @mistert1628Ай бұрын

    having a lot of fun following this series with Rails 7 :-) Not to bad had a few gotcha's and had to rework things but having the precoded repo is useful to reference old vs new (tailwind css site was a life saver).

  • @jaycortes2113
    @jaycortes2113Ай бұрын

    I was preparing myself to start a bootcamp. I can already create projects using React. When I was selecting the bootcamp Spiced is offering React and LeWagon Ruby on Rails. I got confused and signed a contract to go with the bootcamp that is going with rails. Now I am really scared that I won't find a job because my main language will be Ruby. So I was preparing myself for the bootcamp and got the wrong one. I will start in 2 weeks and I know almost nothing about RoR.

  • @Webcrunch
    @WebcrunchАй бұрын

    Being versed in React will always get you a job. Rails is definitely more niche but I think that's changing. It's tough to say what's the best path with tech moving so fast. I work in Rails daily but I'm actually a product designer by trade.

  • @baowarrior4892
    @baowarrior4892Ай бұрын

    Nice! Thanks for sharing!

  • @thiagomrvieira
    @thiagomrvieiraАй бұрын

    Great video. I also come from the PHP world with Laravel, and having studied Rails quite a bit, I can see many similarities between both ecosystems. I have around 8 years of experience with PHP, and in recent years, I've been flirting with Rails. However, as you mentioned, many Rails developer positions require a bit more experience with the ecosystem. I can indeed write a REST API in Rails with testing and good practices overall, but I feel that my stronger foundation with PHP often weighs more heavily when applying for Rails positions. Anyway... In the meantime, I'll continue studying and hope to transition to Rails in the coming months.

  • @RonDavisceo
    @RonDavisceoАй бұрын

    when i do - (localhost:3000/conversations/3/messages) i get +- (ActiveRecord::RecordNotFound in MessagesController#index Couldn't find Conversation with 'id'=3) def find_conversation @conversation = Conversation.find(params[:conversation_id]) end Any Idea on how to fix?

  • @rpf23543
    @rpf23543Ай бұрын

    For sure! Yes! I’m tired of Devs thinking they always have to start a new trend and follow it. Like, AI pops up and every KZreadr is going to make a video about if and how we will be replaced. Ruby and Rails is more up to date as ever.

  • @malharparmar396
    @malharparmar396Ай бұрын

    Awesome

  • @promiseuka
    @promiseukaАй бұрын

    This is great 💪💪💪

  • @abdullahsaleh7196
    @abdullahsaleh7196Ай бұрын

    Yoo that’s crazy, wow keep going We want another video😅

  • @carltanner3632
    @carltanner3632Ай бұрын

    This is a great effort. I am doing something similar myself, but a multi-tenant, Jumpstart Rails adaptation. Would I be able to use RailsUI in a multi-tenant environment?

  • @Webcrunch
    @WebcrunchАй бұрын

    Yes, it would work fine for the mult tenant world I think. It's mostly a UI kit that's integrated into your Rails app with some other bells and whistles.

  • @mycode0
    @mycode0Ай бұрын

    Amazing progress, I fear that I would never have enough money to pay for such high quality product... Have you though on the pricing yet ?

  • @Webcrunch
    @WebcrunchАй бұрын

    Nonstop 😆 I haven't landed on anything final yet but will have to just decide and commit soon.

  • @mycode0
    @mycode0Ай бұрын

    @@Webcrunch I would completely understand if it not a small price to pay for something like this maybe if it's possible to implement something like 3 or 6 monthly instalments (idk) . I really wanted to support products like tailwind ui or jumpstart for example, but I am simply not at a point of my life where I can pay $200, 300 and more at once without significantly hurting my budget. My salary in Bulgaria is around $600 per month.

  • @Webcrunch
    @WebcrunchАй бұрын

    Totally get it! Will try and keep this in mind. I think the hard part is managing all the variants of plan intervals.

  • @mycode0
    @mycode0Ай бұрын

    @@Webcrunch No I completely understand

  • @laugustou
    @laugustouАй бұрын

    Maybe a parity program

  • @joey2545
    @joey2545Ай бұрын

    Great advice and examples!

  • @Webcrunch
    @WebcrunchАй бұрын

    Glad it was helpful!

  • @suiteyousir
    @suiteyousirАй бұрын

    Could you please do a video on how to set up vs code for ruby development, thank you

  • @Webcrunch
    @WebcrunchАй бұрын

    Good idea!

  • @suiteyousir
    @suiteyousirАй бұрын

    @@Webcrunch I started out using c# as a junior dev and loved visual studio because of all the features like clicking through a method. The search feature and changing all method names at once. I've now switched to a ruby project but struggled to replicate that experience in Vs code.

  • @tusharjha9293
    @tusharjha9293Ай бұрын

    i made the app yesterday and again opened localhost today. i am still signed in but i am not able to do anything because it says "i am unauthorised". it was working fine yesterday. i am assuming it is because of token expiry. the access tokens which were stored in local storage might have gotten expired in 1 hour and that's why i am not able to do anything now. any idea how to either refresh the tokens or to signout after 1 hour

  • @certilremy
    @certilremyАй бұрын

    Man thank you so much for this video. You'll never know how mutch I apreciate this video, it save my live.

  • @Webcrunch
    @WebcrunchАй бұрын

    Glad it helped!

  • @Ironman2.0xCode
    @Ironman2.0xCodeАй бұрын

    can someone tell which Database has been used here

  • @Webcrunch
    @WebcrunchАй бұрын

    For the demo it was sqlite but for production environments I recommend postgresql 👍

  • @DevlogBill
    @DevlogBillАй бұрын

    I am really trying to stay away from JavaScript for the backend. I've been considering Ruby on Rails for a React project. How good is Ruby when it comes to creating a Restful API? Just curious to see how quickly you can create one?

  • @Webcrunch
    @WebcrunchАй бұрын

    Rails is great for APIs. You can even create an API version when scaffolding a new app which ignores the view layer. This option is designed for apps that just want the backend and you bring your own frontend with React or similar.

  • @DevlogBill
    @DevlogBillАй бұрын

    @@Webcrunch Thanks Webcrunch I will soon try out Rails to see the developer experience is for me. I heard story about starting a brand new project can be painful but I also heard once you pass this step that things are much easier. I will what my experience will be for me thanks once again.

  • @MikesMidnightWhispers
    @MikesMidnightWhispersАй бұрын

    as a beginner. rails has made crud inCRUDbly easy. so far nothing has come this far.

  • @Webcrunch
    @WebcrunchАй бұрын

    InCRUDible!

  • @ingyaroslav
    @ingyaroslav2 ай бұрын

    Where does the text come from??? Can anyone tell? Absolutely nothing is clear!

  • @Webcrunch
    @WebcrunchАй бұрын

    It's generated with JavaScript

  • @stanislavvranic1745
    @stanislavvranic17452 ай бұрын

    Does anyone work separate desktop-mobile these days???

  • @trevordev555
    @trevordev5552 ай бұрын

    .NET developer who has started working with Ruby and Rails full-time now its all a bit strange to me but what is obvious is just how mature it is even now with dotnet core tooling the .NET eco system doesn't have the mature feeling of tooling and web frameworks but what has impressed me the most is the passionate community Ruby/Rails developers generally seem much happier :-)

  • @Webcrunch
    @Webcrunch2 ай бұрын

    It's definitely a joy to work with in my opinion. I think that's by design. I'll refer back to the doctrine often and find it resonates with my own views a lot rubyonrails.org/doctrine

  • @mistert1628
    @mistert16282 ай бұрын

    ​@Webcrunch I watched DHH's documentary such an inspiring guy I can see how and why the Rails community is what is today.