How to use Multiple Databases in Rails 6.0

  Рет қаралды 9,031

GoRails

GoRails

Күн бұрын

Пікірлер: 15
@soyun81
@soyun81 Жыл бұрын
amazing video !
@bondhansarker8009
@bondhansarker8009 2 жыл бұрын
Can we use different type of databases? I mean to say can we use relational and non-relational databases in the same app?
@kieranklaassen
@kieranklaassen 5 жыл бұрын
Thanks again for a great video!
@GorailsTV
@GorailsTV 5 жыл бұрын
Glad you liked it, thanks for watching! 🙏
@lennyy8330
@lennyy8330 5 жыл бұрын
Your videos are really helpful. Thanks a lot 🙏
@GorailsTV
@GorailsTV 5 жыл бұрын
Glad you’re enjoying them! 🙌
@dikudas2417
@dikudas2417 2 жыл бұрын
Hi GoRails, I am new to rails...I did exactly same as your video but when I run rails db:create:all, the replica databases were not created only the primary database and the animal database were created. I have mentioned writing and reading role in the model also but still I am unable to find the replica databases which I define as by replica: true. Please help
@pradeepn.p4125
@pradeepn.p4125 4 жыл бұрын
I have 2 existing databases, basically legacy databases. I am trying to connect both the database using the same way that you have done, it is not working. What would be the problem? I am using Rails 6
@Ashton351
@Ashton351 3 жыл бұрын
Is this database.yml syntax documented anywhere?
@julianpinzoneslava
@julianpinzoneslava 5 жыл бұрын
Great video! I’m currently struggling with the setup of replicas in development to track a bug I found in my staging environment regarding manual connection switching. Any advice on how to do this? Is there a rails way to do it? I’m currently exploring docker for this but it has a very steep learning curve
@GorailsTV
@GorailsTV 5 жыл бұрын
Docker might be handy here to make it easier to run two servers at once. I haven't setup a replica in Docker before, but for your own postgres servers, you typically need to edit the configs. Otherwise you could run two postgres servers on your local machine and just setup two different configs and start each server pointing to the different configs: blog.raveland.org/post/postgresql_sr/
@dmytrokharytonenko5016
@dmytrokharytonenko5016 5 жыл бұрын
Thanks!
@emmannweb
@emmannweb 3 жыл бұрын
Nice work! i'm wondering if you could make a video on datagrid gem with rails 6. i would be grateful
@LucivaldoCastroCasteloBranco
@LucivaldoCastroCasteloBranco 5 жыл бұрын
You could make a friendlier price for us Brazilians, as some other course sites do. I want to subscribe, but I would like the price to be a little lower.
@GorailsTV
@GorailsTV 5 жыл бұрын
Send me an email! I'm happy to help.
Multitenancy in Rails with the Apartment gem
24:00
GoRails
Рет қаралды 27 М.
Dynamic Select Fields in Rails using Hotwire
19:46
GoRails
Рет қаралды 25 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How to Configure Multiple Databases with Rails
20:08
GoRails
Рет қаралды 1 М.
How To Use Import Maps with Rails
18:12
GoRails
Рет қаралды 1,9 М.
Introduction to Hotwire in Ruby on Rails
10:17
Mix & Go
Рет қаралды 22 М.
Running Multiple Databases In Ruby On Rails 7
12:28
Deanin
Рет қаралды 4,9 М.
Ruby on Rails #88 Import CSV and parse it within a Rails app
17:17
Upgrading a Rails 6.1 application to Rails 7 - clearbnb - Part 7
21:15
CJ Avilla (cjav_dev)
Рет қаралды 5 М.
Beginner's Crash Course to Elastic Stack -  Part 1: Intro to Elasticsearch and Kibana
56:42
How to write System Tests in Rails
13:21
GoRails
Рет қаралды 9 М.
Neo4j (Graph Database) Crash Course
1:23:08
Laith Academy
Рет қаралды 247 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН