This is excellent! I’ve been doing IT consulting for 3 years and have learned much of the lessons you discussed here. Your video inspires me to dare to take the chance and bet on myself. Thanks!
@mixandgo2 күн бұрын
Happy to hear 💪
@bylbanos5 күн бұрын
Exactly what I was looking for, thank you!
@mixandgo5 күн бұрын
Glad I could help!
@anishkumbhar40789 күн бұрын
But what abt limited libraries, isn't it a problem with rails? I myself is a rails user but confused between rails and mern?
@mixandgo9 күн бұрын
Not a problem as far as I can see, and I've been using it for 16 years.
@anishkumbhar40789 күн бұрын
@mixandgo but are there enough libraries for any startup to use it as their tech stack
@mixandgo9 күн бұрын
@anishkumbhar4078 for sure
@anishkumbhar40789 күн бұрын
@@mixandgo can you tell one more thing, which will be a good hosting platform for rails for a startup
@mixandgo9 күн бұрын
@anishkumbhar4078 Heroku, Fly.io, erc. or even custom VPSes (which is another way to go)
@xzerodeathx18 күн бұрын
Ew tables I rather stick with mjml
@lauraj142723 күн бұрын
Simple and great!!!
@mixandgo23 күн бұрын
Glad you like it!
@tonio3920Ай бұрын
If you're new to programming, I would say no-it's too abstract, with too many conventions, and you have to guess what the "RoR magic" is doing. It seems simple at first glance, but it's actually not. I didn’t know the framework, but I managed a team of developers working with RoR, including juniors-what a mistake that was. I recently started coding with this framework myself (more out of obligation than choice). Every day, I feel like pulling my hair out. If I had known how frustrating it is, I would have switched to a different technology.
@mixandgoАй бұрын
A course can easily fix that.
@rubywaleАй бұрын
Thanks CEZAR for explaining the concepts.
@mixandgoАй бұрын
Glad it was helpful
@rpf23543Ай бұрын
These tutorials are so great, thanks a lot!
@mixandgoАй бұрын
You are welcome
@gabrielmoreiraassuncaogass8044Ай бұрын
If it's all true, great for you man. Let's go
@abdullahsaleh7196Ай бұрын
Keep it up on rails ❤❤
@mixandgoАй бұрын
Thank you, I will
@koojoseph1958Ай бұрын
Thank you for this requirement specification
@flygreybird2 ай бұрын
Thank you, this is spot on, I got it working right away on my existing Rails 7.2 project. I just can't work out how I can now override the bootstrap variables to match your own theming, because Bootstrap's guide to this says you need to override them after the functions are included but before the rest of bootstrap, whereas with the cssbundler-rails install, it's just included as one monolith. I realise it's a long shot as it's a 2 year old video, but if anyone has any advice on this I'd really appreciate it!
@flygreybird2 ай бұрын
I've answered my own question - just copied out the contents of /node_modules/bootstrap/scss/bootstrap.scss to my application.bootstrap.scss and inserted the variable overrides as recommended by the Bootstrap docs. Thanks again for the guide!
@SteveHazel2 ай бұрын
well you were right :)
@shinzhang49612 ай бұрын
Thank you!
@swapnilkawade82352 ай бұрын
All of your hotwire tutorials are amazing! Even after 2 years and so many great updates they're still relevant, concise and to the point! Thank you for such awesome content! Subscribed!
@mixandgo2 ай бұрын
Wow! Thank you for your kind words.
@zulhilmizainudin2 ай бұрын
This is cool. Is it possible to append the stream response into the UI/DOM as soon as stream chunk is received instead of waiting for all chunks to arrive first?
@mixandgo2 ай бұрын
Yes, you can stream each chunk to the UI as soon as you get it.
@BubblegumSneaker2 ай бұрын
This is great. I finally grasp certain parts about setting up AI bots in rails.
@eidiazcas2 ай бұрын
Ruby is an absolutely horrible language
@eidiazcas2 ай бұрын
and rails is even worse
@mixandgo2 ай бұрын
Good to know. I was on the fence :))
@rpf235432 ай бұрын
What a great tutorial and explanation, thank you!
@mixandgo2 ай бұрын
Thank you.
@janley60043 ай бұрын
Thanks for the clear explanation! I do have a question though. Sending a database query every time a user types a character in a search form seems like it could be heavy on the backend. For larger applications, would it be better to handle this in JavaScript by sorting and filtering a JSON file on the client side instead?
@mixandgo3 ай бұрын
You can debounce the input events, so it only makes a request when you pause for a few milliseconds. Doing it entirely on the client side is not ok if you have a lot of records. You'd have to load them all in memory.
@Waseek69Ahmad3 ай бұрын
This is gold
@khizerHayat-be9ww5 ай бұрын
Everyone Are Disheartening Us Every Time .. If we want to learn React Native then some KZbinrs will come and Start the Darama " Will React Dead Dead in 2024 " 😂😂 What should we learn???
@techmindssolutions5 ай бұрын
I'm Indian, ruby on rails developer
@laughingvampire75555 ай бұрын
Rails had not only the answer to React, it also had the upper hand because we already had HTMX before React, it was called Intercooler.js, made by the same guy, with the same concept and the guy was a rails developer, the examples of intercooler.js are using Rails.
@laughingvampire75555 ай бұрын
I don't think is going to become more popular or replace rails partials because we have had alternatives to ERB like haml and nothing happened, we also had this ability to produce components with Arbre (an OO DOM tree) since the ActiveAdmin team extract it from their repo and that is at least 12 years ago and nothing happened, we have other alternatives like Phlex which will dilute the interest in multiple options and nothing will happen. I love the idea of building with components ala React however, given that we have had Arbre since 2012 a full year before React, so with this OO Dom tree concept, Rails community could've get ahead of the curve and we failed. We also had this guy the Grug dev who made Intercooler.js now it's second version named HTMX and we could've gotten ahead of React with it once again, we also failed at that. The community is so focused on the Omakase from DHH we simply fail to adopt new tech that could improve Rails beyond DHH's imagination. Another point is that all the documentation material that helps people get into Rails and all the help that exists in StackOverflow etc is focused on erb partials. We all understand that we work on teams with these wonderful folk we call designers who provide us with HTML so converting it to Ruby Objects is problematic. I think Rails community has to move beyond DHH and make any of this gems Arbre, Phlex, ViewComponent, etc make it so Rails becomes a zero-layer framework that does the reactive calculations, but we are still behind this compared with the rest of the communities.
@Aksafan5 ай бұрын
Came here from a clickbait title to improve my RoR skills but have got another type of information. Still valuable but totally not that expected from a title...
@wpftutorial5 ай бұрын
If you're using Rails with hotwire/turbo, you need to add data-turbo-action="advance" to each pagination link so the URL changes on click. Since this video was posted Pagy went from v5 to v8 and now you have to pass in an anchor_string param to the pagy backend function. In your controller it'll look something like: "@pagy, @leads = pagy(filtered, items: 10, anchor_string: 'data-turbo-action="advance"')" Thanks for the video saved me a ton of time!
@eidiazcas5 ай бұрын
Ruby is Ok, but I hate its LSP, fragile and a lot of times useless
@mixandgo5 ай бұрын
I've written ruby code for 15 years without LSP, and it was fine. You don't really need it.
@ahmedthegreat39735 ай бұрын
@@mixandgo ^ an LSP is nice to have but not required most of the time, but yeah the current Ruby LSP by Shopify is very basic right now, It doesn't have much autocompletion functionality and has a few other problems. It will probably get better as time goes on.
@MiguelPeniche6 ай бұрын
I do like your video but OMG do we need to see your expressionless face while you read your screen all the time? Just read off camera! I really want to follow your stuff but no, too much ego these days.
@mixandgo6 ай бұрын
Here's something you should know: My goal in life is not to please entitled shitheads. So move on.
@mrRambleGamble6 ай бұрын
Zoom in. The text is hard to see on mobile
@masoud-abedi6 ай бұрын
Thanks a lot for the content. I have a button on my form, and I want to run a render, but I need to send the output to a server. I'm trying to show a message, but I'm having trouble because of the render. Here's my code: def my_button mydata = render json: @project, include: [params[:include]] ... flash[:notice] = "#{t('project')} was successfully published with ID #{identifier}." respond_to do |format| format.html { redirect_to(@project) } format.rdf { render template: 'rdf/show' } format.json { render json: @project, include: [params[:include]] } end end Any ideas on how to fix this? Thanks!
@diegoiturra31346 ай бұрын
Great video, thanks for inspiring
@mixandgo6 ай бұрын
Thank you
@rpf235436 ай бұрын
Thank you! Precise and clear, many options. Great!
@mixandgo6 ай бұрын
Glad to hear you like it
@climatemojo7 ай бұрын
Super helpful, Cezar. Thanks for the details on updating a frame other than the one initiating the action.
@mixandgo7 ай бұрын
Glad to hear you like it.
@TrisNowel7 ай бұрын
Great channel. I’d like to thank you for making such informative content.
@mixandgo7 ай бұрын
I appreciate it.
@alessandro-desimone7 ай бұрын
Nice video, thanks, but I am still in the rabbit hole. Every new Rails version states to simplify the assets pipeline ... adding new ways to do things. Anyway that's what we got, thanks for trying to clarify this complex topic.
@samuelcornet287 ай бұрын
Thank you for sharing!
@mixandgo7 ай бұрын
My pleasure.
@мараткаримов-с6ч7 ай бұрын
Very good
@dellanmuchengapadare37927 ай бұрын
How us thiis different frim the adapter pattern
@fuu8126 ай бұрын
Just googled it, seems like strategy operates on behavior, therefore should allow switching at any time. Eg. Study a topic by lecture, book or video.
@vinhlythe97887 ай бұрын
like this video because you attached github link
@fabiantorresm8 ай бұрын
Your channel is very good, I have learned a lot from you, thank you. Congratulations on your channel. Hey, sorry for the question, can you create a system of custom fields with this? For example, create a post that has an attribute called post_type that can be a post, page, product and depending on what the user chooses, a form with different fields is displayed, of course these fields will be saved in another table so that each type of post has its own attributes and each post its own values
@mixandgo8 ай бұрын
Thanks. I'm glad you like the channel. Sure. You can create that.
@alexax38888 ай бұрын
Great video, thanks for the detailed steps. I installed this on an existing ror app and after finishing the steps from the video I got the error "Error ActionView::Template::Error (Asset `application.js` was not declared to be precompiled in production." I could fix this by running the rails javascript:install:esbuild command again.
@arnab53948 ай бұрын
Nice one 👍
@mixandgo8 ай бұрын
Thank you
@baingfx8 ай бұрын
Thank you! It's very useful video and helps resolve my problem.
@mixandgo8 ай бұрын
Happy to hear
@Mo0eY8 ай бұрын
What drawing board app is that? And are you using an iPad to draw?
@mixandgo8 ай бұрын
Yes, I'm using an iPad. The app is called Notability.
@SketchupGuru8 ай бұрын
I have a website with 10k visits per month. Im currently learning the odin project and almost done with foundations. I live in Germany and i see a lot more jobs for JavaScript than ror. I want to eventually get a job but i really want to learnr ror. Do you think i should take the ror path or the JavaScript path.. thanks
@SketchupGuru8 ай бұрын
Also do you think I can use RoR skills to build a e-learning website?
@mixandgo8 ай бұрын
Currently, or at least in recent years, Javascript has become much more popular than Rails, and there are many more jobs for Javascript. I would say that if you want to play it safe, and get a job, go with Javascript. That's not to say you won't find jobs on Rails. But it's harder.
@mixandgo8 ай бұрын
@SketchupGuru You can definitely build any SaaS app with Rails. Also, you're still going to use Javascript with Rails. It's just that you don't rely as heavily on it because there are other (ahem, better) tools that Rails gives you.
@SketchupGuru8 ай бұрын
Got it. Thankyou brother
@adrianguzman93718 ай бұрын
As of 2024, the flags to start the project with esbuild and tailwind have changed a little. This is what I used: rails new project_name -T -j esbuild -c tailwind
@promiseuka9 ай бұрын
Glad I can always come back to re-watch this.
@mixandgo9 ай бұрын
There are more live stream recordings inside the members section.