[Rails] [ANN] active_record_doctor 1.6.0 - identify database issues before they hit production

2018-10-30 Thread Greg Navis
Hi! I'm pleased to announce the release of active_record_doctor 1.6.0. It can help you to: - New feature: Detect missing presence validations - New feature: Detect missing non-NULL constraints - Detect soft-deletable models with inappropriate indexes - Detect models referencing undefined tables

[Rails] Re: [ActionCable] Filter data based on params

2018-10-30 Thread Stefan Buhrmester
Ok, just dug into the source code and think I found a solution: stream_from 'some_channel', coder: ActiveSupport::JSON do |person| transmit(thing) if (person['age'].to_i > params[:min_age]) end On Wednesday, October 31, 2018 at 2:30:44 AM UTC+9, Stefan Buhrmester wrote: > > Hello all, > >

Re: [Rails] How do I create an image object from a remote image url

2018-10-30 Thread fugee ohu
On Tuesday, October 30, 2018 at 1:24:55 PM UTC-4, Walter Lee Davis wrote: > > > > On Oct 30, 2018, at 1:11 PM, fugee ohu > > wrote: > > > > > > > > On Tuesday, October 30, 2018 at 1:02:59 PM UTC-4, Walter Lee Davis > wrote: > > > > > On Oct 30, 2018, at 12:09 PM, fugee ohu wrote: > > >

[Rails] [ActionCable] Filter data based on params

2018-10-30 Thread Stefan Buhrmester
Hello all, I've been searching a lot but wasn't able to find a solution for this (what I thought should be a really "simple" thing). Basically, what I want to do is to create a subscription where the messages that are received by the subscriber are filtered based on the passed params. For

Re: [Rails] How do I create an image object from a remote image url

2018-10-30 Thread Walter Lee Davis
> On Oct 30, 2018, at 1:11 PM, fugee ohu wrote: > > > > On Tuesday, October 30, 2018 at 1:02:59 PM UTC-4, Walter Lee Davis wrote: > > > On Oct 30, 2018, at 12:09 PM, fugee ohu wrote: > > > > > > > > On Monday, October 29, 2018 at 11:28:58 PM UTC-4, Walter Lee Davis wrote: > > > > >

Re: [Rails] How do I create an image object from a remote image url

2018-10-30 Thread fugee ohu
On Tuesday, October 30, 2018 at 1:02:59 PM UTC-4, Walter Lee Davis wrote: > > > > On Oct 30, 2018, at 12:09 PM, fugee ohu > > wrote: > > > > > > > > On Monday, October 29, 2018 at 11:28:58 PM UTC-4, Walter Lee Davis > wrote: > > > > > On Oct 29, 2018, at 10:08 PM, fugee ohu wrote: > >

Re: [Rails] How do I create an image object from a remote image url

2018-10-30 Thread Walter Lee Davis
> On Oct 30, 2018, at 12:09 PM, fugee ohu wrote: > > > > On Monday, October 29, 2018 at 11:28:58 PM UTC-4, Walter Lee Davis wrote: > > > On Oct 29, 2018, at 10:08 PM, fugee ohu wrote: > > > > > > > > On Monday, October 29, 2018 at 10:14:44 AM UTC-4, Colin Law wrote: > > On Mon, 29 Oct

Re: [Rails] How do I create an image object from a remote image url

2018-10-30 Thread fugee ohu
On Monday, October 29, 2018 at 11:28:58 PM UTC-4, Walter Lee Davis wrote: > > > > On Oct 29, 2018, at 10:08 PM, fugee ohu > > wrote: > > > > > > > > On Monday, October 29, 2018 at 10:14:44 AM UTC-4, Colin Law wrote: > > On Mon, 29 Oct 2018 at 11:54, fugee ohu wrote: > > > > > > On

Re: [Rails] Why SPAs are usually a waste of time/money

2018-10-30 Thread fugee ohu
On Tuesday, October 30, 2018 at 10:57:55 AM UTC-4, Karthikeyan A K wrote: > > I have always stuck with the rails way and it has paid me huge dividends. > Yes, in my company we have experimented with single page apps and have > found that it took far greater time to build anything. I am happy

Re: [Rails] Why SPAs are usually a waste of time/money

2018-10-30 Thread Karthikeyan A K
I have always stuck with the rails way and it has paid me huge dividends. Yes, in my company we have experimented with single page apps and have found that it took far greater time to build anything. I am happy that some one is speaking against SPA's. Its like this, a micro kernel OS looks good

[Rails] Why SPAs are usually a waste of time/money

2018-10-30 Thread Greg Navis
Hey! I'd like to share an article with you why SPAs are a bad architectural choice from a business perspective 99% of the time. https://www.gregnavis.com/articles/the-architecture-no-one-needs.html Thoughts? Best regards Greg Navis -- You received this message because you are subscribed to