Understanding Ruby on Rails Active Record Migrations
Vložit
- čas přidán 12. 06. 2024
- Hi, My name is Andy Leverenz and I work as a Product Designer at Dribbble. For fun, I design, code, and write. Check out my blog called Web-Crunch web-crunch.com where I publish design and development tutorials with the occasional vlog.
====================
Active Record migrations (within Ruby on Rails) are a convenient way to alter your database schema of a period of time. This overview/guide is a look at just what you can achieve with migrations and why they are the backbone of any given Ruby on Rails application. We'll talk about conventions, techniques, and how to extend a migration to fit your application's own respective needs.
What are migrations?
Active Record migrations use a Ruby DSL (Domain specific language) to generate the necessary SQL automatically so you don't have to author it by hand. This allows you to keep your schema changes to be database independent.
Think of each migration as a new version of the database. You can add to the schema or subtract from the schema.
Continue reading 👉 web-crunch.com/understanding-...
====================
📰 Subscribe:
czcams.com/users/webcrunc...
💎🛤 NEW COURSE: HELLO RAILS - Get notified
hellorails.io
💻 Previously published at:
web-crunch.com/understanding-...
💻 Check out the blog:
web-crunch.com
🦄 Check out my personal site:
justalever.com
🚀 Links:
Weekly Newsletter: web-crunch.com/subscribe
Twitter: / webcrunchblog
Twitter(Personal Account): / justalever
Facebook: / webcrunchblog
Dribbble: dribbble.com/justalever
Github: github.com/justalever
Medium: / the-web-crunch
📘Check out my book on UX Design:
"LUXD: Learn User Experience Design"
web-crunch.com/books/luxd
📙 Check out my FREE book on Tumblr Theming:
"Pro Tumblr Theming"
web-crunch.com/books/ptt
💯 Need awesome web hosting? Check out cloudways. They allow me to use a variety of hosting providers and build apps with ease:
bit.ly/webcrunchhosting
🌊 Need more advanced hosting for Rails, PHP, Node, or other projects? Digital Ocean has you covered.
m.do.co/c/ee243ee15648
💎 Ruby on Rails devs, Try HatchBox.io. You'll save upwards of 50% compared to Heroku. I use it and love it!
hatchbox.io/?via=andy
☕️ 🙏🏻 Patreon
/ webcrunch
☕️ Or buy me a coffee
www.buymeacoffee.com/webcrunch
Best Rails Active Record video, better than Rails guides lol, thanks.
Glad you enjoyed it!
This is great to see from the A to Z and how to troubleshoot and find answers, really excited !!
Thanks for this great series! I'm grateful for you putting in the time to create these. Keep creating awesome videos :-)
Thank you, these types of videos really help with learning!
Man your videos are awesome. Keep up the hard work, it's much appreciated.
Great video! Super concise explanations! I appreciate the work you put in for it.
Thank you, very good and helpful video!
Nice and clear, thanks a lot!
thanks man. you're a awesome teacher
Thank you!
Great video thanks :)
Would have spent a ton of time learning all these commands from reading the docs. This is exactly what I wanted to know how to do. Thanks!
Thanks for your videos, some tool to create migrations using an existing database
thanks bro, its work
awesome!
Great video. Are you going to continue the build with Rails series. It's great.
Thanks! I plan to yes, those are super time consuming so they will be coming at less frequent intervals. I'm going to poll soon to see what I should build next.
Andy, I wanna know what oh-my-zsh theme are you using? :D
I just checked. It's called "theunraveler" but I've recently switched to github.com/denysdovhan/spaceship-prompt
Thanks, maestre!
do you know crystal lang and amber framework?
I want to know them! I hear great things about crystal.
@@Webcrunch amberframework.org can handle 891000 json responses per second compared to node.js which can 561000.