« Back to channel list

#RubyOnRails - 03 February 2018

« Back 1 day Forward 1 day »
[00:00:22] workmad3: has joined #RubyOnRails
[00:01:14] cpruitt: has joined #RubyOnRails
[00:03:42] schneide_: has joined #RubyOnRails
[00:08:02] nopolitica: has joined #RubyOnRails
[00:08:27] nopolitica: hey there! is there anyone who can answer pretty simple rails_admin question? :) Can't find a solution, but in need :)
[00:12:24] nopolitica: has joined #RubyOnRails
[00:12:43] schneide_: has joined #RubyOnRails
[00:13:04] nopolitica: I need to filter LIST by current_user, logged into rails_admin parameter?
[00:13:10] cpruitt: has joined #RubyOnRails
[00:13:27] nopolitica: is it possible?
[00:14:00] nopolitica: i was looking for if bindings[:view]._current_user.has_role? :something, but it works only in labels :(
[00:21:51] schneide_: has joined #RubyOnRails
[00:23:43] nopolitica: has joined #RubyOnRails
[00:28:24] dogweather: has joined #RubyOnRails
[00:30:57] schneide_: has joined #RubyOnRails
[00:38:09] cpruitt: has joined #RubyOnRails
[00:39:27] raazdaan: has joined #RubyOnRails
[00:40:01] schneide_: has joined #RubyOnRails
[00:49:05] schneide_: has joined #RubyOnRails
[00:49:41] aguestuser: has joined #RubyOnRails
[00:54:04] bonhoeffer: has joined #RubyOnRails
[00:55:55] unreal_: has joined #RubyOnRails
[00:56:33] bonhoeffer: since all web forms are just submitting information over 80: 443 -- is there a toolkit I can use to write code to submit only the http language
[00:56:52] bonhoeffer: i'm not interested in selenium browser automation -- just the raw form response, etc
[00:57:11] lupine: welcome to curkl
[00:58:12] schneide_: has joined #RubyOnRails
[01:00:25] bonhoeffer: lupine: good point -- and are there tools to help me curl -- format everything right
[01:00:31] jottr: has joined #RubyOnRails
[01:00:33] bonhoeffer: or -- better -- record a session
[01:00:48] lupine: curl -v innit
[01:01:00] bonhoeffer: our company has terrible forms to do all this stuff -- i would love to build a session and then just change the http responses
[01:01:22] bonhoeffer: so i'm wondering if chrome can record all the back and forth traffic and i can just send that back
[01:01:24] lupine: more rubyish, you have vcr, even net::http
[01:01:31] bonhoeffer: with the mods i need
[01:01:54] bonhoeffer: ah -- vcr -- used it long long ago, isn't that for sites i'm developing
[01:02:17] lupine: it's for feeding prerecorded responses to test cases
[01:02:31] lupine: I'm not much of a fan
[01:02:46] lupine: ok for integrating with legacy junk though
[01:03:17] GodFather: has joined #RubyOnRails
[01:05:02] mattwc: the chrome developer tools will let you monitor network requests and even copy them as curl
[01:05:41] bonhoeffer: mattwc: will do -- thanks and thanks lupine as well
[01:06:30] lupine: also as HAR
[01:06:32] lupine: whatever that is
[01:06:33] cpruitt: has joined #RubyOnRails
[01:09:45] jottr: has joined #RubyOnRails
[01:09:50] dogweather: has joined #RubyOnRails
[01:16:28] schneide_: has joined #RubyOnRails
[01:19:29] alfiemax: has joined #RubyOnRails
[01:20:54] jottr: has joined #RubyOnRails
[01:25:31] schneide_: has joined #RubyOnRails
[01:34:39] schneide_: has joined #RubyOnRails
[01:36:54] FastJack: has joined #RubyOnRails
[01:39:20] cpruitt: has joined #RubyOnRails
[01:41:11] jottr: has joined #RubyOnRails
[01:43:44] schneide_: has joined #RubyOnRails
[01:45:06] LenPayne: has joined #RubyOnRails
[01:49:08] aguestuser: has joined #RubyOnRails
[01:49:27] cpruitt: has joined #RubyOnRails
[01:51:01] b3rnd: has joined #RubyOnRails
[01:52:47] schneide_: has joined #RubyOnRails
[01:57:51] hahuang61: has joined #RubyOnRails
[01:58:36] jottr: has joined #RubyOnRails
[02:01:10] workmad3: has joined #RubyOnRails
[02:01:59] schneide_: has joined #RubyOnRails
[02:07:59] alfiemax: has joined #RubyOnRails
[02:10:02] peterhil: has joined #RubyOnRails
[02:11:00] schneide_: has joined #RubyOnRails
[02:12:04] cpruitt: has joined #RubyOnRails
[02:12:30] jottr: has joined #RubyOnRails
[02:20:08] schneide_: has joined #RubyOnRails
[02:26:54] bga57: has joined #RubyOnRails
[02:27:25] darkhanb: has joined #RubyOnRails
[02:27:44] alfiemax: has joined #RubyOnRails
[02:34:58] FastJack: has joined #RubyOnRails
[02:38:23] schneide_: has joined #RubyOnRails
[02:44:37] jottr: has joined #RubyOnRails
[02:47:27] schneide_: has joined #RubyOnRails
[02:48:41] mtkd: has joined #RubyOnRails
[02:51:57] nso95: has joined #RubyOnRails
[02:52:53] hahuang61: has joined #RubyOnRails
[02:57:24] jottr: has joined #RubyOnRails
[03:03:22] nso95: has left #RubyOnRails: ("Leaving")
[03:05:41] schneide_: has joined #RubyOnRails
[03:09:55] Barrt: has joined #RubyOnRails
[03:14:44] schneide_: has joined #RubyOnRails
[03:15:25] alfiemax: has joined #RubyOnRails
[03:17:08] cpruitt: has joined #RubyOnRails
[03:22:43] hahuang61: has joined #RubyOnRails
[03:23:51] schneide_: has joined #RubyOnRails
[03:35:14] cpruitt: has joined #RubyOnRails
[03:36:35] ahrs: has joined #RubyOnRails
[03:36:56] alfiemax: has joined #RubyOnRails
[03:38:42] one_zero: has joined #RubyOnRails
[03:42:09] schneide_: has joined #RubyOnRails
[03:51:10] schneide_: has joined #RubyOnRails
[03:51:26] jottr: has joined #RubyOnRails
[03:59:41] darkhanb: has joined #RubyOnRails
[04:01:54] workmad3: has joined #RubyOnRails
[04:09:26] schneide_: has joined #RubyOnRails
[04:10:14] Barrt: has joined #RubyOnRails
[04:14:08] alfiemax: has joined #RubyOnRails
[04:18:25] schneide_: has joined #RubyOnRails
[04:25:14] trautwein: has joined #RubyOnRails
[04:27:33] schneide_: has joined #RubyOnRails
[04:30:43] apparition: has joined #RubyOnRails
[04:36:42] schneide_: has joined #RubyOnRails
[04:45:29] jottr: has joined #RubyOnRails
[04:45:44] schneide_: has joined #RubyOnRails
[04:46:13] cpruitt: has joined #RubyOnRails
[04:53:56] mtkd: has joined #RubyOnRails
[04:54:49] schneide_: has joined #RubyOnRails
[05:00:44] alfiemax: has joined #RubyOnRails
[05:04:02] schneide_: has joined #RubyOnRails
[05:07:02] b3rnd: has joined #RubyOnRails
[05:09:59] cpruitt: has joined #RubyOnRails
[05:13:05] schneide_: has joined #RubyOnRails
[05:22:08] schneide_: has joined #RubyOnRails
[05:30:19] segy: has joined #RubyOnRails
[05:31:17] schneide_: has joined #RubyOnRails
[05:33:43] fugee: has joined #RubyOnRails
[05:34:40] fugee: @person.pictures << @picture Could not find the association :people_pictures in model Person
[05:39:10] segy: has joined #RubyOnRails
[05:39:37] jottr: has joined #RubyOnRails
[05:40:26] schneide_: has joined #RubyOnRails
[05:40:54] _aeris_: has joined #RubyOnRails
[05:43:38] alfiemax: has joined #RubyOnRails
[05:44:00] Axsuul: has joined #RubyOnRails
[05:49:27] schneide_: has joined #RubyOnRails
[05:54:27] dtzuzu: has joined #RubyOnRails
[05:58:37] schneide_: has joined #RubyOnRails
[06:07:39] schneide_: has joined #RubyOnRails
[06:10:37] apparition: has joined #RubyOnRails
[06:13:09] cpruitt: has joined #RubyOnRails
[06:16:52] schneide_: has joined #RubyOnRails
[06:25:27] schneide_: has joined #RubyOnRails
[06:25:48] cpruitt: has joined #RubyOnRails
[06:31:04] apparition: has joined #RubyOnRails
[06:31:18] schneide_: has joined #RubyOnRails
[06:33:41] jottr: has joined #RubyOnRails
[06:54:24] cpruitt: has joined #RubyOnRails
[06:55:59] Saukk: has joined #RubyOnRails
[07:04:33] arav93: has joined #RubyOnRails
[07:04:47] arav93: Hi, I'm working a web app, Rails and MongoDB. I have set up mongodb, but I'm still not able to insert any data into the tables.
[07:04:55] arav93: I get the following error : Mongo::Error::OperationFailure: no such cmd: insert ()
[07:05:08] arav93: Any idea why this might have happened?
[07:06:45] za1b1tsu: has joined #RubyOnRails
[07:09:39] pwnd_nsfw: has joined #RubyOnRails
[07:17:38] cpruitt: has joined #RubyOnRails
[07:27:49] jottr: has joined #RubyOnRails
[07:30:31] alfiemax: has joined #RubyOnRails
[07:31:34] mtkd: has joined #RubyOnRails
[07:36:59] cpruitt: has joined #RubyOnRails
[07:53:40] schneide_: has joined #RubyOnRails
[08:02:47] schneide_: has joined #RubyOnRails
[08:03:26] workmad3: has joined #RubyOnRails
[08:03:51] jottr: has joined #RubyOnRails
[08:04:49] gambl0re: has joined #RubyOnRails
[08:04:51] cpruitt: has joined #RubyOnRails
[08:04:59] TinkerTyper: has joined #RubyOnRails
[08:11:58] schneide_: has joined #RubyOnRails
[08:17:23] schneide_: has joined #RubyOnRails
[08:25:31] jottr: has joined #RubyOnRails
[08:26:29] schneide_: has joined #RubyOnRails
[08:35:21] desperek: has joined #RubyOnRails
[08:35:32] schneide_: has joined #RubyOnRails
[08:44:43] schneide_: has joined #RubyOnRails
[08:49:03] cpruitt: has joined #RubyOnRails
[08:53:47] schneide_: has joined #RubyOnRails
[09:00:28] jnollette: has joined #RubyOnRails
[09:05:40] jottr: has joined #RubyOnRails
[09:11:59] schneide_: has joined #RubyOnRails
[09:23:38] jottr: has joined #RubyOnRails
[09:24:01] alfiemax: has joined #RubyOnRails
[09:32:59] conta: has joined #RubyOnRails
[09:35:10] schneide_: has joined #RubyOnRails
[09:44:34] schneide_: has joined #RubyOnRails
[09:53:39] schneide_: has joined #RubyOnRails
[10:01:06] alfiemax: has joined #RubyOnRails
[10:02:44] jottr: has joined #RubyOnRails
[10:02:50] cpruitt: has joined #RubyOnRails
[10:04:10] workmad3: has joined #RubyOnRails
[10:05:51] desperek: has joined #RubyOnRails
[10:06:44] defsdoor: has joined #RubyOnRails
[10:15:32] mikecmpbll: has joined #RubyOnRails
[10:17:18] marr: has joined #RubyOnRails
[10:21:38] jottr: has joined #RubyOnRails
[10:33:44] arBmind: has joined #RubyOnRails
[10:33:48] pLaTo0n: has joined #RubyOnRails
[10:38:49] jottr: has joined #RubyOnRails
[10:47:51] schneide_: has joined #RubyOnRails
[11:00:10] alfiemax: has joined #RubyOnRails
[11:06:32] ur5us: has joined #RubyOnRails
[11:15:07] sameerynho: has joined #RubyOnRails
[11:17:44] cpruitt: has joined #RubyOnRails
[11:30:55] cpruitt: has joined #RubyOnRails
[11:31:37] hammer065: has joined #RubyOnRails
[11:36:46] mtkd: has joined #RubyOnRails
[11:42:51] schneide_: has joined #RubyOnRails
[11:52:00] schneide_: has joined #RubyOnRails
[11:57:54] cpruitt: has joined #RubyOnRails
[12:01:04] schneide_: has joined #RubyOnRails
[12:04:53] workmad3: has joined #RubyOnRails
[12:08:35] jottr: has joined #RubyOnRails
[12:10:12] schneide_: has joined #RubyOnRails
[12:15:59] alfiemax: has joined #RubyOnRails
[12:19:16] schneide_: has joined #RubyOnRails
[12:28:17] schneide_: has joined #RubyOnRails
[12:30:32] b3rnd: has joined #RubyOnRails
[12:37:28] schneide_: has joined #RubyOnRails
[12:44:42] b3rnd: has joined #RubyOnRails
[12:47:09] dtzuzu: has joined #RubyOnRails
[12:47:19] jottr: has joined #RubyOnRails
[12:55:44] schneide_: has joined #RubyOnRails
[13:04:45] schneide_: has joined #RubyOnRails
[13:05:49] cpruitt: has joined #RubyOnRails
[13:07:20] ur5us: has joined #RubyOnRails
[13:13:20] schneide_: has joined #RubyOnRails
[13:19:04] DTZUZO: has joined #RubyOnRails
[13:22:24] schneide_: has joined #RubyOnRails
[13:31:59] jottr: has joined #RubyOnRails
[13:36:54] fl4sh_: has joined #RubyOnRails
[13:40:42] schneide_: has joined #RubyOnRails
[13:40:52] mtkd: has joined #RubyOnRails
[13:41:24] jottr: has joined #RubyOnRails
[13:49:17] apparition: has joined #RubyOnRails
[13:49:42] schneide_: has joined #RubyOnRails
[14:07:58] schneide_: has joined #RubyOnRails
[14:15:24] workmad3: has joined #RubyOnRails
[14:15:37] cpruitt: has joined #RubyOnRails
[14:17:01] schneide_: has joined #RubyOnRails
[14:18:14] zwliew: has joined #RubyOnRails
[14:26:13] schneide_: has joined #RubyOnRails
[14:35:15] schneide_: has joined #RubyOnRails
[14:44:16] schneide_: has joined #RubyOnRails
[14:45:52] cpruitt: has joined #RubyOnRails
[14:53:29] schneide_: has joined #RubyOnRails
[15:07:59] ur5us: has joined #RubyOnRails
[15:09:47] one_zero: has joined #RubyOnRails
[15:11:44] schneide_: has joined #RubyOnRails
[15:20:44] schneide_: has joined #RubyOnRails
[15:29:32] schneide_: has joined #RubyOnRails
[15:30:20] Puffball: has joined #RubyOnRails
[15:34:25] quarters: has joined #RubyOnRails
[15:38:44] schneide_: has joined #RubyOnRails
[15:39:36] workmad3: has joined #RubyOnRails
[15:39:37] cpruitt: has joined #RubyOnRails
[15:43:29] schneide_: has joined #RubyOnRails
[15:45:14] mtkd: has joined #RubyOnRails
[16:06:35] Saukk: has joined #RubyOnRails
[16:07:01] zacts: has joined #RubyOnRails
[16:12:05] cpruitt: has joined #RubyOnRails
[16:43:31] uksio: has joined #RubyOnRails
[16:54:25] schneide_: has joined #RubyOnRails
[16:56:26] dviola: has joined #RubyOnRails
[16:57:39] inradius: has joined #RubyOnRails
[17:01:41] inradius: What are Active Record Migrations good for? I'm planning on using it to build a table with fixed number of columns/rows, but the values will be constantly updated
[17:02:12] mikecmpbll: has joined #RubyOnRails
[17:08:37] ur5us: has joined #RubyOnRails
[17:11:12] fryguy: you use activerecord migrations typically for changing the structure of your schema
[17:11:21] fryguy: not the contents of your tables
[17:13:21] jottr: has joined #RubyOnRails
[17:29:43] marahin: Hello! I'm working with Rails and Sequel. I have a pet project that includes managing of some open-source MMO game. This game has two servers; each has one database with exact same structure. A scenario would be that user creates an account in Rails app, this account is also created on both databases; then if user creates a character, it should appear only in one of the two databases (but it's still the same class/model). Any articles or libraries
[17:29:44] marahin: that would be of use in this kind of scenario?
[17:30:11] NoGodDamnIdea: has joined #RubyOnRails
[17:38:01] ahrs: has joined #RubyOnRails
[17:46:56] ur5us: has joined #RubyOnRails
[17:50:33] mtkd: has joined #RubyOnRails
[17:51:48] arBmind: has joined #RubyOnRails
[17:57:32] workmad3: has joined #RubyOnRails
[17:59:47] cpruitt: has joined #RubyOnRails
[18:06:45] DrYockel: has joined #RubyOnRails
[18:17:59] Aherin: has joined #RubyOnRails
[18:22:56] orbyt_: has joined #RubyOnRails
[18:25:48] schneide_: has joined #RubyOnRails
[18:33:19] Ryzokuken: has joined #RubyOnRails
[18:33:23] Ryzokuken: Hey all! I have a slight issue, could you help?
[18:33:58] Ryzokuken: I'm passing down locals to my partial like: `<%= render partial: "dashboard/node_comment", locals: { node: node, index: i } %>`
[18:34:35] schneide_: has joined #RubyOnRails
[18:35:05] Ryzokuken: I'm still getting `undefined method `node' for nil:NilClass`
[18:39:47] powrtoch: has joined #RubyOnRails
[18:51:50] jamesaxl: has joined #RubyOnRails
[18:52:32] schneide_: has joined #RubyOnRails
[18:59:05] fryguy: well, what is the value of node?
[19:10:16] ur5us: has joined #RubyOnRails
[19:10:47] schneide_: has joined #RubyOnRails
[19:26:22] kapil___: has joined #RubyOnRails
[19:29:03] LateralO1: has joined #RubyOnRails
[19:31:12] desperek: has joined #RubyOnRails
[19:31:49] Ryzokuken: fryguy: how can I check?
[19:32:49] fryguy: inspecting it in a test or using an inline debugging tool like pry are two options
[19:36:21] Ryzokuken: okay, lemme try.
[19:37:44] Ryzokuken: PSA: This error sometimes magically disappear and then equally magically reappear
[19:37:54] Ryzokuken: that's especially why it's so hard to debug
[19:39:42] Ryzokuken: okay, I'm trying `debug(node)`
[19:40:59] Aherin: has joined #RubyOnRails
[19:44:14] schneide_: has joined #RubyOnRails
[19:55:50] mtkd: has joined #RubyOnRails
[19:58:20] workmad3: has joined #RubyOnRails
[20:02:12] schneide_: has joined #RubyOnRails
[20:07:03] desperek: has joined #RubyOnRails
[20:09:12] cpruitt: has joined #RubyOnRails
[20:19:40] darkhanb: has joined #RubyOnRails
[20:28:47] dtzuzu: has joined #RubyOnRails
[20:35:12] workmad3: has joined #RubyOnRails
[20:40:24] nickjj: has joined #RubyOnRails
[20:40:25] arBmind: has joined #RubyOnRails
[20:57:22] Dimik: has joined #RubyOnRails
[21:05:19] orbyt_: has joined #RubyOnRails
[21:09:29] armyriad: has joined #RubyOnRails
[21:15:08] cpruitt: has joined #RubyOnRails
[21:29:35] LateralOctober: has joined #RubyOnRails
[21:33:29] schneide_: has joined #RubyOnRails
[21:41:09] kies: has joined #RubyOnRails
[21:50:17] DaniG2k: has joined #RubyOnRails
[21:50:31] DaniG2k: hello all. I am struggling to get a vue2-dropzone & Rails form set up
[21:50:41] DaniG2k: I've posted my question in full on SO: https://stackoverflow.com/questions/48602288/combine-normal-form-with-vue2-dropzone-in-rails
[21:50:47] DaniG2k: any help would be greatly appreciated
[21:51:10] orbyt_: has joined #RubyOnRails
[21:51:14] hahuang61: has joined #RubyOnRails
[21:53:49] nogic: has joined #RubyOnRails
[22:00:34] mtkd: has joined #RubyOnRails
[22:06:10] gambl0re: has joined #RubyOnRails
[22:35:02] orbyt_: has joined #RubyOnRails
[22:50:22] hahuang61: has joined #RubyOnRails
[22:56:36] TinkerTyper: has joined #RubyOnRails
[23:06:22] orbyt_: has joined #RubyOnRails
[23:22:46] ResidentBiscuit: has joined #RubyOnRails
[23:31:44] LateralO1: has joined #RubyOnRails
[23:36:15] elcontrastador: has joined #RubyOnRails
[23:45:11] jrp93: has joined #RubyOnRails
[23:45:15] Stabs: has joined #RubyOnRails
[23:46:11] Stabs: !problem with Heroku: background images failing to work.
[23:48:19] Stabs: https://gist.github.com/anonymous/1ce430b426d1502b98c05cf8457dcf6a
[23:50:35] fryguy: Stabs: things from app/assets don't get served in production mode, only from public/assets, are you doing asset-precompilation?
[23:51:19] fryguy: you realistically need to
[23:52:11] Stabs: How do I precompile?
[23:52:39] fryguy: you'll find this guide helpful: http://guides.rubyonrails.org/asset_pipeline.html