« Back to channel list

#RubyOnRails - 19 March 2019

« Back 1 day Forward 1 day »
[00:00:37] funkytwig: jtperreault, #<WalkSection id: 1, image: "IMG_8844.JPG", name: "IMG_8844.JPG", walk_id: 1, created_at: "2019-03-18 17:09:22", updated_at: "2019-03-18 21:02:01">
[00:00:45] funkytwig: jtperreault, cool
[00:05:40] funkytwig: jtperreault, so <%= @walk_section["walk_id"] %>
[00:06:07] funkytwig: gives 'no implicit conversion of String into Integer'
[00:06:32] funkytwig: and go does <%= @walk_section["walk_id"].to_i %>
[00:08:16] jtperreault: funkytwig: try <%= @walk_section.walk_id %>
[00:09:43] funkytwig: @walk_id = Walk.where( id: @walk_section[0]["walk_id"] )
[00:12:07] funkytwig: undefined method walk_id for @walk_section.walk_id
[00:13:05] jtperreault: funkytwig: yeah, I think you need to setup the opposite side of the association there on your models
[00:13:37] orbyt_: has joined #RubyOnRails
[00:13:50] jtperreault: funkytwig: you have belongs_to :walk on WalkSection, but on Walk do need to add has_many :walk_sections
[00:14:45] Scient: has joined #RubyOnRails
[00:15:00] jstrong: has joined #RubyOnRails
[00:21:13] s2013: has joined #RubyOnRails
[00:25:20] funkytwig: Cracked it, and its 0025!!!!!!!!!!!!!!!!!!!!!!!
[00:25:33] funkytwig: jtperreault, Cracked it, and its 0025!!!!!!!!!!!!!!!!!!!!!!!
[00:29:52] jtperreault: funkytwig: awesome
[00:30:27] funkytwig: jtperreault, than for your help, hwere are you?
[00:30:44] jtperreault: funkytwig: you're welcome
[00:33:17] Scient: has joined #RubyOnRails
[00:35:07] jstrong: has joined #RubyOnRails
[00:39:09] funkytwig: jtperreault, is ther a way of doing PM in IRC, would like to send you the link
[00:39:52] jtperreault: funkytwig: there is, yes
[00:41:28] funkytwig: jtperreault, think I just sent it
[00:47:49] jstrong: has joined #RubyOnRails
[00:53:17] gambl0re: has joined #RubyOnRails
[00:59:51] orbyt_: has joined #RubyOnRails
[01:01:59] mangold: has joined #RubyOnRails
[01:06:08] jstrong: has joined #RubyOnRails
[01:08:50] supergeek[m]: has joined #RubyOnRails
[01:09:56] segy: has joined #RubyOnRails
[01:31:13] jstrong: has joined #RubyOnRails
[01:36:19] gambl0re: has joined #RubyOnRails
[01:42:53] kvda: has joined #RubyOnRails
[01:43:07] ebsen: has joined #RubyOnRails
[01:45:07] NeXTSUN: has joined #RubyOnRails
[02:03:29] bambanx: has joined #RubyOnRails
[02:07:18] gambl0r3: has joined #RubyOnRails
[02:32:11] pd09041999: has joined #RubyOnRails
[02:37:46] gambl0r3: has joined #RubyOnRails
[02:41:28] jstrong: has joined #RubyOnRails
[02:56:36] MrCrackPotBuilde: has joined #RubyOnRails
[03:03:51] Saukk: has joined #RubyOnRails
[03:15:13] hays: has joined #RubyOnRails
[03:16:42] pd09041999: has joined #RubyOnRails
[03:18:28] orbyt_: has joined #RubyOnRails
[03:29:21] sevenseacat: has joined #RubyOnRails
[03:30:31] jaddison: has left #RubyOnRails: ()
[03:48:20] gambl0r3: has joined #RubyOnRails
[03:57:47] segy: has joined #RubyOnRails
[03:57:54] jstrong: has joined #RubyOnRails
[04:16:43] jstrong: has joined #RubyOnRails
[04:47:41] kvda: has joined #RubyOnRails
[04:53:16] cschneid: has joined #RubyOnRails
[05:03:25] pd09041999: has joined #RubyOnRails
[05:07:37] braincrash: has joined #RubyOnRails
[05:31:05] cschneid: has joined #RubyOnRails
[05:35:41] braincrash: has joined #RubyOnRails
[05:47:46] braincrash: has joined #RubyOnRails
[06:01:37] srinidhi: has joined #RubyOnRails
[06:02:42] braincrash: has joined #RubyOnRails
[06:03:09] mangold: has joined #RubyOnRails
[06:06:24] srinidhi: has joined #RubyOnRails
[06:10:48] reber: has joined #RubyOnRails
[06:18:04] conta: has joined #RubyOnRails
[06:33:30] segy: has joined #RubyOnRails
[06:38:13] cschneid: has joined #RubyOnRails
[06:43:31] Dbugger: has joined #RubyOnRails
[06:43:32] ur5us: has joined #RubyOnRails
[06:44:27] s2013: has joined #RubyOnRails
[06:50:52] andywww: has joined #RubyOnRails
[07:07:25] hightower3: has joined #RubyOnRails
[07:15:36] kvda: has joined #RubyOnRails
[07:17:54] gambl0r3: has joined #RubyOnRails
[07:39:36] kapil____: has joined #RubyOnRails
[07:47:37] cschneid: has joined #RubyOnRails
[07:48:45] za1b1tsu: has joined #RubyOnRails
[07:53:36] gambl0r3: has joined #RubyOnRails
[08:00:36] kvda: has joined #RubyOnRails
[08:02:15] srinidhi: has joined #RubyOnRails
[08:39:16] kvda: has joined #RubyOnRails
[08:43:25] kvda: has joined #RubyOnRails
[08:53:55] cschneid: has joined #RubyOnRails
[09:03:26] mikecmpbll: has joined #RubyOnRails
[09:28:01] lxsameer: has joined #RubyOnRails
[09:54:33] _aeris_: has joined #RubyOnRails
[09:56:11] cschneid: has joined #RubyOnRails
[10:20:52] nakuku: has joined #RubyOnRails
[10:23:07] nakuku: Hello. Is there any way to efficiently handle uploads - im talking about own implementation. Use case is the following: Rails app handling interactions, Upload server, Python server with quick access to file storage that performs processing on these files (image border detection etc.)
[10:36:13] tdy1: has joined #RubyOnRails
[10:54:27] Ergo: has joined #RubyOnRails
[10:57:47] gambl0r3: has joined #RubyOnRails
[11:01:07] cschneid: has joined #RubyOnRails
[11:03:17] lxsameer: has left #RubyOnRails: ("in")
[11:06:27] jottr_: has joined #RubyOnRails
[11:19:13] conta: has joined #RubyOnRails
[11:20:38] ss942: has left #RubyOnRails: ()
[11:48:55] Menteb: has joined #RubyOnRails
[11:49:47] mmoll: has joined #RubyOnRails
[11:50:03] mmoll: Could anybody have a look onto https://github.com/rails/record_tag_helper/pull/10? :)
[11:50:30] mmoll: I guess there are some projects out there still using rectord_tag_helper that are testing Rails 6 now...
[11:51:27] sevenseacat: don't think anyone here has access to merge that PR
[11:52:24] sevenseacat: but for the record I don't think dependencies should be relaxed that much, you can't guarantee it will always work with every future version of rails
[11:56:41] duderonomy: has joined #RubyOnRails
[12:03:24] za1b1tsu: has joined #RubyOnRails
[12:08:45] pd09041999: has joined #RubyOnRails
[12:09:58] cschneid: has joined #RubyOnRails
[12:11:35] andywww: has joined #RubyOnRails
[12:14:48] beholders_eye: has joined #RubyOnRails
[12:23:09] pwnd_nsfw: has joined #RubyOnRails
[12:28:04] pd09041999: has joined #RubyOnRails
[12:45:09] srinidhi: has joined #RubyOnRails
[12:53:01] uksio: has joined #RubyOnRails
[12:53:01] uks: has joined #RubyOnRails
[13:00:51] mmoll: "'>= 5', '< 7'" then?
[13:02:40] MrCrackPotBuilde: has joined #RubyOnRails
[13:02:42] Animazing: has joined #RubyOnRails
[13:04:24] Animazing: I'm going a bit crazy in here trying to upgrade 4.1 to 4.2. I'm getting problems where bundler just won't resolve the gems correctly. I must be missing something very obvious, see: https://dpaste.de/ROy3
[13:04:43] Animazing: Anybody know what might cause this? I mean 3.2 seems to be >= then 4.2 so why won't it install?
[13:06:00] tbuehlmann: are you running `$ bundle update rails`?
[13:06:38] Animazing: Wait, this is not the only output
[13:06:52] Animazing: There are tons of other problems where some are legit
[13:06:55] Animazing: I was trying to fix it one by one
[13:07:07] Animazing: Is it possible it won't really resolve an issue until it can complete the whole update process?
[13:08:16] s2013: has joined #RubyOnRails
[13:10:01] xco: has joined #RubyOnRails
[13:11:04] xco: Hi, i created a model already but just forgot to set a columns default value and i don’t want to delete the model and regenerate again, how do generate a migration to add a default value?
[13:12:55] Animazing: You can create a migration with a change_column in it @xco
[13:13:15] xco: Animazing: awesome just found that actually :)… thank you :)
[13:13:25] Animazing: Good luck :)
[13:13:33] xco: thanks :p
[13:14:36] cschneid: has joined #RubyOnRails
[13:15:03] srinidhi: has joined #RubyOnRails
[13:15:27] tbuehlmann: Animazing: yeah, make sure it all works out
[13:19:37] xco_: has joined #RubyOnRails
[13:37:15] MrCrackPotBuilde: is rpush still compatable with FCM ??
[13:37:40] MrCrackPotBuilde: I read that its still pretty much the same only an endpoint changed is this still accurate
[13:38:42] jstrong: has joined #RubyOnRails
[13:41:01] hightower3: has joined #RubyOnRails
[13:43:11] xco: i have a model City and another model RoutePoint which is described as having a `city` column that’s of type “association”, how do i create this association? will this men RoutePoint belongs to City? and should have city_id as column? Here’s a pic of the description of what i’m trying to implement https://gyazo.com/5b28946e1b1b6d1ac0b84b215dea5f22
[13:44:47] xco: my thinking is to create a belongs_to :city association on the RoutePoint but not sure
[13:46:12] tbuehlmann: if RouteuPoint belongs to a city, then yes, that's how it should be modeled
[13:47:47] xco_: has joined #RubyOnRails
[13:47:49] Saukk: has joined #RubyOnRails
[13:49:13] xcode: has joined #RubyOnRails
[13:49:20] xcode: lost connection*
[13:49:21] xcode: : i have a model City and another model RoutePoint which is described as having a `city` column that’s of type “association”, how do i create this association? will this men RoutePoint belongs to City? and should have city_id as column? Here’s a pic of the description of what i’m trying to implement https://gyazo.com/5b28946e1b1b6d1ac0b84b215dea5f22
[13:49:56] cschneid: has joined #RubyOnRails
[14:02:16] mangold: has joined #RubyOnRails
[14:34:05] srinidhi: has joined #RubyOnRails
[14:40:44] cschneid: has joined #RubyOnRails
[14:50:31] pd09041999: has joined #RubyOnRails
[14:57:13] agent_white: has joined #RubyOnRails
[14:59:08] cschneid: has joined #RubyOnRails
[15:02:11] s2013: has joined #RubyOnRails
[15:06:33] ss942: has joined #RubyOnRails
[15:08:19] ss942: Hello, how can I replace whole loop in erb file with Deface gem?
[15:08:19] ss942: When use :replace => "erb[silent]:contains('@grouped.keys.sort.each')",
[15:08:20] ss942: Would it replace whole loop or just first tag with <% @grouped.keys.sort.each do |group| %>?
[15:14:47] rascencio: has joined #RubyOnRails
[15:24:33] orbyt_: has joined #RubyOnRails
[15:32:31] neozor: has joined #RubyOnRails
[15:35:34] pro777: has joined #RubyOnRails
[15:51:55] Dbugger: has joined #RubyOnRails
[15:52:26] za1b1tsu: has joined #RubyOnRails
[15:59:45] s2013: has joined #RubyOnRails
[16:02:38] conta: has joined #RubyOnRails
[16:04:15] andywww: has joined #RubyOnRails
[16:18:49] orbyt_: has joined #RubyOnRails
[16:27:12] srinidhi: has joined #RubyOnRails
[16:27:31] pd09041999: has joined #RubyOnRails
[16:28:21] orbyt_: has joined #RubyOnRails
[16:30:45] andywww: has joined #RubyOnRails
[16:31:25] pd09041999: has joined #RubyOnRails
[16:32:39] gambl0r3: has joined #RubyOnRails
[16:34:15] pd09041999: has joined #RubyOnRails
[16:38:07] jstrong: has joined #RubyOnRails
[16:47:48] [Butch]: has joined #RubyOnRails
[16:48:43] jstrong: has joined #RubyOnRails
[16:49:19] _aeris_: has joined #RubyOnRails
[16:51:14] eddof13: has joined #RubyOnRails
[16:54:22] pd09041999: has joined #RubyOnRails
[17:00:58] jstrong: has joined #RubyOnRails
[17:12:46] pd09041999: has joined #RubyOnRails
[17:16:57] deathwishdave: has joined #RubyOnRails
[17:22:41] Net: setting config.active_record.logger = nil doesn't seem to silence logs on rails 5.1.6. did something change?
[17:26:35] andywww: has joined #RubyOnRails
[17:27:10] tdy1: has joined #RubyOnRails
[17:30:12] rascencio_: has joined #RubyOnRails
[17:34:42] conta: has joined #RubyOnRails
[17:38:20] squonchie: has joined #RubyOnRails
[17:41:46] gambl0r3: has joined #RubyOnRails
[17:43:04] hahuang65: Net: is this on your local dev env?
[17:44:18] hahuang65: Net: it might just be config.logger
[17:45:15] hahuang65: oh config.active_record.logger should still work. Hate to be that guy but did you reboot your server?
[17:49:23] Net: hahuang65: local dev
[17:49:50] Net: ActiveRecord::Base.logger = nil does work
[17:52:30] Net: hmm, seems it was because we moved it out of our config and into an initializer
[17:53:29] Net: into config/initializers
[17:56:24] Net: Why would setting it in a config/initializers not work but setting it in development.rb work?
[18:01:19] hahuang65: Net: I'd guess it loads those later than when it's needed.
[18:02:00] grvgr: has joined #RubyOnRails
[18:06:32] deathwishdave: has joined #RubyOnRails
[18:07:56] orbyt_: has joined #RubyOnRails
[18:11:43] rascencio: has joined #RubyOnRails
[18:26:34] pd09041999: has joined #RubyOnRails
[18:29:22] pd09041999: has joined #RubyOnRails
[18:31:14] pd09041999: has joined #RubyOnRails
[18:32:41] gambl0r3: has joined #RubyOnRails
[18:36:03] funkytwig: has joined #RubyOnRails
[18:39:55] kapil____: has joined #RubyOnRails
[18:43:31] neozor: has joined #RubyOnRails
[18:47:49] squonchie: has joined #RubyOnRails
[19:00:29] Fire-Dragon-DoL: has joined #RubyOnRails
[19:03:33] neozor: has joined #RubyOnRails
[19:03:36] andywww: has joined #RubyOnRails
[19:04:05] mikecmpbll: has joined #RubyOnRails
[19:08:31] gambl0r3: has joined #RubyOnRails
[19:08:47] neozor: has joined #RubyOnRails
[19:13:03] uks: has joined #RubyOnRails
[19:13:04] uksio: has joined #RubyOnRails
[19:21:16] s2013: has joined #RubyOnRails
[19:42:48] gambl0r3: has joined #RubyOnRails
[19:47:55] rascencio: has joined #RubyOnRails
[19:49:34] andywww: has joined #RubyOnRails
[19:50:07] defsdoor_: has joined #RubyOnRails
[19:51:13] andywww: what are your go to gems for monitoring practices? stuff like rubocop, brakeman and bullet?
[19:55:07] dviola: has joined #RubyOnRails
[20:04:41] LtHummus: has joined #RubyOnRails
[20:04:47] LtHummus: has left #RubyOnRails: ("The Lounge - https://thelounge.chat")
[20:04:54] LtHummus: has joined #RubyOnRails
[20:17:50] gambl0r3: has joined #RubyOnRails
[20:29:13] neozor: has joined #RubyOnRails
[20:35:28] ellcs: has joined #RubyOnRails
[20:37:57] jackcambridge: has joined #RubyOnRails
[20:39:04] jackcambridge: Quick question. If I see a GitHub repository that uses Ruby, how can I tell if it uses Rails or not?
[21:00:58] Net: jackcambridge: Gemfile
[21:03:31] FatElephant: has joined #RubyOnRails
[21:18:52] andywww: has joined #RubyOnRails
[21:44:20] rascencio: has joined #RubyOnRails
[21:53:22] funkytwig: config/initializers doesnot exist, what gives
[21:59:54] funkytwig: OK, sorry its config/initializers/rails_admin.rb that ismissing from rails_admin
[22:00:29] funkytwig: michael_mbp, hi ;)
[22:01:37] funkytwig: michael_mbp, is this just a social visit?
[22:02:21] michael_mbp: I used to be a regular here; semi "retired" now, but thinking of getting back into contract work (remotely)
[22:07:14] hightower2: has joined #RubyOnRails
[22:22:22] ellcs: has joined #RubyOnRails
[22:35:08] conta: has joined #RubyOnRails
[22:37:38] kvda: has joined #RubyOnRails
[22:39:30] squonchie: has joined #RubyOnRails
[22:45:55] mangold: has joined #RubyOnRails
[22:55:17] NeXTSUN: has joined #RubyOnRails
[22:59:54] s2013: has joined #RubyOnRails
[23:00:00] jstrong: has joined #RubyOnRails
[23:16:36] squonchie: has joined #RubyOnRails
[23:32:10] mlt-: has joined #RubyOnRails
[23:43:50] andywww: has joined #RubyOnRails
[23:45:18] andywww: my system allows admins to create users and ping them an email with login details but the auto generated password is showing in plain text in the log data when it shows the email being sent
[23:45:57] andywww: is there anything creative i can do with filter_parameters to help with this?
[23:46:48] ebbflowgo: has joined #RubyOnRails
[23:49:42] s2013: has joined #RubyOnRails