« Back to channel list

#RubyOnRails - 15 July 2017

« Back 1 day Forward 1 day »
[00:03:50] Lockdown: has joined #RubyOnRails
[00:04:00] Lockdown: has left #RubyOnRails: ()
[00:07:42] jhfisc: has joined #RubyOnRails
[00:11:24] br0d1n: has joined #RubyOnRails
[00:22:18] irishfromua: has joined #RubyOnRails
[00:23:11] chouhoulis: has joined #RubyOnRails
[00:36:35] fcser_: has joined #RubyOnRails
[00:45:39] googleplex: ACTION yawns
[01:01:14] jhfisc: has joined #RubyOnRails
[01:12:49] bronson: has joined #RubyOnRails
[01:13:26] rfoust: has joined #RubyOnRails
[01:16:02] hahuang65: has joined #RubyOnRails
[01:27:36] rubycoder37: has joined #RubyOnRails
[01:28:26] jhfisc: has joined #RubyOnRails
[01:29:03] rubycoder37: I would like to move some of the methods I have in my User model to the Store model, but I'm not sure how to access them in the controller, should I make them class methods or use scopes? https://gist.github.com/anonymous/914db4604a31e50b8f294fb5df0d9267
[01:29:19] rubycoder37: if you have any suggestions about how to improve my code further, please let me know
[01:34:10] rubycoder37: I'm not sure about using Store.count like that too
[01:41:43] ascarter: has joined #RubyOnRails
[01:42:44] lacuna: has joined #RubyOnRails
[01:55:07] rubycoder37: any ideas please?
[02:02:16] jhfisc: has joined #RubyOnRails
[02:03:34] duderonomy: has joined #RubyOnRails
[02:07:42] jhfisc: has joined #RubyOnRails
[02:16:27] jhfisc: has joined #RubyOnRails
[02:17:43] wethu: has joined #RubyOnRails
[02:22:29] jhfisc: has joined #RubyOnRails
[02:29:34] lessless: has joined #RubyOnRails
[02:42:45] ascarter: has joined #RubyOnRails
[02:50:39] jhfisc: has joined #RubyOnRails
[02:59:07] jhfisc: has joined #RubyOnRails
[03:13:14] jhfisc: has joined #RubyOnRails
[03:13:44] bronson: has joined #RubyOnRails
[03:17:57] hahuang65: has joined #RubyOnRails
[03:18:03] jhfisc: has joined #RubyOnRails
[03:21:41] SteenJobs_: has joined #RubyOnRails
[03:23:57] jhfisc: has joined #RubyOnRails
[03:34:13] hndk: has joined #RubyOnRails
[03:34:44] Jameser: has joined #RubyOnRails
[03:35:55] jhfisc: has joined #RubyOnRails
[03:36:40] ahrs: has joined #RubyOnRails
[03:42:05] kies: has joined #RubyOnRails
[03:43:03] SteenJobs_: has joined #RubyOnRails
[03:43:38] ascarter: has joined #RubyOnRails
[03:49:44] jhfisc: has joined #RubyOnRails
[03:57:25] quirkycoders: has joined #RubyOnRails
[04:00:27] jhfisc: has joined #RubyOnRails
[04:03:16] irishfromua: has joined #RubyOnRails
[04:17:19] hotpancakes: has joined #RubyOnRails
[04:21:21] irishfromua: has joined #RubyOnRails
[04:29:14] jhfisc: has joined #RubyOnRails
[04:33:18] quirkycoders: has joined #RubyOnRails
[04:36:08] jhfisc: has joined #RubyOnRails
[04:39:48] jhfisc: has joined #RubyOnRails
[04:44:16] hotpancakes: has joined #RubyOnRails
[04:44:20] ascarter: has joined #RubyOnRails
[04:57:56] synion__: has joined #RubyOnRails
[05:01:43] knight33: has joined #RubyOnRails
[05:07:04] tohsaka_: has joined #RubyOnRails
[05:07:06] jhfisc: has joined #RubyOnRails
[05:08:21] quirkycoders: has joined #RubyOnRails
[05:10:44] jhfisc: has joined #RubyOnRails
[05:15:31] bronson: has joined #RubyOnRails
[05:19:03] apparition: has joined #RubyOnRails
[05:19:04] hahuang65: has joined #RubyOnRails
[05:23:14] jhfisc: has joined #RubyOnRails
[05:31:00] jhfisc: has joined #RubyOnRails
[05:37:14] jhfisc: has joined #RubyOnRails
[05:43:08] hahuang65: has joined #RubyOnRails
[05:43:22] jhfisc: has joined #RubyOnRails
[05:43:56] hndk: has joined #RubyOnRails
[05:49:41] jhfisc: has joined #RubyOnRails
[05:54:46] quirkycoders: has joined #RubyOnRails
[05:55:42] jhfisc: has joined #RubyOnRails
[05:58:49] wethu: has joined #RubyOnRails
[05:59:56] jhfisc: has joined #RubyOnRails
[06:06:14] jhfisc: has joined #RubyOnRails
[06:12:38] hahuang65: has joined #RubyOnRails
[06:15:41] hotpancakes: has joined #RubyOnRails
[06:19:02] jhfisc: has joined #RubyOnRails
[06:23:09] loglaunch: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[06:29:22] jhfisc: has joined #RubyOnRails
[06:30:44] quirkycoders: has joined #RubyOnRails
[06:38:45] nahtnam: has joined #RubyOnRails
[06:40:49] timdotrb: has joined #RubyOnRails
[06:43:33] wethu: has joined #RubyOnRails
[07:09:24] arBmind: has joined #RubyOnRails
[07:09:28] hahuang65: has joined #RubyOnRails
[07:12:05] defsdoor: has joined #RubyOnRails
[07:16:27] bronson: has joined #RubyOnRails
[07:18:55] jhfisc: has joined #RubyOnRails
[07:24:11] jhfisc: has joined #RubyOnRails
[07:34:01] hotpancakes: has joined #RubyOnRails
[07:41:38] cagomez: has joined #RubyOnRails
[07:43:00] quirkycoders: has joined #RubyOnRails
[07:46:17] hahuang65: has joined #RubyOnRails
[07:48:02] cjk101010: has joined #RubyOnRails
[07:54:38] dionysus69: has joined #RubyOnRails
[07:55:05] jhfisc: has joined #RubyOnRails
[07:55:24] lessless: has joined #RubyOnRails
[07:58:09] AzaToth: has joined #RubyOnRails
[07:59:57] jhfisc: has joined #RubyOnRails
[08:03:59] ur5us: has joined #RubyOnRails
[08:05:13] jhfisc: has joined #RubyOnRails
[08:11:14] jhfisc: has joined #RubyOnRails
[08:16:35] jhfisc: has joined #RubyOnRails
[08:19:12] quirkycoders: has joined #RubyOnRails
[08:25:12] jhfisc: has joined #RubyOnRails
[08:31:17] jhfisc: has joined #RubyOnRails
[08:39:09] jhfisc: has joined #RubyOnRails
[08:39:55] hotpancakes: has joined #RubyOnRails
[08:43:17] cagomez: has joined #RubyOnRails
[08:45:52] dionysus70: has joined #RubyOnRails
[08:49:49] jhfisc: has joined #RubyOnRails
[08:55:14] quirkycoders: has joined #RubyOnRails
[08:59:14] cagomez: has joined #RubyOnRails
[09:00:06] jhfisc: has joined #RubyOnRails
[09:00:21] uks: has joined #RubyOnRails
[09:12:38] one_zero: has joined #RubyOnRails
[09:12:48] apparition: has joined #RubyOnRails
[09:17:27] bronson: has joined #RubyOnRails
[09:29:14] jhfisc: has joined #RubyOnRails
[09:34:18] jhfisc: has joined #RubyOnRails
[09:35:32] SteenJobs_: has joined #RubyOnRails
[09:39:17] jhfisc: has joined #RubyOnRails
[09:45:11] hotpancakes: has joined #RubyOnRails
[09:46:49] roshanavand: has joined #RubyOnRails
[09:51:23] lxsameer: has joined #RubyOnRails
[09:55:41] jhfisc: has joined #RubyOnRails
[10:00:56] jhfisc: has joined #RubyOnRails
[10:06:26] jhfisc: has joined #RubyOnRails
[10:13:33] wethu: has joined #RubyOnRails
[10:14:04] Chernobuk: has joined #RubyOnRails
[10:16:29] cagomez: has joined #RubyOnRails
[10:21:16] roshanavand: has joined #RubyOnRails
[10:25:34] cseder: has joined #RubyOnRails
[10:33:37] mikecmpbll: has joined #RubyOnRails
[10:34:00] one_zero: has joined #RubyOnRails
[10:37:51] srinidhi: has joined #RubyOnRails
[10:47:36] cagomez: has joined #RubyOnRails
[10:50:03] ascarter: has joined #RubyOnRails
[10:50:10] hotpancakes: has joined #RubyOnRails
[10:57:35] jhfisc: has joined #RubyOnRails
[11:00:25] srinidhi: has joined #RubyOnRails
[11:03:29] cagomez: has joined #RubyOnRails
[11:09:26] jhfisc: has joined #RubyOnRails
[11:19:04] bronson: has joined #RubyOnRails
[11:21:19] jhfisc: has joined #RubyOnRails
[11:26:29] jhfisc: has joined #RubyOnRails
[11:34:12] cagomez: has joined #RubyOnRails
[11:39:00] jhfisc: has joined #RubyOnRails
[11:42:24] jhfisc: has joined #RubyOnRails
[11:48:21] jhfisc: has joined #RubyOnRails
[11:53:49] jhfisc: has joined #RubyOnRails
[11:54:42] hotpancakes: has joined #RubyOnRails
[11:57:52] Jameser: has joined #RubyOnRails
[11:59:50] lessless: has joined #RubyOnRails
[12:03:29] ule: rubycoder37: Store.count in that situation could throw an exception if it's return is zero
[12:03:41] ule: rubycoder37: "division by zero" doesn't exist
[12:08:14] ule: rubycoder37: and regarding your question, I would make them class methods
[12:14:00] Jameser: has joined #RubyOnRails
[12:18:04] [SpLaT]: I have a form with two sets of two radio buttons. The first two have a value of 1 and 2, the second have a value of 3 and 4. The form data posts fine, and I can access it via the controller, but how can I re-route them to '/values/:first/:second/' (i.e. /values/1/3). I've tried redirect_to '/values/' + params['first'] + '/' + params['second'] + '/', but that fails.
[12:26:38] MaxLap: has joined #RubyOnRails
[12:27:56] hotpancakes: has joined #RubyOnRails
[12:31:21] jhfisc: has joined #RubyOnRails
[12:33:38] Jameser: has joined #RubyOnRails
[12:36:52] Jameser: has joined #RubyOnRails
[12:41:09] jhfisc: has joined #RubyOnRails
[12:42:18] srinidhi: has joined #RubyOnRails
[12:47:14] jhfisc: has joined #RubyOnRails
[12:59:32] marr: has joined #RubyOnRails
[13:00:43] dionysus70: has joined #RubyOnRails
[13:00:51] Jameser: has joined #RubyOnRails
[13:01:17] jhfisc: has joined #RubyOnRails
[13:09:48] irishfromua: has joined #RubyOnRails
[13:14:00] Jameser: has joined #RubyOnRails
[13:16:41] irishfromua: has joined #RubyOnRails
[13:16:46] dionysus69: has joined #RubyOnRails
[13:19:40] bronson: has joined #RubyOnRails
[13:29:14] jhfisc: has joined #RubyOnRails
[13:37:56] jhfisc: has joined #RubyOnRails
[13:41:38] knight33: has joined #RubyOnRails
[13:43:15] jhfisc: has joined #RubyOnRails
[13:48:21] jhfisc: has joined #RubyOnRails
[13:50:00] theunraveler: has joined #RubyOnRails
[13:51:24] jhfisc: has joined #RubyOnRails
[13:52:40] ascarter: has joined #RubyOnRails
[13:56:45] jhfisc: has joined #RubyOnRails
[14:01:51] jhfisc: has joined #RubyOnRails
[14:10:26] jhfisc: has joined #RubyOnRails
[14:15:41] br0d1n: has joined #RubyOnRails
[14:21:15] jhfisc: has joined #RubyOnRails
[14:22:27] wethu: has joined #RubyOnRails
[14:23:39] cam27: has joined #RubyOnRails
[14:25:08] Jameser: has joined #RubyOnRails
[14:27:14] jhfisc: has joined #RubyOnRails
[14:30:07] jhfisc: has joined #RubyOnRails
[14:36:40] bronson: has joined #RubyOnRails
[14:47:49] bronson: has joined #RubyOnRails
[14:48:20] jhfisc: has joined #RubyOnRails
[14:54:06] rkellermeyer: has joined #RubyOnRails
[15:01:56] jhfisc: has joined #RubyOnRails
[15:03:27] greengriminal: has joined #RubyOnRails
[15:08:57] duderonomy: has joined #RubyOnRails
[15:14:08] jhfisc: has joined #RubyOnRails
[15:19:16] watersoul: has joined #RubyOnRails
[15:19:51] hotpancakes: has joined #RubyOnRails
[15:20:53] andrewhl: has joined #RubyOnRails
[15:23:42] hndk: has joined #RubyOnRails
[15:24:07] jhfisc: has joined #RubyOnRails
[15:31:59] jhfisc: has joined #RubyOnRails
[15:45:38] hotpancakes: has joined #RubyOnRails
[15:53:32] stormbytes: has joined #RubyOnRails
[15:54:09] jhfisc: has joined #RubyOnRails
[15:59:54] arup_r: has joined #RubyOnRails
[16:03:49] dionysus70: has joined #RubyOnRails
[16:04:50] theunraveler: has joined #RubyOnRails
[16:10:14] jhfisc: has joined #RubyOnRails
[16:21:39] rkellermeyer: has joined #RubyOnRails
[16:21:58] jhfisc: has joined #RubyOnRails
[16:24:33] lxsameer: has joined #RubyOnRails
[16:37:50] jhfisc: has joined #RubyOnRails
[16:39:11] hotpancakes: has joined #RubyOnRails
[16:45:24] jhfisc: has joined #RubyOnRails
[16:49:39] bronson: has joined #RubyOnRails
[16:49:52] universal: has joined #RubyOnRails
[16:50:08] hotpancakes: has joined #RubyOnRails
[16:50:39] mvensky: has joined #RubyOnRails
[16:50:44] jhfisc: has joined #RubyOnRails
[16:54:40] mokiwis: has joined #RubyOnRails
[16:55:53] hndk: has joined #RubyOnRails
[17:09:53] jhfisc: has joined #RubyOnRails
[17:21:26] jhfisc: has joined #RubyOnRails
[17:23:10] gheegh: has joined #RubyOnRails
[17:24:44] gheegh: Question. I am using the Cequel gem to write data to Cassandra. It doesn't implement the after_commit hook (it does other after_x models though). I'm wondering if there is a better way to do this than trying to create a new after_commit hook for the Cequel gem.. anyone have thoughts?
[17:32:52] patarr: has joined #RubyOnRails
[17:37:50] jhfisc: has joined #RubyOnRails
[17:43:28] jhfisc: has joined #RubyOnRails
[17:46:26] gambl0re: has joined #RubyOnRails
[17:49:46] bronson: has joined #RubyOnRails
[18:02:17] jhfisc: has joined #RubyOnRails
[18:07:54] jhfisc: has joined #RubyOnRails
[18:13:09] jhfisc: has joined #RubyOnRails
[18:25:15] jhfisc: has joined #RubyOnRails
[18:28:46] jhfisc: has joined #RubyOnRails
[18:32:54] netzfisch: has joined #RubyOnRails
[18:35:14] jhfisc: has joined #RubyOnRails
[18:36:05] patarr: has joined #RubyOnRails
[18:40:24] srinidhi: has joined #RubyOnRails
[18:40:29] sagax: has joined #RubyOnRails
[18:41:14] jhfisc: has joined #RubyOnRails
[18:44:38] hashrocket: has joined #RubyOnRails
[18:47:14] jhfisc: has joined #RubyOnRails
[18:48:57] quirkycoders: has joined #RubyOnRails
[18:51:37] centrx: has joined #RubyOnRails
[18:53:33] jhfisc: has joined #RubyOnRails
[18:58:57] aphel: has joined #RubyOnRails
[18:59:47] dviola: has joined #RubyOnRails
[19:00:45] gambl0re: has joined #RubyOnRails
[19:02:17] jhfisc: has joined #RubyOnRails
[19:08:12] jhfisc: has joined #RubyOnRails
[19:10:55] truenito: has joined #RubyOnRails
[19:24:16] jhfisc: has joined #RubyOnRails
[19:33:52] jhfisc: has joined #RubyOnRails
[19:39:16] jhfisc: has joined #RubyOnRails
[19:39:38] ar1a: has joined #RubyOnRails
[19:39:57] ar1a: hmm, i need some projects to do to familiarize myself with rails a bit more, try and improve my confidence. any ideas friends?
[19:42:14] jhfisc: has joined #RubyOnRails
[19:50:24] bronson: has joined #RubyOnRails
[19:51:23] cam27: ar1a: Did oyu go through the Rails guides and Micahel Hartl’s Turotial?
[19:53:25] ar1a: sometime previously im sure
[19:53:32] ar1a: i think i skimmed hartls tutorial
[19:53:34] ar1a: which one was it again
[19:54:34] cam27: There’s a link to it at the bottom of the Getting Started with Rails.
[19:56:21] cam27: I was just going to say for me, I tried diving into Ruby on Rails, but then ended up reading “The Well Grounded Rubyist” to learn Ruby and then the Guides. Once I had a slightly solid understanding of Ruby and Rails, then it was a lot easier to develop. But I probably do more research than developing, cause I’m trying to put togetther a great work flow.
[19:56:41] ar1a: i've made a few things, mostly following tutorials
[19:56:55] ar1a: i was just looking for ideas of apps to create
[19:57:05] ar1a: instead of following along with crappy youtube things
[19:57:24] ascarter: has joined #RubyOnRails
[19:57:42] cam27: Oh ok. I started an ecommerce site if you want to work on it with me?
[19:57:42] aclark: has joined #RubyOnRails
[19:57:54] cam27: it’s just for practice
[19:58:22] ar1a: sounds interesting, what's it do?
[19:59:14] cam27: I pm’d the link :)
[20:08:21] Vircung: has joined #RubyOnRails
[20:24:25] ar1a: hm, how strange
[20:24:34] ar1a: im using postgresql, and the postgres db
[20:24:42] ar1a: i set the username in database.yml but it seems to ignore it
[20:25:03] truenito: has joined #RubyOnRails
[20:25:41] ar1a: chucked it in default and it worked
[21:41:34] roshanavand: has joined #RubyOnRails
[21:44:27] kitsuneyo: has joined #RubyOnRails
[21:46:20] kitsuneyo: is there a reason not to use default sort on models? i seem to remember reading about some issue
[21:47:07] kitsuneyo: i guess i mean default scope order
[21:51:18] bronson: has joined #RubyOnRails
[22:06:07] cam27_: has joined #RubyOnRails
[22:06:51] ur5us: has joined #RubyOnRails
[22:08:28] wethu: has joined #RubyOnRails
[22:17:08] bruno-: has joined #RubyOnRails
[22:22:06] AmiMoench: has joined #RubyOnRails
[22:27:55] hahuang65: has joined #RubyOnRails
[23:06:31] patarr: has joined #RubyOnRails
[23:12:16] clouder`grr: has joined #RubyOnRails
[23:51:03] jhfisc: has joined #RubyOnRails
[23:52:38] bronson: has joined #RubyOnRails