« Back to channel list

#RubyOnRails - 17 June 2018

« Back 1 day Forward 1 day »
[00:12:57] pixelhandler: has joined #RubyOnRails
[00:17:21] DTZUZO: has joined #RubyOnRails
[00:24:57] roamingdog: has joined #RubyOnRails
[00:33:48] beilabs: has joined #RubyOnRails
[00:34:52] diego1: has joined #RubyOnRails
[00:45:56] beilabs_: has joined #RubyOnRails
[01:50:56] sagax: has joined #RubyOnRails
[02:12:34] quazimodo: has joined #RubyOnRails
[02:18:14] Technodrome: has joined #RubyOnRails
[02:26:26] apparition: has joined #RubyOnRails
[02:38:53] td123: has joined #RubyOnRails
[02:40:24] rafaeldelucena: has joined #RubyOnRails
[03:10:46] braincrash: has joined #RubyOnRails
[03:22:57] dogweather: has joined #RubyOnRails
[03:53:44] dogweather: has joined #RubyOnRails
[03:59:18] sevenseacat: has joined #RubyOnRails
[04:17:57] tdy: has joined #RubyOnRails
[04:19:07] dogweather: has joined #RubyOnRails
[04:27:08] dionysus69: has joined #RubyOnRails
[04:45:03] dogweather: has joined #RubyOnRails
[04:56:45] dogweather: has joined #RubyOnRails
[05:32:17] conta: has joined #RubyOnRails
[05:53:47] dogweather: has joined #RubyOnRails
[06:06:20] psychoslave_: has joined #RubyOnRails
[06:07:52] dogweather: has joined #RubyOnRails
[06:21:18] dogweather: has joined #RubyOnRails
[06:29:23] quazimodo: has joined #RubyOnRails
[06:29:40] apparition: has joined #RubyOnRails
[06:37:44] Xiti: has joined #RubyOnRails
[06:39:08] Technodrome: has joined #RubyOnRails
[06:40:34] yottanami: has joined #RubyOnRails
[06:40:50] yottanami: How can I change this query to works? `Bet.joins(:game).where(game.expire_date > :created_at)`
[06:46:47] Radar: what is created_at?
[06:47:47] Radar: yottanami:
[06:49:55] yottanami: Radar, the time of creating the table
[06:50:01] Radar: which table
[06:51:10] yottanami: Radar, Game and Bet are two different tables, Bet belongs_to Game and Game has_many Bets. Game has a field named expire_date. I need find Bets that created_at after expire_date of game
[06:51:30] reber: has joined #RubyOnRails
[06:51:30] Radar: That is a better explanation.
[06:52:13] Radar: Bet.joins(:game).where("games.expire_date > bets.created_at") will probably do it
[06:54:34] yottanami: Radar, Thanks
[06:58:54] yottanami: Radar, is there any chance to change created_at + 2.hours in coundition?
[07:09:22] JamJam_kid: has joined #RubyOnRails
[07:36:23] srinidhi: has joined #RubyOnRails
[07:42:19] sandstrom: has joined #RubyOnRails
[07:53:09] dogweather: has joined #RubyOnRails
[07:57:32] mtkd: has joined #RubyOnRails
[08:12:01] drale2k_: has joined #RubyOnRails
[08:22:01] dminuoso: Bet.joins(:game).where(Game.arel_table[:expire_date].gt(Bet.arel_table[:created_at]))
[08:22:04] dminuoso: ACTION shrugs
[08:33:42] drale2k_: has joined #RubyOnRails
[08:43:28] blackmesa1: has joined #RubyOnRails
[08:46:54] conta: has joined #RubyOnRails
[08:47:30] dogweather: has joined #RubyOnRails
[08:59:17] sameerynho: has joined #RubyOnRails
[09:12:33] drale2k_: has joined #RubyOnRails
[09:20:55] mtkd: has joined #RubyOnRails
[09:36:29] DrYockel: has joined #RubyOnRails
[09:45:46] apeiros: yottanami: you'll have to use date math of your db, and that's db dependent
[10:01:19] drale2k_: has joined #RubyOnRails
[10:05:09] roamingdog: has joined #RubyOnRails
[10:06:48] dogweather: has joined #RubyOnRails
[10:11:10] dminuoso: apeiros: huh?
[10:11:34] apeiros: dminuoso: huh what?
[10:15:06] FernandoBasso: has joined #RubyOnRails
[10:23:48] desperek: has joined #RubyOnRails
[10:42:44] mtkd: has joined #RubyOnRails
[10:57:07] dogweather: has joined #RubyOnRails
[11:07:45] Slyda1: has joined #RubyOnRails
[11:27:51] OneNeptune: has joined #RubyOnRails
[11:36:06] conta: has joined #RubyOnRails
[12:01:33] blackmesa1: has joined #RubyOnRails
[12:04:22] sandstrom: has joined #RubyOnRails
[12:15:05] sonOfRa: has joined #RubyOnRails
[12:27:21] DoubleMalt: has joined #RubyOnRails
[12:31:24] sonOfRa: has joined #RubyOnRails
[12:32:40] beilabs: has joined #RubyOnRails
[12:54:44] lunarkitty7: has joined #RubyOnRails
[13:04:57] Ericx2x: has joined #RubyOnRails
[13:11:54] OneNeptune: has joined #RubyOnRails
[13:14:39] GodFather: has joined #RubyOnRails
[13:17:22] GodFather: has joined #RubyOnRails
[13:18:57] NoGodDamnIdea: has joined #RubyOnRails
[13:36:23] apparition: has joined #RubyOnRails
[13:44:17] sandstrom: has joined #RubyOnRails
[13:45:08] OneNeptune: has joined #RubyOnRails
[13:46:05] mtkd: has joined #RubyOnRails
[13:47:46] OneNeptune: has joined #RubyOnRails
[13:55:31] sandstrom: has joined #RubyOnRails
[13:59:25] andywww: has joined #RubyOnRails
[14:07:09] SexiestManAlive: has joined #RubyOnRails
[14:26:51] Ericx2x: has joined #RubyOnRails
[14:42:52] drale2k_: has joined #RubyOnRails
[14:47:54] Puffball: has joined #RubyOnRails
[14:54:42] fmcgeough: has joined #RubyOnRails
[15:01:43] ellcs: has joined #RubyOnRails
[15:09:53] drale2k_: has joined #RubyOnRails
[15:16:01] SexiestManAlive: may I guess that Ruby on Rails folks has been making Web API before MSFT folks were doing it with ASP.NET MVC + WebAPI?
[15:16:25] SexiestManAlive: if so, is there a fairly recent book or screencast or video tutorial or series of blogs on the topic?
[15:16:42] SexiestManAlive: I just want to produce something that's production-ready, really expert level stuff
[15:25:44] SexiestManAlive: okay i see something helpful in http://guides.rubyonrails.org/
[15:26:11] Dimik: has joined #RubyOnRails
[15:27:15] JamJam_kid: has joined #RubyOnRails
[15:47:03] orbyt_: has joined #RubyOnRails
[15:54:45] akaiiro: has joined #RubyOnRails
[16:00:53] dogweather: has joined #RubyOnRails
[16:04:31] dionysus69: has joined #RubyOnRails
[16:08:31] dogweather: has joined #RubyOnRails
[16:19:10] dogweather: has joined #RubyOnRails
[16:28:51] fcser__: has joined #RubyOnRails
[16:32:09] DoubleMalt: has joined #RubyOnRails
[16:42:26] mtkd: has joined #RubyOnRails
[16:43:25] mtkd: has joined #RubyOnRails
[16:47:15] Technodrome: has joined #RubyOnRails
[16:51:06] reber__: has joined #RubyOnRails
[16:53:33] dogweather: has joined #RubyOnRails
[17:14:13] Technodrome: has joined #RubyOnRails
[17:17:21] sandstrom: has joined #RubyOnRails
[17:28:47] fmcgeough: has joined #RubyOnRails
[17:42:11] dionysus69: has joined #RubyOnRails
[17:46:16] DoubleMalt: has joined #RubyOnRails
[17:48:54] OneNeptune: has joined #RubyOnRails
[18:33:50] sandstrom: has joined #RubyOnRails
[18:39:24] mtkd: has joined #RubyOnRails
[18:40:49] dogweather: has joined #RubyOnRails
[18:43:02] sandstrom: has joined #RubyOnRails
[18:48:12] asabino: has joined #RubyOnRails
[18:54:45] dogweather: has joined #RubyOnRails
[18:55:19] Technodrome: has joined #RubyOnRails
[18:58:55] akaiiro: has joined #RubyOnRails
[19:03:20] mtkd: has joined #RubyOnRails
[19:14:20] desperek: has joined #RubyOnRails
[19:21:30] kapil___: has joined #RubyOnRails
[19:32:01] dogweather: has joined #RubyOnRails
[19:32:22] sandstrom: has joined #RubyOnRails
[19:32:44] akaiiro: has joined #RubyOnRails
[19:53:36] mtkd: has joined #RubyOnRails
[20:02:04] dogweather: has joined #RubyOnRails
[20:07:59] akaiiro: has joined #RubyOnRails
[20:15:25] mtkd: has joined #RubyOnRails
[20:16:15] weaksauce: has joined #RubyOnRails
[20:24:38] tdy: has joined #RubyOnRails
[20:38:29] dionysus69: has joined #RubyOnRails
[20:41:02] TvL2386: has joined #RubyOnRails
[20:42:36] TvL2386: hello everybody! I am using the redis store for my rails 5.1.6 project. Now I want to use that same redis server to cache some api calls. I was wondering if I can get the existing redis connection in some way
[20:46:42] TvL2386: maybe I should look at the Rails.cache functionality
[20:48:30] TvL2386: I see no way to put an expiry on a key using Rails.cache, which is what I want
[20:48:39] drale2k_: has joined #RubyOnRails
[20:57:48] uks: has joined #RubyOnRails
[20:59:31] fryguy: TvL2386: :expires_in
[21:02:04] TvL2386: fryguy: nice!
[21:03:25] OneNeptune: has joined #RubyOnRails
[21:10:58] sonOfRa: has joined #RubyOnRails
[21:13:33] mtkd: has joined #RubyOnRails
[21:16:51] dviola: has joined #RubyOnRails
[21:25:07] orbyt_: has joined #RubyOnRails
[21:51:59] cdabba: has joined #RubyOnRails
[22:18:01] dogweather: has joined #RubyOnRails
[22:24:22] OneNeptune: has joined #RubyOnRails
[22:37:09] Technodrome: has joined #RubyOnRails
[22:48:28] armyriad: has joined #RubyOnRails
[22:49:13] Radar: GOOD MORNING
[22:49:22] dogweather: has joined #RubyOnRails
[23:19:41] orbyt_: has joined #RubyOnRails
[23:32:50] dogweather: has joined #RubyOnRails
[23:58:19] _3dwardsharp: has joined #RubyOnRails
[23:58:54] dogweather: has joined #RubyOnRails