« Back to channel list

#RubyOnRails - 08 April 2018

« Back 1 day Forward 1 day »
[00:21:48] conta: has joined #RubyOnRails
[00:55:08] orbyt_: has joined #RubyOnRails
[01:04:39] apparition: has joined #RubyOnRails
[01:36:55] nickjj: has joined #RubyOnRails
[01:56:39] alfie: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[01:57:11] alfiemax: has joined #RubyOnRails
[02:42:15] soule: has joined #RubyOnRails
[02:47:53] apparition: has joined #RubyOnRails
[03:10:04] conta: has joined #RubyOnRails
[03:20:01] Rodya_: has joined #RubyOnRails
[03:36:56] Saukk: has joined #RubyOnRails
[03:38:15] _3dwardsharp: has joined #RubyOnRails
[03:45:45] conta: has joined #RubyOnRails
[04:03:39] kapil___: has joined #RubyOnRails
[04:21:05] conta: has joined #RubyOnRails
[04:23:13] cam27: has joined #RubyOnRails
[04:51:19] alfiemax: has joined #RubyOnRails
[04:53:20] darkhanb: has joined #RubyOnRails
[05:04:47] fragamus: has joined #RubyOnRails
[05:17:23] KeyJoo: has joined #RubyOnRails
[05:26:25] conta: has joined #RubyOnRails
[06:04:19] conta: has joined #RubyOnRails
[06:32:27] duderonomy: has joined #RubyOnRails
[06:37:25] mtkd: has joined #RubyOnRails
[06:46:39] apparition: has joined #RubyOnRails
[07:05:21] IanMalcolm: has joined #RubyOnRails
[07:09:03] mikecmpbll: has joined #RubyOnRails
[07:22:25] reber: has joined #RubyOnRails
[08:12:20] darkhanb: has joined #RubyOnRails
[08:13:54] srinidhi: has joined #RubyOnRails
[08:40:08] kapil___: has joined #RubyOnRails
[08:44:13] hexcat: has joined #RubyOnRails
[08:53:49] hexcat: Learning routing. Created new application (Ruby 2.5.1, Rails 5.1.6). Added "get 'test', to: show, controller: 'test'" to config/routes.rb. Defined action 'test#show' as 'render plain: params'.
[08:54:03] hexcat: 127.0.0.1:3000/test gives "The action 'test' could not be found for TestController"
[08:54:23] hexcat: From what I've read it should invoke test#show, not test#test?
[08:55:18] marr: has joined #RubyOnRails
[09:01:12] justrying: has joined #RubyOnRails
[09:06:02] hexcat: ^ 'to: :show', not 'to: show' (typo)
[09:06:59] Fernando-Basso: has joined #RubyOnRails
[09:20:23] elcms: has joined #RubyOnRails
[09:37:16] roshanavand: has joined #RubyOnRails
[09:40:32] pLaTo0n: has joined #RubyOnRails
[09:48:18] _aeris_: has joined #RubyOnRails
[09:52:37] wethu: has joined #RubyOnRails
[09:58:12] ur5us: has joined #RubyOnRails
[10:12:20] defsdoor: has joined #RubyOnRails
[10:29:34] qyliss: has joined #RubyOnRails
[10:38:38] trautwein: has joined #RubyOnRails
[10:41:07] qyliss: has left #RubyOnRails: ("WeeChat 2.0.1")
[10:42:18] uksio: has joined #RubyOnRails
[10:47:49] alfiemax: has joined #RubyOnRails
[10:49:11] sameerynho: has joined #RubyOnRails
[10:54:41] rikkipitt: has joined #RubyOnRails
[10:54:44] desperek: why, why is haml form_for misaligned? it creates empty form tag with attributes and all components are inside out
[10:55:40] desperek: oops, it only happen in a table :<
[10:56:40] desperek: uh, this is so strange actually
[11:00:47] Sirithcam: has joined #RubyOnRails
[11:03:19] cstls: has joined #RubyOnRails
[11:14:27] _aeris_: has joined #RubyOnRails
[11:19:57] xco: has joined #RubyOnRails
[11:20:40] xco: hi, with no assertion is this really testing for something? https://gist.github.com/siaw23/f57ccf7b9075d6e7e0b5467c82fa7bb9#file-test-rb-L2
[11:23:19] desperek: umm, how can i auto-select select tag with an object?
[11:32:35] cstls: has joined #RubyOnRails
[11:42:56] desperek: um, how do i use collection_select without a global?
[11:47:51] pwnd_nsfw: desperek, since when do you need a global?
[11:48:32] desperek: pwnd_nsfw, collection_select(:role..) doesn't work unless i set @role (well, it doesn't automatically select if i don'
[11:48:34] desperek: t use a global)
[11:49:32] pwnd_nsfw: first off, that's not a global
[11:50:07] pwnd_nsfw: second, how do you plan on getting the data back and forth?
[11:50:48] desperek: pwnd_nsfw, oh, it's in a form that's evaluated from an each loop
[11:51:14] desperek: okay, whatever, i somehow figured it out now
[11:51:27] pwnd_nsfw: How'd you go about that? I'm interested
[11:52:30] desperek: pwnd_nsfw, well, i just got back to f.select and all, where f is that internal form thing variable sort of
[11:53:04] desperek: it was probably the problem with first argument of collection_select
[11:53:14] desperek: because it was namespace and a variable
[11:55:25] alfiemax: has joined #RubyOnRails
[12:42:35] rikkipitt: has joined #RubyOnRails
[12:46:30] jackhum: has joined #RubyOnRails
[12:47:04] segy: has joined #RubyOnRails
[12:52:31] mtkd: has joined #RubyOnRails
[12:55:46] kapil___: has joined #RubyOnRails
[13:05:30] mikecmpbll: has joined #RubyOnRails
[13:20:47] _aeris_: has joined #RubyOnRails
[13:28:51] mtkd: has joined #RubyOnRails
[13:31:03] DrYockel1: has joined #RubyOnRails
[13:34:42] jackhum: has joined #RubyOnRails
[13:40:04] jnollette: has joined #RubyOnRails
[13:47:27] Sirecote: has joined #RubyOnRails
[13:54:05] schneider: has joined #RubyOnRails
[14:18:36] Dimik: has joined #RubyOnRails
[15:14:34] schneider: has joined #RubyOnRails
[15:22:32] dviola: has joined #RubyOnRails
[15:26:29] schneider: has joined #RubyOnRails
[15:34:02] mtkd: has joined #RubyOnRails
[15:35:32] schneider: has joined #RubyOnRails
[15:36:00] leeky: has joined #RubyOnRails
[15:36:27] KeyJoo: has joined #RubyOnRails
[15:37:15] KeyJoo: has joined #RubyOnRails
[15:44:32] kapil___: has joined #RubyOnRails
[15:44:42] schneider: has joined #RubyOnRails
[15:53:52] schneider: has joined #RubyOnRails
[15:56:54] s2013: has joined #RubyOnRails
[16:02:57] schneider: has joined #RubyOnRails
[16:07:51] IanMalcolm: has joined #RubyOnRails
[16:08:42] cam27: has joined #RubyOnRails
[16:11:34] orbyt_: has joined #RubyOnRails
[16:12:08] schneider: has joined #RubyOnRails
[16:21:16] schneider: has joined #RubyOnRails
[16:30:21] schneider: has joined #RubyOnRails
[16:39:29] schneider: has joined #RubyOnRails
[16:42:03] lcarlson: has joined #RubyOnRails
[16:42:27] lcarlson: Is there a way to use accepts_nested_attributes_for on ONLY create and not update?
[16:42:50] lcarlson: if not, should I be passing in each object separately and handling them separately?
[16:44:12] maryo: has joined #RubyOnRails
[16:48:37] schneider: has joined #RubyOnRails
[16:49:38] jnollette: has joined #RubyOnRails
[16:57:46] schneider: has joined #RubyOnRails
[16:59:14] cstls: has joined #RubyOnRails
[17:06:54] schneider: has joined #RubyOnRails
[17:16:04] schneider: has joined #RubyOnRails
[17:25:10] schneider: has joined #RubyOnRails
[17:34:38] schneider: has joined #RubyOnRails
[17:39:14] mtkd: has joined #RubyOnRails
[17:43:25] Saukk: has joined #RubyOnRails
[17:43:44] schneider: has joined #RubyOnRails
[17:44:03] maryo: has joined #RubyOnRails
[17:45:29] cstls: has joined #RubyOnRails
[17:47:20] fragamus: has joined #RubyOnRails
[17:52:56] schneider: has joined #RubyOnRails
[17:54:17] elcms: has joined #RubyOnRails
[18:02:16] schneider: has joined #RubyOnRails
[18:03:16] maryo: has joined #RubyOnRails
[18:07:22] orbyt_: has joined #RubyOnRails
[18:07:23] s2013: has joined #RubyOnRails
[18:08:13] schneider: has joined #RubyOnRails
[18:17:24] schneider: has joined #RubyOnRails
[18:21:18] rfoust: has joined #RubyOnRails
[18:26:32] schneider: has joined #RubyOnRails
[18:26:41] mostlybadfly: has joined #RubyOnRails
[18:26:43] cagomez: has joined #RubyOnRails
[18:27:42] fragamus: has joined #RubyOnRails
[18:35:42] schneider: has joined #RubyOnRails
[18:44:46] schneider: has joined #RubyOnRails
[18:44:58] et09: has joined #RubyOnRails
[18:45:11] et09: i want to add a babel plugin to the default rails new --webpack config - where do i do it?
[18:53:55] schneider: has joined #RubyOnRails
[18:57:29] kies: has joined #RubyOnRails
[18:58:28] fragamus: has joined #RubyOnRails
[19:00:40] schneider: has joined #RubyOnRails
[19:05:55] mtkd: has joined #RubyOnRails
[19:06:34] arooni: the only time i need to restart my app (in development mode) is if i make a change to environment.rb or Gemfile?
[19:11:45] alfiemax: has joined #RubyOnRails
[19:12:34] et09: nevermind, .babelrc was answer
[19:14:47] schneider: has joined #RubyOnRails
[19:23:10] samort7: has joined #RubyOnRails
[19:23:20] samort7: I think I'm doing everything wrong in Rails
[19:23:53] schneider: has joined #RubyOnRails
[19:24:11] samort7: I have some checkboxes that on being clicked, send ajax requests to the backend with an array of what boxes were clicked
[19:24:47] samort7: then i use that array to grab the ids of objects selected and try to send that info back to a js.haml page on the front end to be used to render some stuff
[19:25:42] samort7: I try using .to_json on the active record objects, but when the code arrives on the haml page, it ends up all fucked up
[19:26:16] samort7: all the quotation marks get replaced with &quot; and I can't access any of the data in the json
[19:26:35] samort7: I'm sure I'm just doing shit wrong with Rails 'cause I'm new and don't understand anything
[19:27:44] samort7: I'm sending the data with this code: respond to do |format| format.js {render locals: {myJsonVar: myJsonVar}}
[19:28:37] samort7: And then I try to access it in my .js.haml with: console.log("#{myJsonVar}");
[19:29:08] samort7: Somewhere between sending and receiving it, the data gets all fucked up and I don't understand why
[19:33:02] schneider: has joined #RubyOnRails
[19:38:55] alfiemax: has joined #RubyOnRails
[19:42:07] schneider: has joined #RubyOnRails
[19:46:52] Puffball: has joined #RubyOnRails
[19:50:29] weaksauce: has joined #RubyOnRails
[19:51:16] schneider: has joined #RubyOnRails
[20:00:25] schneider: has joined #RubyOnRails
[20:09:35] schneider: has joined #RubyOnRails
[20:10:34] NoGodDamnIdea: has joined #RubyOnRails
[20:11:15] cstls: has joined #RubyOnRails
[20:17:46] eckhardt: has joined #RubyOnRails
[20:18:39] schneider: has joined #RubyOnRails
[20:27:50] schneider: has joined #RubyOnRails
[20:29:13] FastJack: has joined #RubyOnRails
[20:36:56] schneider: has joined #RubyOnRails
[20:46:10] schneider: has joined #RubyOnRails
[20:51:29] orbyt_: has joined #RubyOnRails
[20:55:22] schneider: has joined #RubyOnRails
[20:56:49] marr: has joined #RubyOnRails
[21:01:18] schneider: has joined #RubyOnRails
[21:06:59] orbyt_: has joined #RubyOnRails
[21:09:26] orbyt_: has joined #RubyOnRails
[21:10:27] schneider: has joined #RubyOnRails
[21:17:44] DylanJ: has joined #RubyOnRails
[21:19:36] schneider: has joined #RubyOnRails
[21:23:45] ur5us: has joined #RubyOnRails
[21:28:43] schneider: has joined #RubyOnRails
[21:31:09] orbyt_: has joined #RubyOnRails
[21:37:49] schneider: has joined #RubyOnRails
[21:41:08] cschneid_: has joined #RubyOnRails
[21:46:49] tdy: has joined #RubyOnRails
[21:46:59] schneider: has joined #RubyOnRails
[21:47:05] orbyt_: has joined #RubyOnRails
[21:56:05] schneider: has joined #RubyOnRails
[21:57:03] fragamus: has joined #RubyOnRails
[22:00:55] orbyt_: has joined #RubyOnRails
[22:05:14] schneider: has joined #RubyOnRails
[22:07:40] _3dwardsharp: has joined #RubyOnRails
[22:14:21] schneider: has joined #RubyOnRails
[22:23:32] schneider: has joined #RubyOnRails
[22:32:39] schneider: has joined #RubyOnRails
[22:33:18] bga57: has joined #RubyOnRails
[22:40:08] orbyt_: has joined #RubyOnRails
[22:42:07] schneider: has joined #RubyOnRails
[22:51:19] schneider: has joined #RubyOnRails
[23:00:22] schneider: has joined #RubyOnRails
[23:09:32] schneider: has joined #RubyOnRails
[23:11:08] wethu: has joined #RubyOnRails
[23:15:56] schneider: has joined #RubyOnRails
[23:18:04] jrgifford: has joined #RubyOnRails
[23:19:59] s2013: has joined #RubyOnRails
[23:25:07] schneider: has joined #RubyOnRails
[23:34:12] schneider: has joined #RubyOnRails
[23:36:46] eckhardt: has joined #RubyOnRails
[23:43:22] schneider: has joined #RubyOnRails
[23:52:30] schneider: has joined #RubyOnRails
[23:59:09] kurko__: has joined #RubyOnRails