Multitenancy in Rails with the Apartment gem

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 13

  • @AdamMorgan85
    @AdamMorgan85 7 ปีที่แล้ว +2

    I wonder if you could help, at 6:30 in I migrate the database but get the following error - "NameError: uninitialized constant Apartment::Elevators Did you mean? Delegator" - I'm on Ruby 2.3, Rails 5.0.5 - I've created a PostgresDB (which I ensured was setup and created) whilst running locally. Been Googling for the last 3 hours and getting no where. :(

    • @souhailkaoussi6415
      @souhailkaoussi6415 7 ปีที่แล้ว +1

      add require 'apartment/elevators/subdomain' to the top of your application.rb file

  • @leonardorocha1481
    @leonardorocha1481 6 ปีที่แล้ว +1

    Nice Chris, thanks :D

  • @mattborisov
    @mattborisov 6 ปีที่แล้ว

    Thanks a lot for the video!

  • @denisyakovenko7235
    @denisyakovenko7235 9 ปีที่แล้ว +1

    man, thanks a lot for the video!

  • @TheX3media
    @TheX3media 4 ปีที่แล้ว

    Thanks for the video tutorial, I cant find the next episode, was it created?

  • @pcastelo
    @pcastelo 9 ปีที่แล้ว +1

    can you provide a step-by-step guide to use apartment with devise?

    • @GorailsTV
      @GorailsTV  9 ปีที่แล้ว +1

      +Pablo Castelo I'd be happy to!

    • @pcastelo
      @pcastelo 9 ปีที่แล้ว

      +GoRails great tutorial BTW! Looking forward for the how-to on devise :D

    • @danhuang6588
      @danhuang6588 9 ปีที่แล้ว

      +GoRails where can we find the step-by-step guide?

  • @sathiyarajb3608
    @sathiyarajb3608 5 ปีที่แล้ว

    I run rake db:migrate and got this error WARN: Unresolved specs during Gem::Specification.reset:
    minitest (~> 5.1)
    WARN: Clearing out unresolved specs.
    Please report a bug if this causes problems.
    please help me

  • @josephandres4324
    @josephandres4324 4 ปีที่แล้ว

    sadly I have run into all sorts of errors trying to imply ActionCable in a multi tenant app, in fact i don't think that it would be possible to do that in Rails 6 yet.

    • @ZetaNovaWeb
      @ZetaNovaWeb 4 ปีที่แล้ว

      The correct way to test with rails 6 at this moment is, install from github branch development
      gem 'apartment', github: 'influitive/apartment', branch: 'development'