« Back to channel list

#RubyOnRails - 30 January 2016

« Back 1 day Forward 1 day »
[00:00:04] pyemkey_: has joined #RubyOnRails
[00:00:34] mary5030: has joined #RubyOnRails
[00:00:43] namxam: has joined #RubyOnRails
[00:01:07] Psy-Q: has joined #RubyOnRails
[00:01:22] El3ktra: has joined #RubyOnRails
[00:01:28] Sylario: has joined #RubyOnRails
[00:01:29] AckZ: has joined #RubyOnRails
[00:02:02] c355E3B: has joined #RubyOnRails
[00:02:05] titeiko_: has joined #RubyOnRails
[00:02:09] arpegius: has joined #RubyOnRails
[00:02:14] fromalphtozen: has joined #RubyOnRails
[00:03:26] eyck: has joined #RubyOnRails
[00:07:55] rogue_koder: has joined #RubyOnRails
[00:09:02] titeiko: has joined #RubyOnRails
[00:10:56] musicnode: has joined #RubyOnRails
[00:11:22] kies^: has joined #RubyOnRails
[00:12:11] arpegius: has joined #RubyOnRails
[00:12:16] blackmesa: has joined #RubyOnRails
[00:12:52] blackmesa: hi all. I want to use an each-do-block inside an each-do-block. Unfortunately what comes after the second is ignored https://gist.github.com/anonymous/fa5485b9fb0a7f1f481a
[00:12:54] titeiko_: has joined #RubyOnRails
[00:17:04] namxam: has joined #RubyOnRails
[00:17:07] titeiko: has joined #RubyOnRails
[00:17:12] sandstrom: has joined #RubyOnRails
[00:17:29] unreal_: has joined #RubyOnRails
[00:19:04] Vert`: Hey gang, this may be more generally Ruby but.. for the sake of garbage collection, I'd like to wrap some processes in a scope of their own, so that local variables die once it's complete. Would a begin..end block suffice you think?
[00:21:41] titeiko_: has joined #RubyOnRails
[00:21:45] Vert`: I would think so but I'm not seeing a difference in my resource monitor.. Then again, it could just be that the local vars I'm testing don't have as large of a footprint as I thought.
[00:22:27] baweaver: has joined #RubyOnRails
[00:22:31] matthewd: Vert`: 1. No, GC will clean up when it feels like it. 2. Even when it does, it generally won't give resources back to the OS.
[00:22:35] arpegius: has joined #RubyOnRails
[00:23:27] rhizome: blackmesa: take the to_a out
[00:23:31] Vert`: matthewd, "it generally won't give resources back to the OS" that part in particular is problematic.. You're saying the same would be the case if I say wrapped them in a method, or manually set vars to nil?
[00:24:50] titeiko_: has joined #RubyOnRails
[00:26:54] titeiko: has joined #RubyOnRails
[00:27:50] titeiko__: has joined #RubyOnRails
[00:27:59] akkmaxon: has joined #RubyOnRails
[00:28:18] robbyoconnor: has joined #RubyOnRails
[00:28:57] smathy: blackmesa, there's nothing after the second each
[00:29:32] Ergo: has joined #RubyOnRails
[00:30:15] blackmesa: smathy: there are a lot of td's with content, that are not relevant
[00:30:27] akkmaxon: has joined #RubyOnRails
[00:30:57] titeiko_: has joined #RubyOnRails
[00:31:49] Vert`: matthewd, though, do you know if when Ruby does stop using that memory space without surrendering it back to the OS, it reuses the space down the line before allocating new addresses?
[00:32:29] smathy: blackmesa, you're having a problem where what's coming after the second each is not showing up, and you think what's after the second each is not relevant?
[00:32:30] codezomb: has joined #RubyOnRails
[00:32:53] arpegius: has joined #RubyOnRails
[00:34:31] ur5us: has joined #RubyOnRails
[00:34:32] sandstrom: has joined #RubyOnRails
[00:36:16] Craigimus: has joined #RubyOnRails
[00:36:37] croc: has joined #RubyOnRails
[00:36:38] visudo: has joined #RubyOnRails
[00:38:02] luvenfu: has joined #RubyOnRails
[00:38:26] namxam: has joined #RubyOnRails
[00:39:25] luvenfu: hello, ruby on rails 3 is being used currently?
[00:40:48] Vert`: luvenfu, how do you mean?
[00:41:31] luvenfu: Vert`: i'm reading a book of rails that mention RoR 2 and 3
[00:42:52] Vert`: Are you asking if RoR 3 is used in production environments? Cause the answer is yes.
[00:42:54] rhizome: it's an old book, then
[00:43:01] underplank: has joined #RubyOnRails
[00:43:10] arpegius: has joined #RubyOnRails
[00:43:16] underplank: Hi all. Is there a specific ActiveRecord channel?
[00:43:20] rhizome: i'm gonna guess 2011
[00:43:26] rhizome: underplank: no
[00:43:43] luvenfu: rhizome: yep, but there is some problem learn this oldie?
[00:43:58] safety_cut: has joined #RubyOnRails
[00:44:39] rhizome: luvenfu: there are rails 4 tutorials you can use
[00:44:51] luvenfu: rhizome: okay
[00:45:04] underplank: Okies. well I???ll ask here. Im using postgres and want to use the inbuilt enum type rather than the one in Rails. I???ve been able to create a migration, but when the schema.rb gets dumped it errors out with https://www.refheap.com/114245
[00:45:13] lemur: has joined #RubyOnRails
[00:45:23] Thouren: has joined #RubyOnRails
[00:45:57] underplank: I have to execute a custom sql to create the enum type. and then use an call to add_column to add the column.
[00:46:38] stannard: has joined #RubyOnRails
[00:50:31] Craigimus: has joined #RubyOnRails
[00:51:04] Craigimus: has joined #RubyOnRails
[00:52:00] sandstrom: has joined #RubyOnRails
[00:53:30] arpegius: has joined #RubyOnRails
[00:55:14] bratsche_: has joined #RubyOnRails
[00:55:15] Brother_Emmett: has joined #RubyOnRails
[00:55:34] Palsson: has joined #RubyOnRails
[00:57:09] Craigimus: has joined #RubyOnRails
[00:57:17] mwlang_: has joined #RubyOnRails
[00:57:32] newton2: has joined #RubyOnRails
[00:57:40] benoror_: has joined #RubyOnRails
[00:57:51] Guest4184_____: has joined #RubyOnRails
[00:57:52] yaewa: has joined #RubyOnRails
[00:58:06] borkdude_: has joined #RubyOnRails
[00:58:28] Leeky_: has joined #RubyOnRails
[00:58:56] Hates__: has joined #RubyOnRails
[00:58:57] devn_: has joined #RubyOnRails
[00:59:00] lewis: has joined #RubyOnRails
[00:59:05] speaking1ode: has joined #RubyOnRails
[00:59:14] goezz: has joined #RubyOnRails
[00:59:18] funnel_: has joined #RubyOnRails
[00:59:22] jxf_: has joined #RubyOnRails
[00:59:25] fox_muld1r_cp: has joined #RubyOnRails
[00:59:28] pavelz_: has joined #RubyOnRails
[00:59:35] droptone_: has joined #RubyOnRails
[00:59:37] StaticVo1d: has joined #RubyOnRails
[01:00:27] ebryn_: has joined #RubyOnRails
[01:00:30] Obi_obi_: has joined #RubyOnRails
[01:01:41] benlakey_: has joined #RubyOnRails
[01:01:43] spastorino_: has joined #RubyOnRails
[01:02:06] iamdevnul_: has joined #RubyOnRails
[01:02:08] lexileo: has joined #RubyOnRails
[01:02:26] dotty_: has joined #RubyOnRails
[01:02:31] Babelfish: has joined #RubyOnRails
[01:02:38] keekri_: has joined #RubyOnRails
[01:02:40] BBHoss_: has joined #RubyOnRails
[01:02:51] AntiSpamMeta: has joined #RubyOnRails
[01:02:53] elaptics`: has joined #RubyOnRails
[01:02:54] Fridtjof: has joined #RubyOnRails
[01:02:58] svkurowski_: has joined #RubyOnRails
[01:03:02] norfumpit_: has joined #RubyOnRails
[01:03:10] samuelkadolph1: has joined #RubyOnRails
[01:03:23] drale2k_: has joined #RubyOnRails
[01:03:23] hfp__work: has joined #RubyOnRails
[01:03:25] exchgr`: has joined #RubyOnRails
[01:03:41] netwoodle: has joined #RubyOnRails
[01:03:54] JoshL_: has joined #RubyOnRails
[01:03:55] arpegius: has joined #RubyOnRails
[01:03:58] phantummm: has joined #RubyOnRails
[01:04:06] El3ktra_: has joined #RubyOnRails
[01:04:31] differentreality: has joined #RubyOnRails
[01:04:37] treaki: has joined #RubyOnRails
[01:04:53] Silex: has joined #RubyOnRails
[01:05:23] mices: has joined #RubyOnRails
[01:05:50] djellemah: has joined #RubyOnRails
[01:06:35] nibbo: has joined #RubyOnRails
[01:07:22] ahills: has joined #RubyOnRails
[01:10:02] cookiez: has joined #RubyOnRails
[01:10:02] paulvt: has joined #RubyOnRails
[01:10:02] universa1: has joined #RubyOnRails
[01:10:02] Majadon: has joined #RubyOnRails
[01:10:02] Liothen: has joined #RubyOnRails
[01:10:22] gbgdev: has joined #RubyOnRails
[01:10:28] musicnode: has joined #RubyOnRails
[01:12:07] underplank: has joined #RubyOnRails
[01:12:28] musicnode: has joined #RubyOnRails
[01:12:38] sandstrom: has joined #RubyOnRails
[01:13:06] paradisaeidae: has joined #RubyOnRails
[01:14:13] arpegius: has joined #RubyOnRails
[01:18:14] yoongkang: has joined #RubyOnRails
[01:18:29] arpegius: has joined #RubyOnRails
[01:20:44] underplank: has joined #RubyOnRails
[01:20:46] pawnbox: has joined #RubyOnRails
[01:21:56] robbyoconnor: has joined #RubyOnRails
[01:22:02] Craigimus: has joined #RubyOnRails
[01:22:17] Babelfish: has left #RubyOnRails: ()
[01:22:32] herbst: has joined #RubyOnRails
[01:22:32] Denarii: has joined #RubyOnRails
[01:26:31] sandstrom: has joined #RubyOnRails
[01:28:51] arpegius: has joined #RubyOnRails
[01:31:59] ryanRT: has joined #RubyOnRails
[01:34:18] robbyoconnor: has joined #RubyOnRails
[01:36:29] jhack: has joined #RubyOnRails
[01:38:02] arpegius: has joined #RubyOnRails
[01:38:49] crdpink: has joined #RubyOnRails
[01:40:16] paradisaeidae: has joined #RubyOnRails
[01:41:36] barhum2013: has joined #RubyOnRails
[01:43:40] sandstrom: has joined #RubyOnRails
[01:43:55] IrishGringo: has joined #RubyOnRails
[01:48:16] arpegius: has joined #RubyOnRails
[01:49:16] rogue_koder: has joined #RubyOnRails
[01:49:34] underplank: has joined #RubyOnRails
[01:50:46] pawnbox: has joined #RubyOnRails
[01:51:28] ur5us: has joined #RubyOnRails
[01:53:01] ur5us: has joined #RubyOnRails
[01:53:14] jimmtt: has joined #RubyOnRails
[01:57:11] spyd3r: has joined #RubyOnRails
[01:59:22] yoongkang: has joined #RubyOnRails
[02:00:58] sandstrom: has joined #RubyOnRails
[02:04:54] Nuck: has joined #RubyOnRails
[02:08:54] Radar: GOOD MORNING
[02:09:01] Radar: nerium: good to hear :)
[02:17:05] tego101: has joined #RubyOnRails
[02:18:13] sandstrom: has joined #RubyOnRails
[02:22:49] baweaver: has joined #RubyOnRails
[02:26:13] pyemkey: has joined #RubyOnRails
[02:27:49] joshsmith: has joined #RubyOnRails
[02:32:43] kies^: has joined #RubyOnRails
[02:35:31] sandstrom: has joined #RubyOnRails
[02:43:37] stannard: has joined #RubyOnRails
[02:44:37] Coldblackice: has joined #RubyOnRails
[02:45:53] baweaver: has joined #RubyOnRails
[02:47:36] jahbrewski: has joined #RubyOnRails
[02:49:29] arooni-mobile: has joined #RubyOnRails
[02:52:58] sandstrom: has joined #RubyOnRails
[02:53:24] ArTiSTiX: has joined #RubyOnRails
[02:57:01] n1lo: has joined #RubyOnRails
[02:58:15] matthias: has joined #RubyOnRails
[03:07:16] hive-mind: has joined #RubyOnRails
[03:07:21] The_Phoenix: has joined #RubyOnRails
[03:09:41] PlasmaStar: has joined #RubyOnRails
[03:10:12] sandstrom: has joined #RubyOnRails
[03:12:39] pulgalip1: has joined #RubyOnRails
[03:13:32] baweaver: has joined #RubyOnRails
[03:14:37] rubyonrails653: has joined #RubyOnRails
[03:14:54] bratsche: has joined #RubyOnRails
[03:19:23] Megamos: has joined #RubyOnRails
[03:19:43] hive-mind: has joined #RubyOnRails
[03:20:18] PlasmaStar: has joined #RubyOnRails
[03:23:17] hahuang65: has joined #RubyOnRails
[03:23:58] chouhoulis: has joined #RubyOnRails
[03:24:07] herbst: has joined #RubyOnRails
[03:27:23] n1lo: has joined #RubyOnRails
[03:27:32] sandstrom: has joined #RubyOnRails
[03:31:29] akshat: has joined #RubyOnRails
[03:37:20] PlasmaStar: has joined #RubyOnRails
[03:37:59] arooni-mobile: has left #RubyOnRails: ()
[03:38:19] nodejunkie: has joined #RubyOnRails
[03:39:11] sevenseacat: has joined #RubyOnRails
[03:40:35] aarontak: has joined #RubyOnRails
[03:43:07] jimmtt: has left #RubyOnRails: ()
[03:43:49] jimmtt: has joined #RubyOnRails
[03:44:09] jimmtt: I'm trying to install the mysql2 gem but it fails to build the native extensions even though I've installed libmysqlclient-dev
[03:44:41] sandstrom: has joined #RubyOnRails
[03:46:17] speakingcode: has joined #RubyOnRails
[03:46:36] baweaver: has joined #RubyOnRails
[03:47:39] jimmtt: seems like I had to install the -dev ruby version
[03:48:29] underplank: has joined #RubyOnRails
[03:50:19] darkxploit: has joined #RubyOnRails
[03:58:30] piotrj_: has joined #RubyOnRails
[04:01:04] _djbkd: has joined #RubyOnRails
[04:01:09] lyoshajapan: has joined #RubyOnRails
[04:01:37] Megamos: has joined #RubyOnRails
[04:06:16] htmldrum: has joined #RubyOnRails
[04:11:55] yoongkang: has joined #RubyOnRails
[04:12:53] Tempesta: has joined #RubyOnRails
[04:18:51] braincrash: has joined #RubyOnRails
[04:19:21] htmldrum: has joined #RubyOnRails
[04:21:08] pawnbox: has joined #RubyOnRails
[04:21:56] iateadonut: has joined #RubyOnRails
[04:25:02] chouhoulis: has joined #RubyOnRails
[04:26:23] treaki: has joined #RubyOnRails
[04:32:24] sandstrom: has joined #RubyOnRails
[04:32:52] n00bDev: has joined #RubyOnRails
[04:34:06] htmldrum: has joined #RubyOnRails
[04:41:56] enitiz: has joined #RubyOnRails
[04:44:42] jottr: has joined #RubyOnRails
[04:48:34] enkristoffer: has joined #RubyOnRails
[04:48:59] lyoshajapan: has joined #RubyOnRails
[04:49:13] dain: has joined #RubyOnRails
[04:49:30] juddey: has joined #RubyOnRails
[04:49:38] baweaver: has joined #RubyOnRails
[04:49:56] mices: has joined #RubyOnRails
[04:50:04] sandstrom: has joined #RubyOnRails
[04:53:17] dextertzu: has joined #RubyOnRails
[04:53:53] The_Phoenix: has joined #RubyOnRails
[04:54:51] arup_r: has joined #RubyOnRails
[04:56:02] fedexo: has joined #RubyOnRails
[04:58:32] spyd3r: has joined #RubyOnRails
[05:00:14] dexter_: has joined #RubyOnRails
[05:03:52] The_Phoenix: has joined #RubyOnRails
[05:04:13] mices: i'm reading here https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233#.cdojrtwvg where they tell you to use a form on an index page with form_for(@post) but @post hasn't been instantiated yet because there was no new action to instantiate it so how does the author expect this to work?
[05:07:13] sandstrom: has joined #RubyOnRails
[05:08:18] The_Phoenix: has joined #RubyOnRails
[05:09:10] jahbrewski: has joined #RubyOnRails
[05:09:35] fryguy: mices: line 6 of home_controller creates @post
[05:12:52] enitiz: has joined #RubyOnRails
[05:13:01] triangles: has joined #RubyOnRails
[05:15:19] mices: fryguy: they don't show you the home_controller.rb file, they only show you the rails generate command that creates it
[05:15:26] herbst: has joined #RubyOnRails
[05:16:07] mices: o sorry i found it
[05:16:13] mices: they put it all the way at the bottom
[05:21:44] djbkd: has joined #RubyOnRails
[05:24:27] sandstrom: has joined #RubyOnRails
[05:24:29] hahuang65: has joined #RubyOnRails
[05:25:48] chouhoulis: has joined #RubyOnRails
[05:30:52] ryanRT: has joined #RubyOnRails
[05:32:39] dextertzu: has joined #RubyOnRails
[05:35:40] baak: has joined #RubyOnRails
[05:40:51] jtong: has joined #RubyOnRails
[05:41:41] sandstrom: has joined #RubyOnRails
[05:45:03] arup_r: has joined #RubyOnRails
[05:45:27] jottr: has joined #RubyOnRails
[05:51:14] pawnbox: has joined #RubyOnRails
[05:58:18] gambl0re: has joined #RubyOnRails
[05:58:58] sandstrom: has joined #RubyOnRails
[06:02:37] yoongkang: has joined #RubyOnRails
[06:03:29] barhum2013: has joined #RubyOnRails
[06:05:19] Malgorath: has joined #RubyOnRails
[06:15:21] lemur: has joined #RubyOnRails
[06:15:36] futilegames: has joined #RubyOnRails
[06:16:12] sandstrom: has joined #RubyOnRails
[06:17:01] wvgates_: has joined #RubyOnRails
[06:19:48] Bloomer: has joined #RubyOnRails
[06:22:59] enkristoffer: has joined #RubyOnRails
[06:26:52] chouhoulis: has joined #RubyOnRails
[06:28:05] pyemkey: has joined #RubyOnRails
[06:31:24] pawnbox: has joined #RubyOnRails
[06:32:16] silverdust: when generating migration for change_column how should it be written? should I just use the rails g add_column_to_table existing_attr:type
[06:32:32] silverdust: or is there a better way to write that?
[06:33:10] hahuang65: has joined #RubyOnRails
[06:33:27] sandstrom: has joined #RubyOnRails
[06:34:05] lxsameer: has joined #RubyOnRails
[06:35:58] qejk: has joined #RubyOnRails
[06:38:11] yoongkang: has joined #RubyOnRails
[06:45:33] stannard: has joined #RubyOnRails
[06:46:12] jottr: has joined #RubyOnRails
[06:46:23] arup_r: has joined #RubyOnRails
[06:47:04] Cervajz__: has joined #RubyOnRails
[06:50:58] sandstrom: has joined #RubyOnRails
[06:51:15] underplank: has joined #RubyOnRails
[06:59:21] PedramT: has joined #RubyOnRails
[07:00:15] pulgalip1: has joined #RubyOnRails
[07:00:30] yfeldblum: has joined #RubyOnRails
[07:01:24] pawnbox: has joined #RubyOnRails
[07:01:57] thezanke: has joined #RubyOnRails
[07:02:58] juddey: has joined #RubyOnRails
[07:07:12] KucukMubasir: has joined #RubyOnRails
[07:08:12] sandstrom: has joined #RubyOnRails
[07:09:41] pawnbox: has joined #RubyOnRails
[07:11:13] pawnbox: has joined #RubyOnRails
[07:12:13] codelahoma: has joined #RubyOnRails
[07:12:20] arup_r: so quiet... pin drop silence!
[07:16:00] lyoshajapan: has joined #RubyOnRails
[07:16:57] herbst: has joined #RubyOnRails
[07:22:00] Coldblackice: has joined #RubyOnRails
[07:22:25] futilegames: has joined #RubyOnRails
[07:23:29] moei: has joined #RubyOnRails
[07:25:29] sandstrom: has joined #RubyOnRails
[07:27:21] rhizome: friday night
[07:27:43] chouhoulis: has joined #RubyOnRails
[07:30:12] pulgalip1: has joined #RubyOnRails
[07:42:08] speakingcode: has joined #RubyOnRails
[07:42:45] sandstrom: has joined #RubyOnRails
[07:47:38] dextertzu: has joined #RubyOnRails
[07:48:16] jottr: has joined #RubyOnRails
[07:51:32] webdestroya: has joined #RubyOnRails
[07:54:22] hahuang65: has joined #RubyOnRails
[07:56:37] srinidhi: has joined #RubyOnRails
[07:59:58] sandstrom: has joined #RubyOnRails
[08:00:31] webdestroya: has joined #RubyOnRails
[08:01:56] rogue_koder: has joined #RubyOnRails
[08:07:33] visudo: has joined #RubyOnRails
[08:08:48] KucukMubasir: it is morning in here, 10:10 a.m
[08:10:55] mdw: has joined #RubyOnRails
[08:15:52] Spami: has joined #RubyOnRails
[08:17:12] sandstrom: has joined #RubyOnRails
[08:17:48] darutoko: has joined #RubyOnRails
[08:23:00] dmarr: has joined #RubyOnRails
[08:28:25] chouhoulis: has joined #RubyOnRails
[08:30:16] joshkovach: has joined #RubyOnRails
[08:34:32] sandstrom: has joined #RubyOnRails
[08:38:00] w0rd-driven: has joined #RubyOnRails
[08:39:36] pawnbox: has joined #RubyOnRails
[08:42:35] pawnbox: has joined #RubyOnRails
[08:44:25] jtong: has joined #RubyOnRails
[08:47:52] Bloodberet: has joined #RubyOnRails
[08:48:57] jottr: has joined #RubyOnRails
[08:51:23] mdw: has joined #RubyOnRails
[08:52:30] sleungcy: has joined #RubyOnRails
[08:53:32] sandstrom: has joined #RubyOnRails
[08:54:01] akkmaxon: has joined #RubyOnRails
[08:54:31] jgt1: has joined #RubyOnRails
[08:57:09] KucukMubasir: why can???t i update the integer field of the model on console ? model.value = 3 , model.save! yet it still shows nil :/
[08:57:33] sevenseacat: KucukMubasir: can you gist your model?
[09:02:37] robbyoconnor: has joined #RubyOnRails
[09:04:24] KucukMubasir: sevenseacat: http://pastebin.com/uJUQBcZV
[09:07:44] KucukMubasir: oh ok I fixed it sevenseacat
[09:08:25] herbst: has joined #RubyOnRails
[09:08:54] KucukMubasir: I was chain calling it, like Plan.first.books_allowed = 2 , and assignment wasn???t carried out, but just the query
[09:09:43] sevenseacat: it would be carried out
[09:10:01] sevenseacat: but you're not keeping the object you made the assignment in
[09:10:26] sandstrom: has joined #RubyOnRails
[09:11:41] Trynemjoel: has joined #RubyOnRails
[09:12:43] neshmi_: has joined #RubyOnRails
[09:15:09] lxsameer: has joined #RubyOnRails
[09:17:04] Macaveli: has joined #RubyOnRails
[09:19:05] dragon9783: has joined #RubyOnRails
[09:19:27] lyoshajapan: has joined #RubyOnRails
[09:21:07] drptbl: has joined #RubyOnRails
[09:21:43] PedramT: has joined #RubyOnRails
[09:23:42] lyoshajapan: has joined #RubyOnRails
[09:25:23] pyemkey: has joined #RubyOnRails
[09:26:58] futilegames: has joined #RubyOnRails
[09:27:27] yoongkang: has joined #RubyOnRails
[09:27:40] defsdoor: has joined #RubyOnRails
[09:28:25] barhum2013: has joined #RubyOnRails
[09:28:25] KucukMubasir: sevenseacat: but only ???select??? query is called, not ???insert into??? after running this: Plan.first.books_allowed=14
[09:28:56] sevenseacat: KucukMubasir: because you're not calling save anywhere, like you did in your initial example code
[09:29:13] chouhoulis: has joined #RubyOnRails
[09:30:50] juddey: has joined #RubyOnRails
[09:32:04] qejk: has joined #RubyOnRails
[09:32:15] marr: has joined #RubyOnRails
[09:33:16] pulgalip1: has joined #RubyOnRails
[09:33:20] The_Phoenix: has joined #RubyOnRails
[09:34:42] Trynemjoel: has joined #RubyOnRails
[09:36:47] KucukMubasir: oh, you are right sevenseacat . my mistake and my apologies
[09:37:17] drptbl: has joined #RubyOnRails
[09:44:11] piotrj: has joined #RubyOnRails
[09:45:42] robbyoconnor: has joined #RubyOnRails
[09:48:37] Macaveli: has joined #RubyOnRails
[09:49:06] a1fa_: has joined #RubyOnRails
[09:49:43] jottr: has joined #RubyOnRails
[09:49:50] gbgdev_: has joined #RubyOnRails
[09:52:18] robbyoconnor: has joined #RubyOnRails
[09:57:46] lyoshajapan: has joined #RubyOnRails
[09:58:56] drptbl: has joined #RubyOnRails
[09:58:59] FernandoBasso: has joined #RubyOnRails
[09:59:44] DoubleMalt: has joined #RubyOnRails
[10:00:42] arup_r: has joined #RubyOnRails
[10:01:52] PedramT: has joined #RubyOnRails
[10:01:53] Cohedrin: has joined #RubyOnRails
[10:02:35] baweaver: has joined #RubyOnRails
[10:04:12] croc: has joined #RubyOnRails
[10:06:02] croc: has joined #RubyOnRails
[10:07:21] fahrradflucht: I try to pass self to a scheduled mailer in before_save because I want to store a reference to the delayed_job ID on the model. Problem: I get an error, because if the model is new, there there is obviously no ID on the model and it can???t be serialized??? any ideas?
[10:07:51] arup_r: fahrradflucht show code
[10:07:55] arup_r: in a gist
[10:08:43] arup_r: fahrradflucht: for new model you don't want to store the id of the delay job ?
[10:08:48] Bloodberet: has joined #RubyOnRails
[10:09:11] arup_r: only when update happenes you want to store ?
[10:09:58] croc: has joined #RubyOnRails
[10:10:07] fahrradflucht: arup_r no I want to store if an attribute is present that could be on a new model as well
[10:10:17] snowy: has joined #RubyOnRails
[10:11:07] Bloodberet: has joined #RubyOnRails
[10:13:25] arup_r: fahrradflucht: then use after_create and after_update ? or after_commit ?
[10:13:38] arup_r: in this after_* you will have id always with you
[10:13:48] AzaToth: has joined #RubyOnRails
[10:14:02] arup_r: if you need model id, then before_save is not the right tool when it is a fresh record..
[10:14:59] fahrradflucht: arup_r: I thought about that, but how I then save the delayed_job IDs on the model without entering an infinit loop saving?
[10:16:17] Bloodberet_: has joined #RubyOnRails
[10:17:16] Support_: has joined #RubyOnRails
[10:17:52] arup_r: well, then just don't use the callback. Write a simple PORO, and from the controller do it.. it will be in your controll.
[10:19:12] arup_r: or, if you still want to use callback. then use after_create and when you will be updating, use the update method which don't run callbacks ? also use after_update callback to update and use genrall update which runs callback.. do you get me ? :)
[10:19:52] Dbugger: has joined #RubyOnRails
[10:20:03] arup_r: fahrradflucht: in this way there is no infinite loop..
[10:20:08] fahrradflucht: Yes thats a great idea. I don???t thought about that.
[10:21:16] pulgalip1: has joined #RubyOnRails
[10:21:30] bePolite: has joined #RubyOnRails
[10:21:30] sandstrom: has joined #RubyOnRails
[10:22:11] arup_r: but better is write a simple ruby class, where you will pass the object and do that stuff inside it.. it is simple..
[10:22:41] arup_r: callbacks are not good.. sometimes and complex with too many side effects
[10:24:47] PedramT: has joined #RubyOnRails
[10:25:29] PedramT: has joined #RubyOnRails
[10:27:24] enkristoffer: has joined #RubyOnRails
[10:29:58] chouhoulis: has joined #RubyOnRails
[10:30:51] tenderlove: has joined #RubyOnRails
[10:32:03] ql6wlld: has joined #RubyOnRails
[10:32:48] matthias_: has joined #RubyOnRails
[10:40:41] sandstrom: has joined #RubyOnRails
[10:41:40] dextertzu: has joined #RubyOnRails
[10:41:57] krz: has joined #RubyOnRails
[10:42:11] blackmesa: has joined #RubyOnRails
[10:47:11] stannard: has joined #RubyOnRails
[10:50:27] jottr: has joined #RubyOnRails
[10:51:22] titeiko: has joined #RubyOnRails
[10:51:55] herbst: has joined #RubyOnRails
[10:56:02] DoubleMalt: has joined #RubyOnRails
[10:56:37] Bloodberet: has joined #RubyOnRails
[10:57:22] moei: has joined #RubyOnRails
[10:58:01] sandstrom: has joined #RubyOnRails
[10:59:11] namxam: has joined #RubyOnRails
[10:59:14] treaki: has joined #RubyOnRails
[10:59:20] herbst: has joined #RubyOnRails
[11:00:21] pulgalip1: has joined #RubyOnRails
[11:02:12] puria: has joined #RubyOnRails
[11:06:41] neanderslob: has joined #RubyOnRails
[11:13:03] mdw: has joined #RubyOnRails
[11:15:10] sandstrom: has joined #RubyOnRails
[11:17:17] srinidhi: has joined #RubyOnRails
[11:20:42] titeiko_: has joined #RubyOnRails
[11:21:21] herbst: has joined #RubyOnRails
[11:25:33] mdw: has joined #RubyOnRails
[11:28:53] PedramT: has joined #RubyOnRails
[11:30:44] chouhoulis: has joined #RubyOnRails
[11:30:58] PedramT: has joined #RubyOnRails
[11:31:58] herbst: has joined #RubyOnRails
[11:34:52] arBmind: has joined #RubyOnRails
[11:35:08] titeiko: has joined #RubyOnRails
[11:37:58] arBmind1: has joined #RubyOnRails
[11:43:33] pulgalip1: has joined #RubyOnRails
[11:48:00] krz: has joined #RubyOnRails
[11:48:29] PedramT: has joined #RubyOnRails
[11:48:50] FooMunki: has joined #RubyOnRails
[11:49:36] PedramT: has joined #RubyOnRails
[11:50:09] Pupeno: has joined #RubyOnRails
[11:50:09] Pupeno: has joined #RubyOnRails
[11:51:12] jottr: has joined #RubyOnRails
[11:53:40] zpe: has joined #RubyOnRails
[12:00:09] herbst: has joined #RubyOnRails
[12:01:41] lyoshajapan: has joined #RubyOnRails
[12:02:23] spyd3r: has joined #RubyOnRails
[12:03:44] baweaver: has joined #RubyOnRails
[12:09:07] k13nox: has joined #RubyOnRails
[12:09:13] zarubin: has joined #RubyOnRails
[12:14:49] the_drow_mobile: has joined #RubyOnRails
[12:15:14] lyoshajapan: has joined #RubyOnRails
[12:15:20] piotrj: has joined #RubyOnRails
[12:17:01] pawnbox: has joined #RubyOnRails
[12:18:01] titeiko_: has joined #RubyOnRails
[12:22:17] htmldrum: has joined #RubyOnRails
[12:23:54] Pupeno: has joined #RubyOnRails
[12:25:23] herbst: has joined #RubyOnRails
[12:31:29] chouhoulis: has joined #RubyOnRails
[12:32:05] ferr: has joined #RubyOnRails
[12:32:45] drptbl: has joined #RubyOnRails
[12:33:59] Cervajz: has joined #RubyOnRails
[12:36:02] PedramT: has joined #RubyOnRails
[12:37:00] Cervajz: has joined #RubyOnRails
[12:37:55] jottr: has joined #RubyOnRails
[12:39:31] Tempesta: has joined #RubyOnRails
[12:40:41] PedramT_: has joined #RubyOnRails
[12:42:05] The_Phoenix: has joined #RubyOnRails
[12:46:04] jtong: has joined #RubyOnRails
[12:47:15] LambdaSource: has joined #RubyOnRails
[12:47:42] stannard: has joined #RubyOnRails
[12:48:18] reber: has joined #RubyOnRails
[12:50:29] darkxploit: has joined #RubyOnRails
[12:51:58] herbst: has joined #RubyOnRails
[12:52:41] Cervajz: has joined #RubyOnRails
[12:53:59] Cervajz_: has joined #RubyOnRails
[12:57:23] yoongkang: has joined #RubyOnRails
[12:57:31] namxam: has joined #RubyOnRails
[12:59:19] dextertzu: has joined #RubyOnRails
[13:02:07] Pupeno: has joined #RubyOnRails
[13:02:25] lipoqil: has joined #RubyOnRails
[13:02:52] srinidhi: has joined #RubyOnRails
[13:08:26] qejk: has joined #RubyOnRails
[13:08:49] taxen: has joined #RubyOnRails
[13:09:38] krz: has joined #RubyOnRails
[13:11:07] chr5: has joined #RubyOnRails
[13:12:19] yoongkang: has joined #RubyOnRails
[13:12:39] taxen: Hey guys. I'm trying to write a method that recieves a base64 image and should write this file to this, via Carrierwave.
[13:12:44] taxen: So far I have this:
[13:12:45] taxen: https://gist.github.com/anonymous/ea896ce0a9a37bc88121
[13:13:00] taxen: file to disc*
[13:13:48] taxen: My Avatar model have the Carrierwave ImageUploader mounted to it
[13:15:11] taxen: Now I'm struggling to understand how to create an avatar object and get the file connected to the image uploader.
[13:18:14] taxen: Any suggestions?
[13:18:24] Depili: anyone know a way to generate the signed and encrypted session cookie from ruby code? (in my case I will have several raspberry pi clients that will be needing a set of cookies that need to be put on the sd-cards into a sqlite db)
[13:18:40] Depili: best I have found is this http://blog.bigbinary.com/2013/03/19/cookies-on-rails.html
[13:20:19] chr5: Hi guys ! I have a project maked with rails 3.2.13 and ruby 1.9.3 , do you think is a good idea update rails version to 4.x?
[13:21:04] Depili: oh, and then I found the root answer to my own question: http://api.rubyonrails.org/classes/ActiveSupport/MessageEncryptor.html
[13:21:33] chr5: Anyone can help to update my rails version from 3.2 to 4.0?
[13:23:51] herbst: has joined #RubyOnRails
[13:24:42] superlou: has joined #RubyOnRails
[13:26:55] sleungcy: has joined #RubyOnRails
[13:32:11] chouhoulis: has joined #RubyOnRails
[13:38:41] namxam: has joined #RubyOnRails
[13:39:26] drptbl: has joined #RubyOnRails
[13:40:30] futilegames: has joined #RubyOnRails
[13:40:58] qurve: has joined #RubyOnRails
[13:41:35] qurve: Is there a way to make asset precompilation not dependent on a database? I'm trying to do a precompile of assets in a docker image, but there's no database so it blows up. Which is sad.
[13:41:50] qurve: Or, if someone else has experience in dockerizing rails apps that knows a better way, I'm all ears.
[13:43:34] jottr: has joined #RubyOnRails
[13:44:08] Sirithcam: has joined #RubyOnRails
[13:45:56] chr5: has joined #RubyOnRails
[13:46:29] piotrj: has joined #RubyOnRails
[13:52:52] chr5: has left #RubyOnRails: ()
[13:52:58] chr5: has joined #RubyOnRails
[13:54:17] chr5: I get the message undefined method `+' for nil:NilClass
[13:54:35] chr5: when i try to do @design.rank += 10
[13:54:49] herbst: has joined #RubyOnRails
[13:54:51] chr5: can someone help me?
[13:57:22] DoubleMalt: has joined #RubyOnRails
[13:57:58] pwnd_nsfw`: has left #RubyOnRails: ()
[13:58:12] pwnd_nsfw: has joined #RubyOnRails
[14:01:08] pwnd_nsfw: chr5, going to need more code
[14:02:59] chr5: ok, where can i share the code?
[14:03:05] pwnd_nsfw: gist.github.com
[14:03:09] chr5: yeah...i go
[14:03:10] pwnd_nsfw: "Rules: ...."
[14:05:09] codedmart: has joined #RubyOnRails
[14:05:46] baweaver: has joined #RubyOnRails
[14:07:31] baak1: has joined #RubyOnRails
[14:12:58] chr5: What files do you need to see?
[14:17:20] chr5: https://gist.github.com/chr5/2f090a986cb471fd7372
[14:17:43] herbst: has joined #RubyOnRails
[14:17:46] chr5: This is my model for comments
[14:19:20] thezanke: has joined #RubyOnRails
[14:19:46] futilegames: has joined #RubyOnRails
[14:20:17] nodejunkie: has joined #RubyOnRails
[14:20:28] pwnd_nsfw: those would only be your controller
[14:20:45] chr5: what another files do you need to check?
[14:20:58] pwnd_nsfw: The model would help, your schema file would be nice
[14:21:45] pwnd_nsfw: also, when you save parent model, it saves it's associations too
[14:22:56] chr5: model for comments?
[14:23:34] pwnd_nsfw: you have like... 2 different controllers there named the same thing. I guess I'm paying attention to the second one
[14:24:09] chr5: schema: https://gist.github.com/chr5/1ae17ca933de21fe9ef1
[14:25:02] chr5: design model: https://gist.github.com/chr5/229143845f22b817b1c3
[14:25:10] arup_r: has joined #RubyOnRails
[14:25:39] spyd3r: has joined #RubyOnRails
[14:27:37] alexwhitman: has joined #RubyOnRails
[14:27:56] sleungcy: has joined #RubyOnRails
[14:28:51] alexwhitman: has left #RubyOnRails: ()
[14:29:17] k13nox: has joined #RubyOnRails
[14:30:28] herbst: has joined #RubyOnRails
[14:31:23] pwnd_nsfw: chr5, your routes now
[14:31:34] pwnd_nsfw: also, you can just edit the same gist
[14:31:39] pwnd_nsfw: so I don't have to go around 10 different links
[14:32:57] chouhoulis: has joined #RubyOnRails
[14:33:16] chr5: I am sorry, how can i do that? posting like a comment?
[14:33:17] chr5: https://gist.github.com/chr5/3a54d72a71d7c4d60ab7
[14:34:18] pwnd_nsfw: no, by editing the gist lol
[14:34:22] fsteim: has joined #RubyOnRails
[14:37:54] baak: has joined #RubyOnRails
[14:38:22] chr5: rank in nil by default
[14:38:47] chr5: i want to add some numbers in different controller, is it right idea?
[14:39:13] chr5: @design.rank += points
[14:39:54] namxam: has joined #RubyOnRails
[14:40:58] Cervajz: has joined #RubyOnRails
[14:43:07] Cervajz_: has joined #RubyOnRails
[14:47:31] futilegames: has joined #RubyOnRails
[14:48:56] pwnd_nsfw: chr5, it'd be kind of dirty, but
[14:48:59] pwnd_nsfw: try to see if
[14:49:11] pwnd_nsfw: if (@design.rank.nil? @design.rank = 0
[14:49:19] pwnd_nsfw: with syntax fix ofc
[14:51:13] cschneid_: has joined #RubyOnRails
[14:51:26] k13nox: has joined #RubyOnRails
[14:51:45] solars: has joined #RubyOnRails
[14:55:57] herbst: has joined #RubyOnRails
[14:57:46] crystal77: has joined #RubyOnRails
[14:58:35] lyoshajapan: has joined #RubyOnRails
[15:01:38] PedramT: has joined #RubyOnRails
[15:02:09] PedramT_: has joined #RubyOnRails
[15:03:46] xardion_: has joined #RubyOnRails
[15:06:22] PedramT: has joined #RubyOnRails
[15:07:58] PedramT: has joined #RubyOnRails
[15:10:53] jtong: has joined #RubyOnRails
[15:12:22] meoblast001: has joined #RubyOnRails
[15:12:33] PedramT_: has joined #RubyOnRails
[15:13:29] IrishGringo: has joined #RubyOnRails
[15:14:34] The_Phoenix: has joined #RubyOnRails
[15:14:37] jtong: has joined #RubyOnRails
[15:14:38] Megamos: has joined #RubyOnRails
[15:18:15] titeiko: has joined #RubyOnRails
[15:18:20] chridal: When running a Rake task that is in lib/tasks/*.rake why does it take it so long to run? I just added a puts statement to it. Is this because it's loading the Rails app first or something?
[15:18:34] PedramT: has joined #RubyOnRails
[15:18:51] iateadonut: has joined #RubyOnRails
[15:19:14] RockLee: has joined #RubyOnRails
[15:19:58] Doddlin: has joined #RubyOnRails
[15:20:18] Doddlin: Gooood mooooorning Vietnaaaaam!
[15:20:43] Doddlin: (It???s not morning, neither am I in Vietnam??? But still.)
[15:21:26] FernandoBasso: has joined #RubyOnRails
[15:23:41] titeiko_: has joined #RubyOnRails
[15:25:54] PedramT: has joined #RubyOnRails
[15:26:23] herbst: has joined #RubyOnRails
[15:27:12] adavia: has joined #RubyOnRails
[15:28:25] PedramT: has joined #RubyOnRails
[15:28:53] sleungcy: has joined #RubyOnRails
[15:29:23] pwnd_nsfw: Doddlin, so, what is it then?
[15:29:41] Doddlin: pwnd_nsfw, afternoon in Sweden
[15:29:43] pwnd_nsfw: chridal, I blame spring
[15:29:45] The_Phoenix: has joined #RubyOnRails
[15:29:52] Papierkorb: pwnd_nsfw: http://www.wolframalpha.com/input/?i=how+late+is+it+in+vietnam
[15:30:09] pwnd_nsfw: good morning from east coast USA
[15:31:30] praveen: has joined #RubyOnRails
[15:33:41] chouhoulis: has joined #RubyOnRails
[15:35:04] PedramT: has joined #RubyOnRails
[15:36:53] dexter-tzu: has joined #RubyOnRails
[15:37:05] chridal: pwnd_nsfw: Oh? Is it possible to disable Spring just for the rake task? I don't need anything from the Rails app in these tasks. They're for setting up Docker stuff
[15:38:09] pawnbox: has joined #RubyOnRails
[15:39:21] Doddlin: I want to make the simplest of forms, I will enter a number in a text_field, hit submit and it should return ???True??? or ???False???. However, as I have set it up now, I get ???TypeError, no implicit conversion of Symbol into Integer???
[15:39:26] Doddlin: How stupid am I?
[15:39:51] pwnd_nsfw: stupid enough to not read the rules about asking questions lol
[15:40:10] Doddlin: seems like someone wants a gist
[15:40:12] pwnd_nsfw: chridal, I just don't use spring at all tbh
[15:40:28] chridal: pwnd_nsfw: Yea, but it's good for running RSpec suites though, or?
[15:40:33] chridal: I thought it speeds up the tests?
[15:40:33] lyoshajapan: has joined #RubyOnRails
[15:40:47] pwnd_nsfw: Maybe, I don't see any difference tbh
[15:40:48] titeiko: has joined #RubyOnRails
[15:40:57] sankaber: has joined #RubyOnRails
[15:42:37] namxam: has joined #RubyOnRails
[15:44:15] pawnbox: has joined #RubyOnRails
[15:44:58] mdw: has joined #RubyOnRails
[15:48:38] futilegames: has joined #RubyOnRails
[15:48:52] Doddlin: Could someone please check? :)
[15:48:53] Doddlin: https://gist.github.com/anonymous/ebc4a1df1550285592a4
[15:49:07] Doddlin: the error is thrown at the form_for-line
[15:49:19] titeiko_: has joined #RubyOnRails
[15:49:22] luizpv: has joined #RubyOnRails
[15:49:30] herbst: has joined #RubyOnRails
[15:50:19] dtordable: has joined #RubyOnRails
[15:50:26] thezanke: has joined #RubyOnRails
[15:50:26] thezanke: has joined #RubyOnRails
[15:52:04] arup_r: Doddlin: give the full error :p
[15:52:49] Doddlin: arup_r, TypeError, no implicit conversion of Symbol into Integer
[15:53:00] pwnd_nsfw: Because you don't have
[15:53:02] arup_r: give some more above on it https://gist.github.com/anonymous/ebc4a1df1550285592a4#file-error
[15:53:03] pwnd_nsfw: any actual model
[15:53:13] pwnd_nsfw: new action should have
[15:53:24] pwnd_nsfw: @product = Product.new
[15:53:29] pwnd_nsfw: what is tank supposed to be actually?
[15:53:38] pwnd_nsfw: :tank isn't a model, and should be a model
[15:54:13] Doddlin: Hmmm, I want to use that form to enter a tanknumber, click ???check??? and get back the current status of that tank
[15:54:58] k13nox: has joined #RubyOnRails
[15:55:02] Doddlin: arup_r, what do u mean?
[15:55:04] pwnd_nsfw: I still don't really understand the context of a tank
[15:55:25] pwnd_nsfw: Doddlin, he means that there's more to the stack trace than what you've posted
[15:55:36] pwnd_nsfw: but essentially, it's the fact that you have a symbol in your form, and not an object
[15:55:38] Doddlin: pwnd_nsfw, it is a tank, I want to check if it???s clean or not
[15:55:49] Doddlin: but there is no more in the trace :S
[15:55:59] pwnd_nsfw: WHAT A LIAR, but either way, it's redundant
[15:56:31] pwnd_nsfw: what route gives you that form Doddlin ?
[15:56:41] Doddlin: hehe, I might have clicked Framework Trace, not Full Trace...
[15:56:49] tvw: has joined #RubyOnRails
[15:57:06] arup_r: Doddlin: go to link http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_for read, For a generic model object, a form can be created by passing form_for a string or symbol representing the object we are concerned with:...
[15:57:21] Doddlin: pwnd_nsfw, get '', to: 'dashboard#check_tank', as: '/check_tank' (under namespace loadingstation)
[15:57:38] arup_r: Doddlin: do you have a Tank model ?
[15:57:47] Doddlin: arup_r, yes indeed :)
[15:58:09] Doddlin: and I have tanks
[15:58:16] Doddlin: registered in sys
[15:58:19] arup_r: well.. please show more error take from rails server log
[15:58:28] pwnd_nsfw: check_tank should have @tank = Tank.new
[15:58:38] pwnd_nsfw: and when you submit the form, whatever route it submits to
[15:58:46] pwnd_nsfw: you would have @tank = Tank.find(id here)
[15:58:52] pwnd_nsfw: and return the data on the tank
[15:59:03] Doddlin: pwnd_nsfw, I???ll try :)
[15:59:50] atmosx: has joined #RubyOnRails
[16:00:08] pwnd_nsfw: Implementing something similar to your new/edit/show actions
[16:00:58] mrchris: has joined #RubyOnRails
[16:01:25] titeiko: has joined #RubyOnRails
[16:01:33] IrishGringo: has joined #RubyOnRails
[16:02:04] sandstrom: has joined #RubyOnRails
[16:02:36] mrchris: I'm writing a rails template but having issues amending and replacing certain files such as application_controller.rb. Simple put, my changes are replaced by the default files Rails generates during new. Does anyone have any insight to this? Its difficult to google because most results pertain to either generators or views templates.
[16:03:07] pwnd_nsfw: err, that's interesting lol
[16:03:19] pwnd_nsfw: __chris, what exactly are you doing when this happens?
[16:03:53] mrchris: I'm using copy_file "app/controllers/application_controller.rb"
[16:04:00] mrchris: All of my other files copy over just fine
[16:04:25] bensarz: has joined #RubyOnRails
[16:05:10] mrchris: Its weird because its not just the copy_file command either. For example, insert_into_file "config/locales/en.yml" [changes are not there after new completes]
[16:05:41] mrchris: I've tried everything I can think of so far. I have these commands at the end of the file too.
[16:06:28] chridal: pwnd_nsfw: Tested with and without and for a test suite of 222 tests it took the same time with and w/o spring
[16:06:32] mrchris: My gut feeling is Rails does something special with "core" files. My next stop will be looking into the rails new task
[16:06:32] baweaver: has joined #RubyOnRails
[16:07:08] chridal: pwnd_nsfw: But! After removing Spring from the project it still doesn't run the rake tasks any faster
[16:07:49] fryguy: __chris: what file are you putting these "commands" in. nobody is still sure what you are actually doing
[16:08:20] mrchris: these commands are going into template.rb. Usage: rails new foo_app -m template.rb
[16:08:46] pwnd_nsfw: chridal, it might be kind of outdated, but there's spork for tests
[16:09:25] chridal: pwnd_nsfw: Well it's fine the speed that the tests run. I just need rake to execute faster
[16:09:49] lyoshajapan: has joined #RubyOnRails
[16:10:17] pwnd_nsfw: chridal, spring rake -T
[16:10:26] pwnd_nsfw: you'll have to enable spring again however
[16:10:39] fryguy: __chris: show us your template.rb
[16:10:41] pwnd_nsfw: I'm just googling solutions now
[16:11:29] Doddlin: My form is working no, at least partially, I was using f in the form right before that, hade to change letter
[16:11:37] pwnd_nsfw: chridal, first time will be slower, second should be quicker
[16:11:38] titeiko_: has joined #RubyOnRails
[16:11:39] Doddlin: however, in my routes I have
[16:11:50] Doddlin: get '', to: 'dashboard#check_tank', as: '/check_tank'
[16:12:04] Doddlin: loadingstation_check_tank GET /loadingstation(.:format) loadingstation/dashboard#check_tank
[16:12:07] mrchris: fryguy, http://pastie.org/private/lztrwdwie2uho0sobx2cq
[16:12:15] titeiko__: has joined #RubyOnRails
[16:12:23] bensarz: has joined #RubyOnRails
[16:12:27] chridal: pwnd_nsfw: Yes, indeed it was faster.
[16:12:29] Doddlin: but still it tries to use #index in my cotnroller?! :S
[16:12:52] titeiko__: has joined #RubyOnRails
[16:13:08] mrchris: I see one typo in the en.yml line. Fixing now
[16:13:13] fryguy: __chris: what what are you trying to accomplish
[16:13:51] pwnd_nsfw: what what in the code
[16:13:56] mrchris: ^sorry. Do you know about Rails template generators?
[16:14:05] fryguy: __chris: sort of
[16:14:19] fryguy: __chris: i don't get why you are trying to copy all of the files
[16:14:30] mrchris: Thank you for participating but your not providing much help.
[16:14:33] pwnd_nsfw: chridal, https://gist.github.com/latentflip/1584072
[16:14:55] pwnd_nsfw: chridal, careful though, last revision of that gist was like 4 years ago lol
[16:14:57] mrchris: fryguy, because i've made customizations to those files that i want copied into the new project
[16:15:04] chridal: pwnd_nsfw: Hehe! Thanks!
[16:15:34] fryguy: all files?
[16:15:42] mrchris: fryguy, http://guides.rubyonrails.org/rails_application_templates.html
[16:15:46] mrchris: Only some files
[16:15:53] mrchris: One of them being application_controller.rb
[16:16:02] treaki: has joined #RubyOnRails
[16:16:35] uris: has joined #RubyOnRails
[16:16:43] fryguy: __chris: so write the template generator to be more specific
[16:17:09] mrchris: I don't understand what you mean.
[16:18:38] jimmtt: has joined #RubyOnRails
[16:19:28] yoongkang: has joined #RubyOnRails
[16:19:52] fryguy: __chris: what does line 6 do
[16:20:34] herbst: has joined #RubyOnRails
[16:21:15] mrchris: If the file exists already in the new rails project Thor will confirm removal of the file. Since I want this fully automated, removing the file will prevent the script from stopping and asking about it.
[16:22:04] fryguy: what is path in this context, and why does it differ from the path in line 10
[16:22:46] htmldrum: has joined #RubyOnRails
[16:23:15] titeiko: has joined #RubyOnRails
[16:24:22] mrchris: its the same path
[16:25:29] baak1: has joined #RubyOnRails
[16:25:31] fryguy: i have no idea how that works
[16:25:44] kitsuneyo: has joined #RubyOnRails
[16:26:15] mrchris: take a look here http://pastie.org/private/ps9ulsnunjmv0tbwwfpz7q
[16:26:23] arup_r: has joined #RubyOnRails
[16:26:24] ryanRT: has joined #RubyOnRails
[16:26:39] mrchris: the method source_paths returns file sources. The overlying system uses files it finds in those directories
[16:27:10] mrchris: so, when remove_file is called, it removes it from the new rails app. when copy file is called it copies from where the replacement files are stored
[16:29:28] sleungcy: has joined #RubyOnRails
[16:30:22] sandstrom: has joined #RubyOnRails
[16:30:42] praveen: has joined #RubyOnRails
[16:31:19] titeiko_: has joined #RubyOnRails
[16:31:33] baak: has joined #RubyOnRails
[16:32:24] phantummm: has joined #RubyOnRails
[16:33:15] uris: has joined #RubyOnRails
[16:34:30] chouhoulis: has joined #RubyOnRails
[16:37:29] netzfisch: has joined #RubyOnRails
[16:38:07] Doddlin: how come ???url: loadingstation_check_tank_path??? does not go to that action despite my routes stating
[16:38:08] titeiko: has joined #RubyOnRails
[16:38:14] Doddlin: loadingstation_check_tank GET /loadingstation(.:format) loadingstation/dashboard#check_tank
[16:38:33] sandstrom: has joined #RubyOnRails
[16:39:21] Doddlin: found the error! :D
[16:39:29] titeiko__: has joined #RubyOnRails
[16:39:38] mikeiniowa: has joined #RubyOnRails
[16:42:07] blackmesa: has joined #RubyOnRails
[16:42:24] visudo: has joined #RubyOnRails
[16:42:30] arup_r: hi kitsuneyo
[16:42:55] titeiko: has joined #RubyOnRails
[16:43:26] namxam: has joined #RubyOnRails
[16:43:32] kitsuneyo: i have a users/show action that any visitor should be able to access. i set my pundit user_policy to def show; true; end. it redirects for people who aren't signed in
[16:43:40] titeiko_: has joined #RubyOnRails
[16:44:17] titeiko__: has joined #RubyOnRails
[16:44:17] codelahoma: has joined #RubyOnRails
[16:44:27] arup_r: kitsuneyo: what you are using for authentication ?
[16:44:39] arup_r: pundit is for authorization
[16:44:58] arup_r: yes, just remove beofore_filter for that action? did you =?
[16:45:17] piotrj: has joined #RubyOnRails
[16:45:23] arup_r: like skip_before_filter :authenticate_user!, only: :show
[16:45:24] kitsuneyo: you think before_action :authenticate_user! is the problem?
[16:45:43] kitsuneyo: how about before_action :authenticate_user!, except: :show
[16:45:44] futilegames: has joined #RubyOnRails
[16:45:49] herbst: has joined #RubyOnRails
[16:45:51] arup_r: will work
[16:46:00] arup_r: that is correct to
[16:46:25] mdw: has joined #RubyOnRails
[16:46:32] kitsuneyo: it's working, thanks!
[16:46:39] arup_r: kitsuneyo: :)
[16:46:55] kitsuneyo: sometimes i just miss obvious stuff til i talk about it to someone
[16:47:30] spyd3r: has joined #RubyOnRails
[16:47:31] arup_r: kitsuneyo: that is the nature of human beings :)
[16:48:07] arup_r: Doddlin: your form_for issue is resolved..?
[16:48:16] Doddlin: arup_r, yes indeed! :D
[16:48:19] Doddlin: thanks for revert
[16:48:32] Doddlin: I was stupid
[16:48:42] Doddlin: Used ???f??? for 2 forms on the same page
[16:48:43] arup_r: ok,, what was it..?
[16:48:59] Doddlin: I just needed to change to ???t??? and I was fine..
[16:49:21] stannard: has joined #RubyOnRails
[16:49:47] arup_r: was that included in the gist that you shared first time ? I think no.. your gist was half baked hehee
[16:50:18] lyoshajapan: has joined #RubyOnRails
[16:50:21] arup_r: but good you figured out..
[16:51:36] pawnbox_: has joined #RubyOnRails
[16:51:53] praveen__: has joined #RubyOnRails
[16:52:56] sonOfRa: has joined #RubyOnRails
[16:54:27] codelahoma: has joined #RubyOnRails
[16:56:39] IrishGringo: has joined #RubyOnRails
[16:58:31] Doddlin: arup_r, yeah, kinda cheated
[16:58:37] Doddlin: however I have a new error
[16:58:55] pwnd_nsfw: post dat ish
[16:59:16] Doddlin: I have an If/Else-statement that I want to redirect to the same page but with different flashes
[16:59:53] Doddlin: before ???else??? I do ???redirect_to loadingstation_path??? - works fine, no error
[17:00:00] pwnd_nsfw: Give us relevant code, tell us what you want to happen, tell us what is happening
[17:00:11] Doddlin: right below my else I do the same and that throws an error
[17:00:27] pwnd_nsfw: https://gist.github.com/radar/996779
[17:01:01] User458764: has joined #RubyOnRails
[17:01:18] arup_r: Doddlin: code please, we will read from there.. :)
[17:01:27] Doddlin: arup_r, yeah, coming right up
[17:01:38] User458764: has joined #RubyOnRails
[17:02:01] Doddlin: full trace this time.. :P
[17:02:16] pipework: Read is a loose term, really. I'm pretty sure tubbo is illiterate.
[17:02:43] Doddlin: here we o!
[17:02:45] Doddlin: https://gist.github.com/anonymous/fd1cf6b4371454a3d16c
[17:03:15] pwnd_nsfw: First off, you're going to want to flash before your redirect
[17:03:17] arup_r: this is not a full trace
[17:03:37] arup_r: it should go up https://gist.github.com/anonymous/fd1cf6b4371454a3d16c#file-controller-rb-L30
[17:03:40] herbst: has joined #RubyOnRails
[17:03:40] herbst: has joined #RubyOnRails
[17:03:43] pwnd_nsfw: 'tanknumber' => :tanknumber
[17:03:44] arup_r: then redirect
[17:03:59] pwnd_nsfw: that should prbably be params[:tanknumber]
[17:04:24] arup_r: Doddlin: you first give flash value, then redirect
[17:04:42] Doddlin: arup_r, ah hehe of course
[17:04:56] Doddlin: (that must be the full trace, clicked that link)
[17:05:29] Doddlin: I still get the error on the last redirect_to though :S
[17:06:40] Doddlin: undefined local variable or method `loadingstation_path' for #<Loadingstation::DashboardController:0x0000010bc2dd08>
[17:07:14] arup_r: check your rake routes output, if the path name is correct or not..
[17:07:38] Doddlin: loadingstation GET /loadingstation(.:format) loadingstation/dashboard#index
[17:10:03] arup_r: the error is odd.. :(
[17:10:20] Doddlin: no, I???m odd
[17:10:30] spyd3r: has joined #RubyOnRails
[17:10:36] Doddlin: I will leave my computer and get back when I have smashed my head to the wall for 2 hours
[17:10:37] arup_r: why ? I don't see any wrong though
[17:10:44] Doddlin: the rake was hours old
[17:10:50] Doddlin: I have made changes
[17:11:16] srinidhi: has joined #RubyOnRails
[17:11:24] Doddlin: yeez, there is no surprise I get nothing done during my days, only chasing my own errors
[17:11:54] pwnd_nsfw: You don't have a solid understanding of the basics of the rails framework
[17:11:56] arup_r: get oaffee
[17:12:57] norc: has joined #RubyOnRails
[17:13:25] Doddlin: pwnd_nsfw haha that is to true??? I have built one service though, but the amount of google in there is massive
[17:13:29] Doddlin: www.spacelease.se
[17:13:55] norc: Hi. I have the need to query an external API for some resources. For that I initially thought about delayed_job for ease of implementation, but I need something that allows for rate limiting (I may only poll the API 200 times per hour)
[17:14:05] moeabdol: has joined #RubyOnRails
[17:14:20] titeiko: has joined #RubyOnRails
[17:14:23] gbgdev: has joined #RubyOnRails
[17:15:29] uris: has joined #RubyOnRails
[17:15:31] qejk: has joined #RubyOnRails
[17:15:52] Voyage: has joined #RubyOnRails
[17:16:03] arup_r: Doddlin: I liked the site you built..
[17:16:09] Voyage: I might be sllightly off topic but can anyone help? http://pastie.org/10701958#12-13
[17:16:15] Doddlin: arup_r, thanks :D
[17:16:17] arup_r: it took time to load due to my slow internet .. :/
[17:16:42] Doddlin: arup_r, probably also because we just degraded our server, taking it back to Free plan
[17:16:49] norc: Or more precisely, I have a bucket of potentially thousands of jobs, but I only want them to be done 150 at a time.
[17:16:53] arup_r: my data limit about to touch its barrier.. so it beacme slow
[17:16:54] norc: Per hour.
[17:17:21] norc: Something is telling me I should just write my own scheduler for this
[17:17:28] arup_r: Doddlin: no, I even don't load quick SatckOverflow.com :p
[17:17:41] arup_r: it is my data shortage issue
[17:17:52] Doddlin: arup_r haha I see! ^^
[17:19:19] qejk: has joined #RubyOnRails
[17:19:23] norc: (And I really want to avoid using something like sidekiq with sidekiq-throttle since I do not want to add a redis as a dependenc)
[17:21:29] rodfersou: has joined #RubyOnRails
[17:21:34] Guest8935: has joined #RubyOnRails
[17:22:28] herbst: has joined #RubyOnRails
[17:23:51] SloggerKhan1: has joined #RubyOnRails
[17:24:41] mrchris: has joined #RubyOnRails
[17:25:45] paolog: has joined #RubyOnRails
[17:26:04] superlou: has joined #RubyOnRails
[17:27:56] praveen: has joined #RubyOnRails
[17:32:05] arup_r: has joined #RubyOnRails
[17:32:06] tape88: has joined #RubyOnRails
[17:32:22] blackmesa: has joined #RubyOnRails
[17:34:10] arup_r: has joined #RubyOnRails
[17:35:12] chouhoulis: has joined #RubyOnRails
[17:37:33] FernandoBasso: has joined #RubyOnRails
[17:45:08] zombiewithlasers: has joined #RubyOnRails
[17:46:50] zombiewithlasers: has left #RubyOnRails: ()
[17:50:21] IrishGringo: has joined #RubyOnRails
[17:51:41] eleazar: has joined #RubyOnRails
[17:52:34] herbst: has joined #RubyOnRails
[17:57:32] uris: has joined #RubyOnRails
[17:58:07] paolog: has joined #RubyOnRails
[17:58:27] lyoshajapan: has joined #RubyOnRails
[18:03:43] paolog: has joined #RubyOnRails
[18:04:17] idefine: has joined #RubyOnRails
[18:04:20] piotrj: has joined #RubyOnRails
[18:04:52] treaki: has joined #RubyOnRails
[18:07:21] elshaka: has joined #RubyOnRails
[18:08:38] elshaka: I'm upgrading a 3.2 app to 4.0, there seem to be changes with inflections and now activerecord points to non-existent tables
[18:08:53] elshaka: is there a way to use the old pre-4.0 inflections?
[18:09:43] srinidhi: has joined #RubyOnRails
[18:10:40] lele: has joined #RubyOnRails
[18:11:06] zombiewithlasers: has joined #RubyOnRails
[18:12:03] chr5: Hi Folks...
[18:12:08] zombiewithlasers: Hi everyone. Does anyone have a good idea what the freelance market for Rails is like in the US right now?
[18:12:19] PedramT: has joined #RubyOnRails
[18:12:26] chr5: I am trying to add a new method: add_rank_points(value)
[18:12:26] chr5: https://gist.github.com/chr5/671ef4394bf551de97af
[18:12:32] chr5: can you help me?
[18:13:23] chr5: I trying to get the design.id but i dont know
[18:14:16] neshmi: has joined #RubyOnRails
[18:16:18] chridal: When you're running a Rails app (in my case an API) on AWS with ElasticLoadBalancer do you still use something like nginx as a reverse proxy in front of puma? Or do you just use the load balancer?
[18:16:27] diegoviola: has joined #RubyOnRails
[18:16:29] chridal: We'll be terminating SSH at the load balancer also
[18:16:34] Andr3as: chr5: isnt it in the url params?
[18:17:45] arup_r: chr5: what is the issue ?
[18:18:01] chr5: Hi folks
[18:18:25] uris: has joined #RubyOnRails
[18:18:26] chr5: I dont know how to get the new @design.id and and 100 points to rank
[18:18:48] arup_r: zombiewithlasers: I can take you to one community where you can ask this. If interested share me your email..
[18:19:29] chr5: when i create a new @design, the error is: Couldn't find Design without an ID
[18:19:34] Andr3as: can you put a "fail" on line 11 and just let it run
[18:19:46] Andr3as: post the content of the error message
[18:19:52] Andr3as: into the gist
[18:20:31] arup_r: chr5: please show the rails server log.. error is saying though you what is wrong..
[18:20:36] arup_r: you didn't pass the id
[18:20:44] arup_r: when submitted the request
[18:20:50] herbst: has joined #RubyOnRails
[18:20:56] aclearman037: has joined #RubyOnRails
[18:21:03] Spami: has joined #RubyOnRails
[18:21:55] chr5: tail log?
[18:22:08] chr5: how can i get this?
[18:22:18] arup_r: or it is available too where you ran the rails server with command like `rails s`
[18:22:26] chr5: i play in local
[18:22:36] Coldblackice: has joined #RubyOnRails
[18:22:55] namxam: has joined #RubyOnRails
[18:23:12] arup_r: what do you mean "play in local" ?
[18:24:40] futilegames: has joined #RubyOnRails
[18:25:35] Andr3as: chr5: like i said, insert a new line before line 11, put "fail" on that line and do what you wann do
[18:25:37] lawrence: has joined #RubyOnRails
[18:25:40] dtordable: has joined #RubyOnRails
[18:25:54] Andr3as: it should break there and dump everything out into the browser
[18:25:59] chr5: ok i try
[18:26:20] Andr3as: add that into your gist
[18:26:20] idefine: has joined #RubyOnRails
[18:26:22] visudo: has joined #RubyOnRails
[18:27:31] chr5: you mean "puts "fail" right?
[18:27:55] Andr3as: no, just fail
[18:27:57] fsteim: has joined #RubyOnRails
[18:28:09] chr5: arup_r I mean that i am using rails server in my computer, in a local server
[18:28:25] arup_r: there also available log
[18:28:57] chr5: do i get the tail code and i share in gish, right?
[18:29:42] blackmesa: has joined #RubyOnRails
[18:30:20] chr5: here it is: https://gist.github.com/chr5/0d3fb3c83dc16c554442
[18:31:07] Andr3as: that isnt the fail output
[18:31:19] chr5: how can i get the fail oputput?
[18:31:49] chr5: i introduced the code into the fuction, i tryed to upload an image, and i recorded tail log
[18:31:51] chr5: is it right?
[18:32:36] arup_r: chr5: your issue is you are not sending the id
[18:33:05] arup_r: can you show the view from where you are sending the request ?
[18:33:07] chr5: I a beginner programmer, i am sorry, can you explain me how can i do it
[18:33:18] mdw: has joined #RubyOnRails
[18:33:33] chr5: yes i can...wait
[18:34:14] chr5: new view?
[18:35:54] chouhoulis: has joined #RubyOnRails
[18:36:11] chr5: https://gist.github.com/chr5/0de51ce7335390fcbd61
[18:38:21] idefine: has joined #RubyOnRails
[18:38:42] sleungcy: has joined #RubyOnRails
[18:40:58] titeiko_: has joined #RubyOnRails
[18:42:51] lxsameer: has joined #RubyOnRails
[18:43:13] arBmind: has joined #RubyOnRails
[18:44:28] titeiko__: has joined #RubyOnRails
[18:45:07] titeiko: has joined #RubyOnRails
[18:46:30] barhum2013: has joined #RubyOnRails
[18:48:42] chr5: can someone explain how can i copy a git repository to create a new ? clone? export?
[18:49:14] pilne: has joined #RubyOnRails
[18:50:11] Voyage: Am I missing something? http://pastie.org/10702090#1,4,19
[18:50:18] Pumukel: has joined #RubyOnRails
[18:51:31] Andr3as: server restarted?
[18:51:38] lyoshajapan: has joined #RubyOnRails
[18:51:47] Andr3as: what's the serverlog saying
[18:51:55] Voyage: Andr3as, apache restarted or full os?
[18:52:12] Voyage: the page says not found.
[18:52:16] Voyage: let me check logs
[18:52:35] Andr3as: error log might be uzsefull
[18:52:50] Senecea: has joined #RubyOnRails
[18:53:14] idefine_: has joined #RubyOnRails
[18:53:43] Senecea: has joined #RubyOnRails
[18:54:42] Andr3as: gotta run, sry
[18:55:17] herbst: has joined #RubyOnRails
[18:55:17] herbst: has joined #RubyOnRails
[18:55:27] IrishGringo: has joined #RubyOnRails
[18:55:44] Voyage: Andr3as, log at bottom. http://pastebin.com/HaxekbDD
[18:55:49] loechel: has joined #RubyOnRails
[18:56:10] piotrj: has joined #RubyOnRails
[18:57:11] arup_r: chr5: You have issue in understanding rails fundamental. Get a book which suits you, and make your base good. It will help you to pick up rails fast.
[18:57:33] arup_r: Voyage: use gist
[18:58:06] blackmesa: has joined #RubyOnRails
[18:58:43] chr5: Thaks you arup_r, i try learn, can you recommend any book? I have Agile development with rails..
[18:59:12] arup_r: That is much better book, did you finish it ?
[19:00:03] chr5: I have not finished...i started to do the project, but i am very interested to advance in my new project, colaborative
[19:00:16] arup_r: if not please do it first, or pick some other book, like Rails 4 in action, Ruby on Rails tutorial.. any 1 or 2 book will give you the foundations.. The app you are writing is not the app the book you have taught us.. :D
[19:00:24] atmosx: has joined #RubyOnRails
[19:00:38] Voyage: helpa, arup_r Andr3as https://gist.github.com/anonymous/482353d17a4244339746
[19:01:01] arup_r: ok, good chr5, finish the book.. give it some time.. and if you have issue with understanding anything there.. ask here..
[19:01:10] arup_r: we will help you..
[19:01:35] arup_r: but before rolling your own app, get familiar with the environment or framework etc ..
[19:01:53] arup_r: Voyage: `help-a` is a bot. :p
[19:01:54] chr5: can you help me with the inssue this time?
[19:02:13] chr5: to understand this kind of things helps me to understand
[19:02:25] netzfisch: has joined #RubyOnRails
[19:02:35] CheckYourSix: has joined #RubyOnRails
[19:03:02] arup_r: I don't know from where to start.. here the issue is when you are submitting the form, you are not sending the id which u used inside the .find(params[..]) here
[19:03:08] arup_r: so you need to pass it..
[19:03:32] chr5: wait a second...
[19:03:39] arup_r: if you check the server log, you will see Rails shows a prams hash.. and go and see the hash, you will see it is `nil` there
[19:04:18] chr5: yes i see the nil value
[19:04:28] arup_r: I know :)
[19:04:31] chr5: I understand that the value is not comming here
[19:04:47] smathy: has joined #RubyOnRails
[19:04:52] chr5: when i do: semantic_form_for @design do |f|
[19:05:18] chr5: does the form makes a complet instance of the object design?
[19:05:42] thezanke: has joined #RubyOnRails
[19:05:42] thezanke: has joined #RubyOnRails
[19:05:49] arup_r: now the basic thing is needed to understand how form_for works ... :(
[19:05:57] arup_r: it does yes
[19:06:27] arup_r: but.. the id will be there when editing, not when it is a new object..
[19:06:55] uris: has joined #RubyOnRails
[19:07:38] chr5: When you send the form, the new id is created, right?
[19:07:41] Voyage: Am I missing something? https://gist.github.com/anonymous/482353d17a4244339746
[19:08:07] chr5: whith all the values that i send in the form, i guess
[19:08:32] chr5: I dont understand the forms...
[19:08:38] badoo: has joined #RubyOnRails
[19:09:11] Rodya_: has joined #RubyOnRails
[19:09:38] LambdaSource: has joined #RubyOnRails
[19:11:23] solars: has joined #RubyOnRails
[19:12:25] IrishGringo: has joined #RubyOnRails
[19:16:04] smathy: Voyage, looks like something keeps shutting down your apache daemon.
[19:16:28] Voyage: smathy, hm
[19:17:05] sandstrom: has joined #RubyOnRails
[19:17:49] smathy: Voyage, maybe start your httpd with the -X option (debug mode, foreground)
[19:18:56] Puffball: has joined #RubyOnRails
[19:21:42] smathy: chr5, basically yes, but strong_paramaters plays a part here too, your Design will only be created with whatever parameters are allowed through that filter in your controller (or that you set individually)/manually.
[19:22:52] herbst: has joined #RubyOnRails
[19:22:53] mdw: has joined #RubyOnRails
[19:22:54] yoongkang: has joined #RubyOnRails
[19:24:52] stannard: has joined #RubyOnRails
[19:25:19] Puffball: has joined #RubyOnRails
[19:27:29] barhum2013: has joined #RubyOnRails
[19:31:51] shmilan: has joined #RubyOnRails
[19:33:08] joshkovach: has joined #RubyOnRails
[19:33:10] zpe: has joined #RubyOnRails
[19:33:45] chr5: smathy: my design model say: attr_accessible :description, :title, :image , :user_id
[19:33:59] sandstrom: has joined #RubyOnRails
[19:36:00] juddey: has joined #RubyOnRails
[19:36:44] chouhoulis: has joined #RubyOnRails
[19:37:41] smathy: chr5, which version of Rails are you using?
[19:38:02] baak1: has left #RubyOnRails: ()
[19:38:47] DoubleMalt: has joined #RubyOnRails
[19:39:31] sleungcy: has joined #RubyOnRails
[19:39:56] pawnbox: has joined #RubyOnRails
[19:40:16] thezanke: has joined #RubyOnRails
[19:45:11] herbst: has joined #RubyOnRails
[19:46:15] djbkd: has joined #RubyOnRails
[19:48:51] all4co-op: has joined #RubyOnRails
[19:51:00] sandstrom: has joined #RubyOnRails
[19:51:05] Pulp: has joined #RubyOnRails
[19:51:12] visudo: has joined #RubyOnRails
[19:53:23] noodle: has joined #RubyOnRails
[19:54:36] barhum2013: has joined #RubyOnRails
[19:55:31] fedexo: has joined #RubyOnRails
[19:57:03] ddv: has joined #RubyOnRails
[19:57:11] joshkovach: has joined #RubyOnRails
[19:57:22] netzfisch: has joined #RubyOnRails
[19:57:59] all4co-op: has left #RubyOnRails: ()
[19:59:49] thezanke: has joined #RubyOnRails
[19:59:49] thezanke: has joined #RubyOnRails
[19:59:52] idefine: has joined #RubyOnRails
[20:00:07] joshkovach: has joined #RubyOnRails
[20:00:36] ancientant: has joined #RubyOnRails
[20:00:38] centrx: has joined #RubyOnRails
[20:03:14] barhum2013: has joined #RubyOnRails
[20:04:40] all4co-op: has joined #RubyOnRails
[20:04:52] all4co-op: has left #RubyOnRails: ()
[20:05:04] all4co-op: has joined #RubyOnRails
[20:05:07] ancientant: has left #RubyOnRails: ()
[20:08:14] sandstrom: has joined #RubyOnRails
[20:09:45] judetucker: has joined #RubyOnRails
[20:09:47] `aspiRe: has joined #RubyOnRails
[20:09:51] herbst: has joined #RubyOnRails
[20:09:51] herbst: has joined #RubyOnRails
[20:10:06] doublemalt_: has joined #RubyOnRails
[20:10:33] idefine: has joined #RubyOnRails
[20:11:33] codelahoma: has joined #RubyOnRails
[20:14:02] all4co-op1: has joined #RubyOnRails
[20:16:18] IrishGringo: has joined #RubyOnRails
[20:19:41] pawnbox: has joined #RubyOnRails
[20:21:23] Senecea: has joined #RubyOnRails
[20:21:25] Rodya_: has joined #RubyOnRails
[20:23:27] titeiko_: has joined #RubyOnRails
[20:24:01] yoongkang: has joined #RubyOnRails
[20:24:56] joshkovach: has joined #RubyOnRails
[20:25:26] sandstrom: has joined #RubyOnRails
[20:26:15] tape88: has joined #RubyOnRails
[20:30:13] rubyonrails577: has joined #RubyOnRails
[20:31:08] shmilan: has joined #RubyOnRails
[20:35:11] rogue_koder: has joined #RubyOnRails
[20:37:28] chouhoulis: has joined #RubyOnRails
[20:37:39] herbst: has joined #RubyOnRails
[20:39:43] rickmasta: has joined #RubyOnRails
[20:40:15] sleungcy: has joined #RubyOnRails
[20:40:54] baweaver: has joined #RubyOnRails
[20:41:21] chr5: which chat command can i user to mention a person ?
[20:41:29] all4co-op: has joined #RubyOnRails
[20:42:40] sandstrom: has joined #RubyOnRails
[20:42:47] StaticVo1d: chr5: just enter the first couple character of the handle and then hit <tab> (Assuming you are referring to IRC)
[20:43:00] chr5: I mean in irc
[20:43:39] chr5: Smathy raisl 3.2
[20:43:51] chr5: i want to mention smathy, how can i do it?
[20:44:01] chr5: name: message ?
[20:44:03] TheMonster_: has joined #RubyOnRails
[20:44:15] phantummm: has joined #RubyOnRails
[20:44:33] StaticVo1d: chr5: just type 'sma' and then hit 'tab' - it shoulld autocomplete
[20:44:49] chr5: smathy, in this way?
[20:45:02] StaticVo1d: chr5: looks like it :)
[20:45:11] chr5: StaticVo1d, do you mean that?
[20:45:27] chr5: StaticVo1d, do your nick change color and irc give you a notification?
[20:46:38] StaticVo1d: chr5: Yes, so you just mentioned me, so YOUR name changes color for me. Notifications depend on the IRC client you are using, haven't really looked into that, but you an set it up so it beeps
[20:46:39] IrishGringo_: has joined #RubyOnRails
[20:47:06] chr5: StaticVo1d, thank you very much
[20:47:21] chr5: StaticVo1d, i use Xchat a client for ubuntu
[20:47:49] moeabdol: has joined #RubyOnRails
[20:48:04] joshsmith: has joined #RubyOnRails
[20:48:28] enitiz: has joined #RubyOnRails
[20:49:07] StaticVo1d: chr5: just to a search for 'xchat notifications' I'm sure you'll find how to set it up. I'm using IRSSI
[20:49:31] smathy: chr5, ah, I see. You should lead with that in future btw, people in here assume a recent Rails version. So yes, if the attribute is in your attr_accessible and comes in from your form, then it should be created/updated in your model.
[20:49:44] chr5: StaticVo1d, now, i recived a notification... every time i have mentioned i recibe this notification , not ploblem, thanks
[20:50:05] pawnbox: has joined #RubyOnRails
[20:51:05] chr5: smathy, You mean that in desgin model, i have to: attr_accessible :description, :title, :image , :user_id , so i recibe user_id right?
[20:52:46] smathy: chr5, yes.
[20:55:16] moeabdol: has joined #RubyOnRails
[20:56:22] Cohedrin: has joined #RubyOnRails
[20:58:08] aclearman037: has joined #RubyOnRails
[20:59:07] lacrymology: has joined #RubyOnRails
[20:59:45] zpe: has joined #RubyOnRails
[21:00:01] sandstrom: has joined #RubyOnRails
[21:00:36] phantummm: has joined #RubyOnRails
[21:01:38] herbst: has joined #RubyOnRails
[21:01:41] herbst: has joined #RubyOnRails
[21:01:47] EMCHAMP_: has joined #RubyOnRails
[21:04:16] k1io: has joined #RubyOnRails
[21:04:49] piotrj: has joined #RubyOnRails
[21:04:54] titeiko: has joined #RubyOnRails
[21:05:45] chr5: smathy, i want to make a copy of my project, i use git, can i copy the app rails folder or must i introduce some special git command?
[21:06:14] chr5: smathy, I have a app rails project, i want to make a new folder , to create a new repository to start a new project with the old code
[21:07:44] chr5: smathy, in subversion i used svn xport folder and then i got the project with out subversion hide folders
[21:08:05] smathy: chr5, just copy the whole dir, and then delete the `.git` folder in the copy and `git init` again there.
[21:08:20] chr5: smathy, yeah thanks !
[21:10:30] sleungcy: has joined #RubyOnRails
[21:11:03] ferr: has joined #RubyOnRails
[21:15:24] fox_muld1r_cp: has left #RubyOnRails: ()
[21:15:47] fox_mulder_cp: has joined #RubyOnRails
[21:15:54] fox_mulder_cp: chr5: hm. i have a solution - read git giudes, may be copy foolder with project and delete .git bad idea...
[21:17:11] sandstrom: has joined #RubyOnRails
[21:18:04] TheMonster_: Hi, I'm trying to setup a test app on Heroku rails 5.0.0.beta1.1. I'm having a problem getting ActionCable to work. Console says WebSocket connection to 'wss://sustain-game.herokuapp.com/cable' failed: WebSocket is closed before the connection is established. Does anyone have an idea about this?
[21:18:04] paolog: has joined #RubyOnRails
[21:18:20] fsteim: has joined #RubyOnRails
[21:18:43] spyd3r: has joined #RubyOnRails
[21:19:20] chr5: fox_mulder_cp, what rails folder of my app must i send to github? app folder, Gemfile? .ruby_version and ruby_gemset?
[21:22:03] arooni-mobile: has joined #RubyOnRails
[21:22:53] arooni-mobile: has left #RubyOnRails: ()
[21:22:53] Lytol: has joined #RubyOnRails
[21:24:45] yoongkang: has joined #RubyOnRails
[21:24:49] fox_mulder_cp: chr5: ooh. app_root_path_folder
[21:25:14] fox_mulder_cp: read Radar RiA book :)
[21:25:37] fox_mulder_cp: with all it content.
[21:27:12] herbst: has joined #RubyOnRails
[21:27:25] pilne: has joined #RubyOnRails
[21:29:17] matthias_: has joined #RubyOnRails
[21:30:22] pwnd_nsfw: I have a feeling setting up headless selenium is going to be an issue
[21:31:36] fox_mulder_cp: i said about 'all it content' of rails_app_root_folder
[21:32:29] thezanke: has joined #RubyOnRails
[21:34:00] chr5: folks, must i upload the folder vendor/bundle into my git repository?
[21:34:26] sandstrom: has joined #RubyOnRails
[21:35:07] ebbflowgo: has joined #RubyOnRails
[21:38:12] chouhoulis: has joined #RubyOnRails
[21:38:16] netzfisch: has joined #RubyOnRails
[21:38:22] pwnd_nsfw: brb dling the world to get headless selenium
[21:38:47] mdw: has joined #RubyOnRails
[21:41:58] djbkd: has joined #RubyOnRails
[21:46:55] Senecea: has joined #RubyOnRails
[21:47:04] Rodya_: has joined #RubyOnRails
[21:49:05] sleungcy: has joined #RubyOnRails
[21:49:35] pawnbox: has joined #RubyOnRails
[21:50:11] duncannz: has joined #RubyOnRails
[21:51:25] herbst: has joined #RubyOnRails
[21:52:03] sandstrom: has joined #RubyOnRails
[21:55:10] StaticVoid: has joined #RubyOnRails
[21:56:05] djbkd: has joined #RubyOnRails
[21:57:57] alonkooks: has joined #RubyOnRails
[21:58:02] nfk: has joined #RubyOnRails
[21:58:32] thezanke: has joined #RubyOnRails
[21:58:32] thezanke: has joined #RubyOnRails
[21:59:21] EMCHAMP_: has joined #RubyOnRails
[22:00:14] The_Phoenix: has joined #RubyOnRails
[22:02:03] segy: has joined #RubyOnRails
[22:03:12] alonkooks: can someone give me some help on a mysql issue
[22:04:42] pwnd_nsfw: alonkooks, probably if you'd just post your issue in a detailed manner
[22:04:56] alonkooks: whats the website to post code?
[22:05:01] alonkooks: ill show you the error message
[22:05:10] pwnd_nsfw: gist.github.com
[22:05:13] the_drow_mobile: has joined #RubyOnRails
[22:05:26] pwnd_nsfw: The guidelines are outlined in the rules
[22:05:32] pwnd_nsfw: which are located in the topic of the channel
[22:06:11] alonkooks: pwnd_nsfw: https://gist.github.com/anonymous/60583f95c88e473555ea
[22:06:32] pwnd_nsfw: it would seem it's not installed
[22:06:36] pwnd_nsfw: try typing mysql
[22:06:41] pwnd_nsfw: instead of all uppercased 'n such
[22:06:42] uris: has joined #RubyOnRails
[22:06:47] shmilan: has joined #RubyOnRails
[22:07:16] alonkooks: should i reinstall everything with sql?
[22:07:23] alonkooks: i have an sql client ive been using
[22:07:42] alonkooks: but i should be able to use it with ruby right? not just the sql client?
[22:08:46] alonkooks: pwnd_nsfw: should i reintall mysql?
[22:09:07] pwnd_nsfw: did you try just typing "mysql" into cmd.....
[22:09:13] sandstrom: has joined #RubyOnRails
[22:10:04] alonkooks: pwnd_nsfw: yeah
[22:10:13] pwnd_nsfw: gave the same issue?
[22:10:17] alonkooks: pwnd_nsfw: it says doesnt recognize batch file
[22:10:18] pwnd_nsfw: is mysql even in your path?
[22:10:26] alonkooks: pwnd_nsfw: ive been on lynda trying to learn ruby
[22:10:40] alonkooks: pwnd_nsfw: mysql has its own cmd client
[22:10:52] alonkooks: pwnd_nsfw: for some reason the root password wont work anymore
[22:11:06] pwnd_nsfw: Why mysql anyways
[22:11:10] pwnd_nsfw: postgres master race
[22:11:23] pwnd_nsfw: also, I'd suggest like... running linux in a vm and coding on that
[22:11:31] alonkooks: pwnd_nsfw: haha well i dont know anything about it all
[22:11:32] solars: has joined #RubyOnRails
[22:11:43] alonkooks: pwnd_nsfw: do you have a rubyonrails tutorial thats good?
[22:12:32] ddv: has joined #RubyOnRails
[22:12:48] pwnd_nsfw: mhartl's ror book isn't bad
[22:12:55] pwnd_nsfw: I'd go and buy Rails 4 in Action though
[22:13:22] pwnd_nsfw: https://www.manning.com/books/rails-4-in-action
[22:13:29] alonkooks: pwnd_nsfw: im just trying to make a working web app
[22:13:34] pwnd_nsfw: https://www.railstutorial.org/book
[22:14:20] marr: has joined #RubyOnRails
[22:15:10] alonkooks: pwnd_nsfw: will that book help me create a website?
[22:15:44] alonkooks: pwnd_nsfw: html and css is serperate from ruby right?
[22:16:13] pwnd_nsfw: ye, but with rails you kinda need to know a little
[22:16:36] alonkooks: pwnd_nsfw: will i need both of those books to learn or is one sufficient?
[22:16:58] pwnd_nsfw: one is sufficient, but they both give totally different approaches
[22:17:31] alonkooks: whats the easiest for a college kid that doesnt know jack shit except some codeacademy html css bootstrap
[22:18:04] pwnd_nsfw: which ever one you care about putting your time into?
[22:18:17] alonkooks: well the second one is free right? haha
[22:18:18] pwnd_nsfw: R4IA is more awesome for someone serious about RoR
[22:18:47] pwnd_nsfw: hartl's, from what I remember it as, is like.. the "casuals" guide to RoR
[22:18:58] pwnd_nsfw: It'll get you started no less
[22:19:06] aclearman037: has joined #RubyOnRails
[22:20:03] thezanke: has joined #RubyOnRails
[22:20:03] thezanke: has joined #RubyOnRails
[22:21:12] herbst: has joined #RubyOnRails
[22:23:09] ddv: has joined #RubyOnRails
[22:24:44] mrchris: has joined #RubyOnRails
[22:25:19] Voyage: Am I missing something? https://gist.github.com/anonymous/482353d17a4244339746
[22:25:26] yoongkang: has joined #RubyOnRails
[22:25:58] alonkooks: pwnd_nsfw: are any of them free?
[22:26:09] ql6wlld: has joined #RubyOnRails
[22:26:22] sandstrom: has joined #RubyOnRails
[22:26:29] herbst0: has joined #RubyOnRails
[22:28:18] Voyage: nevermind
[22:28:21] pwnd_nsfw: alonkooks, are any what free...
[22:28:31] phantummm: has joined #RubyOnRails
[22:30:03] pawnbox: has joined #RubyOnRails
[22:33:59] nettoweb: has joined #RubyOnRails
[22:35:50] titeiko: has joined #RubyOnRails
[22:36:30] nettoweb: has joined #RubyOnRails
[22:38:22] shmilan: has joined #RubyOnRails
[22:38:27] akshat_: has joined #RubyOnRails
[22:38:56] sakix: has joined #RubyOnRails
[22:39:00] chouhoulis: has joined #RubyOnRails
[22:43:38] sandstrom: has joined #RubyOnRails
[22:43:47] n1lo: has joined #RubyOnRails
[22:44:11] atomical: has joined #RubyOnRails
[22:45:39] jottr: has joined #RubyOnRails
[22:45:59] meoblast001: has joined #RubyOnRails
[22:46:52] Spami: has joined #RubyOnRails
[22:46:57] Spami: has joined #RubyOnRails
[22:47:30] one_zero: has joined #RubyOnRails
[22:50:16] ur5us: has joined #RubyOnRails
[22:51:54] chrisba: has joined #RubyOnRails
[22:52:20] taxen: has joined #RubyOnRails
[22:53:07] lyoshajapan: has joined #RubyOnRails
[22:55:58] rogue_koder: has joined #RubyOnRails
[22:57:20] ql6wlld: has joined #RubyOnRails
[22:57:28] nettoweb: has joined #RubyOnRails
[22:58:16] herbst: has joined #RubyOnRails
[23:00:32] paolog: has joined #RubyOnRails
[23:00:47] pawnbox: has joined #RubyOnRails
[23:01:01] sandstrom: has joined #RubyOnRails
[23:02:11] Chrisb__: has joined #RubyOnRails
[23:02:40] k13nox: has joined #RubyOnRails
[23:04:31] k13nox_: has joined #RubyOnRails
[23:05:40] herbst0: has joined #RubyOnRails
[23:06:18] benoror_: has joined #RubyOnRails
[23:07:53] neanderslob_: has joined #RubyOnRails
[23:08:05] Zadrel: has joined #RubyOnRails
[23:08:12] juddey_: has joined #RubyOnRails
[23:08:38] juddey_: has joined #RubyOnRails
[23:09:04] lipoqil_: has joined #RubyOnRails
[23:09:05] akshat: has joined #RubyOnRails
[23:09:10] arooni-mobile: has joined #RubyOnRails
[23:09:48] xardion: has joined #RubyOnRails
[23:10:00] norfumpit: has joined #RubyOnRails
[23:10:11] _djbkd: has joined #RubyOnRails
[23:10:19] dexter_e: has joined #RubyOnRails
[23:10:46] droptone: has joined #RubyOnRails
[23:11:37] Denarii: has joined #RubyOnRails
[23:11:52] gambl0re: has joined #RubyOnRails
[23:11:52] gambl0re: has joined #RubyOnRails
[23:12:06] enkristoffer: has joined #RubyOnRails
[23:13:28] drale2k: has joined #RubyOnRails
[23:13:43] StaticVoid: has joined #RubyOnRails
[23:14:46] newton2: has joined #RubyOnRails
[23:14:47] yoongkang: has joined #RubyOnRails
[23:15:23] Thouren: has joined #RubyOnRails
[23:15:48] droptone: has joined #RubyOnRails
[23:16:34] Gizmokid2005: has joined #RubyOnRails
[23:17:00] lewis: has joined #RubyOnRails
[23:17:45] spastorino: has joined #RubyOnRails
[23:18:10] sandstrom: has joined #RubyOnRails
[23:21:12] IrishGringo: has joined #RubyOnRails
[23:22:18] lestopher: has joined #RubyOnRails
[23:25:41] arooni-mobile: has joined #RubyOnRails
[23:26:39] mary5030: has joined #RubyOnRails
[23:26:58] herbst: has joined #RubyOnRails
[23:26:59] herbst: has joined #RubyOnRails
[23:28:39] zodoz: has joined #RubyOnRails
[23:32:00] blackmesa: has joined #RubyOnRails
[23:32:36] Senecea: has joined #RubyOnRails
[23:32:37] Rodya_: has joined #RubyOnRails
[23:35:22] sandstrom: has joined #RubyOnRails
[23:36:29] LambdaSource: has joined #RubyOnRails
[23:37:06] titeiko: has joined #RubyOnRails
[23:39:41] chouhoulis: has joined #RubyOnRails
[23:40:36] pawnbox: has joined #RubyOnRails
[23:44:02] stannard: has joined #RubyOnRails
[23:48:37] Senecea: has joined #RubyOnRails
[23:48:37] Rodya_: has joined #RubyOnRails
[23:50:05] l4v2: has joined #RubyOnRails
[23:51:21] l4v2: I was asked by a company to make a website. He says "He is going to hear other offers." I am a new college graduate. Should I write a business proposal? What do most companies do in this situation?
[23:52:40] l4v2: has joined #RubyOnRails
[23:52:58] enitiz: has joined #RubyOnRails
[23:53:03] l4v2: I got booted. I???m back
[23:53:04] sandstrom: has joined #RubyOnRails
[23:54:44] Trynemjoel: has joined #RubyOnRails
[23:55:49] nickjj: l4v2, did he ask you for a quote?
[23:56:28] nickjj: does the application seem like it would be small or large?
[23:57:12] nickjj: for small projects i don't mind giving basic quotes for free because it doesn't take too long to make an accurate quote
[23:57:16] smathy: l4v2, pretty standard for a client to be seeking multiple proposals.
[23:57:20] l4v2: I called him to see what he had in mind for the new site, but right now, there is no data, jsut all front end, but a lot
[23:57:21] Doddlin: has joined #RubyOnRails
[23:57:55] nickjj: but for larger projects (more than a few months, let's say hundreds of hours), i tend to do this as a "project discovery" service, which really fleshes out the features and in return allows you to make an accurate quote
[23:58:05] nickjj: and i would charge for it
[23:58:29] lyoshajapan: has joined #RubyOnRails
[23:58:49] phantummm: has joined #RubyOnRails
[23:58:50] Bjoern: has joined #RubyOnRails