« Back to channel list

#RubyOnRails - 16 March 2019

« Back 1 day Forward 1 day »
[00:05:00] tdy1: has joined #RubyOnRails
[00:10:07] funkytwig: has joined #RubyOnRails
[00:10:13] funkytwig: has left #RubyOnRails: ("Leaving")
[00:10:19] funkytwig: has joined #RubyOnRails
[00:10:31] funkytwig: rails 5, whats wrong with
[00:10:35] funkytwig: validate :name, length: { :minimum 5, :maximum 255 }
[00:11:14] orbyt_: has joined #RubyOnRails
[00:11:24] funkytwig: syntax error, unexpected tINTEGER, expecting => ...e, length: { :minimum 5, :maximum 255 }
[00:11:50] jaddison: has joined #RubyOnRails
[00:12:50] hahuang65: funkytwig: it's minimum: 5, maximum: 255
[00:14:45] mangold: has joined #RubyOnRails
[00:15:13] funkytwig: class Walk < ApplicationRecord
[00:15:21] funkytwig: validate :name, length: { minimum 5, maximum 255 }
[00:15:27] funkytwig: validate :description, length: { minimum 10, maximum 1000 }
[00:15:59] funkytwig: walk.rb:2: syntax error, unexpected tINTEGER, expecting do or '{' or '(' ...me, length: { minimum 5, maximum 255 }
[00:22:17] dylanf`: has joined #RubyOnRails
[00:25:31] funkytwig: OK, should be validates but still getting the error
[00:25:55] hnanon: has joined #RubyOnRails
[00:34:21] hahuang65: funkytwig: dude, you need a : after the symbols in your hash.
[00:34:31] hahuang65: { minimum: 5 }, not { minimum 5 }
[01:05:29] s00pcan: has joined #RubyOnRails
[01:10:18] DWSR: has joined #RubyOnRails
[01:13:17] dogweather: has joined #RubyOnRails
[01:15:07] ellcs: has joined #RubyOnRails
[01:31:20] segy: has joined #RubyOnRails
[01:43:32] kapil____: has joined #RubyOnRails
[01:49:56] segy: has joined #RubyOnRails
[02:21:51] gambl0re: has joined #RubyOnRails
[02:31:57] srinidhi: has joined #RubyOnRails
[02:38:55] xall: has joined #RubyOnRails
[02:45:31] pd09041999: has joined #RubyOnRails
[02:49:49] dylanf: has joined #RubyOnRails
[02:53:43] bambanx: has joined #RubyOnRails
[02:54:35] apparition: has joined #RubyOnRails
[02:54:47] dylanf: has joined #RubyOnRails
[03:47:49] pd09041999: has joined #RubyOnRails
[04:03:55] uksio: has joined #RubyOnRails
[04:10:28] braincrash: has joined #RubyOnRails
[04:26:43] uks: has joined #RubyOnRails
[04:27:22] kapil____: has joined #RubyOnRails
[04:33:07] dylanf: has joined #RubyOnRails
[04:47:49] pd09041999: has joined #RubyOnRails
[05:12:40] dogweather: has joined #RubyOnRails
[05:26:05] pd09041999: has joined #RubyOnRails
[05:29:40] pd09041999: has joined #RubyOnRails
[05:40:48] helpa-bot: has joined #RubyOnRails
[05:42:21] dylanf: has joined #RubyOnRails
[05:43:18] helpa: has joined #RubyOnRails
[05:49:04] reber: has joined #RubyOnRails
[06:20:51] pd09041999: has joined #RubyOnRails
[06:25:21] Saukk: has joined #RubyOnRails
[06:40:02] pd09041999: has joined #RubyOnRails
[07:01:42] lankanmon: has joined #RubyOnRails
[07:23:32] uplime: has joined #RubyOnRails
[07:41:10] za1b1tsu: has joined #RubyOnRails
[07:47:21] pd09041999: has joined #RubyOnRails
[07:51:38] dylanf: has joined #RubyOnRails
[08:05:56] xall: has joined #RubyOnRails
[08:09:35] pd09041999: has joined #RubyOnRails
[08:12:09] sameerynho: has joined #RubyOnRails
[08:18:32] za1b1tsu: has joined #RubyOnRails
[08:39:05] ur5us: has joined #RubyOnRails
[08:46:47] pd09041999: has joined #RubyOnRails
[09:02:36] za1b1tsu: has joined #RubyOnRails
[09:09:07] Dbugger: has joined #RubyOnRails
[09:13:02] ellcs: has joined #RubyOnRails
[09:31:52] dionysus69: has joined #RubyOnRails
[09:38:08] hammer065: has joined #RubyOnRails
[09:51:57] dylanf: has joined #RubyOnRails
[10:04:41] hightower3: has joined #RubyOnRails
[10:08:35] dionysus69: I found this way to attach images to existing images on object update while using active storage. is this an ok pattern? https://gist.github.com/webzorg/210b9e2bd63fcd58bba107bce6a02f71
[10:09:13] dionysus69: my goal is not to drop already attached images, I think this should be a default flow
[10:33:46] dionysus69: has joined #RubyOnRails
[10:37:49] ravenousmoose: has joined #RubyOnRails
[10:40:59] Fernando-Basso: has joined #RubyOnRails
[10:43:53] Technodrome: has joined #RubyOnRails
[10:49:54] pd09041999: has joined #RubyOnRails
[10:52:16] lankanmon: has joined #RubyOnRails
[11:11:18] Saukk: has joined #RubyOnRails
[11:14:00] Fernando-Basso: has joined #RubyOnRails
[11:22:18] Saukk: has joined #RubyOnRails
[11:25:50] defsdoor_: has joined #RubyOnRails
[11:28:35] pd09041999: has joined #RubyOnRails
[11:31:33] kapil____: has joined #RubyOnRails
[11:37:11] dionysus69: has joined #RubyOnRails
[11:37:37] tens0r: has joined #RubyOnRails
[11:45:36] dylanf: has joined #RubyOnRails
[12:01:09] defsdoor_: has joined #RubyOnRails
[12:11:04] ellcs: has joined #RubyOnRails
[12:11:23] sameerynho: has left #RubyOnRails: ("WeeChat 2.3")
[12:49:18] pd09041999: has joined #RubyOnRails
[13:07:02] conta: has joined #RubyOnRails
[13:40:21] pd09041999: has joined #RubyOnRails
[13:55:13] uksio: has joined #RubyOnRails
[13:55:13] uks: has joined #RubyOnRails
[13:56:00] dylanf: has joined #RubyOnRails
[14:15:48] mangold: has joined #RubyOnRails
[14:21:19] beingjohnm: trying to patch a record and format.html { head :ok } redirects in Rails 5.2 (last step of upgrade from 4.2). I had been using head :no_content but that now triggers a download of an empty file
[14:28:29] beingjohnm: actually, head :ok shouldn't be inside the format.html brackets I think
[14:32:35] beingjohnm: that didn't work. It is still trying to redirect to the record.
[14:49:52] tdy1: has joined #RubyOnRails
[15:15:16] dviola: has joined #RubyOnRails
[15:24:47] za1b1tsu: has joined #RubyOnRails
[15:31:39] conta: has joined #RubyOnRails
[15:33:01] helpa: has joined #RubyOnRails
[15:34:37] orbyt_: has joined #RubyOnRails
[15:36:54] apparition: has joined #RubyOnRails
[15:45:03] hive-mind: has joined #RubyOnRails
[15:53:03] dylanf: has joined #RubyOnRails
[15:53:16] hnanon: has joined #RubyOnRails
[16:18:18] supergeek[m]: has joined #RubyOnRails
[16:25:50] Technodrome: has joined #RubyOnRails
[16:32:30] orbyt_: has joined #RubyOnRails
[16:39:42] hnanon_: has joined #RubyOnRails
[16:41:52] Shorty6: has joined #RubyOnRails
[16:45:01] Shorty6: Hey, can someone please tell me the best way to create javascript that only runs on a single page?
[16:52:57] dylanf: has joined #RubyOnRails
[16:55:16] gambl0re: has joined #RubyOnRails
[17:36:43] conta: has joined #RubyOnRails
[17:38:16] Xiti: has joined #RubyOnRails
[17:49:55] za1b1tsu: is there in rails an opposite of html_safe?
[17:50:41] uks: has joined #RubyOnRails
[17:50:43] uksio: has joined #RubyOnRails
[17:58:34] uks: has joined #RubyOnRails
[17:58:35] uksio: has joined #RubyOnRails
[17:58:41] dionysus69: has joined #RubyOnRails
[18:20:44] salasrod: has joined #RubyOnRails
[18:33:37] Dbugger: has joined #RubyOnRails
[18:46:43] dylanf: has joined #RubyOnRails
[18:49:48] tdy1: has joined #RubyOnRails
[18:51:25] beingjohnm: Shorty6: create the javascript file and include it on that page
[19:00:38] ellcs: has joined #RubyOnRails
[19:09:06] DTZUZO: has joined #RubyOnRails
[19:09:29] MrCrackPotBuilde: has joined #RubyOnRails
[19:12:20] _aeris: has joined #RubyOnRails
[19:17:34] dionysus69: has joined #RubyOnRails
[19:24:40] ellcs: has joined #RubyOnRails
[19:25:20] orbyt_: has joined #RubyOnRails
[19:32:16] lilster: has joined #RubyOnRails
[19:34:31] dogweather: has joined #RubyOnRails
[19:43:47] dylanf: has joined #RubyOnRails
[19:53:57] duderonomy: has joined #RubyOnRails
[19:54:06] conta: has joined #RubyOnRails
[19:58:08] terabytes: has joined #RubyOnRails
[20:00:39] dionysus69: has joined #RubyOnRails
[20:08:56] uks: has joined #RubyOnRails
[20:16:18] Shorty6: has left #RubyOnRails: ("Leaving")
[20:37:28] s00pcan: has joined #RubyOnRails
[20:48:22] dviola: has joined #RubyOnRails
[20:53:13] dogweather: has joined #RubyOnRails
[21:02:21] s00pcan: has joined #RubyOnRails
[21:02:26] za1b1tsu_: has joined #RubyOnRails
[21:08:14] orbyt_: has joined #RubyOnRails
[21:45:54] dylanf: has joined #RubyOnRails
[21:52:21] andywww: has joined #RubyOnRails
[21:54:23] andywww: n00b action cable question.. is there any way a user can manipulate the javascript to create a connection/eavesdrop on another channel other than those dictated in the channel object? I currently have: https://hastebin.com/hosuyumedo.rb
[21:54:59] Technodrome: has joined #RubyOnRails
[21:56:22] andywww: if my current_chatter does not have an associated application, they shouldn’t be able to connect to chat:applicationXYZ if it isn’t their associated application, should they?
[22:06:15] eckhardt: has joined #RubyOnRails
[22:12:38] Xiti: has joined #RubyOnRails
[22:40:46] orbyt_: has joined #RubyOnRails
[23:47:16] orbyt_: has joined #RubyOnRails
[23:56:55] dylanf: has joined #RubyOnRails