« Back to channel list

#RubyOnRails - 13 February 2016

« Back 1 day Forward 1 day »
[00:00:16] macsteps: has joined #RubyOnRails
[00:00:29] shilon: has joined #RubyOnRails
[00:01:31] shilon: has joined #RubyOnRails
[00:02:13] shilon: has joined #RubyOnRails
[00:03:07] shilon: has joined #RubyOnRails
[00:03:46] ElFerna_: has joined #RubyOnRails
[00:05:43] bronson: has joined #RubyOnRails
[00:07:12] theery: has joined #RubyOnRails
[00:09:34] barajasfab: has joined #RubyOnRails
[00:10:04] czerasz: has joined #RubyOnRails
[00:10:35] wethu: has joined #RubyOnRails
[00:10:47] roshanavand: has joined #RubyOnRails
[00:11:49] trinaldi: has joined #RubyOnRails
[00:15:13] rubyonrailed: has joined #RubyOnRails
[00:19:42] eljimmy: has joined #RubyOnRails
[00:19:47] Martyn: has joined #RubyOnRails
[00:20:10] maesitos: has joined #RubyOnRails
[00:21:11] ravster: has joined #RubyOnRails
[00:22:12] ferr: Could anyone explain me why all of my javascript files are only executed at one page?
[00:24:27] smathy: ferr, turbolinks
[00:25:25] ferr: smathy: I use jquery.turbolinks gem, javascript files are loaded through all pages but executed only at one. How would I resolve this?
[00:26:58] smathy: ferr, I use turbolinks's own events, sorry I don't know how that gem works.
[00:28:52] dopie: has joined #RubyOnRails
[00:31:23] wethu: has joined #RubyOnRails
[00:34:05] jottr: has joined #RubyOnRails
[00:38:44] edwinvdgraaf: has joined #RubyOnRails
[00:41:48] ravster: has joined #RubyOnRails
[00:45:33] kies^: has joined #RubyOnRails
[00:48:08] Devalo: has joined #RubyOnRails
[00:49:32] quazimodo: has joined #RubyOnRails
[00:50:05] kirillzh: has joined #RubyOnRails
[00:53:15] jottr: has joined #RubyOnRails
[00:53:41] Oog_: has joined #RubyOnRails
[00:54:43] kmckelvin: has joined #RubyOnRails
[00:56:56] ur5us: has joined #RubyOnRails
[00:59:31] hashtd: has joined #RubyOnRails
[01:00:34] maesitos: has joined #RubyOnRails
[01:02:35] maesitos_: has joined #RubyOnRails
[01:02:39] Limix: has joined #RubyOnRails
[01:03:18] hashtd: has joined #RubyOnRails
[01:04:13] hive-mind: has joined #RubyOnRails
[01:04:25] maesitos: has joined #RubyOnRails
[01:04:55] stannard: has joined #RubyOnRails
[01:06:16] maesitos: has joined #RubyOnRails
[01:07:44] PlasmaStar: has joined #RubyOnRails
[01:08:08] maesitos: has joined #RubyOnRails
[01:08:52] mices: has joined #RubyOnRails
[01:10:01] drbayer: has joined #RubyOnRails
[01:10:02] ferr: smathy: I removed that gem and now rely on turbolinks
[01:10:07] maesitos: has joined #RubyOnRails
[01:11:03] Limix: has joined #RubyOnRails
[01:11:57] maesitos: has joined #RubyOnRails
[01:13:13] smathy: And it's working ferr ?
[01:13:52] maesitos: has joined #RubyOnRails
[01:15:36] jon31: has joined #RubyOnRails
[01:15:47] maesitos: has joined #RubyOnRails
[01:16:23] rubyonrailed: has joined #RubyOnRails
[01:17:42] maesitos_: has joined #RubyOnRails
[01:19:33] maesitos: has joined #RubyOnRails
[01:21:29] maesitos: has joined #RubyOnRails
[01:21:45] ferr: It does not smathy
[01:21:58] ferr: It works with document.ready but page:change does not
[01:22:53] aaronr: has joined #RubyOnRails
[01:23:22] maesitos: has joined #RubyOnRails
[01:23:35] kmckelvin: has joined #RubyOnRails
[01:23:56] smathy: ferr, !gist your JS code
[01:23:56] helpa: ferr: http://gist.github.com - Put your codes online with pretty syntax highlighting and the ability to embed it into other pages.
[01:25:15] maesitos_: has joined #RubyOnRails
[01:26:12] triptec: has joined #RubyOnRails
[01:26:30] ferr: smathy: https://gist.github.com/Fercell/e49e42cf1c17874faa18
[01:26:31] floror: has left #RubyOnRails: ()
[01:26:36] floror: has joined #RubyOnRails
[01:27:10] maesitos: has joined #RubyOnRails
[01:27:36] nerium: has joined #RubyOnRails
[01:27:47] nerium: Is there a way to eager load #first on a AR?
[01:29:03] maesitos_: has joined #RubyOnRails
[01:30:26] n00bDev: has joined #RubyOnRails
[01:30:54] maesitos: has joined #RubyOnRails
[01:30:55] smathy: ferr, you've got coffeescript in a .js file
[01:31:12] ferr: smathy: I'm sorry, it's .coffee file
[01:32:51] maesitos_: has joined #RubyOnRails
[01:33:10] smathy: ferr, and so if you put a `console.log "Foo"` as the first line of your callback you're saying that "Foo" doesn't appear in your JS console?
[01:33:32] ferr: smathy: it appears all the time
[01:34:25] smathy: ferr, what does that mean?
[01:34:25] jottr: has joined #RubyOnRails
[01:34:41] maesitos: has joined #RubyOnRails
[01:36:04] sleungcy: has joined #RubyOnRails
[01:36:39] maesitos: has joined #RubyOnRails
[01:38:35] maesitos_: has joined #RubyOnRails
[01:40:47] maesitos: has joined #RubyOnRails
[01:42:21] maesitos: has joined #RubyOnRails
[01:44:17] maesitos_: has joined #RubyOnRails
[01:44:57] jtong: has joined #RubyOnRails
[01:46:08] maesitos: has joined #RubyOnRails
[01:47:57] macsteps: has joined #RubyOnRails
[01:48:17] maesitos: has joined #RubyOnRails
[01:49:56] maesitos: has joined #RubyOnRails
[01:51:50] maesitos: has joined #RubyOnRails
[01:53:43] maesitos_: has joined #RubyOnRails
[01:55:38] maesitos: has joined #RubyOnRails
[01:57:25] chipotle: has joined #RubyOnRails
[01:57:32] maesitos: has joined #RubyOnRails
[01:59:00] macsteps: has joined #RubyOnRails
[01:59:28] maesitos: has joined #RubyOnRails
[01:59:32] superlou: has joined #RubyOnRails
[02:00:06] Scripore: has joined #RubyOnRails
[02:01:20] maesitos: has joined #RubyOnRails
[02:01:33] Scripore: has joined #RubyOnRails
[02:03:14] maesitos: has joined #RubyOnRails
[02:05:11] maesitos: has joined #RubyOnRails
[02:06:33] youngmathimus0: has joined #RubyOnRails
[02:07:01] maesitos: has joined #RubyOnRails
[02:08:58] maesitos_: has joined #RubyOnRails
[02:09:59] chouhoulis: has joined #RubyOnRails
[02:10:52] maesitos: has joined #RubyOnRails
[02:12:48] maesitos_: has joined #RubyOnRails
[02:13:42] Cohedrin: has joined #RubyOnRails
[02:14:00] Cohedrin: I feel dumb for asking this
[02:14:18] Cohedrin: but is there a way to "turn off" rollbacks for a specific model, after a certian method has completed?
[02:14:32] Cohedrin: I've tried using after_commit, but it doesn't work in this specific use case
[02:14:36] turbohead: has joined #RubyOnRails
[02:14:41] maesitos: has joined #RubyOnRails
[02:17:44] Cohedrin: or better yet, is there a way to make after_commit fire after the a subtransaction of a parent transaction finishes, and not the parent transaction?
[02:18:40] rubyonrailed: has joined #RubyOnRails
[02:19:23] maesitos: has joined #RubyOnRails
[02:20:00] triptec: has joined #RubyOnRails
[02:21:24] maesitos: has joined #RubyOnRails
[02:22:36] segy: has joined #RubyOnRails
[02:23:02] maesitos: has joined #RubyOnRails
[02:24:57] maesitos: has joined #RubyOnRails
[02:25:50] arBmind: has joined #RubyOnRails
[02:26:07] smathy: has joined #RubyOnRails
[02:26:51] maesitos: has joined #RubyOnRails
[02:27:03] Jelkster: has joined #RubyOnRails
[02:27:49] Jelkster: anyone know how to use data-turbolinks-permanent?
[02:28:40] maesitos: has joined #RubyOnRails
[02:29:14] duncannz: has joined #RubyOnRails
[02:30:02] duncannz: has joined #RubyOnRails
[02:30:35] maesitos: has joined #RubyOnRails
[02:30:51] duncannz: has joined #RubyOnRails
[02:32:05] duncannz: has joined #RubyOnRails
[02:32:32] maesitos: has joined #RubyOnRails
[02:33:40] jottr_: has joined #RubyOnRails
[02:34:23] maesitos: has joined #RubyOnRails
[02:35:53] barhum2013: has joined #RubyOnRails
[02:36:16] maesitos: has joined #RubyOnRails
[02:38:11] maesitos: has joined #RubyOnRails
[02:39:29] smathy: Jelkster, is there some secret beyond what's stated here: https://github.com/turbolinks/turbolinks-classic#data-turbolinks-permanent-30 ?
[02:40:08] maesitos: has joined #RubyOnRails
[02:41:59] maesitos_: has joined #RubyOnRails
[02:42:14] Jelkster: there must be smathy. when i annotate elements data-turbolinks-permanent, and provide a unique id, the elements DO NOT get persisted when the next page loads.
[02:43:53] maesitos: has joined #RubyOnRails
[02:44:11] ravster: has joined #RubyOnRails
[02:45:51] maesitos_: has joined #RubyOnRails
[02:47:42] maesitos: has joined #RubyOnRails
[02:49:38] maesitos: has joined #RubyOnRails
[02:51:31] maesitos_: has joined #RubyOnRails
[02:52:06] Lingo_____: has joined #RubyOnRails
[02:53:24] maesitos: has joined #RubyOnRails
[02:53:32] roshanavand: has joined #RubyOnRails
[02:55:19] maesitos_: has joined #RubyOnRails
[02:57:12] maesitos: has joined #RubyOnRails
[02:59:09] maesitos: has joined #RubyOnRails
[02:59:58] ryanwinchester: has left #RubyOnRails: ("Laters")
[03:00:56] baweaver: has joined #RubyOnRails
[03:01:01] maesitos: has joined #RubyOnRails
[03:02:53] maesitos: has joined #RubyOnRails
[03:03:50] Limix: has joined #RubyOnRails
[03:03:56] benlieb: has joined #RubyOnRails
[03:04:50] maesitos: has joined #RubyOnRails
[03:05:43] rogue_koder: has joined #RubyOnRails
[03:07:00] maesitos: has joined #RubyOnRails
[03:07:27] nettoweb: has joined #RubyOnRails
[03:08:37] maesitos: has joined #RubyOnRails
[03:09:06] y2mq37: has joined #RubyOnRails
[03:09:14] sankaber: has joined #RubyOnRails
[03:10:29] maesitos: has joined #RubyOnRails
[03:11:08] ferr: has joined #RubyOnRails
[03:12:24] maesitos: has joined #RubyOnRails
[03:12:29] RegulationD: has joined #RubyOnRails
[03:12:29] Bloomer: has joined #RubyOnRails
[03:14:20] maesitos_: has joined #RubyOnRails
[03:15:01] mwcmitchell: has joined #RubyOnRails
[03:16:14] maesitos: has joined #RubyOnRails
[03:18:05] maesitos: has joined #RubyOnRails
[03:19:37] rubyonrailed: has joined #RubyOnRails
[03:20:01] maesitos: has joined #RubyOnRails
[03:21:55] maesitos_: has joined #RubyOnRails
[03:25:38] maesitos: has joined #RubyOnRails
[03:26:11] nodejunkie: has joined #RubyOnRails
[03:27:35] maesitos: has joined #RubyOnRails
[03:29:28] maesitos_: has joined #RubyOnRails
[03:31:23] maesitos: has joined #RubyOnRails
[03:37:44] kmckelvin: has joined #RubyOnRails
[03:40:19] jtong: has joined #RubyOnRails
[03:40:23] DmitryBochkarev: has joined #RubyOnRails
[03:42:30] darwingr: has joined #RubyOnRails
[03:43:40] duncannz: has joined #RubyOnRails
[03:47:57] Tempesta: has joined #RubyOnRails
[03:53:47] floror: has joined #RubyOnRails
[04:01:36] baweaver: has joined #RubyOnRails
[04:02:13] joshkovach: has joined #RubyOnRails
[04:03:00] rubyonrailed: has joined #RubyOnRails
[04:03:41] dexter-tzu: has joined #RubyOnRails
[04:05:24] rakm: has joined #RubyOnRails
[04:06:01] treaki__: has joined #RubyOnRails
[04:09:11] Scripore: has joined #RubyOnRails
[04:10:26] treaki: has joined #RubyOnRails
[04:12:38] braincrash: has joined #RubyOnRails
[04:12:39] rubyonrailed: has joined #RubyOnRails
[04:15:27] dexter-tzu: has joined #RubyOnRails
[04:20:44] akshat: has joined #RubyOnRails
[04:21:38] crystal77: has joined #RubyOnRails
[04:22:36] crystal77: has left #RubyOnRails: ()
[04:27:53] lessless: has joined #RubyOnRails
[04:30:27] konsolebox: has joined #RubyOnRails
[04:31:41] triptec: has joined #RubyOnRails
[04:45:12] ravster: has joined #RubyOnRails
[04:45:49] alex88: has joined #RubyOnRails
[04:49:30] Devalo: has joined #RubyOnRails
[04:51:01] mbreedlove: has joined #RubyOnRails
[04:55:31] B1n4r10: has joined #RubyOnRails
[04:55:48] blackmesa: has joined #RubyOnRails
[04:56:57] kirillzh: has joined #RubyOnRails
[05:04:13] apotry: has joined #RubyOnRails
[05:06:23] mbreedlove: has joined #RubyOnRails
[05:08:48] triptec: has joined #RubyOnRails
[05:13:37] jtong: has joined #RubyOnRails
[05:14:38] draig: has joined #RubyOnRails
[05:15:38] EMCHAMP_: has joined #RubyOnRails
[05:15:53] smoitra: has joined #RubyOnRails
[05:21:52] alex88: has joined #RubyOnRails
[05:28:45] smoitra: has joined #RubyOnRails
[05:29:59] ferr: has joined #RubyOnRails
[05:32:16] maesitos: has joined #RubyOnRails
[05:34:01] roshanavand: has joined #RubyOnRails
[05:34:48] barhum2013: has joined #RubyOnRails
[05:36:15] chipotle: has joined #RubyOnRails
[05:36:42] quazimodo: has joined #RubyOnRails
[05:38:21] zenergi: has joined #RubyOnRails
[05:40:17] kmckelvin: has joined #RubyOnRails
[05:41:00] moeabdol1: has joined #RubyOnRails
[05:48:49] triptec: has joined #RubyOnRails
[05:50:49] rogue_koder: has joined #RubyOnRails
[05:53:52] kmckelvin: has joined #RubyOnRails
[05:57:27] moeabdol1: has joined #RubyOnRails
[05:59:58] corioliss: has joined #RubyOnRails
[06:00:25] chipotle: has joined #RubyOnRails
[06:02:21] baweaver: has joined #RubyOnRails
[06:02:25] joshkovach: has joined #RubyOnRails
[06:10:12] speakingcode: has joined #RubyOnRails
[06:16:37] quazimodo: this channel's quiet today
[06:17:05] quazimodo: who wanna talk about service oriented approach ?
[06:17:33] quazimodo: i'm really interested it talking about how servers can communicate with each other, other than the obvious http apis
[06:21:37] techsethi: has joined #RubyOnRails
[06:21:55] techsethi: has joined #RubyOnRails
[06:23:00] dionysus69: has joined #RubyOnRails
[06:25:43] wethu: has joined #RubyOnRails
[06:25:51] blackmesa: has joined #RubyOnRails
[06:26:21] Bloomer: has joined #RubyOnRails
[06:34:55] sohel: has joined #RubyOnRails
[06:38:34] hahuang61: has joined #RubyOnRails
[06:45:49] ravster: has joined #RubyOnRails
[06:46:09] yfeldblum: has joined #RubyOnRails
[06:51:47] benlieb: has joined #RubyOnRails
[06:54:51] havenwood: quazimodo: DRb!
[06:58:34] Meow-J: has joined #RubyOnRails
[06:59:24] lxsameer: has joined #RubyOnRails
[07:08:22] Bloomer: has joined #RubyOnRails
[07:12:21] tvw: has joined #RubyOnRails
[07:12:43] bronson: has joined #RubyOnRails
[07:12:47] sandstrom: has joined #RubyOnRails
[07:13:54] RegulationD: has joined #RubyOnRails
[07:17:37] pawnbox: has joined #RubyOnRails
[07:26:14] ferr: I removed turbolinks but jquery document.ready still does not load on initial page load
[07:28:54] baweaver: has joined #RubyOnRails
[07:29:48] kmckelvin: has joined #RubyOnRails
[07:33:05] maesitos: has joined #RubyOnRails
[07:36:20] quazimodo: havenwood: hey
[07:37:13] havenwood: quazimodo: It's in the Ruby stdlib: http://ruby-doc.org/stdlib/libdoc/drb/rdoc/DRb.html
[07:37:40] rails690: has joined #RubyOnRails
[07:37:41] havenwood: quazimodo: It's a distributed Ruby thing written in Ruby.'
[07:38:55] defsdoor: has joined #RubyOnRails
[07:39:23] dionysus69: has joined #RubyOnRails
[07:43:23] sandstrom: has joined #RubyOnRails
[07:47:08] pawnbox: has joined #RubyOnRails
[07:48:51] ziyadb: has joined #RubyOnRails
[07:49:57] lxsameer: has joined #RubyOnRails
[07:51:29] Cervajz: has joined #RubyOnRails
[07:52:08] Cervajz_: has joined #RubyOnRails
[07:53:54] darutoko: has joined #RubyOnRails
[07:55:51] blackmesa: has joined #RubyOnRails
[07:56:27] Oog_: has joined #RubyOnRails
[07:59:06] n00bDev: has joined #RubyOnRails
[08:01:51] pawnbox: has joined #RubyOnRails
[08:03:25] rails690: has joined #RubyOnRails
[08:03:58] SteenJobs: has joined #RubyOnRails
[08:08:34] rails690: I have a large form with around 140 inputs. It's causing big performance problems. If I use .show() for 40 inputs and .hide() for 100 inputs, does this solve the performance problem or make no difference?
[08:08:37] Devalo: has joined #RubyOnRails
[08:11:28] pawnbox_: has joined #RubyOnRails
[08:11:54] Cohedrin_: has joined #RubyOnRails
[08:15:31] c355E3B_: has joined #RubyOnRails
[08:15:42] waldi_: has joined #RubyOnRails
[08:16:11] toydestroyer: has joined #RubyOnRails
[08:16:25] mostlybadfly: has joined #RubyOnRails
[08:17:11] srinidhi: has joined #RubyOnRails
[08:18:47] elben: has joined #RubyOnRails
[08:21:10] Spami: has joined #RubyOnRails
[08:27:10] askhat: has joined #RubyOnRails
[08:30:29] p1k: has joined #RubyOnRails
[08:30:30] okdas: has joined #RubyOnRails
[08:30:30] okdas: has joined #RubyOnRails
[08:31:40] Bloomer: has joined #RubyOnRails
[08:32:27] okdas_: has joined #RubyOnRails
[08:37:51] floror: has joined #RubyOnRails
[08:39:48] Macaveli: has joined #RubyOnRails
[08:41:21] newton: has left #RubyOnRails: ()
[08:43:23] code2Learn: has joined #RubyOnRails
[08:46:48] ravster: has joined #RubyOnRails
[08:47:37] n00bDev: has joined #RubyOnRails
[08:53:35] mdw: has joined #RubyOnRails
[08:55:59] grn: has joined #RubyOnRails
[09:04:04] moeabdol: has joined #RubyOnRails
[09:05:37] ferr: has joined #RubyOnRails
[09:07:40] quazimodo: havenwood: i'll look at that
[09:10:44] sohel: has joined #RubyOnRails
[09:13:05] marr: has joined #RubyOnRails
[09:22:30] chemic: has joined #RubyOnRails
[09:23:25] floror: has joined #RubyOnRails
[09:23:28] reber: has joined #RubyOnRails
[09:24:00] chemic: has joined #RubyOnRails
[09:25:53] blackmesa: has joined #RubyOnRails
[09:28:31] y2mq37: has joined #RubyOnRails
[09:30:17] mahesh: has joined #RubyOnRails
[09:33:57] maesitos: has joined #RubyOnRails
[09:36:13] shibly: has joined #RubyOnRails
[09:36:31] shibly: has left #RubyOnRails: ()
[09:38:00] dalpo: has joined #RubyOnRails
[09:41:25] Spami: has joined #RubyOnRails
[09:45:03] dextertzu: has joined #RubyOnRails
[09:48:37] dexter-tzu: has joined #RubyOnRails
[09:48:51] sandstrom: has joined #RubyOnRails
[09:49:04] yfeldblum: has joined #RubyOnRails
[09:49:39] n00bDev: has joined #RubyOnRails
[09:51:46] Champion_The: has joined #RubyOnRails
[09:53:36] Champion_The: hi, I need a hint. I use rails 4 with foundation 6 and when I compile assets in production I have to restart nginx server to see changes
[09:57:45] edwinvdgraaf: has joined #RubyOnRails
[09:59:26] beast: has joined #RubyOnRails
[10:00:47] PlasmaStar: has joined #RubyOnRails
[10:08:58] rhizome: put that whole line into google, i bet something comes up
[10:11:52] Honeycomb: has joined #RubyOnRails
[10:14:09] bronson: has joined #RubyOnRails
[10:14:59] blackmesa: has joined #RubyOnRails
[10:16:26] lexileo: has joined #RubyOnRails
[10:30:25] DmitryBochkarev: has joined #RubyOnRails
[10:30:29] askhat: has joined #RubyOnRails
[10:38:36] nfk: has joined #RubyOnRails
[10:38:53] srinidhi: has joined #RubyOnRails
[10:39:13] mbreedlove: has joined #RubyOnRails
[10:41:42] Andr3as: hello everyone
[10:41:58] netzfisch: has joined #RubyOnRails
[10:41:59] mdw: has joined #RubyOnRails
[10:43:03] Andr3as: is there a helper method for proper "naming"? like i want to create a dashboard page and wanna call it "Andreas' Dashboard" or "Tom's Dashboard" - is there a helper for that name part, when a users name is like "Tom" or "Andreas"?
[10:43:48] yereby: has joined #RubyOnRails
[10:44:35] trinaldi: has joined #RubyOnRails
[10:46:14] Champion_The: im done with rails, its bullshit
[10:47:21] ravster: has joined #RubyOnRails
[10:49:22] dexter-tzu: has joined #RubyOnRails
[10:50:49] n00bDev: has joined #RubyOnRails
[10:53:22] armyriad: has joined #RubyOnRails
[10:55:15] arup_r: has joined #RubyOnRails
[11:03:06] fox_mulder_cp: Champion_The: seems caching is wrong'
[11:04:05] fox_mulder_cp: Champion_The: u ise one nginx for dev and prod in one upstream rails 4 app with bootstraop or foundation without problems
[11:05:16] meoblast001: has joined #RubyOnRails
[11:05:51] fox_mulder_cp: Champion_The: see the start_prod|start_dev scripts on my https://github.com/foxmuldercp/blogapp
[11:08:03] matthias_: has joined #RubyOnRails
[11:08:50] Champion_The: and how come that PHP websites don't have to reload nginx or do passenger-config restart-app
[11:08:59] jottr: has joined #RubyOnRails
[11:10:13] Champion_The: all is needed is change code and reload website
[11:10:15] fox_mulder_cp: Champion_The: nginx|apache is app server for php
[11:10:16] Champion_The: i dont get it
[11:10:39] fox_mulder_cp: it served by php-fpm or 2 apache module
[11:11:07] fox_mulder_cp: but sometimes if it use php as webserver - it must reload, yep
[11:12:19] Champion_The: im like how coders do it when they have hosted rails apps somewhere at a hosting company and need to restart server
[11:13:06] Champion_The: i have full access to my server so i can log in via ssh and restart that
[11:15:26] RegulationD: has joined #RubyOnRails
[11:17:40] dionysus69: has joined #RubyOnRails
[11:19:18] fox_mulder_cp: in production mode rails cache all in memory, and assets must be powered by nginx for minimize rails app load
[11:29:19] askhat: has joined #RubyOnRails
[11:30:34] arup_r: has joined #RubyOnRails
[11:34:53] maesitos: has joined #RubyOnRails
[11:42:58] Champion_The: has left #RubyOnRails: ("Leaving")
[11:44:57] chouhoulis: has joined #RubyOnRails
[11:45:21] nodejunkie: has joined #RubyOnRails
[11:47:40] astrofog: has joined #RubyOnRails
[11:48:40] maesitos: has joined #RubyOnRails
[11:51:26] n00bDev: has joined #RubyOnRails
[11:52:18] sandstrom: has joined #RubyOnRails
[11:57:31] arup_r: has joined #RubyOnRails
[12:02:15] mickey_mouse: has joined #RubyOnRails
[12:04:56] triptec: has joined #RubyOnRails
[12:07:38] czerasz: has joined #RubyOnRails
[12:08:38] ferr: has joined #RubyOnRails
[12:12:38] lexileo: has joined #RubyOnRails
[12:17:33] yereby: has joined #RubyOnRails
[12:18:31] sshuriu: has joined #RubyOnRails
[12:23:06] matthias_: has joined #RubyOnRails
[12:24:54] worknick: has joined #RubyOnRails
[12:25:22] worknick: whats the recommended way to replace follow button with unfollow button and vice versa?
[12:25:32] worknick: shall i use replaceWith or custome code?
[12:26:52] askhat_: has joined #RubyOnRails
[12:27:28] fox_mulder_cp: ajax xhr post btn?
[12:30:19] triptec: has joined #RubyOnRails
[12:31:01] rikkipitt: has joined #RubyOnRails
[12:32:40] sandstrom: has joined #RubyOnRails
[12:32:53] worknick: fox_mulder_cp: amm?
[12:33:10] rikkipitt: hey everyone. i'm building a script to launch my rails suspenders apps with an -m option. I've got the bin file working as I want, but what's the best way to include supporting files in my ~/Users/me/.bin directory?
[12:33:17] worknick: it will be ajax. but how do i replace the button? shall i have two differnt divs ? one hidden and one visible ?
[12:33:36] fox_mulder_cp: worknick: why two divs?
[12:34:10] worknick: fox_mulder_cp: div follow show. div unfollow hidden. on click follow show unfollow and viceverso
[12:39:03] triptec: has joined #RubyOnRails
[12:40:46] AzaToth: has joined #RubyOnRails
[12:42:58] srinidhi: has joined #RubyOnRails
[12:45:35] dexter-tzu: has joined #RubyOnRails
[12:46:03] chouhoulis: has joined #RubyOnRails
[12:47:44] baweaver: has joined #RubyOnRails
[12:48:17] sandstrom: has joined #RubyOnRails
[12:48:18] ravster: has joined #RubyOnRails
[12:52:10] n00bDev: has joined #RubyOnRails
[12:53:55] Pazician: has joined #RubyOnRails
[12:54:37] Pazician: has joined #RubyOnRails
[12:55:16] DmitryBochkarev: has joined #RubyOnRails
[12:55:19] apg: has joined #RubyOnRails
[12:55:57] sevenseacat: has joined #RubyOnRails
[12:58:01] silverdust: what migration can I run to change a column names?
[12:58:17] silverdust: change_column changes type
[12:58:20] silverdust: from what I read
[12:58:42] sevenseacat: rename_column ? :)
[13:02:28] tknz: has joined #RubyOnRails
[13:04:40] maesitos: has joined #RubyOnRails
[13:06:04] ziyadb: has joined #RubyOnRails
[13:06:20] nfk: has joined #RubyOnRails
[13:06:56] worknick: how can i change link_to name and link directly from jq? or i have to do it manually by accesing form and input?
[13:07:19] intrigueD: has joined #RubyOnRails
[13:08:17] moeabdol1: has joined #RubyOnRails
[13:08:19] blackmesa: has joined #RubyOnRails
[13:09:07] mdw: has joined #RubyOnRails
[13:09:07] soule: has joined #RubyOnRails
[13:15:21] fwaokda: Can anyone tell me why making a change to my "order" would give me such a different query? It's performing an inner join where I expected a left join... https://gist.github.com/daveomcd/30c58c3e9a1d555921a8
[13:15:34] sandstrom: has joined #RubyOnRails
[13:23:59] askhat: has joined #RubyOnRails
[13:25:25] ql6wlld: has joined #RubyOnRails
[13:35:33] Scripore: has joined #RubyOnRails
[13:37:10] ilhami: has joined #RubyOnRails
[13:37:27] ilhami: should I learn Ruby while using Ruby on Rails?
[13:37:51] ilhami: Does Laravel resemble Ruby on Rails? :) I heard they are quite similar.
[13:38:11] tbuehlmann: you should learn ruby first
[13:38:23] tbuehlmann: no idea about the php thingy
[13:40:17] ilhami: tbuehlmann, why not learn both at the same time?
[13:40:40] sevenseacat: its kinda hard to learn a framework when you dont know the language its written in
[13:40:45] tbuehlmann: it's totally up to you, but I prefer knowing the language before using a framework
[13:41:02] ilhami: sevenseacat, I am a quick learner heh
[13:41:08] ilhami: I just need some good resources and tutorials.
[13:41:10] sevenseacat: i dont think that makes a difference
[13:41:27] helpa: Learn Ruby by reading this book - http://manning.com/black3 - The Well-Grounded Rubyist by David A. Black
[13:41:29] helpa: Rails 4 in Action - http://manning.com/bigg2 - An excellent book combining Rails and TDD/BDD development. Written by Rebecca Skinner, Steve Klabnik, Ryan Bigg, Yehuda Katz
[13:41:30] ilhami: I have done programming in many languages.
[13:41:38] sevenseacat: i dont think that makes a difference either.
[13:41:47] ilhami: also I don't want to learn TDD.
[13:42:18] ilhami: those books are not free dude
[13:42:20] ilhami: what the heck?
[13:42:33] sevenseacat: no, theyre not, and i am not a dude.
[13:42:50] sevenseacat: you asked for good resources, i provided some
[13:43:03] ilhami: be my mentor
[13:43:06] ilhami: what's your skype?
[13:43:41] ilhami: because you seem to know the language very well.. :P
[13:43:49] sevenseacat: i do. i wrote one of those books.
[13:44:06] ilhami: well then give me the book for free. :)
[13:44:12] ilhami: send it to my mail as a pdf.
[13:44:14] sevenseacat: how about no?
[13:44:27] DEA7TH: has joined #RubyOnRails
[13:44:42] ilhami: sevenseacat, PM me
[13:45:41] ql6wlld: has joined #RubyOnRails
[13:46:40] cajone: has joined #RubyOnRails
[13:46:56] hardtail: has joined #RubyOnRails
[13:47:04] hardtail: has joined #RubyOnRails
[13:47:05] sevenseacat: ilhami: !rule12
[13:47:05] helpa: ilhami: Do not PM members of the channel without first asking if that is OK.
[13:47:45] ilhami: sevenseacat, but you didn't PM me. :P So I had to do it.
[13:48:04] sevenseacat: no, you didn't.
[13:48:18] ilhami: hehe ok. So can you tell me which one of the books you wrote?
[13:48:46] sevenseacat: given I am not David A. Black
[13:50:23] ilhami: what is the name of the book?
[13:50:28] helpa: Rails 4 in Action - http://manning.com/bigg2 - An excellent book combining Rails and TDD/BDD development. Written by Rebecca Skinner, Steve Klabnik, Ryan Bigg, Yehuda Katz
[13:50:47] ilhami: Yehuda Katz sounds familiar.
[13:51:12] sevenseacat: possibly so. he's a former Rails core member, and created EmberJS.
[13:51:16] ilhami: oh I know him from EmberJS
[13:51:19] ilhami: is he a jew?
[13:51:34] sevenseacat: i dont know his religion, and I don't know how it's relevant to anything.
[13:52:01] ilhami: https://github.com/sevenseacat
[13:52:04] ilhami: cute cat btw :D
[13:52:10] sevenseacat: thats me, and thats my cat.
[13:52:44] ja: sevenseacat: That is indeed a nice cat
[13:52:53] zworks: has joined #RubyOnRails
[13:52:57] n00bDev: has joined #RubyOnRails
[13:53:03] pawnbox: has joined #RubyOnRails
[13:53:19] Palsson: has joined #RubyOnRails
[13:53:22] ilhami: what games do you play sevenseacat ?
[13:53:38] ilhami: and why do you listen to metal music?
[13:53:54] sevenseacat: because i like it, and a lot of different types.
[13:55:25] ilhami: are you from the US?
[13:55:48] ilhami: aaah Australia
[13:56:23] tparenti: has joined #RubyOnRails
[13:57:18] ilhami: Perth is a pretty huge city. :)
[13:57:20] ilhami: .weather Perth
[13:57:24] ilhami: !weather Perth
[13:57:29] ilhami: horrible bot :/
[13:57:52] ilhami: ufff it's hot there. :D I will take the next plane
[13:59:24] quazimodo: has joined #RubyOnRails
[14:00:38] rubyonrails123: has joined #RubyOnRails
[14:00:51] ilhami: so sevenseacat can you send me your book to my mail? I don't want to pay for it.
[14:01:01] ilhami: or are there other books?
[14:01:27] ilhami: what other books are recommended that are FREE?
[14:02:02] sevenseacat: i don't tend to recommend what i consider to be sub-par material
[14:02:28] ilhami: sevenseacat, how arrogant attitude. You only think your own work is good?
[14:02:46] sevenseacat: that's not what i said.
[14:03:05] ilhami: lol ok. mention some other book that is good
[14:04:08] ilhami: for learning Ruby
[14:04:20] helpa: Learn Ruby by reading this book - http://manning.com/black3 - The Well-Grounded Rubyist by David A. Black
[14:04:36] ilhami: gal I already told you this is not free.
[14:04:43] sevenseacat: you didnt say free.
[14:04:54] ilhami: oh lol. you have something that is free?
[14:05:02] sevenseacat: no. i dont recommend sub-par material.
[14:05:14] sevenseacat: you get what you pay for.
[14:07:49] ja: sevenseacat: have you read why's (poignant) Guide to Ruby?
[14:10:01] ja: did you like it?
[14:10:06] tetraktys: has joined #RubyOnRails
[14:10:29] sevenseacat: not particularly
[14:11:07] ilhami: whatever goes against her work, she doesn't like :)
[14:11:45] sevenseacat: it's unrelated to my work
[14:11:53] ja: I found it rather funny, but I think you have to be in a certain mood to truly enjoy it.
[14:13:59] someish: has joined #RubyOnRails
[14:14:05] ferr: has joined #RubyOnRails
[14:14:29] hcnewsom: has joined #RubyOnRails
[14:15:30] bronson: has joined #RubyOnRails
[14:16:03] eyck: has joined #RubyOnRails
[14:16:08] ilhami: sevenseacat, so can you provide me some free material?
[14:16:26] Scripore: has joined #RubyOnRails
[14:16:34] sevenseacat: ilhami: for pure Ruby questions, you will have better luck in #ruby
[14:22:10] askhat_: has joined #RubyOnRails
[14:24:00] godzillaenlacasa: has joined #RubyOnRails
[14:29:23] xardion: has joined #RubyOnRails
[14:32:20] triptec: has joined #RubyOnRails
[14:32:59] sandstrom: has joined #RubyOnRails
[14:39:38] Cervajz: has joined #RubyOnRails
[14:39:59] hashtd: has joined #RubyOnRails
[14:40:50] arup_r1: has joined #RubyOnRails
[14:42:17] barhum2013: has joined #RubyOnRails
[14:42:32] sohel: has joined #RubyOnRails
[14:47:09] jtong: has joined #RubyOnRails
[14:47:34] chouhoulis: has joined #RubyOnRails
[14:49:04] baweaver: has joined #RubyOnRails
[14:49:14] ravster: has joined #RubyOnRails
[14:49:26] dalpo: has joined #RubyOnRails
[14:53:38] n00bDev: has joined #RubyOnRails
[14:53:54] lahaugen87: has joined #RubyOnRails
[14:56:11] edwinvdgraaf: has joined #RubyOnRails
[14:59:48] DmitryBochkarev: has joined #RubyOnRails
[14:59:56] Sr: has joined #RubyOnRails
[15:04:33] renegadeandy: has joined #RubyOnRails
[15:05:56] Cervajz: has joined #RubyOnRails
[15:06:25] quazimodo: has joined #RubyOnRails
[15:07:24] edwinvdgraaf: has joined #RubyOnRails
[15:08:34] ferr: has joined #RubyOnRails
[15:08:54] eyck: has joined #RubyOnRails
[15:11:35] sohel: has joined #RubyOnRails
[15:13:05] dalpo: has joined #RubyOnRails
[15:16:58] RegulationD: has joined #RubyOnRails
[15:19:15] dnrce_: has joined #RubyOnRails
[15:19:51] oded: has joined #RubyOnRails
[15:20:21] askhat: has joined #RubyOnRails
[15:22:31] rubyonrailed: has joined #RubyOnRails
[15:26:46] jtong: has joined #RubyOnRails
[15:27:49] konsolebox: has joined #RubyOnRails
[15:29:14] adavia: has joined #RubyOnRails
[15:30:41] matthias_: has joined #RubyOnRails
[15:31:56] macsteps: has joined #RubyOnRails
[15:32:21] nettoweb: has joined #RubyOnRails
[15:32:55] carlosd: has joined #RubyOnRails
[15:35:14] MaDErroR123: has joined #RubyOnRails
[15:37:54] rikkipitt: has joined #RubyOnRails
[15:39:21] tetraktys: has joined #RubyOnRails
[15:45:10] edwinvdgraaf: has joined #RubyOnRails
[15:45:26] godzillaenlacasa: anyone know of good tagging functionality like how tags work on Stackoverflow? Styled pretty and such, comma delimiter, etc? I'm looking at acts_as_taggable_on but it doesn't do the styling from what I can tell.
[15:47:58] _3by8: has joined #RubyOnRails
[15:48:20] chouhoulis: has joined #RubyOnRails
[15:49:19] zworks: has joined #RubyOnRails
[15:50:26] zworks: how can i check for memory leaks in a rails application ?
[15:50:35] dionysus69: has joined #RubyOnRails
[15:51:14] rubyonrailed: has joined #RubyOnRails
[15:52:01] cac: has joined #RubyOnRails
[15:53:13] n1lo: has joined #RubyOnRails
[15:54:02] edwinvdgraaf: has joined #RubyOnRails
[15:54:27] n00bDev: has joined #RubyOnRails
[16:00:33] _3by8: I'm trying to pass an array of hashes to a collection_select but it's telling me something about an undefined method. I assume it's because I'm not passing it a collection of ActiveRecord results but I'm not sure how to make it think it is a collection of those. The reason I'm doing it is because I want to modify some information inside of the ActiveRecord collection, is there an easy way to do that?
[16:02:00] denc: has joined #RubyOnRails
[16:04:15] PlasmaStar: has joined #RubyOnRails
[16:07:29] DmitryBochkarev: has joined #RubyOnRails
[16:11:11] rikkipitt: hey everyone, is it possible to pass a variable to the rails new -m option? I.e. use a variable passed to the application template file...
[16:12:40] dalpo: has joined #RubyOnRails
[16:13:26] rubyonrailed: has joined #RubyOnRails
[16:15:43] pawnbox: has joined #RubyOnRails
[16:17:03] pawnbox: has joined #RubyOnRails
[16:17:42] n1lo: has joined #RubyOnRails
[16:19:00] askhat: has joined #RubyOnRails
[16:19:32] tbuehlmann: rikkipitt, no idea about command line options, but you can likely provide environment variables
[16:19:55] Kalem: has joined #RubyOnRails
[16:20:17] rikkipitt: tbuehlmann: cheers
[16:20:35] mwcmitchell: has joined #RubyOnRails
[16:20:57] Kallis: has joined #RubyOnRails
[16:23:33] Cervajz_: has joined #RubyOnRails
[16:26:11] hbr: has joined #RubyOnRails
[16:26:59] tenderlove: has joined #RubyOnRails
[16:27:42] arthropododo: has joined #RubyOnRails
[16:29:07] Scripore: has joined #RubyOnRails
[16:30:22] Scripore: has joined #RubyOnRails
[16:31:14] _3by8: tbuehlmann: are you available for a quick question?
[16:32:14] _3by8: Is anyone? How do I modify the results of an ActiveRecord query after I store it in an instance variable?
[16:33:26] triptec: has joined #RubyOnRails
[16:34:17] tetraktys: has joined #RubyOnRails
[16:34:49] bronson: has joined #RubyOnRails
[16:36:12] hcnewsom: has joined #RubyOnRails
[16:36:27] tbuehlmann: _3by8, what exactly do you want to change?
[16:38:38] MaDErroR123: has joined #RubyOnRails
[16:41:01] _3by8: tbuehlmann: I'm retrieving a list of printer cartridges where some of the cartridges share a model name so to differentiate, I wanted to append the color to the end of the model name.
[16:41:04] mdw: has joined #RubyOnRails
[16:43:29] rikkipitt: has joined #RubyOnRails
[16:44:36] blackmesa: has joined #RubyOnRails
[16:46:54] hcnewsom: has joined #RubyOnRails
[16:46:58] intrigueD: has joined #RubyOnRails
[16:47:31] thomasfedb: has joined #RubyOnRails
[16:47:31] thomasfedb: has joined #RubyOnRails
[16:49:03] chouhoulis: has joined #RubyOnRails
[16:50:11] ravster: has joined #RubyOnRails
[16:50:12] tbuehlmann: so you have a Cartridge model and there's an attribute color, and you want to do what exactly?
[16:55:11] n00bDev: has joined #RubyOnRails
[16:57:47] kirillzh: has joined #RubyOnRails
[16:58:11] carlosd: has joined #RubyOnRails
[17:02:07] Timberwo|f: has joined #RubyOnRails
[17:02:32] _3by8: tbuehlmann: I'm feeding a collection_select with the results of a Cartridge query and I want the user to be able to see the color in addition to the model
[17:02:39] Cervajz: has joined #RubyOnRails
[17:03:46] taxen: has joined #RubyOnRails
[17:04:55] Cervajz_: has joined #RubyOnRails
[17:07:35] mickey_mouse_2: has joined #RubyOnRails
[17:12:40] triptec: has joined #RubyOnRails
[17:14:38] tetraktys: has joined #RubyOnRails
[17:17:50] floror: has joined #RubyOnRails
[17:18:15] askhat: has joined #RubyOnRails
[17:18:49] tbuehlmann: _3by8, and color is an attribute?
[17:19:04] yatish27: has joined #RubyOnRails
[17:19:08] arup_r: has joined #RubyOnRails
[17:19:11] _3by8: tbuehlmann: of a Cartridge, yes.
[17:19:53] JohnBat26: has joined #RubyOnRails
[17:20:18] tbuehlmann: as a first step you could simply change the option's labels in your view code
[17:20:46] tbuehlmann: or option's text values, if you want
[17:20:52] _3by8: tbuehlmann: with JavaScript?
[17:21:35] seaworthy: has joined #RubyOnRails
[17:22:43] pawnbox: has joined #RubyOnRails
[17:23:53] eljimmy: has joined #RubyOnRails
[17:27:13] jon31: has joined #RubyOnRails
[17:29:36] tbuehlmann: _3by8, naw, just the rails helper method for select
[17:30:33] intrigueD: anyone use homebrew cask in here?
[17:30:41] Jasaka: has joined #RubyOnRails
[17:31:07] AzaToth: has joined #RubyOnRails
[17:31:29] _3by8: tbuehlmann: I tried changing the text value from :model to something like "#{:model} (#{:color})" but that didn't work.
[17:31:50] KitsuneDrag0n: has joined #RubyOnRails
[17:31:53] taxen: has joined #RubyOnRails
[17:31:58] KitsuneDrag0n: has joined #RubyOnRails
[17:33:42] hypewizard: is there a reason why an instance i saved into flash becomes a string when i try to access it?
[17:34:48] hypewizard: flash[:request_token] = request_token
[17:35:02] intrigueD: hypewizard: 'The flash provides a way to pass temporary primitive-types (String, Array, Hash) between actions'
[17:35:17] lucasb: has joined #RubyOnRails
[17:35:36] hypewizard: hmm how would i pass an instance between actions then?
[17:36:05] dnrce: has joined #RubyOnRails
[17:36:38] pwnd_nsfw: would session better for for you?
[17:37:03] tbuehlmann: _3by8, gist your code
[17:38:23] hypewizard: pwnd_nsfw: same result put instance on one end get string on the other
[17:40:37] smoitra: has joined #RubyOnRails
[17:41:48] purkinje: has joined #RubyOnRails
[17:41:59] _3by8: tbuehlmann: https://gist.github.com/threebyeight/9b9c99a4dc8bfabb8d3a
[17:42:05] Kalem: has joined #RubyOnRails
[17:44:15] segy_: has joined #RubyOnRails
[17:44:19] smathy: has joined #RubyOnRails
[17:44:49] triptec: has joined #RubyOnRails
[17:44:50] depgame1990: has joined #RubyOnRails
[17:45:37] benlieb: has joined #RubyOnRails
[17:47:51] El3ktra: has joined #RubyOnRails
[17:50:54] chouhoulis: has joined #RubyOnRails
[17:52:08] baweaver: has joined #RubyOnRails
[17:52:42] netzfisch: has joined #RubyOnRails
[17:55:16] Oog_: has joined #RubyOnRails
[17:55:56] n00bDev: has joined #RubyOnRails
[17:57:30] dongiedong: has joined #RubyOnRails
[17:57:48] B1n4r10: has joined #RubyOnRails
[17:59:11] pawnbox: has joined #RubyOnRails
[18:00:58] yatish27: has joined #RubyOnRails
[18:01:06] taxen: I have three models; User, Property and Membership. The user is has_one :membership and has_one :property, :through => :membership, the property is has_many :memberships and has_many :users, :through => :memberships. Membership is just connecting the two with belongs_to.. Why is the list empty when I do property.users?
[18:01:47] tbuehlmann: _3by8, you can provide a proc/lambda. like this: https://gist.github.com/tbuehlmann/c7f2af44c8974d0a7f62
[18:02:15] pawnbox: has joined #RubyOnRails
[18:02:25] _3by8: tbuehlmann: you are a god, thank you.
[18:03:21] bronson: has joined #RubyOnRails
[18:03:30] tbuehlmann: my next suggestion is to use a decorator/presenter object that adds a method to your cartridge objects, like cartridge.selection_title or suchlike. then you could just go with `:selection_title` as argument
[18:03:57] zworks: has joined #RubyOnRails
[18:04:48] zworks: i just setup passenger with nginx, and when i start the nginx server and visit the url, it seems like the app is running on production mode
[18:04:57] zworks: how can i change this?
[18:05:01] shilon: has joined #RubyOnRails
[18:05:23] bronson: zworks: you want Passenger to run in something other than production mode?
[18:05:34] zworks: development
[18:05:43] zworks: am just on my localhost
[18:05:45] dnrce: zworks: https://www.phusionpassenger.com/library/config/nginx/reference/#passenger_app_env
[18:06:08] srinidhi: has joined #RubyOnRails
[18:06:16] tetraktys: has joined #RubyOnRails
[18:06:51] antgel: has joined #RubyOnRails
[18:08:58] macsteps: has joined #RubyOnRails
[18:09:09] pwnd_nsfw: hypewizard, wait... what are you trying to do there? You want to put an instance of an object to transfer over requests?
[18:09:49] yatish27: has joined #RubyOnRails
[18:10:06] speakingcode: has joined #RubyOnRails
[18:10:17] pwnd_nsfw: That's like.. not how that works
[18:10:23] pwnd_nsfw: in an HTTP kind of sense
[18:10:32] pwnd_nsfw: that would imply there's state, but http is stateless.
[18:10:54] pwnd_nsfw: You could maybe store all of the data required for the object somewhere
[18:10:56] hypewizard: but i need to do it
[18:10:59] pwnd_nsfw: and refer to it by things in flash/session
[18:11:06] pwnd_nsfw: somewhere being like
[18:11:11] hypewizard: i got it working
[18:11:18] pwnd_nsfw: What'd you end up doing?
[18:11:22] hypewizard: Rails.cache.write("request_token",request_token) Rails.cache.read("request_token")
[18:11:33] hypewizard: but for many users it wont work
[18:11:49] hypewizard: so i need to figure out how to make it unique and clear the cache
[18:12:01] pwnd_nsfw: just store a hash of the data in flash
[18:12:18] pwnd_nsfw: then you can just reinitialize the object with the data
[18:12:38] triptec: has joined #RubyOnRails
[18:13:20] hypewizard: hmm interesting... you mean hash the request_token then store the hash in the session then cache read the hash from the session?
[18:13:25] blackmesa: has joined #RubyOnRails
[18:13:36] hypewizard: good thinking!
[18:13:43] hypewizard: ill jsut do that
[18:13:45] pwnd_nsfw: I hope so lol
[18:13:54] pwnd_nsfw: I mean, it'll work I'm sure
[18:13:59] pwnd_nsfw: idk if its the best way of doing it
[18:14:01] pwnd_nsfw: ACTION shrugs
[18:14:25] hypewizard: well whethere its good or not is a relative issue
[18:14:29] hypewizard: it takes me further
[18:15:02] chouhoulis: has joined #RubyOnRails
[18:15:08] hypewizard: aite thank you
[18:16:09] pwnd_nsfw: hypewizard, http://stackoverflow.com/questions/22978704/object-stored-in-rails-session-becomes-a-string
[18:16:13] askhat: has joined #RubyOnRails
[18:16:14] pwnd_nsfw: this may give you more insight actually
[18:16:43] tectonic: has joined #RubyOnRails
[18:19:11] hypewizard: just tried yaml wya
[18:19:21] hypewizard: way* got cookie overflow
[18:19:24] askhat: has joined #RubyOnRails
[18:20:57] Devalo: has joined #RubyOnRails
[18:20:58] antgel: has joined #RubyOnRails
[18:21:17] arup_r: I am on Rails 5. Have to do inline edit, so got https://github.com/bernat/best_in_place and http://vitalets.github.io/x-editable/demo.html ... not sure which will be best to go with. do you people have any other suggestions?
[18:22:32] macsteps: has joined #RubyOnRails
[18:24:39] Pazician: has joined #RubyOnRails
[18:27:10] _Tariq: has joined #RubyOnRails
[18:31:53] macsteps: has joined #RubyOnRails
[18:33:02] triptec: has joined #RubyOnRails
[18:33:16] bronson: arup_r: haven't used it yet but I've been meaning to try https://trix-editor.org/
[18:33:24] RegulationD: has joined #RubyOnRails
[18:34:41] arup_r: bronson: that's different thing.. :)
[18:42:03] Pazician: has joined #RubyOnRails
[18:46:02] macsteps: has joined #RubyOnRails
[18:47:57] fox_mulder_cp: somebody uses jekyll? on it channels now is sleepy ((
[18:48:45] fox_mulder_cp: i have a config but can't access it items (
[18:49:44] tetraktys: has joined #RubyOnRails
[18:50:46] ravster: has joined #RubyOnRails
[18:50:51] mdw: has joined #RubyOnRails
[18:52:58] intrigueD: hi fox_mulder_cp :)
[18:53:32] n00bDev: has joined #RubyOnRails
[18:53:32] adavia: how can i do something like Tag.where("name like ?", "% name %").events
[18:53:42] adavia: i cannot access events using where
[18:54:31] arup_r: call .first.events
[18:55:50] arup_r: or Tag.joins(:events).where("tags.name like ?", "% name %")
[18:56:02] yatish27: has joined #RubyOnRails
[18:56:35] adavia: a tried that one
[18:56:46] adavia: not working
[18:57:20] arup_r: sorry includes, not joins .. then do tags = Tag.includes(:events).where("tags.name like ?", "% name %") then tags.each { tag.events }
[18:57:44] arup_r: tags.each { |tag| tag.events }
[18:57:46] intrigueD: shouldn't it be .where("tags.name like '%?%'", name) ?
[18:58:14] adavia: same thing
[18:58:18] arup_r: the one OP did, should be fine too
[18:58:28] arup_r: adavia: what is your error or issue ?
[18:58:50] arup_r: did you try all the things I said ?
[18:58:57] adavia: im not getting results.. i need something like Tag.find_by_name!(name).events which works fine
[18:59:06] adavia: but using like
[19:00:12] arup_r: I think "%name%" is what you need... why those spaces -> "% name %" ?
[19:00:32] arup_r: Tag.where("name like ?", "% name %").count is `0` ?
[19:01:48] Hackbinary: has joined #RubyOnRails
[19:02:12] adavia: which seems ok
[19:03:40] arup_r: Tag.where("name like ?", "% name %").first,events
[19:05:57] Danielpk: has joined #RubyOnRails
[19:06:36] macsteps: has joined #RubyOnRails
[19:07:21] adavia: arup_r: that one worked fine
[19:07:31] adavia: i wasnt ware of using first
[19:07:32] roshanavand: has joined #RubyOnRails
[19:08:37] nunchuck: has joined #RubyOnRails
[19:11:12] TDJACR: has joined #RubyOnRails
[19:13:12] _Tariq: has joined #RubyOnRails
[19:14:26] reber: has joined #RubyOnRails
[19:15:47] askhat: has joined #RubyOnRails
[19:16:17] webdestroya: has joined #RubyOnRails
[19:16:35] tetraktys: has joined #RubyOnRails
[19:17:47] arup_r: any idea why sprocket not seeing my JS file ? https://gist.github.com/aruprakshit/cbe9a6d1a627f47d36a4
[19:18:20] arup_r: ' Sprockets::FileNotFound - couldn't find file 'x-editable' with type 'application/javascript':
[19:19:13] hardtail: has joined #RubyOnRails
[19:19:17] hardtail: has joined #RubyOnRails
[19:20:54] tectonic: maybe rails-assets-x-editable isn't setup right and that's either not the file name, or it's not in vendor?
[19:21:14] sankaber: has joined #RubyOnRails
[19:21:17] arup_r: I did bundle install
[19:21:45] arup_r: as per the doco, I need to require the pakage name https://rails-assets.org/
[19:22:03] arup_r: and I am doing the same.. and getting the error
[19:22:34] tectonic: i suspect the filename is actually bootstrap-editable.min.js or something
[19:22:45] tectonic: based on https://github.com/vitalets/x-editable
[19:23:25] arup_r: yes, but with assets.org .. you will be requiring the package name.. and they internally require correct files
[19:23:37] tectonic: ah. i haven't used it before
[19:23:42] tectonic: you could look at the gem source
[19:24:05] arup_r: all other plugins working except his
[19:24:13] _Tariq: has joined #RubyOnRails
[19:24:16] tectonic: gem open rails-assets-x-editable
[19:24:34] hcnewsom: has joined #RubyOnRails
[19:24:36] tectonic: see if file names in vendor are surprising or something
[19:26:15] dopamean1: has joined #RubyOnRails
[19:26:55] triptec: has joined #RubyOnRails
[19:28:30] arup_r: file name is bootstrap-editable.js
[19:28:33] fedexo: has joined #RubyOnRails
[19:28:34] B1n4r10: has joined #RubyOnRails
[19:29:25] arup_r: but as per the rails assets.org doc, requiring the package name should do it for me.. but it doesn't
[19:30:35] _Tariq: has joined #RubyOnRails
[19:34:04] DEA7TH: has joined #RubyOnRails
[19:34:08] tectonic: has joined #RubyOnRails
[19:34:39] Pazician: has joined #RubyOnRails
[19:39:24] hypewizard: has left #RubyOnRails: ()
[19:40:19] ferr: has joined #RubyOnRails
[19:42:33] shilon: has left #RubyOnRails: ()
[19:43:03] tetraktys: has joined #RubyOnRails
[19:43:18] hcnewsom: has joined #RubyOnRails
[19:43:43] B1n4r10: has joined #RubyOnRails
[19:46:18] djellemah_: has joined #RubyOnRails
[19:47:45] arup_r: tectonic: thanks for telling `gem open ..` I forgot it.. and I did require manually.. This Gem structure little different which caused the error..
[19:47:58] centrx: has joined #RubyOnRails
[19:47:58] KitsuneDrag0n: has joined #RubyOnRails
[19:47:58] KitsuneDrag0n: has joined #RubyOnRails
[19:47:58] tectonic: nice, glad you figured it out
[19:48:01] blackmesa: has joined #RubyOnRails
[19:48:18] arup_r: I did manually //= require x-editable/dist/bootstrap3-editable/js/bootstrap-editable and @import 'x-editable/dist/bootstrap3-editable/css/bootstrap-editable'; and the error is gone
[19:49:30] HalcyonicStorm: has joined #RubyOnRails
[19:49:55] tectonic: yea, I suspect the gem configuration is slightly wrong
[19:50:03] tectonic: i don't know much about rails assets
[19:50:05] tectonic: looks useful
[19:50:09] tectonic: does it integrate with bower?
[19:52:44] arup_r: don't know..
[19:57:44] yatish27: has joined #RubyOnRails
[20:03:03] viiralvx: has joined #RubyOnRails
[20:03:54] pyreal: has joined #RubyOnRails
[20:05:52] maesitos: has joined #RubyOnRails
[20:07:47] triptec: has joined #RubyOnRails
[20:10:59] floror: has joined #RubyOnRails
[20:11:27] doublemalt_: has joined #RubyOnRails
[20:13:48] askhat: has joined #RubyOnRails
[20:14:49] Devalo: has joined #RubyOnRails
[20:19:59] triptec: has joined #RubyOnRails
[20:22:51] EMCHAMP_: has joined #RubyOnRails
[20:25:52] moeabdol2: has joined #RubyOnRails
[20:26:57] sheldo: has joined #RubyOnRails
[20:27:32] tetraktys: has joined #RubyOnRails
[20:31:14] HalcyonicStorm: has left #RubyOnRails: ()
[20:32:17] tetraktys: has joined #RubyOnRails
[20:32:22] s2013: has joined #RubyOnRails
[20:33:48] baweaver: has joined #RubyOnRails
[20:34:08] nettoweb: has joined #RubyOnRails
[20:34:42] qejk: has joined #RubyOnRails
[20:37:21] Spami: has joined #RubyOnRails
[20:41:36] triptec: has joined #RubyOnRails
[20:44:22] tetraktys: has joined #RubyOnRails
[20:46:30] matthias_: has joined #RubyOnRails
[20:49:25] tetraktys: has joined #RubyOnRails
[20:49:27] KensoDev: has joined #RubyOnRails
[20:50:49] intrigueD: has joined #RubyOnRails
[20:51:43] ravster: has joined #RubyOnRails
[20:54:12] nettoweb: has joined #RubyOnRails
[20:55:18] jtong: has joined #RubyOnRails
[20:55:46] tetraktys: has joined #RubyOnRails
[20:57:52] HenriettaSalt: has joined #RubyOnRails
[20:58:44] oniMaker: has joined #RubyOnRails
[20:59:16] oniMaker: Could anyone make a recommendation on a good starter kit for rails development on a vagrant vm?
[20:59:57] oniMaker: preferably using ansible
[21:00:52] Spami: has joined #RubyOnRails
[21:01:15] duderonomy: if choosing user auth for a modern webapp, is OminAuth with Devise the most suggested one? I'm intending "modern" to include user authentication options via 3rd-party auth such as FB, Twitter, or using a regular user/pass pair. What are developer's current favs for this?
[21:04:01] yatish27: has joined #RubyOnRails
[21:04:22] pwnd_nsfw: duderonomy, devise is generally the go-to
[21:05:16] triptec: has joined #RubyOnRails
[21:07:09] ferr: Is it possible to redirect after create action to orders/proceed path without params in link to represent the order?
[21:07:47] pwnd_nsfw: ferr, render? It's not quite a redirect
[21:08:11] smathy: ferr, you could set the order id in the sessions.
[21:08:23] otherj: has joined #RubyOnRails
[21:10:04] ferr: I believe a render option would be simplier, thanks
[21:11:09] godzillaenlacasa: has joined #RubyOnRails
[21:11:18] tetraktys: has joined #RubyOnRails
[21:11:25] Cohedrin: has joined #RubyOnRails
[21:13:06] askhat: has joined #RubyOnRails
[21:14:00] Spami: has joined #RubyOnRails
[21:20:16] eddie2pc: has joined #RubyOnRails
[21:21:06] rhizome: most recently i used what for you would be a state machine on order, then just redirect to order and have order figure out where it is
[21:21:55] rhizome: assuming that "orders/proceed path" isn't any more obscure than it looks
[21:22:23] tomaw: has joined #RubyOnRails
[21:22:54] oniMaker: Does anyone have a recommendation for a basic set up for a rails vagrant box?
[21:22:58] rhizome: why avoid redirect, anyway?
[21:23:03] oniMaker: If there's nothing out there I'll build from scratch
[21:24:42] smathy: ferr, huh? You said you wanted to redirect without params in the link.
[21:25:01] tetraktys: has joined #RubyOnRails
[21:25:55] rhizome: oniMaker: i think bitnami is the place to look
[21:26:24] rhizome: who remembers HATEOAS
[21:27:16] oniMaker: rhizome: I'll check them out, thanks
[21:27:25] ferr: smathy: Yea, but it is easier to use render at this moment for me, thanks anyway
[21:28:06] smathy: ferr, the problem with not redirecting is that if you render after a POST then if the user refreshes the page it will re-submit the POST.
[21:28:26] smathy: ferr, that's why the scaffolding/default is to redirect after a POSTed action is successful.
[21:30:48] triptec: has joined #RubyOnRails
[21:30:58] ferr: So without sessions I cannot do something like this? redirect_to dovanu_kuponai_patvirtinimas_path, locals: {order: @order}
[21:31:45] blackmesa: has joined #RubyOnRails
[21:32:04] oniMaker: rhizome: is this specific to the bitnami platform?
[21:33:28] dikaio: has joined #RubyOnRails
[21:35:24] smathy: ferr, no, `locals` is setting a local variable for a render. A redirect_to is going to be a response back to the browser which then requests the new page and loads it.
[21:35:50] smathy: ferr, why are you against having params in the link?
[21:37:14] bronson: has joined #RubyOnRails
[21:37:28] ferr: Because I don't order ID can only be seen once the purchase is completed
[21:38:02] askhat: has joined #RubyOnRails
[21:38:15] ss_much: has joined #RubyOnRails
[21:38:50] smathy: ferr, ok, so then use the session.
[21:40:37] ferr: ok, thanks smathy. I appreciate your help
[21:42:02] netzfisch: has joined #RubyOnRails
[21:46:24] oniMaker: rhizome: can you self-host bitnami stacks, or are you tied to their cloud?
[21:48:03] HalcyonicStorm: has joined #RubyOnRails
[21:49:04] rhizome: i think they're downloadable
[21:49:16] oniMaker: I see you can use them locally at least
[21:51:59] Coldblackice: has joined #RubyOnRails
[21:55:57] jbermudes: Anyone who deploys rails with Capistrano 3 with nginx and passenger: Is capistrano supposed to start passenger or am I supposed to do that manually the first time?
[21:57:58] pawnbox: has joined #RubyOnRails
[21:58:41] triptec: has joined #RubyOnRails
[21:58:51] pawnbox: has joined #RubyOnRails
[22:07:56] nettoweb: has joined #RubyOnRails
[22:08:53] dexter-tzu: has joined #RubyOnRails
[22:09:16] d-snp: has joined #RubyOnRails
[22:10:05] d-snp: hey guys, the 'unsubscribe' function in my ActionCable::Channel is not called when I close the window that has the connection, isn't that supposed to happen?
[22:10:53] triptec: has joined #RubyOnRails
[22:11:00] rhizome: jbermudes: standard passenger restart is `touch tmp/restart.txt`...passenger should already be loaded if nginx is running
[22:11:51] rhizome: and i'll know more tomorrow after i upgrade a project from cap 2->3, but you don't have to manually do any of that stuff in cap 2
[22:11:56] rhizome: i'd imagine 3 is similar
[22:12:45] jbermudes: yeah, thats what I would think and what the tutorials seem to suggest, but it's always scary when google shows you only a few results for the error message you're getting
[22:14:51] jbermudes: passenger is running, but it doesn't know about my app. After rebooting the entire machine I notice that passenger-status tells me "Phusion Passenger is currently not serving any applications."
[22:15:12] SteenJobs: has joined #RubyOnRails
[22:15:15] apotry: has joined #RubyOnRails
[22:15:48] SteenJobs: has anyone used Adobe Illustrator to export their SVG image assets?
[22:16:02] jbermudes: and capistrano's deploy tells me everything went ok but I see in the capistrano output it said "There are no Phusion Passenger-served applications running whose paths begin with '/home/deploy/apps/my-app'"
[22:16:36] jtong: has joined #RubyOnRails
[22:16:58] macsteps: has joined #RubyOnRails
[22:17:48] jbermudes: I can start passenger manually with bundle exec passenger -e staging in my app's current/ directory, but I would have thought that should be automatic or something
[22:17:59] Honeycomb: has joined #RubyOnRails
[22:19:07] d-snp: jbermudes: if you want passenger to be running on your system automatically there should be an init script that launches it on system boot
[22:20:56] jbermudes: d-snp: what's confusing is that the passenger core does run on boot, nginx starts passenger from what I understand. It's just that I guess passenger for some reason doesn't know to start my app
[22:21:56] jbermudes: and I have my root in my nginx server config set to /home/deploy/apps/my-app/current/public; so it should be able to find it
[22:22:13] jbermudes: and passenger_enabled is on
[22:23:02] cac: has joined #RubyOnRails
[22:23:39] smathy: SteenJobs, I used vim to make my SVG asset.
[22:24:18] SteenJobs: smathy: I received a .ai file from the designer, so I exported one of the objects in the Illustrator file as an SVG???but it???s a bit off when rendered in my Rails app
[22:24:23] SteenJobs: seems like some of the vectors are off
[22:24:24] rhizome: jbermudes: are you using passenger standalone?
[22:24:28] rhizome: or module?
[22:25:10] smathy: SteenJobs, you know me, I'd push things back to the designer and tell him that browsers don't support .ai files.
[22:25:47] SteenJobs: yea, if only. seems like he???s not even capable of doing even the smallest bit of frontend work???he just draws pretty pictures and I have to do all of the frontend work.
[22:25:55] quazimodo: has joined #RubyOnRails
[22:26:25] SteenJobs: but it doesn???t matter much, since I can export any of the items within the .ai file as their own SVGs, whcih is why i told him to just send me the Illustrator file
[22:27:18] smathy: I can't imagine why/how AI could mess up producing an SVG, I can imagine it doing it inefficiently, but hard to imagine how it could mess it up.
[22:28:03] yatish27: has joined #RubyOnRails
[22:28:19] SteenJobs: i mean it seems like its an inefficient thing???the image is there, just some vectors seem to be a tiny bit misplaced or jagged
[22:28:53] smathy: ...unless the original image was a raster.
[22:29:25] jbermudes: rhizome: I think it's the module, because I was following this: https://www.phusionpassenger.com/library/install/nginx/install/oss/trusty/
[22:29:35] hcnewsom: has joined #RubyOnRails
[22:29:47] nunchuck: has joined #RubyOnRails
[22:29:51] d-snp: jbermudes: what's the error that you get when you visit the site?
[22:29:52] jottr: has joined #RubyOnRails
[22:29:58] d-snp: do you get a 404?
[22:30:01] pawnbox: has joined #RubyOnRails
[22:30:18] jbermudes: d-snp: before I start passenger manually? yes
[22:30:26] jbermudes: err... start the passenger app
[22:30:51] d-snp: but you can't start passenger manually, because nginx already has claimed port 80 right?
[22:32:10] rakm: has joined #RubyOnRails
[22:33:27] SteenJobs: smathy: don???t think it was. I could always export it as a png, but then it won???t be responsive???then again it???s not really responsive as it is, because i???m hardcoding it???s dimensions (because otherwise it appears masssssive???is there a better way to set the size of the image without affecting its responsive nature?)
[22:33:28] jbermudes: d-snp: It lets me start it manually, and the app loads in the browser just fine after that
[22:34:06] SteenJobs: smathy: scratch that, i think it???s still responsive despite hardcoding its dimensions
[22:34:44] d-snp: jbermudes: but on port 3000 right?
[22:35:05] d-snp: can you post your nginx.conf on pastie.org or something?
[22:35:47] SteenJobs: here???s a question though - there are multiple approaches so i was curious what best practice would be - let???s say i want to create a tabbed box in a view, where one tab is login and one tab is signup (or let???s say have my login view present the signup view as a modal)???presumably this would involve getting two controllers to play nicely with a single view - how would you go about doing it?
[22:36:47] [gmi]: has joined #RubyOnRails
[22:36:54] smathy: SteenJobs, I wasn't implying you should export as PNG, I was suggesting a reason why the SVG might be warped - my suggestion would be to go back to the designer and get a vector for that image.
[22:37:25] SteenJobs: smathy: the image is drawn in AI using vectors, which is why i can export it as an SVG
[22:37:28] smathy: SteenJobs, it's just so impossible for me to imagine that AI couldn't take a vector and produce an SVG accurately. They're both just different forms of vectors, the points themselves should be the same.
[22:37:44] SteenJobs: yea it???s a bit odd, i???ll ask him
[22:38:02] askhat: has joined #RubyOnRails
[22:38:33] ferr: Any ideas why I ActiveRecord can't find record by id obtained from session? https://gist.github.com/Fercell/d097d6c3b310b30d97cb
[22:38:53] nodejunkie: has joined #RubyOnRails
[22:38:55] sergey_makagon: has joined #RubyOnRails
[22:39:07] smathy: ferr, square brackets wat?
[22:39:18] rubyonrailed: has joined #RubyOnRails
[22:39:46] SteenJobs: smathy: just shot him an email asking if he did anything besides simply adding vectors
[22:39:58] rhizome: SteenJobs: are there different versions of EPS?
[22:40:28] ferr: Maybe I should rest
[22:40:53] SteenJobs: rhizome: encapsulated postscript? earnings per share?
[22:41:28] jbermudes: d-snp: oooh, good point. It does say that in the print out, but yet my browser seemed to grab it just fine from 80, but that might be vagrant magic
[22:41:51] jbermudes: d-snp: here's my ngnx.conf and server definition: https://gist.github.com/jbermudes/90bf7e52e9d4ee4da9be
[22:42:14] sandstrom: has joined #RubyOnRails
[22:42:15] d-snp: I don't think that is vagrant magic, at least not a magic I know of
[22:42:39] triptec: has joined #RubyOnRails
[22:42:49] d-snp: and if you stop the standalone, then you get a 404 on port 80? that would be super magiccy
[22:43:03] rhizome: SteenJobs: the former, isn't that AI's native format?
[22:43:12] smathy: rhizome, .ai
[22:43:17] smathy: rhizome, you're thinking of Photoshop.
[22:43:26] rhizome: isn't .ai EPS?
[22:43:50] rhizome: i guess wikipedia is right over there
[22:44:23] d-snp: hey jbermudes you set "server_name" to "myapp.com", that will only work if your address really is "myapp.com"
[22:45:05] intrigueD: oniMaker: http://leopard.in.ua/rwbox/
[22:45:08] smathy: rhizome, apparently EPS or PDF, I didn't realize that, I thought it was its own proprietary vector format. So that makes it even HARDER to imagine that it would make a mistake converting to SVG.
[22:45:51] jbermudes: d-snp: I did map it to that in my hosts file, or is that not enough?
[22:46:41] SteenJobs: smathy: while i???m expected to respond to emails within 5 minutes, i???ll let you know when the creative director responds at some point in the next decade or so
[22:47:18] d-snp: jbermudes: that's definitely good enough, as long as that's also what you enter in your browsers bar :)
[22:47:48] SteenJobs: in the meanwhile, if you guys are using bootstrap and want some header text and a login form placed much lower on the page, as opposed to right below the header text, which of the million ways to do this do you prefer?
[22:48:01] mdw: has joined #RubyOnRails
[22:48:09] smathy: SteenJobs, still so far beyond my experience to have someone like that unable/unwilling to produce web-ready assets.
[22:48:13] rhizome: smathy: yeah, that's why i'm wondering if it could be a version thing
[22:48:30] SteenJobs: smathy: tell me about it, it pisses the hell out of me
[22:48:43] SteenJobs: he just draws some pretty pictures and then sends it to me for me to do all of the work
[22:48:50] SteenJobs: when i???ve literally never touched illustrator in my life
[22:48:52] rhizome: it should be in the deliverables spec
[22:49:07] SteenJobs: and it???s not like i???m busy building this app by wednesday, both front and backend
[22:49:23] d-snp: jbermudes: that really does seem a good configuration, I don't see what's going wrong? did you restart nginx? did you check its error_log? you can run nginx -t to check the configuration I think
[22:49:23] smathy: rhizome, he's in a startup, the deliverables spec is "everything we tell you to"
[22:49:39] jbermudes: d-snp: I was under the impression that server_name was just a tag though. Is it really used in the process of making sure nginx responds properly to the host specified in the HTTP request?
[22:49:41] hcnewsom: has joined #RubyOnRails
[22:49:45] rhizome: oh, then push back against the designer for sure
[22:49:50] rhizome: "i can't use this"
[22:49:53] SteenJobs: yea no chance
[22:49:58] SteenJobs: it???s the two founders and me
[22:50:00] rhizome: "i don't have an illustrator license"
[22:50:05] SteenJobs: they offered to buy me one
[22:50:14] smathy: Just put the .ai up on the web.
[22:50:21] sergey_makagon: has joined #RubyOnRails
[22:50:24] rhizome: yeah is there an ai.js
[22:50:31] smathy: I didn't mean with that.
[22:50:34] SteenJobs: after i build this i???m probably done with them tbh???they take advantage big time, i???m basically an indentured servant
[22:50:38] SteenJobs: just with a bit less compensation
[22:50:53] rhizome: start your boundaries at "no art" :)
[22:51:07] rhizome: say no more often
[22:51:41] SteenJobs: yea it???s just not that type of dynamic, problem is they brought me on board when i was just starting out and didn???t have any leverage and basically needed to prove myself
[22:52:08] SteenJobs: after building them a pretty complex iOS app, maintaining it, etc. i now need to build them a web platform
[22:52:09] rhizome: i know that
[22:52:23] rhizome: been there
[22:52:25] rhizome: charge more!
[22:52:31] rhizome: next time i guess :)
[22:52:35] smathy: Me: "I've done what I can here, but I'm not a graphics expert and I can't do any better than this."
[22:52:41] ravster: has joined #RubyOnRails
[22:52:52] d-snp: jbermudes: yes it's used to map a specific server block to the request, so you can have multiple server blocks defined in your system, each for a different server_name, I host ~10 sites like that on my personal machine using a single nginx config
[22:52:53] SteenJobs: i???m not being paid, just a small amount of equity - but i was forced to do that in the beginning since i had little alternative
[22:53:03] SteenJobs: now that it???s no longer the case, i plan on bouncing
[22:53:17] hinbody: has joined #RubyOnRails
[22:53:21] smathy: Just do the export, and put up the resulting SVG, and play the "Oh, I thought that must have been what you wanted." game.
[22:53:44] SteenJobs: yep! just sent an email saying ???I???ve done what I can here, but I'm not a graphics expert and I can't do any better than this???
[22:53:59] smathy: (not actually a joke at all)
[22:54:25] SteenJobs: more laughing because it felt good. since it???s frustrating af???i???m great at what i can do, but i???m not a swiss army knife.
[22:55:04] SteenJobs: only a month ago he wanted me to structure our analytics platform???basically it???s my job to do whatever they???re not intelligent enough to figure out how to do on their own
[22:55:11] SteenJobs: that???s my unofficial job description
[22:55:13] smathy: Right, and you could burn days trying to work this shit out and, ahem, just wanting to clear my throat before I say... and, YOU HAVE A CREATIVE DIRECTOR!!!!
[22:56:38] HenriettaSalt: has joined #RubyOnRails
[22:56:38] SteenJobs: right, whose job description is apparently limited to making simple but colorful drawings
[22:57:01] rizenine: has joined #RubyOnRails
[22:57:14] jbermudes: d-snp: nginx -t passed. In the nginx logs I see passenger core and passenger watchdog start up in but I never see anything about any apps starting except for when I started it manually
[22:57:30] smathy: SteenJobs, sounds like a hiring problem.
[22:57:31] camilasan: has joined #RubyOnRails
[22:57:39] SteenJobs: well he???s one of the founders
[22:57:53] smathy: Same diff.
[22:58:04] smathy: Anyway, export the asset, stick it up there.
[22:58:11] SteenJobs: yep, that???s what i did
[22:58:13] SteenJobs: it???s his problem
[22:58:20] triptec: has joined #RubyOnRails
[22:58:22] smathy: And then "I'm not a graphics expert." them all the way to your exit.
[22:59:46] SteenJobs: re the bootstrap stuff - how do you simply place content lower down on a page instead of right below the preceding content?
[23:00:01] rhizome: margin-top: 13rem;
[23:00:06] pawnbox: has joined #RubyOnRails
[23:00:06] SteenJobs: there are tons of ways, like i can just add a large margin
[23:00:20] SteenJobs: was wondering if there???s a standard ???bootstrap??? way for such things
[23:00:44] rhizome: i don't know of any styling framework that touches vertical spacing
[23:00:56] rhizome: not an expert, but just my impression
[23:01:04] SteenJobs: alternatively you can create a row with an empty col-12 that???s ???x??? px tall
[23:01:18] rhizome: which better than margin how
[23:01:23] nunchuck: has joined #RubyOnRails
[23:01:26] SteenJobs: just different
[23:01:40] rhizome: double the typing :)
[23:02:46] SteenJobs: anndddd one backend q - let???s say i want to create a tabbed box in a view, where one tab is login and one tab is signup (or let???s say have my login view present the signup view as a modal)???presumably this would involve getting two controllers to play nicely with a single view - how would you go about doing it? I???m sure there???s a Rails way which can be easily violated in this situation so I want to make sure I??
[23:02:47] SteenJobs: following convention
[23:03:26] rhizome: don't tab that, it can be put into one box
[23:05:08] SteenJobs: rhizome: not sure what you mean???lets say the design calls for a box with two tabs, one for login and one for signup???how would you integrate two separate controllers into a single view when using rails?
[23:05:55] Graphettion: has joined #RubyOnRails
[23:05:56] someish: has joined #RubyOnRails
[23:09:43] rhizome: SteenJobs: http://zurb.com/patterntap/pattern/login-fontyou
[23:10:04] Spami: has joined #RubyOnRails
[23:10:10] Tokenizer: has joined #RubyOnRails
[23:10:28] SteenJobs: question remains the same
[23:10:29] hinbody: has joined #RubyOnRails
[23:10:31] SteenJobs: i???m not asking a frontend question
[23:10:36] _Tariq: has joined #RubyOnRails
[23:10:38] SteenJobs: i know how to create tabbed views, etc.
[23:10:41] ElFerna_: has joined #RubyOnRails
[23:10:53] rhizome: oh, two forms. one goes to users#create the other to session#create
[23:11:01] SteenJobs: i???m asking from a backend point of view, what do you do if you need to create a single view which contains content connected to two separate controllers
[23:11:04] rhizome: or your version of same
[23:11:22] SteenJobs: right that part i got - but it feels so disorganized
[23:11:36] rhizome: what's disorganized, what seems out of place?
[23:11:37] SteenJobs: like which action then do you recommend rendering the view, users#new or sessions#new?
[23:12:04] camilasan: has joined #RubyOnRails
[23:12:11] SteenJobs: just feels odd that the view needs to belong essentially to a controller, yet neither controller is dominantly in charge of the view in question
[23:12:13] raldu: perhaps you could put login and signup into different partials and have them combined with a script in the actual view?
[23:12:17] rhizome: oh, make like a wrapper action, yeah
[23:12:58] SteenJobs: what would the action be wrapping, and which controller would call it?
[23:13:02] rhizome: home#account or #signin or something
[23:13:12] SteenJobs: raldu: still, the fact is the view that is rendering the two partials would need to be rendered by a controller
[23:13:13] rhizome: it's just a view that displays the forms
[23:14:05] SteenJobs: correct - i just feel like it???s disingenuine in a sense for the view to be rendered by either the registration or sessions controller, when both are equally connected to the view
[23:14:49] SteenJobs: i guess you can just create a wrapper view which renders partials for each form, and have the index action of both controllers render the wrapper view
[23:14:51] SteenJobs: seems clean
[23:16:23] jbermudes: d-snp: ah, I think I'm on to something. The Capistrano passenger gem on github has some issues where it might not like it when you use rbenv and didn't install passenger via rbenv but rather via apt or some other package manager
[23:19:50] triptec: has joined #RubyOnRails
[23:20:44] yatish27: has joined #RubyOnRails
[23:22:51] oniMaker: intrigueD: thanks, I'll check that out
[23:28:26] PedramT: has joined #RubyOnRails
[23:29:41] hinbody: has joined #RubyOnRails
[23:30:14] pawnbox: has joined #RubyOnRails
[23:31:00] user083: has joined #RubyOnRails
[23:35:41] nettoweb: has joined #RubyOnRails
[23:35:41] hcnewsom: has joined #RubyOnRails
[23:36:41] askhat: has joined #RubyOnRails
[23:37:20] public_class: has joined #RubyOnRails
[23:45:23] sheldo: has joined #RubyOnRails
[23:48:25] hcnewsom: has joined #RubyOnRails
[23:48:55] triptec: has joined #RubyOnRails
[23:49:19] rhizome: SteenJobs: no reason to have mulitiple actions for that
[23:49:26] rhizome: or, multiple index
[23:50:25] SteenJobs: rhizome: sorry, i meant have both registrations#new and sessions#new render the same view file
[23:50:36] blackmesa: has joined #RubyOnRails
[23:50:36] SteenJobs: otherwise, just for organizational sake, what would you have those actions point to?
[23:50:42] jtong: has joined #RubyOnRails
[23:51:52] sergey_makagon: has joined #RubyOnRails
[23:51:59] cajone: has joined #RubyOnRails
[23:53:18] askhat: has joined #RubyOnRails
[23:56:10] duncannz: has joined #RubyOnRails
[23:57:40] duncannz: has joined #RubyOnRails
[23:58:36] duncannz: has joined #RubyOnRails
[23:58:43] fedexo: has joined #RubyOnRails
[23:59:25] duncannz: has joined #RubyOnRails