--Thank you for the heads-up Sam!
-Blake
From: samsaffron
Sent: Wednesday, March 25, 2020 21:56
To: Ruby on Rails: Talk
Subject: [Rails] We are moving to https://discuss.rubyonrails.org/
Hi There,
The Rails team has decided to migrate all the talk, docs and core Google groups to https://discuss.rubyonrails.org/.
Starting from can you post any talk discussion there. If you are having any trouble finding your bearings I will be watching closely and do my best to help out!
The theme used on the forum is open source and accepts contributions https://github.com/rails/discourse-rubyonrails-theme
See you on the forum! We will be locking this group shortly and migrating the final missing posts over to the new home.
Sam
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8342f6e5-a0f7-42ed-aa03-c2711d4d5dae%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5e7c20b1.1c69fb81.f381c.2465%40mx.google.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAGN3KYwBMD1xP%2B_od25dPc8iXpmE7UMf3nRnyRK6Y-%3D7Ju_PHg%40mail.gmail.com.
Thank you for the heads-up Sam!
-Blake
From: samsaffron
Sent: Wednesday, March 25, 2020 21:56
To: Ruby on Rails: Talk
Subject: [Rails] We are moving to https://discuss.rubyonrails.org/
Hi There,
The Rails team has decided to migrate all the talk, docs and core Google groups to https://discuss.rubyonrails.org/.
Starting from can you post any talk discussion there. If you are having any trouble finding your bearings I will be watching closely and do my best to help out!
The theme used on the forum is open source and accepts contributions https://github.com/rails/discourse-rubyonrails-theme
See you on the forum! We will be locking this group shortly and migrating the final missing posts over to the new home.
Sam
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8342f6e5-a0f7-42ed-aa03-c2711d4d5dae%40googlegroups.com.
Hi San,
You can still consume the forum 100% from your mailbox see:
https://discuss.rubyonrails.org/t/what-if-i-dont-want-to-visit-the-forum-and-only-want-to-participate-via-email/73915
On Thu, Mar 26, 2020 at 2:08 PM San Ji <sarun101@gmail.com> wrote:
>
> A little bit sad.
>
> The only reason I am still reading this forum is because I can read it in my email inbox.
>
> IMO, the new forum is easy for people asking something; but for people answering, there is no reason to keep checking the forum regularly.
>
> Goodbye, then
> And thank you for the good works
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/QzmdDH_STlk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/664e915a-dade-4af2-9d5b-811820c732d8%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAAtdryNti%3D1QbFtZWqnMghL7uKR_mdm88DADnX6iKAkQwkFY4g%40mail.gmail.com.
A little bit sad.
The only reason I am still reading this forum is because I can read it in my email inbox.
IMO, the new forum is easy for people asking something; but for people answering, there is no reason to keep checking the forum regularly.
Goodbye, then
And thank you for the good works
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/664e915a-dade-4af2-9d5b-811820c732d8%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8342f6e5-a0f7-42ed-aa03-c2711d4d5dae%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1fa26762-956f-4971-af12-ef9ad9d3ee5c%40googlegroups.com.
It appears that you have configured a database, but that database isn't running correctly, or doesn't have a user named "root". That name is commonly used in a default MySQL install. If you're using a different database engine, then the default user may be named differently. That's where I would start looking. The answer will be very specific to your own server.
Walter
> On Mar 23, 2020, at 11:11 AM, Thouba Nahakpam <samsungmeitei@gmail.com> wrote:
>
> Hello,
> When I try to access localhost:3000, it shows ActiveRecord::NoDatabaseError. Can anybody tell me how to fix it? I have attached a screenshot of it below.
> Thanks.
>
> <RAD.JPG>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/980a2a38-5cf3-4b4d-9e39-582e47604538%40googlegroups.com.
> <RAD.JPG>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/55386CC9-BBEB-407B-97F7-4AC0B0598CE0%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CANoOQ2SXoeiO7i5uOK%2BfAuhxMemZCC_eNQLh1%2BPUEPYoSGhZQQ%40mail.gmail.com.
Rails.logger ||= config.logger || begin
logger = ActiveSupport::Logger.new(config.default_log_file)
....
end
Rails.logger.level = ActiveSupport::Logger.const_get(config.log_level.to_s.upcase)
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f21e6963-3ada-40a6-844d-19fb15172f4e%40googlegroups.com.
It appears that you have configured a database, but that database isn't running correctly, or doesn't have a user named "root". That name is commonly used in a default MySQL install. If you're using a different database engine, then the default user may be named differently. That's where I would start looking. The answer will be very specific to your own server.
Walter
> On Mar 23, 2020, at 11:11 AM, Thouba Nahakpam <samsungmeitei@gmail.com> wrote:
>
> Hello,
> When I try to access localhost:3000, it shows ActiveRecord::NoDatabaseError. Can anybody tell me how to fix it? I have attached a screenshot of it below.
> Thanks.
>
> <RAD.JPG>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/980a2a38-5cf3-4b4d-9e39-582e47604538%40googlegroups.com.
> <RAD.JPG>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/55386CC9-BBEB-407B-97F7-4AC0B0598CE0%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/980a2a38-5cf3-4b4d-9e39-582e47604538%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7ffe6c8f-0346-4424-9ecd-5d52fa298185%40googlegroups.com.
San Ji, thank for your answer. But how does Ruby runtime know which function to call? There must be a way for human to mimic that... Right?On Sat, Mar 21, 2020 at 10:35 AM San Ji <sarun101@gmail.com> wrote:To my knowledge, what you are looking for is not possible for Ruby.
What you got in RubyMine is the closest, basically it index all words and apply some language heuristics to scope down choices. This is good enough in most cases.
Systematic way to do it is impossible because Ruby supports metaprogramming.
Take ActiveRecord as an example, you got attribute-related methods that defines in databases, not even in Ruby code. If you connect to different databases, the method definitions will be different. Nothing can even point that out (represent that) properly, at least not with user interface of an IDE.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/63fd8953-f3a8-47a9-a931-17dd2eb3cce4%40googlegroups.com.
------------------------------
- Ilya Makedon
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOJppg6O0txtYvKgXzEVaeNqM_%3D5Czofe-4vQZZCi-uYHFTaBA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcBXi0BiPo%2BkB7nT8QdNP2orFYcg0oM95pQBDYodyUtQpA%40mail.gmail.com.
To my knowledge, what you are looking for is not possible for Ruby.
What you got in RubyMine is the closest, basically it index all words and apply some language heuristics to scope down choices. This is good enough in most cases.
Systematic way to do it is impossible because Ruby supports metaprogramming.
Take ActiveRecord as an example, you got attribute-related methods that defines in databases, not even in Ruby code. If you connect to different databases, the method definitions will be different. Nothing can even point that out (represent that) properly, at least not with user interface of an IDE.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/63fd8953-f3a8-47a9-a931-17dd2eb3cce4%40googlegroups.com.
- Ilya Makedon
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOJppg6O0txtYvKgXzEVaeNqM_%3D5Czofe-4vQZZCi-uYHFTaBA%40mail.gmail.com.
To my knowledge, what you are looking for is not possible for Ruby.
What you got in RubyMine is the closest, basically it index all words and apply some language heuristics to scope down choices. This is good enough in most cases.
Systematic way to do it is impossible because Ruby supports metaprogramming.
Take ActiveRecord as an example, you got attribute-related methods that defines in databases, not even in Ruby code. If you connect to different databases, the method definitions will be different. Nothing can even point that out (represent that) properly, at least not with user interface of an IDE.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/63fd8953-f3a8-47a9-a931-17dd2eb3cce4%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c6554db8-38f2-4782-8921-f9ecfdf18632%40googlegroups.com.
On Thursday, March 19, 2020 at 5:20:33 PM UTC-5, Ariel Juodziukynas wrote:
I'm not sure if you can have all that with a single AR query, I think you need a custom query (I would use a UNION query an I think AR doesn't support that)El jue., 19 mar. 2020 a las 13:25, Blake LeBlanc (<blake....@gmail.com>) escribió:--When dealing with polymorphic associations, is it possible to have a has_many through query that pulls in ALL available source_types?My understanding so far is that each source type needs its own query method, as I show here in the Image model**image.rb**```has_many :image_tagshas_many :tags, through: :image_tags, source: :taggable, source_type: 'Tag'has_many :people, through: :image_tags, source: :taggable, source_type: 'Person'has_many :businesses, through: :image_tags, source: :taggable, source_type: 'Business'...```**tag.rb**```has_many :image_tags, as: :taggablehas_many :images, through: :image_tags```**image_tag.rb**```belongs_to :imagebelongs_to :taggable, polymorphic: truedef build_taggable(params)self.taggable = taggable_type.constantize.new(params) end```What I'd like to be able to do, however, is create one query method that pulls in all associated records regardless of what source_type they might belong to.Just thinking out loud, would that likely involve creating some sort of raw SQL join that acts directly on the ImageTags table? Or is there a more Railsy/ActiveRecordy way of approaching it?Thank you in advance for any help or insights!-Blake
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonra...@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .c537e34b-2d49-4e30-a197- 2668fb773f99%40googlegroups. com
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bfc6e653-b594-411f-91c6-676b7dc4f9e9%40googlegroups.com.
I meant, specifically, their new open-source video offering. They have a bunch of quick-start code that you can use to build a whole custom videoconferencing rig. I haven't dug into it in depth, but Twilio usually do a very thorough job of documenting (and writing) their applications.
Walter
> On Mar 19, 2020, at 9:59 PM, tom <tomabroad@gmail.com> wrote:
>
> yes thank you, used them for sms...
>
>
>
> On Thu, Mar 19, 2020, 5:18 PM Walter Lee Davis <waltd@wdstudio.com> wrote:
> Have you looked at this yet? https://www.twilio.com/docs/video
>
> Walter
>
> > On Mar 19, 2020, at 5:00 PM, tom <tomabroad@gmail.com> wrote:
> >
> > hi,
> >
> > i have just finished a webrtc chat via action cable, but before spending even more time on it trying to get video on as well, i was wondering if anyone can share any 'tips' or guides.
> >
> > thank you all in advance
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdTHiBGBC86ztTr79JnV_qEdLAn%2BPMJ%3Dyx1H%2Bm%3Drs2HMA%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/73986EB7-E20F-4162-B087-580EB3DA2481%40wdstudio.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfLhswbc_HWDGGXBFZQAeiYZeGgj7wN-CgeKF0dxcR-%3DA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/E47AF41E-F381-4050-824D-427AC7E9ADFB%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMcNxBR03WR9E4PaeiymL4M2_D-%3D3FzSVgHKbsCewQxohw%40mail.gmail.com.
I meant, specifically, their new open-source video offering. They have a bunch of quick-start code that you can use to build a whole custom videoconferencing rig. I haven't dug into it in depth, but Twilio usually do a very thorough job of documenting (and writing) their applications.
Walter
> On Mar 19, 2020, at 9:59 PM, tom <tomabroad@gmail.com> wrote:
>
> yes thank you, used them for sms...
>
>
>
> On Thu, Mar 19, 2020, 5:18 PM Walter Lee Davis <waltd@wdstudio.com> wrote:
> Have you looked at this yet? https://www.twilio.com/docs/video
>
> Walter
>
> > On Mar 19, 2020, at 5:00 PM, tom <tomabroad@gmail.com> wrote:
> >
> > hi,
> >
> > i have just finished a webrtc chat via action cable, but before spending even more time on it trying to get video on as well, i was wondering if anyone can share any 'tips' or guides.
> >
> > thank you all in advance
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdTHiBGBC86ztTr79JnV_qEdLAn%2BPMJ%3Dyx1H%2Bm%3Drs2HMA%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/73986EB7-E20F-4162-B087-580EB3DA2481%40wdstudio.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfLhswbc_HWDGGXBFZQAeiYZeGgj7wN-CgeKF0dxcR-%3DA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/E47AF41E-F381-4050-824D-427AC7E9ADFB%40wdstudio.com.
Have you looked at this yet? https://www.twilio.com/docs/video
Walter
> On Mar 19, 2020, at 5:00 PM, tom <tomabroad@gmail.com> wrote:
>
> hi,
>
> i have just finished a webrtc chat via action cable, but before spending even more time on it trying to get video on as well, i was wondering if anyone can share any 'tips' or guides.
>
> thank you all in advance
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdTHiBGBC86ztTr79JnV_qEdLAn%2BPMJ%3Dyx1H%2Bm%3Drs2HMA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/73986EB7-E20F-4162-B087-580EB3DA2481%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfLhswbc_HWDGGXBFZQAeiYZeGgj7wN-CgeKF0dxcR-%3DA%40mail.gmail.com.
--When dealing with polymorphic associations, is it possible to have a has_many through query that pulls in ALL available source_types?My understanding so far is that each source type needs its own query method, as I show here in the Image model**image.rb**```has_many :image_tagshas_many :tags, through: :image_tags, source: :taggable, source_type: 'Tag'has_many :people, through: :image_tags, source: :taggable, source_type: 'Person'has_many :businesses, through: :image_tags, source: :taggable, source_type: 'Business'...```**tag.rb**```has_many :image_tags, as: :taggablehas_many :images, through: :image_tags```**image_tag.rb**```belongs_to :imagebelongs_to :taggable, polymorphic: truedef build_taggable(params)self.taggable = taggable_type.constantize.new(params)end```What I'd like to be able to do, however, is create one query method that pulls in all associated records regardless of what source_type they might belong to.Just thinking out loud, would that likely involve creating some sort of raw SQL join that acts directly on the ImageTags table? Or is there a more Railsy/ActiveRecordy way of approaching it?Thank you in advance for any help or insights!-Blake
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c537e34b-2d49-4e30-a197-2668fb773f99%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcBnGfBU4xB_yc%3DBdKG8zEpZ-UKKwi2td68qYgkLPP-xhw%40mail.gmail.com.
Have you looked at this yet? https://www.twilio.com/docs/video
Walter
> On Mar 19, 2020, at 5:00 PM, tom <tomabroad@gmail.com> wrote:
>
> hi,
>
> i have just finished a webrtc chat via action cable, but before spending even more time on it trying to get video on as well, i was wondering if anyone can share any 'tips' or guides.
>
> thank you all in advance
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdTHiBGBC86ztTr79JnV_qEdLAn%2BPMJ%3Dyx1H%2Bm%3Drs2HMA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/73986EB7-E20F-4162-B087-580EB3DA2481%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdTHiBGBC86ztTr79JnV_qEdLAn%2BPMJ%3Dyx1H%2Bm%3Drs2HMA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c537e34b-2d49-4e30-a197-2668fb773f99%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ef64b815-1b98-47cc-a6e9-47dfb9862c13%40googlegroups.com.
I've been able to use MailCatcher without docker-compose, but I can't quite figure out how to get it to work in a Rails app that revolves around docker-compose.
One solution I tried is to add the 1080:1080 port assignments to the web section of docker-compose.yml, but the MailCatcher interface doesn't appear at http://localhost:1080/.
Another solution I've tried is to add a mailcatcher section under services to make use of a Docker image dedicated to MailCatcher. While the MailCatcher interface does appear, the email messages I expect when I try to sign up in my local setup do not materialize.
Exactly what am I missing?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d32f3288-b923-4aa5-8360-db8288b69d1e%40googlegroups.com.
We now need an experienced, very capable ruby engineer to work as a consultant. Ideally +/- 3 hrs EST. You would work would an Android developer and two engineers at Penn State and the Indian Team which we still engage.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/64c7d07a-2e0e-457b-8593-b00be8d4ba2f%40googlegroups.com.
On Saturday, March 14, 2020 at 3:45:10 PM UTC-4, San Ji wrote:
No, it isn't.
If you notice only those 2 downside, you'd better stick with you current choice.
MySQL 8 has better encoding support, I am assuming you're mentioning about emoji encodings.
And you can also learn Docker for ease of development to address the other issue you have.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bf2ae0db-db5c-4c08-b10f-b7f49638f444%40googlegroups.com.
Hassan,
On 2020-03-15 11:31, Hassan Schroeder wrote:
> On Sat, Mar 14, 2020 at 3:52 PM Philip Rhoades <phil@pricom.com.au>
> wrote:
>
>> Docker crashed and I lost the Rails container so I have to go back to
>> the original source.
>
> I don't know what "lost the Rails container" means. Can't you just
> rerun the Dockerfile?
No.
>> Could someone suggest how I could fix the problem seen below? - I
>> deleted the Gemfile.lock file first.
>
> Why?
Because leaving the original lock file there caused "bundle install
--path vendor/bundle" to fail with:
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3/ext/json/ext/generator
/usr/bin/ruby -I /usr/share/rubygems -r
./siteconf20200315-119213-1sg3qup.rb extconf.rb
creating Makefile
current directory:
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean
rm -f
rm -f generator.so *.o *.bak mkmf.log .*.time
current directory:
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-DJSON_GENERATOR -fPIC -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fPIC -m64 -o generator.o -c
generator.c
generator.c: In function 'generate_json':
generator.c:861:25: error: 'rb_cFixnum' undeclared (first use in this
function); did you mean 'mFixnum'?
861 | } else if (klass == rb_cFixnum) {
| ^~~~~~~~~~
| mFixnum
generator.c:861:25: note: each undeclared identifier is reported only
once for each function it appears in
generator.c:863:25: error: 'rb_cBignum' undeclared (first use in this
function); did you mean 'mBignum'?
863 | } else if (klass == rb_cBignum) {
| ^~~~~~~~~~
| mBignum
make: *** [Makefile:245: generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3
for inspection.
Results logged to
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot
continue.
Make sure that `gem install json -v '1.8.3' --source
'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
rails was resolved to 4.1.5, which depends on
actionmailer was resolved to 4.1.5, which depends on
actionpack was resolved to 4.1.5, which depends on
actionview was resolved to 4.1.5, which depends on
activesupport was resolved to 4.1.5, which depends on
json
>> $ ./bin/rails s
>> /home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/object/duplicable.rb:82:
>> warning: BigDecimal.new is deprecated; use BigDecimal() method
>> instead.
>> => Booting Puma
>> => Rails 4.1.5 application starting in development on
>
> Did you originally develop this Rails 4.1.5 app using Ruby 2.6.0? Or
> I guess more exactly have you been running it on that Ruby version
> successfully?
I can't remember what version of Ruby it was - it was from earlier than
2015 . . it was running on whatever version of Ruby that was in the
container - which is gone because the whole docker setup was corrupted .
. I may have backups on old hard disks but it would take too long to try
and re-create old OS environment, Docker version etc so I thought the
best thing to do was just the Rails app running directly on my current
machine (Linux Fedora 31).
Thanks,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/86d95cffebf21738357c0028368ec698%40lev.com.au.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CANgbjyf-J-z2q46pRMbU-od6fqG23YrFkn66hN1q3FFLa3eyuA%40mail.gmail.com.
Hassan,
On 2020-03-15 11:31, Hassan Schroeder wrote:
> On Sat, Mar 14, 2020 at 3:52 PM Philip Rhoades <phil@pricom.com.au>
> wrote:
>
>> Docker crashed and I lost the Rails container so I have to go back to
>> the original source.
>
> I don't know what "lost the Rails container" means. Can't you just
> rerun the Dockerfile?
No.
>> Could someone suggest how I could fix the problem seen below? - I
>> deleted the Gemfile.lock file first.
>
> Why?
Because leaving the original lock file there caused "bundle install
--path vendor/bundle" to fail with:
Installing json 1.8.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3/ext/json/ext/generator
/usr/bin/ruby -I /usr/share/rubygems -r
./siteconf20200315-119213-1sg3qup.rb extconf.rb
creating Makefile
current directory:
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean
rm -f
rm -f generator.so *.o *.bak mkmf.log .*.time
current directory:
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-DJSON_GENERATOR -fPIC -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
-fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fPIC -m64 -o generator.o -c
generator.c
generator.c: In function 'generate_json':
generator.c:861:25: error: 'rb_cFixnum' undeclared (first use in this
function); did you mean 'mFixnum'?
861 | } else if (klass == rb_cFixnum) {
| ^~~~~~~~~~
| mFixnum
generator.c:861:25: note: each undeclared identifier is reported only
once for each function it appears in
generator.c:863:25: error: 'rb_cBignum' undeclared (first use in this
function); did you mean 'mBignum'?
863 | } else if (klass == rb_cBignum) {
| ^~~~~~~~~~
| mBignum
make: *** [Makefile:245: generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/json-1.8.3
for inspection.
Results logged to
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-1.8.3/gem_make.out
An error occurred while installing json (1.8.3), and Bundler cannot
continue.
Make sure that `gem install json -v '1.8.3' --source
'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
rails was resolved to 4.1.5, which depends on
actionmailer was resolved to 4.1.5, which depends on
actionpack was resolved to 4.1.5, which depends on
actionview was resolved to 4.1.5, which depends on
activesupport was resolved to 4.1.5, which depends on
json
>> $ ./bin/rails s
>> /home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/object/duplicable.rb:82:
>> warning: BigDecimal.new is deprecated; use BigDecimal() method
>> instead.
>> => Booting Puma
>> => Rails 4.1.5 application starting in development on
>
> Did you originally develop this Rails 4.1.5 app using Ruby 2.6.0? Or
> I guess more exactly have you been running it on that Ruby version
> successfully?
I can't remember what version of Ruby it was - it was from earlier than
2015 . . it was running on whatever version of Ruby that was in the
container - which is gone because the whole docker setup was corrupted .
. I may have backups on old hard disks but it would take too long to try
and re-create old OS environment, Docker version etc so I thought the
best thing to do was just the Rails app running directly on my current
machine (Linux Fedora 31).
Thanks,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/86d95cffebf21738357c0028368ec698%40lev.com.au.
On Sat, Mar 14, 2020 at 3:52 PM Philip Rhoades <phil@pricom.com.au> wrote:
> Docker crashed and I lost the Rails container so I have to go back to
> the original source.
I don't know what "lost the Rails container" means. Can't you just
rerun the Dockerfile?
> Could someone suggest how I could fix the problem seen below? - I
> deleted the Gemfile.lock file first.
Why?
> $ ./bin/rails s
> /home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/object/duplicable.rb:82:
> warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
> => Booting Puma
> => Rails 4.1.5 application starting in development on
Did you originally develop this Rails 4.1.5 app using Ruby 2.6.0? Or
I guess more exactly have you been running it on that Ruby version
successfully?
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCiYMuRZY4xf2SuWLkQCt87eMetgHjsNXKGdX%2BWAGkfkg%40mail.gmail.com.
People,
Docker crashed and I lost the Rails container so I have to go back to
the original source.
Could someone suggest how I could fix the problem seen below? - I
deleted the Gemfile.lock file first.
Thanks,
Phil.
$ bundle install --path vendor/bundle
.
.
Bundle complete! 15 Gemfile dependencies, 54 gems now installed.
Bundled gems are installed into `./vendor/bundle`
$ ./bin/rails s
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/object/duplicable.rb:82:
warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
=> Booting Puma
=> Rails 4.1.5 application starting in development on
http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider
using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/numeric/conversions.rb:121:
warning: constant ::Fixnum is deprecated
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/numeric/conversions.rb:121:
warning: constant ::Bignum is deprecated
Exiting
Traceback (most recent call last):
6734: from ./bin/rails:5:in `<main>'
6733: from ./bin/rails:5:in `require'
6732: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/railties-4.1.5/lib/rails/commands.rb:17:in
`<top (required)>'
6731: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:40:in
`run_command!'
6730: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:76:in
`server'
6729: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:76:in
`tap'
6728: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/railties-4.1.5/lib/rails/commands/commands_tasks.rb:81:in
`block in server'
6727: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/railties-4.1.5/lib/rails/commands/server.rb:67:in
`start'
... 6722 levels...
4: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/numeric/conversions.rb:131:in
`block (2 levels) in <class:Numeric>'
3: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/numeric/conversions.rb:131:in
`block (2 levels) in <class:Numeric>'
2: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/numeric/conversions.rb:131:in
`block (2 levels) in <class:Numeric>'
1: from
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/numeric/conversions.rb:131:in
`block (2 levels) in <class:Numeric>'
/home/phr/src/ruby/rails/domain-sf/vendor/bundle/ruby/2.6.0/gems/activesupport-4.1.5/lib/active_support/core_ext/numeric/conversions.rb:131:in
`block (2 levels) in <class:Numeric>': stack level too deep
(SystemStackError)
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil@pricom.com.au
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f989a2fb7edae3a2c7fa6cd86675ec91%40pricom.com.au.
No, it isn't.
If you notice only those 2 downside, you'd better stick with you current choice.
MySQL 8 has better encoding support, I am assuming you're mentioning about emoji encodings.
And you can also learn Docker for ease of development to address the other issue you have.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c2e76d0c-7fe5-43b3-98c0-57886a498c7c%40googlegroups.com.
About encodings and collations, I guess it depends on the error but if you have encoding or collation errors I guess the problem is the configuration of your tables and the input and not the actual db, you may encounter problems with any db if you try to handle incompatible encodings at the same time.
> On Mar 14, 2020, at 12:17 PM, Rob Jonson <rob@hobbyistsoftware.com> wrote:
>
> thanks folks,
>
> I guess I'm asking more about the practical pain points. - As you say, I trust rails to deal with most of the day-to-day.
>
> do you end up battling to get your postgres install working after upgrading mac (or postgres?)
You can install Postgres as a user-space application (with an icon and everything), so this can be a non-issue.
> do you have problems with string encoding incompatibilities in obscure email addresses?
If it doesn't fit into UTF-8, then you may have a problem. Do you have a problem now, in MySQL? What encoding and charset are you using now?
> do you have a convenient gui for browsing (like SequelPro)
TablePlus is pretty nice.
> are there other similar annoyances, or does it 'just work'
Like another commenter posted, I have used it on Heroku with SQLite on the dev side, and no issues.
>
> whatever I use, I like to stick with the same db in dev & production, ( using mysql or sqlite for my tests and postgres on the server seems like it is asking for trouble)
It could be a problem, or it could be a sign that you are depending on a database feature to hide a bug. At work, we use SQLite for testing (including the CI stuff on GitLab) and Oracle on the production server. We try for 100% test coverage.
Walter
>
> cheers,
>
> Rob
>
>
>
>
> On Sat, 14 Mar 2020 at 15:17, Phil Edelbrock <edelbrp@gmail.com> wrote:
>
> I think Ariel's reply is spot-on. Rails is basically DB agnostic, however I think the trend is that PostgreSQL is the more favored backend (except for stuff like Wordpress). We're doing a lot more SQL procedural stuff these days with our rails apps (e.g. kicking out JSON from a single query can be literally 1,000x times faster in cases vs. asking Rails to query a model and format the same thing). I find PostgreSQL a lot easier to admin as well, but to each their own.
>
> Good luck!
>
>
> Phil
>
>
>> On Mar 14, 2020, at 7:37 AM, Ariel Juodziukynas <arieljuod@gmail.com> wrote:
>>
>> Usually ActiveRecord takes care of most of the differences, and postresql has a lot of similarities with mysql. I guess it would be a different call if you ask about learning a completely different db engine like mongo or graphql, but learning postgresql shouldn't take too much time knowing MySQL, at least to be proficient. I even have a project that I used sqlite to prototype and postresql when deploying it to heroku for tests and I had to do nothing to make it work on both databases thanks to AR.
>>
>> Also, heroku prefers postrgres for example and heroku is really popular for rails hosting.
>>
>> El sáb., 14 mar. 2020 a las 10:58, Rob Jonson (<rob.jonson@gmail.com>) escribió:
>> Hi Folks,
>>
>> I have been using Mysql for forever, and broadly it works fine for me, with two complaints
>> 1) occasional issues with mismatches in encoding/collation on strings
>> 2) hours lost on every mac upgrade trying to get mysql working properly again
>>
>> I know that people are generally favouring postgresql these days, I'm wondering if anyone can comment on whether it's worth putting in the effort to learn a new db?
>>
>> all the best
>>
>> Rob
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/495925de-561d-4561-bb70-dfe9549219a8%40googlegroups.com.
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcBqX0Y3R_63yfarpdV%2B0qesh3VGzeTzP2bV0inbGMxoOQ%40mail.gmail.com.
>
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/HjmTuU1QoNM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/BE54840B-0F95-4AB6-831B-90A3205AD2A6%40gmail.com.
>
>
> --
>
>
>
>
>
> Hobbyist Software is a trading name of Hobbyist Software Limited. Registered office 12 Fraley Rd, Bristol, BS93BS. Registered in England. Company no:7876492
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACTOy%2BrggoJWMrmsUZiFFst5wNpKvEM7eRtzjfBxKwXtJEqvOA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/61EC1866-A39A-4331-A215-B98AF43716BF%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcCtgM8hOF-sgLuYPBqWAp9MgZ1o923w70ShFrpkvJiG-w%40mail.gmail.com.