« Back to channel list

#RubyOnRails - 31 May 2015

« Back 1 day Forward 1 day »
[00:02:14] one_zero: has joined #RubyOnRails
[00:02:41] spetryk: has joined #RubyOnRails
[00:03:32] leafac: has joined #RubyOnRails
[00:04:43] sdwrage: has joined #RubyOnRails
[00:05:18] hahuang65: has joined #RubyOnRails
[00:07:49] mello: has joined #RubyOnRails
[00:11:04] Kudos2Me: has joined #RubyOnRails
[00:11:19] Limix: has joined #RubyOnRails
[00:12:35] asheinfeld: has joined #RubyOnRails
[00:13:07] bruno-: has joined #RubyOnRails
[00:13:38] thebatu1: has joined #RubyOnRails
[00:13:49] spetryk: has joined #RubyOnRails
[00:16:12] asheinfeld: has joined #RubyOnRails
[00:17:45] leafac: has joined #RubyOnRails
[00:19:51] railsForDaiz: has joined #RubyOnRails
[00:22:49] sarink: has joined #RubyOnRails
[00:24:05] asheinfeld: has joined #RubyOnRails
[00:24:33] Coldblackice: has joined #RubyOnRails
[00:29:48] sinkensabe: has joined #RubyOnRails
[00:31:56] drale2k: has joined #RubyOnRails
[00:37:32] m0r0n: has joined #RubyOnRails
[00:38:54] jenrzzz: has joined #RubyOnRails
[00:40:35] chouhoulis: has joined #RubyOnRails
[00:41:57] seank_: has joined #RubyOnRails
[00:45:10] kayloos: has joined #RubyOnRails
[00:46:00] DigitallyBorn: noob question: Is there a "!!" operator? Or is that what it seems to be and be a double-not? (eg: if !!myVariable )
[00:46:41] rhizome: DigitallyBorn: yes, i call it a forced-boolean but there's probably a technical term for it
[00:47:17] rhizome: "double-bang"
[00:48:43] rhizome: i think it's better style not to need it. i save it as a last resort
[00:49:02] daveomcd: has joined #RubyOnRails
[00:49:32] DigitallyBorn: rhizome: That makes sense in this context. !!params[:something]
[00:49:57] DigitallyBorn: rhizome: Thanks!
[00:50:09] rhizome: sure thing
[00:50:38] asteros: has joined #RubyOnRails
[00:52:25] simplyianm: has joined #RubyOnRails
[00:52:52] robustus: has joined #RubyOnRails
[00:53:24] RegulationD: has joined #RubyOnRails
[00:56:14] chipotle: has joined #RubyOnRails
[00:57:30] raugh: has joined #RubyOnRails
[00:58:25] raugh: does anyone here have experience working with Dreamhost and Ruby > 4? I have a client who would strongly prefer this...
[00:58:42] raugh: excuse me... Rails > 4
[00:58:43] bratsche: There is no such thing as Ruby 4
[00:59:01] ghr: has joined #RubyOnRails
[00:59:13] bratsche: I've used Dreamhost back when I was a student and had no idea what I was doing. It was a mess, I wouldn't recommend it.
[00:59:39] raugh: oh, well, was it you? dreamhost? both? How long ago?
[01:01:00] bratsche: Actually, it was not when I was a student. But I was still new to web programming. That wasn't the problem, Dreamhost is going to suck whether you're me as a noob or whether you've been doing this for 10 years.
[01:01:21] bratsche: If you just need somewhere cheap to host the app, check out Digital Ocean.
[01:01:34] raugh: ah, well this is one of my first client projects...I will strongly advise against Dreamhost. Any particular reason why it sucked?
[01:01:48] SalexW: has joined #RubyOnRails
[01:02:35] bratsche: Because it's shared hosting it's extremely restrictive.
[01:03:11] bratsche: Also, they'll just restart their systems with no notification to you or anything.
[01:03:21] Etriaph: Is it crazy, in an engine, to want to put all of my models in $APP_ROOT/lib ?
[01:03:40] Etriaph: Or maybe make a gem with the models in it?
[01:03:48] rushed: has joined #RubyOnRails
[01:03:58] raugh: Ah I see. Hmm. Well, I've got a test version of it on Heroku right now. Couldn't I just have the DNS point to my Heroku's production version?
[01:04:36] kinduff: has joined #RubyOnRails
[01:04:36] kinduff: has joined #RubyOnRails
[01:04:45] bratsche: Yeah maybe. I haven't really used Heroku for anything serious, but it seems to be popular.
[01:05:15] MartinElvar: has joined #RubyOnRails
[01:06:06] raugh: Alright, I'll look into keeping it on Heroku or maybe Digital Ocean. I've already got non-rails sites on DO. Thanks for your help!
[01:08:30] m0r0n: has joined #RubyOnRails
[01:11:08] lesnik_: has joined #RubyOnRails
[01:12:19] Lightsword: has joined #RubyOnRails
[01:12:30] rushed: chosen vs selectize vs select2... anyone that's done a recent comparison have any strong opinions, advise, or other contenders?
[01:13:49] kt2: has joined #RubyOnRails
[01:15:21] bratsche: I've never heard of selectize, but I've compared chosen and select2 in the past and liked select2 enough to use it.
[01:16:14] bratsche: I don't remember what I liked more about it than chosen now, so I don't really have an opinion I can articulate.
[01:18:59] Guest50824: has joined #RubyOnRails
[01:24:21] asheinfeld: has joined #RubyOnRails
[01:33:15] simplyianm: has joined #RubyOnRails
[01:36:06] hahuang65: has joined #RubyOnRails
[01:36:18] maz-dev: has joined #RubyOnRails
[01:37:04] blackhuey: has joined #RubyOnRails
[01:41:48] doodlehaus: has joined #RubyOnRails
[01:42:22] Glyphik: has joined #RubyOnRails
[01:42:59] Ropeney_: has joined #RubyOnRails
[01:43:51] sarink: has joined #RubyOnRails
[01:48:27] michael_mbp: http://mwdesilva.com/posts/upgraded-docker-platform-this-time-with-more-bells
[01:54:51] Brozo: has joined #RubyOnRails
[01:56:36] mello: has joined #RubyOnRails
[01:58:42] ghr: has joined #RubyOnRails
[01:59:14] merryfett: has joined #RubyOnRails
[02:00:15] User458764: has joined #RubyOnRails
[02:02:27] thebatu1: has joined #RubyOnRails
[02:05:56] samgranieri: has joined #RubyOnRails
[02:16:13] shinnya: has joined #RubyOnRails
[02:16:20] Jeremen: has joined #RubyOnRails
[02:17:55] porkqpain: has joined #RubyOnRails
[02:19:34] Lightsword: has joined #RubyOnRails
[02:19:59] asheinfeld: has joined #RubyOnRails
[02:22:43] lethjakman: has joined #RubyOnRails
[02:24:19] jokke: has joined #RubyOnRails
[02:26:12] jokke: has joined #RubyOnRails
[02:27:50] jokke: has joined #RubyOnRails
[02:28:26] juanda: has joined #RubyOnRails
[02:30:38] ghox: has joined #RubyOnRails
[02:30:42] chipotle: has joined #RubyOnRails
[02:32:08] asheinfeld: has joined #RubyOnRails
[02:32:25] jenrzzz: has joined #RubyOnRails
[02:33:07] MrBeardy: has joined #RubyOnRails
[02:34:45] asheinfeld: has joined #RubyOnRails
[02:35:11] drale2k: has joined #RubyOnRails
[02:39:33] maz-dev: has joined #RubyOnRails
[02:39:45] chouhoulis: has joined #RubyOnRails
[02:40:28] seank_: has joined #RubyOnRails
[02:42:16] RegulationD: has joined #RubyOnRails
[02:44:06] asheinfeld: has joined #RubyOnRails
[02:44:35] sarink: has joined #RubyOnRails
[02:45:34] Mint_: has joined #RubyOnRails
[02:47:42] Limix: has joined #RubyOnRails
[02:48:38] roolo_: has joined #RubyOnRails
[02:50:37] Mint_: has joined #RubyOnRails
[02:52:37] Exuma: has joined #RubyOnRails
[02:55:15] Rylee: has joined #RubyOnRails
[02:56:05] Exuma: has joined #RubyOnRails
[02:56:20] Exuma: /msg nickserv
[02:56:20] porkqpain: has joined #RubyOnRails
[02:57:09] choke: has joined #RubyOnRails
[02:57:26] prereflect: has joined #RubyOnRails
[02:57:29] AnoHito: has joined #RubyOnRails
[02:59:10] chouhoulis: has joined #RubyOnRails
[02:59:13] ghr: has joined #RubyOnRails
[02:59:30] Exuma: has joined #RubyOnRails
[03:02:42] SalexW: has joined #RubyOnRails
[03:02:59] commondream: has joined #RubyOnRails
[03:06:10] charleystran: has joined #RubyOnRails
[03:09:25] beauby: has joined #RubyOnRails
[03:11:28] zorak8: has joined #RubyOnRails
[03:13:28] braincrash: has joined #RubyOnRails
[03:14:16] pontiki: has joined #RubyOnRails
[03:14:20] bronson: has joined #RubyOnRails
[03:16:10] workmad3: has joined #RubyOnRails
[03:19:05] zorak8: has joined #RubyOnRails
[03:20:26] Exuma: has left #RubyOnRails: ()
[03:20:32] Exuma: has joined #RubyOnRails
[03:24:49] hahuang65: has joined #RubyOnRails
[03:25:06] Exuma: has joined #RubyOnRails
[03:25:15] raugh: has joined #RubyOnRails
[03:28:08] simplyianm: has joined #RubyOnRails
[03:28:44] mrbubbles: has joined #RubyOnRails
[03:30:13] chipotle: has joined #RubyOnRails
[03:30:19] raugh: has left #RubyOnRails: ("Leaving")
[03:32:33] charliesome: has joined #RubyOnRails
[03:34:11] choke: has joined #RubyOnRails
[03:37:28] rushed: has joined #RubyOnRails
[03:38:11] simplyianm: has joined #RubyOnRails
[03:44:24] SimpleString: has joined #RubyOnRails
[03:45:20] mello: has joined #RubyOnRails
[03:45:54] SimpleString: Hi people. How can I make this regex match a youtube URL when there's text preceding it? /^(?:https?:\/\/)?(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=)?([\w-]{10,})/
[03:47:27] commondream: has joined #RubyOnRails
[03:47:30] MrBeardy: remove the ^?
[03:48:05] MrBeardy: (note: the question mark was my question mark, not something from the regex)
[03:48:26] pontiki: MrBeardy: i was just thinking that somehow that might need a clarification :D
[03:50:03] bruno-: has joined #RubyOnRails
[03:50:18] Contigi: has joined #RubyOnRails
[03:52:09] shyshy: has joined #RubyOnRails
[03:53:05] DoctorMonocular: has joined #RubyOnRails
[03:53:56] simplyianm: has joined #RubyOnRails
[03:54:15] chintanparikh: has joined #RubyOnRails
[03:54:46] DoctorMonocular: has joined #RubyOnRails
[03:57:18] Lytol: has joined #RubyOnRails
[03:59:04] ghr: has joined #RubyOnRails
[04:03:07] macmartine: has joined #RubyOnRails
[04:03:49] Limix: has joined #RubyOnRails
[04:03:51] charliesome: has joined #RubyOnRails
[04:04:40] Guest50824: has joined #RubyOnRails
[04:05:26] merryfett: has joined #RubyOnRails
[04:05:37] michael_mbp: sevenseacat: I think there's a bug here
[04:06:00] michael_mbp: Is there any documentation on DATABASE_URL that says 'localhost' would map to a socket?
[04:06:36] chintanparikh: If I have a model Collection that belongs_to a User, what's the best way to set up a form for a collection. RIght now I'm doing @collection = current_user.collection.build in the controller and form_for(@collection) in the view
[04:06:47] chintanparikh: Is there a better way than that?
[04:07:57] michael_mbp: sevenseacat: "When duplicate connection information is provided the environment variable will take precedence"
[04:08:05] michael_mbp: "If non-duplicate information is provided you will get all unique values, environment variable still takes precedence in cases of any conflicts"
[04:08:13] michael_mbp: doesn't mention anything about sockets there.
[04:09:22] scottmatheina: has joined #RubyOnRails
[04:12:22] neruda: has joined #RubyOnRails
[04:12:30] zoidfarb: has joined #RubyOnRails
[04:13:11] Nuck: has joined #RubyOnRails
[04:13:35] zoidfarb: how can I debug a 404 error on my staging server? It works locally, and I've got it in my config/routes.rb file
[04:14:16] neruda: hi when binding nested forms, does rails use Hash of Hashes, Hash of Array or Array of Hashes
[04:15:19] scottmatheina: has joined #RubyOnRails
[04:15:21] sarink: has joined #RubyOnRails
[04:15:28] braincra-: has joined #RubyOnRails
[04:15:59] djbkd: has joined #RubyOnRails
[04:16:41] choke: has joined #RubyOnRails
[04:18:54] scottmatheina: has joined #RubyOnRails
[04:19:38] siddart: has joined #RubyOnRails
[04:20:50] chouhoulis: has joined #RubyOnRails
[04:25:27] Scripore: has joined #RubyOnRails
[04:26:10] macmartine: has joined #RubyOnRails
[04:28:23] maz-dev: has joined #RubyOnRails
[04:28:56] Hobogrammer: has joined #RubyOnRails
[04:29:01] Nuck: has joined #RubyOnRails
[04:30:08] choke: has joined #RubyOnRails
[04:31:08] RegulationD: has joined #RubyOnRails
[04:31:44] raugh: has joined #RubyOnRails
[04:32:05] raugh: has left #RubyOnRails: ()
[04:32:36] lethjakman: has joined #RubyOnRails
[04:35:55] jenrzzz: has joined #RubyOnRails
[04:36:17] towski_: has joined #RubyOnRails
[04:37:24] porkqpain: has joined #RubyOnRails
[04:38:02] commondream: has joined #RubyOnRails
[04:41:30] The_Phoenix: has joined #RubyOnRails
[04:41:42] scottmatheina: has joined #RubyOnRails
[04:42:29] towski_: has joined #RubyOnRails
[04:42:31] MartinElvar: has joined #RubyOnRails
[04:46:37] sp1rs: has joined #RubyOnRails
[04:47:05] mtchllbrrn: has joined #RubyOnRails
[04:49:39] Scripore: has joined #RubyOnRails
[04:49:44] mtchllbrrn: Hey all, I have two pre-existing models and I'm trying to define a has-many/belongs-to relationship between them. My Restaurants model has an account_number column, and my Violations model also has a account_number column, which links each violation to a restaurant (account_number acts as each violation's foreign key). How can I define this relationship in a migration?
[04:50:30] rushed: has joined #RubyOnRails
[04:50:46] Lightsword: has joined #RubyOnRails
[04:50:59] Xiti: has joined #RubyOnRails
[04:51:33] commondream: has joined #RubyOnRails
[04:54:33] ismaelga: has joined #RubyOnRails
[04:54:43] chouhoulis: has joined #RubyOnRails
[04:56:50] Exuma: has joined #RubyOnRails
[04:57:16] commondream: has joined #RubyOnRails
[04:58:45] ghr: has joined #RubyOnRails
[05:00:04] ismaelga: has joined #RubyOnRails
[05:06:03] SimpleString: http://pastie.org/10215847 How can I fix this script so that hashtags in an input text are successfully turned into links?
[05:06:24] SimpleString: for an input "#hash #hashtag" I'm getting <link>#hash</link> <link>#hash</link>tag
[05:10:02] djbkd: has joined #RubyOnRails
[05:11:34] superflat: has joined #RubyOnRails
[05:13:40] hahuang65: has joined #RubyOnRails
[05:17:05] DoctorMonocular: has joined #RubyOnRails
[05:17:14] watchtheblur: has joined #RubyOnRails
[05:17:46] riotjones: has joined #RubyOnRails
[05:18:49] riotjones: has joined #RubyOnRails
[05:21:53] Xiti: has joined #RubyOnRails
[05:22:11] moeabdol1: has joined #RubyOnRails
[05:25:38] joaomdmoura: has joined #RubyOnRails
[05:31:08] sarink: has joined #RubyOnRails
[05:31:59] rushed: has joined #RubyOnRails
[05:34:00] Scripore: has joined #RubyOnRails
[05:34:09] mello: has joined #RubyOnRails
[05:39:05] Coldblackice: has joined #RubyOnRails
[05:39:10] bruno-: has joined #RubyOnRails
[05:40:17] thebatu1: has joined #RubyOnRails
[05:41:13] Coldblackice_: has joined #RubyOnRails
[05:42:09] Limix: has joined #RubyOnRails
[05:46:15] lxsameer: has joined #RubyOnRails
[05:51:58] chenillen: has joined #RubyOnRails
[05:54:29] Coldblackice: has joined #RubyOnRails
[05:54:46] chenillen: has joined #RubyOnRails
[05:56:05] Coldblackice_: has joined #RubyOnRails
[05:59:07] ghr: has joined #RubyOnRails
[06:03:32] Jadam: has joined #RubyOnRails
[06:03:57] Anakat: has joined #RubyOnRails
[06:04:03] Jadam: #rubyonrails * JOINS PARTS QUITS NICKS
[06:07:28] eoy_: has joined #RubyOnRails
[06:07:48] Lytol: has joined #RubyOnRails
[06:13:01] a346: has joined #RubyOnRails
[06:14:23] chintanparikh: has joined #RubyOnRails
[06:15:45] ProLoser: has joined #RubyOnRails
[06:17:08] maz-dev: has joined #RubyOnRails
[06:19:11] ghox_: has joined #RubyOnRails
[06:19:32] Limix: has joined #RubyOnRails
[06:19:44] MrBeardy: SimpleString: https://gist.github.com/MrBeardy/039974ec5d37d069b2a4?
[06:19:47] dr_watson: has joined #RubyOnRails
[06:20:02] RegulationD: has joined #RubyOnRails
[06:20:14] MrBeardy: That'll give you <link>#hash</link> <link>#hashtag</link>
[06:24:11] Scripore: has joined #RubyOnRails
[06:31:12] benhuda: has joined #RubyOnRails
[06:31:52] eoy_: has joined #RubyOnRails
[06:31:55] sarink: has joined #RubyOnRails
[06:35:20] jenrzzz: has joined #RubyOnRails
[06:39:34] bruno-: has joined #RubyOnRails
[06:42:52] sevenseacat: has joined #RubyOnRails
[06:47:48] cjlarose: has joined #RubyOnRails
[06:47:52] baweaver: has joined #RubyOnRails
[06:53:56] DoctorMonocular: has joined #RubyOnRails
[06:53:59] konsolebox: has joined #RubyOnRails
[06:54:58] moeabdol1: has joined #RubyOnRails
[06:58:46] ghr: has joined #RubyOnRails
[06:59:10] MartinElvar: has joined #RubyOnRails
[07:00:36] doodlehaus: has joined #RubyOnRails
[07:01:15] jenrzzz: has joined #RubyOnRails
[07:01:44] porkqpain: has joined #RubyOnRails
[07:02:20] hahuang65: has joined #RubyOnRails
[07:02:27] doodlehaus: has joined #RubyOnRails
[07:04:26] doodlehaus: has joined #RubyOnRails
[07:04:30] SalexW: has joined #RubyOnRails
[07:06:20] doodlehaus: has joined #RubyOnRails
[07:07:16] epitron: You can use gsub with a block or a backref
[07:07:39] epitron: The scan method would strip out all text that's not tags
[07:07:49] ArTiSTiX: has joined #RubyOnRails
[07:08:17] doodlehaus: has joined #RubyOnRails
[07:08:31] Lytol: has joined #RubyOnRails
[07:08:57] bmalum: has joined #RubyOnRails
[07:10:11] doodlehaus: has joined #RubyOnRails
[07:10:38] epitron: eg: tweet.gsub(/#\w+/) { |match| "<a href=''>#{match}</a>" }
[07:11:14] epitron: the block method is nice because you can call some URL helper for the href= part
[07:12:07] doodleha_: has joined #RubyOnRails
[07:12:45] chenillen: has joined #RubyOnRails
[07:13:33] futilegames: has joined #RubyOnRails
[07:13:44] futilegames: has joined #RubyOnRails
[07:13:56] doodlehaus: has joined #RubyOnRails
[07:14:00] choke: has joined #RubyOnRails
[07:14:18] konsolebox: has joined #RubyOnRails
[07:15:54] doodleha_: has joined #RubyOnRails
[07:16:26] kristofferR: has joined #RubyOnRails
[07:17:50] doodlehaus: has joined #RubyOnRails
[07:19:44] doodleha_: has joined #RubyOnRails
[07:19:56] mello: has joined #RubyOnRails
[07:21:40] doodlehaus: has joined #RubyOnRails
[07:22:08] DEA7TH: has joined #RubyOnRails
[07:23:34] doodlehaus: has joined #RubyOnRails
[07:25:07] charliesome: has joined #RubyOnRails
[07:25:12] User458764: has joined #RubyOnRails
[07:25:29] doodlehaus: has joined #RubyOnRails
[07:26:30] charliesome_: has joined #RubyOnRails
[07:26:32] Lightsword: has joined #RubyOnRails
[07:27:25] doodlehaus: has joined #RubyOnRails
[07:28:45] charliesome__: has joined #RubyOnRails
[07:29:00] thebatu1: has joined #RubyOnRails
[07:29:23] doodlehaus: has joined #RubyOnRails
[07:31:12] doodlehaus: has joined #RubyOnRails
[07:32:38] sarink: has joined #RubyOnRails
[07:33:08] doodlehaus: has joined #RubyOnRails
[07:33:27] choke: has joined #RubyOnRails
[07:35:02] doodlehaus: has joined #RubyOnRails
[07:36:56] doodleha_: has joined #RubyOnRails
[07:38:13] cac: has joined #RubyOnRails
[07:38:52] doodlehaus: has joined #RubyOnRails
[07:41:02] doodlehaus: has joined #RubyOnRails
[07:41:05] chinmay_dd: has joined #RubyOnRails
[07:42:35] bruno-: has joined #RubyOnRails
[07:42:44] doodleha_: has joined #RubyOnRails
[07:44:38] doodlehaus: has joined #RubyOnRails
[07:45:43] yaymukund: has joined #RubyOnRails
[07:46:34] doodlehaus: has joined #RubyOnRails
[07:46:50] haz111_: has joined #RubyOnRails
[07:47:38] Lightsword: has joined #RubyOnRails
[07:48:42] doodlehaus: has joined #RubyOnRails
[07:48:45] michael_mbp: has joined #RubyOnRails
[07:48:49] bronson: has joined #RubyOnRails
[07:50:38] doodlehaus: has joined #RubyOnRails
[07:52:20] doodlehaus: has joined #RubyOnRails
[07:52:21] eoy_: has joined #RubyOnRails
[07:52:25] mister_goodcat: has joined #RubyOnRails
[07:53:59] Forgetful_Lion: has joined #RubyOnRails
[07:54:12] doodleha_: has joined #RubyOnRails
[07:54:42] sinkensabe: has joined #RubyOnRails
[07:56:09] doodlehaus: has joined #RubyOnRails
[07:57:56] patie: has joined #RubyOnRails
[07:58:13] doodleha_: has joined #RubyOnRails
[07:58:44] ghr: has joined #RubyOnRails
[07:59:01] charliesome: has joined #RubyOnRails
[07:59:16] ur5us: has joined #RubyOnRails
[08:00:00] doodleha_: has joined #RubyOnRails
[08:01:19] JamesBrink: has joined #RubyOnRails
[08:01:52] doodlehaus: has joined #RubyOnRails
[08:03:53] doodlehaus: has joined #RubyOnRails
[08:05:41] doodlehaus: has joined #RubyOnRails
[08:05:59] maz-dev: has joined #RubyOnRails
[08:07:40] doodlehaus: has joined #RubyOnRails
[08:08:54] RegulationD: has joined #RubyOnRails
[08:08:54] darutoko: has joined #RubyOnRails
[08:09:38] doodlehaus: has joined #RubyOnRails
[08:11:30] doodleha_: has joined #RubyOnRails
[08:13:24] doodlehaus: has joined #RubyOnRails
[08:14:19] towski_: has joined #RubyOnRails
[08:15:23] doodleha_: has joined #RubyOnRails
[08:17:16] doodlehaus: has joined #RubyOnRails
[08:17:28] ghox_2: has joined #RubyOnRails
[08:17:49] eoy_: has joined #RubyOnRails
[08:19:08] doodlehaus: has joined #RubyOnRails
[08:19:24] greenride: has joined #RubyOnRails
[08:19:59] blackmesa: has joined #RubyOnRails
[08:21:01] doodleha_: has joined #RubyOnRails
[08:22:28] porkqpain: has joined #RubyOnRails
[08:23:01] doodlehaus: has joined #RubyOnRails
[08:24:53] doodlehaus: has joined #RubyOnRails
[08:26:03] sandstrom: has joined #RubyOnRails
[08:26:51] doodlehaus: has joined #RubyOnRails
[08:28:47] doodlehaus: has joined #RubyOnRails
[08:29:52] srinidhi: has joined #RubyOnRails
[08:30:42] doodleha_: has joined #RubyOnRails
[08:32:36] doodlehaus: has joined #RubyOnRails
[08:34:43] doodlehaus: has joined #RubyOnRails
[08:36:25] doodlehaus: has joined #RubyOnRails
[08:36:34] voker57: has joined #RubyOnRails
[08:36:50] cac: has joined #RubyOnRails
[08:38:20] doodleha_: has joined #RubyOnRails
[08:40:12] doodleha_: has joined #RubyOnRails
[08:42:08] doodlehaus: has joined #RubyOnRails
[08:42:40] notakid: has joined #RubyOnRails
[08:42:59] notakid: How do you write test for a json API?
[08:43:37] moeabdol1: has joined #RubyOnRails
[08:44:04] doodleha_: has joined #RubyOnRails
[08:44:48] sinkensabe: has joined #RubyOnRails
[08:46:01] doodlehaus: has joined #RubyOnRails
[08:47:13] maz-dev: has joined #RubyOnRails
[08:47:55] doodlehaus: has joined #RubyOnRails
[08:48:22] sarink: has joined #RubyOnRails
[08:49:43] mello: has joined #RubyOnRails
[08:49:48] doodlehaus: has joined #RubyOnRails
[08:50:15] notakid: How do you write test for a json API?
[08:50:19] coin3d: has joined #RubyOnRails
[08:50:29] TinkerTyper: has joined #RubyOnRails
[08:51:04] hahuang65: has joined #RubyOnRails
[08:51:23] sp1rs: has joined #RubyOnRails
[08:51:47] doodleha_: has joined #RubyOnRails
[08:53:41] doodlehaus: has joined #RubyOnRails
[08:54:40] kristofferR: has joined #RubyOnRails
[08:54:42] meoblast001: has joined #RubyOnRails
[08:55:36] doodlehaus: has joined #RubyOnRails
[08:57:29] doodlehaus: has joined #RubyOnRails
[08:58:36] marr: has joined #RubyOnRails
[08:59:01] ghr: has joined #RubyOnRails
[08:59:26] doodleha_: has joined #RubyOnRails
[08:59:43] choke: same way you do for other regular web apps. except you only test on your end points. you then test on the status code ( http 200 OK, etc ) and parse the json and test your expects based on that.
[08:59:59] shinnya: has joined #RubyOnRails
[09:01:20] doodlehaus: has joined #RubyOnRails
[09:03:14] doodlehaus: has joined #RubyOnRails
[09:05:12] doodlehaus: has joined #RubyOnRails
[09:05:21] SalexW: has joined #RubyOnRails
[09:07:00] porkqpain: has joined #RubyOnRails
[09:07:10] doodlehaus: has joined #RubyOnRails
[09:09:05] doodlehaus: has joined #RubyOnRails
[09:10:08] hmnhf: has joined #RubyOnRails
[09:11:03] doodlehaus: has joined #RubyOnRails
[09:11:09] bluish: has joined #RubyOnRails
[09:12:58] doodleha_: has joined #RubyOnRails
[09:14:31] toretore: has joined #RubyOnRails
[09:14:53] doodlehaus: has joined #RubyOnRails
[09:16:51] doodleha_: has joined #RubyOnRails
[09:17:56] thebatu1: has joined #RubyOnRails
[09:18:37] konsolebox: has joined #RubyOnRails
[09:18:45] doodlehaus: has joined #RubyOnRails
[09:19:33] dideler: has joined #RubyOnRails
[09:20:43] doodleha_: has joined #RubyOnRails
[09:21:16] hardlin3r: has joined #RubyOnRails
[09:21:32] dvrs85: has joined #RubyOnRails
[09:22:32] tianyi: has joined #RubyOnRails
[09:22:42] doodlehaus: has joined #RubyOnRails
[09:23:31] TinkerTyper: has joined #RubyOnRails
[09:24:35] doodlehaus: has joined #RubyOnRails
[09:25:05] jenrzzz: has joined #RubyOnRails
[09:26:14] MartinElvar: has joined #RubyOnRails
[09:26:33] doodlehaus: has joined #RubyOnRails
[09:28:28] doodleha_: has joined #RubyOnRails
[09:28:43] Peteykun: has joined #RubyOnRails
[09:30:23] doodlehaus: has joined #RubyOnRails
[09:33:39] dvrs85: has joined #RubyOnRails
[09:33:58] maz-dev: has joined #RubyOnRails
[09:35:55] konsolebox: has joined #RubyOnRails
[09:39:39] Sylario: has joined #RubyOnRails
[09:49:17] bruno-: has joined #RubyOnRails
[09:57:48] RegulationD: has joined #RubyOnRails
[09:58:44] ghr: has joined #RubyOnRails
[09:59:23] moeabdol1: has joined #RubyOnRails
[10:08:20] futilegames: has joined #RubyOnRails
[10:08:29] futilegames: has left #RubyOnRails: ()
[10:13:28] tomaszbalon: has joined #RubyOnRails
[10:16:13] MrBeardy: has joined #RubyOnRails
[10:19:15] nfk: has joined #RubyOnRails
[10:20:11] tomkadwill: has joined #RubyOnRails
[10:25:57] jokke: has joined #RubyOnRails
[10:27:16] charliesome: has joined #RubyOnRails
[10:29:01] stamina: has joined #RubyOnRails
[10:30:42] passion8: has joined #RubyOnRails
[10:32:12] cornerma1: has joined #RubyOnRails
[10:36:51] wethu: has joined #RubyOnRails
[10:37:54] AzaToth: has joined #RubyOnRails
[10:38:55] greenride: has left #RubyOnRails: ()
[10:39:50] hahuang65: has joined #RubyOnRails
[10:49:33] riotjones: has joined #RubyOnRails
[10:49:49] haz111_: has joined #RubyOnRails
[10:51:39] darrencauthon: has joined #RubyOnRails
[10:52:19] camilasan: has joined #RubyOnRails
[10:53:27] bronson: has joined #RubyOnRails
[10:53:37] darrencauthon: has joined #RubyOnRails
[10:59:05] ghr: has joined #RubyOnRails
[11:06:20] SalexW: has joined #RubyOnRails
[11:06:42] Hates_: has joined #RubyOnRails
[11:06:44] thebatu1: has joined #RubyOnRails
[11:07:04] edwinvdgraaf: has joined #RubyOnRails
[11:08:04] benhuda: has joined #RubyOnRails
[11:09:35] b0nn1e: has joined #RubyOnRails
[11:10:17] charliesome: has joined #RubyOnRails
[11:14:19] chipotle: has joined #RubyOnRails
[11:17:12] jacor: has joined #RubyOnRails
[11:24:27] Abhijit: has joined #RubyOnRails
[11:28:11] xcesariox: has joined #RubyOnRails
[11:28:52] workmad3: has joined #RubyOnRails
[11:29:37] frank_o: has joined #RubyOnRails
[11:29:56] bruno-: has joined #RubyOnRails
[11:30:51] moeabdol1: has joined #RubyOnRails
[11:31:08] bashusr: has joined #RubyOnRails
[11:33:15] jarr0dsz: has joined #RubyOnRails
[11:34:19] sarink: has joined #RubyOnRails
[11:35:03] tomkadwill: has joined #RubyOnRails
[11:37:19] mello: has joined #RubyOnRails
[11:39:57] doodlehaus: has joined #RubyOnRails
[11:41:04] srinidhi: has joined #RubyOnRails
[11:44:29] Holek: has joined #RubyOnRails
[11:46:37] sandstrom: has joined #RubyOnRails
[11:46:37] RegulationD: has joined #RubyOnRails
[11:48:01] drale2k: has joined #RubyOnRails
[11:50:37] Joshmfrankel: has joined #RubyOnRails
[11:50:43] Joshmfrankel: has left #RubyOnRails: ()
[11:51:04] futilegames: has joined #RubyOnRails
[11:54:51] doodlehaus: has joined #RubyOnRails
[11:56:11] allcentury: has joined #RubyOnRails
[11:57:14] futilegames: has joined #RubyOnRails
[11:58:11] TinkerTyper: has joined #RubyOnRails
[11:59:05] ghr: has joined #RubyOnRails
[12:00:15] ruurd: has joined #RubyOnRails
[12:02:09] jokke: has joined #RubyOnRails
[12:11:46] ProLoser: has joined #RubyOnRails
[12:12:29] frank_o: Hi! I'm trying to check if a photo exists using a route, but I'm currently getting a routing error: https://gist.github.com/dt1973/a97a167c21d07e3252a9 -- can anyone tell what's wrong?
[12:15:34] sevenseacat: frank_o: you havent defined an action in your PhotosController.
[12:16:48] frank_o: sevenseacat: coolio, thanks=)
[12:18:07] frank_o: good seeing you again btw
[12:18:15] frank_o: i wonder if theres anything new over at your blog
[12:18:17] frank_o: ACTION checks
[12:18:18] scottmatheina: has joined #RubyOnRails
[12:19:42] peterhil: has joined #RubyOnRails
[12:20:26] jokke: has joined #RubyOnRails
[12:20:34] sandelius: has joined #RubyOnRails
[12:22:02] sandelius: I've turned on perform_caching in development and the log says it's reading form cache but when I change the cached "fragment" it is change on the screen. Does rails cache detect file changes on its own?
[12:27:44] Scripore: has joined #RubyOnRails
[12:28:18] ur5us: has joined #RubyOnRails
[12:28:33] hahuang65: has joined #RubyOnRails
[12:29:46] jokke: has joined #RubyOnRails
[12:31:54] moeabdol1: has joined #RubyOnRails
[12:33:36] ruurd: has joined #RubyOnRails
[12:35:00] sarink: has joined #RubyOnRails
[12:37:14] otherj: has joined #RubyOnRails
[12:41:22] mello: has joined #RubyOnRails
[12:43:38] Papierkorb: has joined #RubyOnRails
[12:44:09] Holek_: has joined #RubyOnRails
[12:44:38] raj___: has joined #RubyOnRails
[12:44:59] dllama: has joined #RubyOnRails
[12:46:52] jottr: has joined #RubyOnRails
[12:47:03] qwertme: has joined #RubyOnRails
[12:53:01] ruurd: has joined #RubyOnRails
[12:53:47] scottmatheina: has joined #RubyOnRails
[12:55:36] thebatu1: has joined #RubyOnRails
[12:56:38] dvrs85: has joined #RubyOnRails
[12:57:29] edwinvdg_: has joined #RubyOnRails
[12:58:44] ghr: has joined #RubyOnRails
[13:00:52] tomkadwill: has joined #RubyOnRails
[13:03:23] frank_o: has joined #RubyOnRails
[13:03:24] drale2k: has joined #RubyOnRails
[13:03:49] DoubleMalt: has joined #RubyOnRails
[13:07:09] SalexW: has joined #RubyOnRails
[13:07:37] Holek: has joined #RubyOnRails
[13:07:51] quazimodo: has joined #RubyOnRails
[13:10:17] sandstrom: has joined #RubyOnRails
[13:12:22] phigg: has joined #RubyOnRails
[13:13:08] Holek_: has joined #RubyOnRails
[13:13:34] gaussblurinc1: has joined #RubyOnRails
[13:17:24] scottmatheina: has joined #RubyOnRails
[13:23:47] darrencauthon: has joined #RubyOnRails
[13:31:01] Joshmfrankel: has joined #RubyOnRails
[13:31:05] Joshmfrankel: has left #RubyOnRails: ()
[13:31:12] workmad3: has joined #RubyOnRails
[13:32:32] RegulationD: has joined #RubyOnRails
[13:33:53] arup_r: has joined #RubyOnRails
[13:35:49] sarink: has joined #RubyOnRails
[13:41:34] SalexW: has joined #RubyOnRails
[13:42:12] leafac: has joined #RubyOnRails
[13:45:06] leafac: has left #RubyOnRails: ()
[13:45:55] pjammer: has joined #RubyOnRails
[13:52:09] sandelius: has joined #RubyOnRails
[13:57:48] leafac: has joined #RubyOnRails
[13:58:23] vickleton: has joined #RubyOnRails
[13:58:39] diegobiavati: has joined #RubyOnRails
[13:58:41] diegobiavati_: has joined #RubyOnRails
[14:01:56] testimonial: has joined #RubyOnRails
[14:02:47] weckl: has joined #RubyOnRails
[14:02:47] wecklness: has joined #RubyOnRails
[14:04:52] testimonial: Hello, I am using rails with devise and carrierwave, what would be the best approach to create a form that only requires the image to be present? No password or username at all? (handling that in a different way)
[14:10:04] moeabdol1: has joined #RubyOnRails
[14:14:30] sandstrom: has joined #RubyOnRails
[14:17:13] ghox: has joined #RubyOnRails
[14:17:14] charleystran: has joined #RubyOnRails
[14:17:21] hahuang65: has joined #RubyOnRails
[14:19:10] Ropeney: has joined #RubyOnRails
[14:19:17] bashusr: has joined #RubyOnRails
[14:21:38] ndrei: has joined #RubyOnRails
[14:26:24] roolo: has joined #RubyOnRails
[14:27:30] zimt1: has joined #RubyOnRails
[14:28:08] thiagovsk: has joined #RubyOnRails
[14:29:07] ismaelga: has joined #RubyOnRails
[14:30:34] zimt1: has left #RubyOnRails: ()
[14:31:15] Holek: has joined #RubyOnRails
[14:33:17] sankaber: has joined #RubyOnRails
[14:33:17] tomkadwill: has joined #RubyOnRails
[14:33:58] zimt: has joined #RubyOnRails
[14:34:16] zimt: has left #RubyOnRails: ()
[14:37:40] wecklness: has joined #RubyOnRails
[14:37:51] jcaho_m: has joined #RubyOnRails
[14:38:42] qwertme: has joined #RubyOnRails
[14:41:35] bmalum: has joined #RubyOnRails
[14:41:42] dvrs85: has joined #RubyOnRails
[14:42:35] Anakat: has joined #RubyOnRails
[14:43:30] Anakat: has joined #RubyOnRails
[14:44:00] Anakat: has joined #RubyOnRails
[14:44:31] thebatu1: has joined #RubyOnRails
[14:45:37] Anakat: has joined #RubyOnRails
[14:46:22] tomaszbalon: has joined #RubyOnRails
[14:46:28] scottmatheina: has joined #RubyOnRails
[14:47:19] Scripore: has joined #RubyOnRails
[14:48:19] mary5030: has joined #RubyOnRails
[14:48:48] maz-dev: has joined #RubyOnRails
[14:49:09] sandstrom: has joined #RubyOnRails
[14:50:29] acti0nman: has joined #RubyOnRails
[14:50:45] haz111__: has joined #RubyOnRails
[14:52:52] TheNumb: has left #RubyOnRails: ("Leaving")
[14:53:01] benhuda: has joined #RubyOnRails
[14:55:16] crevax: has joined #RubyOnRails
[14:56:44] chenillen: has joined #RubyOnRails
[14:56:49] user121212: has joined #RubyOnRails
[14:58:07] tejasmanohar: has joined #RubyOnRails
[14:58:42] ghr: has joined #RubyOnRails
[14:58:53] user121212: Hello, I trying to use actionmailer for sending email, Can you identify the mistake I did in it? https://eval.in/private/d7f3781a6f9775
[14:59:47] DoubleMalt: has joined #RubyOnRails
[15:00:07] dopie: has joined #RubyOnRails
[15:00:53] benhuda: has joined #RubyOnRails
[15:04:04] darrencauthon: has joined #RubyOnRails
[15:05:42] darrencauthon: has joined #RubyOnRails
[15:06:13] Pupeno: has joined #RubyOnRails
[15:06:55] MrBeardy: Try replacing @user with self in /model/user.rb?
[15:07:12] user121212: ACTION waiting for a reply from sevenseacat ;)
[15:07:44] sevenseacat: user121212: on line 22, what is @user ?
[15:08:01] sevenseacat: MrBeardy: was 100% correct
[15:08:49] user121212: MrBeardy: got it :)
[15:08:51] tomaszbalon: has joined #RubyOnRails
[15:09:06] user121212: sevenseacat: thanks :)
[15:09:21] Limix: has joined #RubyOnRails
[15:14:54] porkqpain: has joined #RubyOnRails
[15:16:12] maz-dev: has joined #RubyOnRails
[15:19:55] sarink: has joined #RubyOnRails
[15:20:08] n008f4g_: has joined #RubyOnRails
[15:21:28] RegulationD: has joined #RubyOnRails
[15:21:35] samgranieri: has joined #RubyOnRails
[15:23:02] frank_o: has joined #RubyOnRails
[15:23:32] camonz: has joined #RubyOnRails
[15:24:46] darrencauthon: has joined #RubyOnRails
[15:25:59] mrbubbles: has joined #RubyOnRails
[15:26:12] seank_: has joined #RubyOnRails
[15:26:18] pjammer: has joined #RubyOnRails
[15:26:53] DigitallyBorn: has joined #RubyOnRails
[15:28:27] xcesariox: has joined #RubyOnRails
[15:30:36] ChoiKyuSang: has joined #RubyOnRails
[15:31:07] annlewis: has joined #RubyOnRails
[15:33:59] jottr: has joined #RubyOnRails
[15:37:41] tomaszbalon: has joined #RubyOnRails
[15:38:01] Fire-Dragon-DoL: has joined #RubyOnRails
[15:39:05] dllama: has joined #RubyOnRails
[15:39:14] m0r0n: has joined #RubyOnRails
[15:39:54] Lytol: has joined #RubyOnRails
[15:40:12] User458764: Hi, I try to add a scss framework via a sprockets directive but when I do that the file is loaded but only the comments appear I think It does not understand scss code but why?
[15:40:59] fryguy: show some code
[15:41:47] sandelius: has joined #RubyOnRails
[15:42:00] erich: has joined #RubyOnRails
[15:44:30] tejasmanohar: has left #RubyOnRails: ("WeeChat 1.1.1")
[15:45:51] sandstrom: has joined #RubyOnRails
[15:46:18] User458764: fryguy here is the code https://gist.github.com/guibru-sh/9f77dda8048868547b8a as you can see the final compiled css has the comments but not the code
[15:47:06] tomkadwill: has joined #RubyOnRails
[15:47:26] Cache_Money: has joined #RubyOnRails
[15:49:47] ismaelga: has joined #RubyOnRails
[15:49:56] jhass: User458764: I guess it's one of those that only provides sass functions? that is until you use it no code is generated
[15:50:11] Kozen: has joined #RubyOnRails
[15:50:49] jhass: https://github.com/mojotech/jeet/blob/master/scss/jeet/_grid.scss yeah only mixins & functions here
[15:51:32] User458764: jhass ok so what can I do to use it?
[15:51:51] jhass: read the docs, apply the examples
[15:53:02] User458764: jhass I try to use the mixin but as the code is not loaded I can't, I don't know what can I do
[15:53:16] frank_o: jhass my man
[15:53:17] ChoiKyuSang: has joined #RubyOnRails
[15:53:19] frank_o: always a pleasure !
[15:53:43] Jadam: has joined #RubyOnRails
[15:53:48] dvrs85: has joined #RubyOnRails
[15:55:03] DoctorMonocular: has joined #RubyOnRails
[15:55:09] givanse: has joined #RubyOnRails
[15:55:56] jhass: User458764: it's not loaded? what does it say if you use it?
[15:56:01] watchtheblur: has joined #RubyOnRails
[15:56:56] Anakat_: has joined #RubyOnRails
[15:57:54] User458764: jhass I updated my gist I add an error.log file
[15:58:50] juanda: has joined #RubyOnRails
[15:59:00] jhass: oh right, you must use @import everywhere, require breaks it
[15:59:04] ghr: has joined #RubyOnRails
[15:59:36] tomaszba_: has joined #RubyOnRails
[15:59:41] DoubleMalt: has joined #RubyOnRails
[15:59:49] sarink: has joined #RubyOnRails
[15:59:55] leafac: has joined #RubyOnRails
[16:00:03] User458764: jhass oh ok but @import is not sprockets, right?
[16:00:55] Scripore: has joined #RubyOnRails
[16:01:12] jhass: @import is done by sass, right, which is why it works and require doesn't
[16:01:30] jhass: iirc require is done after sass did its thing
[16:01:58] kinduff: has joined #RubyOnRails
[16:03:37] User458764: jhass thanks for the explanation :)
[16:06:10] hahuang65: has joined #RubyOnRails
[16:07:05] ChoiKyuSang: has left #RubyOnRails: ("Closing Window")
[16:07:43] bronson: has joined #RubyOnRails
[16:07:51] lindii_: has joined #RubyOnRails
[16:08:58] ChoiKyuSang: has joined #RubyOnRails
[16:09:15] bendangelo: has joined #RubyOnRails
[16:10:16] ChoiKyuSang: has left #RubyOnRails: ()
[16:11:14] cac: has joined #RubyOnRails
[16:11:19] Anakat: has joined #RubyOnRails
[16:11:21] erich: has joined #RubyOnRails
[16:14:31] Anakat__: has joined #RubyOnRails
[16:16:38] maz-dev: has joined #RubyOnRails
[16:19:14] erich: has joined #RubyOnRails
[16:21:04] melonstorm: has joined #RubyOnRails
[16:21:24] haz111__: has left #RubyOnRails: ()
[16:22:40] sandelius: has joined #RubyOnRails
[16:23:09] erich: has joined #RubyOnRails
[16:23:18] michael_mbp: has joined #RubyOnRails
[16:24:44] Dreamer3: has joined #RubyOnRails
[16:24:54] allcentury: has joined #RubyOnRails
[16:25:27] erich: has joined #RubyOnRails
[16:27:14] sandstrom: has joined #RubyOnRails
[16:27:16] joey: has joined #RubyOnRails
[16:30:58] kinduff_: has joined #RubyOnRails
[16:33:24] thebatu1: has joined #RubyOnRails
[16:35:05] Daba22: has joined #RubyOnRails
[16:36:23] ChoiKyuSang: has joined #RubyOnRails
[16:36:53] dvrs85: has joined #RubyOnRails
[16:37:12] kinduff: has joined #RubyOnRails
[16:37:12] kinduff: has joined #RubyOnRails
[16:37:31] sarink: has joined #RubyOnRails
[16:37:37] tomkadwill: has joined #RubyOnRails
[16:38:08] Scully: has joined #RubyOnRails
[16:40:09] Lightsword: has joined #RubyOnRails
[16:40:57] sinkensabe: has joined #RubyOnRails
[16:43:50] moeabdol: has joined #RubyOnRails
[16:44:12] moeabdol: has joined #RubyOnRails
[16:44:20] victorkohl: has joined #RubyOnRails
[16:47:11] victorkohl: has joined #RubyOnRails
[16:48:54] victorkohl: has joined #RubyOnRails
[16:50:12] victorkohl: has joined #RubyOnRails
[16:52:45] shinnya: has joined #RubyOnRails
[16:53:50] qwertme: has joined #RubyOnRails
[16:54:16] victorkohl: has joined #RubyOnRails
[16:54:37] Jadam: has joined #RubyOnRails
[16:57:10] x44x45x41x4E: has joined #RubyOnRails
[16:58:44] zoidfarb: has joined #RubyOnRails
[16:59:03] ghr: has joined #RubyOnRails
[16:59:58] Jadam: has joined #RubyOnRails
[17:00:01] zoidfarb: My rails installation doesn't seem to be serving files from /myapp/shared/public/ it only serves from /myapp/current/public/. Can somebody link me to some docs/articles for setting up nginx to serve static assets correctly from both directories?
[17:00:56] DoubleMalt: has joined #RubyOnRails
[17:02:13] mcr-credil: has joined #RubyOnRails
[17:02:15] Scripore: has joined #RubyOnRails
[17:02:57] Limix: has joined #RubyOnRails
[17:03:17] erich: has joined #RubyOnRails
[17:03:28] fryguy: has joined #RubyOnRails
[17:05:09] moretti: has joined #RubyOnRails
[17:07:21] bricker: has joined #RubyOnRails
[17:07:32] bobbobbins: has joined #RubyOnRails
[17:07:34] roolo: has joined #RubyOnRails
[17:08:19] jarr0dsz: has joined #RubyOnRails
[17:08:23] dvrs85: has joined #RubyOnRails
[17:08:26] workmad3: has joined #RubyOnRails
[17:08:33] erichu: has joined #RubyOnRails
[17:10:20] RegulationD: has joined #RubyOnRails
[17:10:50] Scripore: has joined #RubyOnRails
[17:14:35] chintanparikh: has joined #RubyOnRails
[17:18:51] dllama: has joined #RubyOnRails
[17:19:33] erich: has joined #RubyOnRails
[17:21:33] juanda: has joined #RubyOnRails
[17:22:03] chenillen: has joined #RubyOnRails
[17:24:43] erichu: has joined #RubyOnRails
[17:25:37] x44x45x41x4E: has joined #RubyOnRails
[17:26:56] chenillen: has joined #RubyOnRails
[17:28:41] zorak8: has joined #RubyOnRails
[17:28:42] Anakat: has joined #RubyOnRails
[17:29:35] m0r0n: has joined #RubyOnRails
[17:30:19] erich: has joined #RubyOnRails
[17:32:17] Spami: has joined #RubyOnRails
[17:32:32] gambl0re: has joined #RubyOnRails
[17:35:04] qwertme: has joined #RubyOnRails
[17:35:59] erich: has joined #RubyOnRails
[17:36:51] hahuang65: has joined #RubyOnRails
[17:36:54] Limix: has joined #RubyOnRails
[17:38:12] Jarvis2: has joined #RubyOnRails
[17:38:13] hmnhf: has joined #RubyOnRails
[17:39:38] sonofdirt: has joined #RubyOnRails
[17:40:06] Jarvis2: has joined #RubyOnRails
[17:40:35] Lytol: has joined #RubyOnRails
[17:41:58] rodfersou: has joined #RubyOnRails
[17:45:41] annlewis_: has joined #RubyOnRails
[17:47:24] baweaver: has joined #RubyOnRails
[17:49:21] Scripore: has joined #RubyOnRails
[17:49:22] ismaelga: has joined #RubyOnRails
[17:49:49] nettoweb: has joined #RubyOnRails
[17:50:19] maz-dev: has joined #RubyOnRails
[17:50:57] yaymukund: has joined #RubyOnRails
[17:51:00] Cache_Money: has joined #RubyOnRails
[17:52:39] jacor: has joined #RubyOnRails
[17:53:14] gambl0re: has joined #RubyOnRails
[17:53:28] jacor: has left #RubyOnRails: ()
[17:55:01] maz-dev: has joined #RubyOnRails
[17:55:18] allcentury: has joined #RubyOnRails
[17:55:22] dr_watson: has joined #RubyOnRails
[17:55:46] Coldblackice: has joined #RubyOnRails
[17:56:04] catcher: has joined #RubyOnRails
[17:56:36] maz-dev: has joined #RubyOnRails
[17:57:53] Lytol: has joined #RubyOnRails
[17:58:43] ghr: has joined #RubyOnRails
[17:59:35] juanda: has joined #RubyOnRails
[18:01:49] creakybones: has joined #RubyOnRails
[18:03:54] qwertme: has joined #RubyOnRails
[18:04:02] sinkensabe: has joined #RubyOnRails
[18:04:05] zoidfarb: has joined #RubyOnRails
[18:06:13] tomkadwill: has joined #RubyOnRails
[18:09:12] Lightsword: has joined #RubyOnRails
[18:10:44] disgrntld: has joined #RubyOnRails
[18:10:46] x44x45x41x4E: has joined #RubyOnRails
[18:17:39] dr_watson: has joined #RubyOnRails
[18:17:43] Jadam: has left #RubyOnRails: ()
[18:18:41] yaymukund: has joined #RubyOnRails
[18:20:58] qejk: has joined #RubyOnRails
[18:21:20] barriommx: has joined #RubyOnRails
[18:21:55] Lightsword: has joined #RubyOnRails
[18:27:45] navo: has joined #RubyOnRails
[18:27:53] bluish: has joined #RubyOnRails
[18:29:42] manuelmesson: has joined #RubyOnRails
[18:30:41] RegulationD: has joined #RubyOnRails
[18:30:55] manuelmesson: has joined #RubyOnRails
[18:30:56] edwinvdgraaf: has joined #RubyOnRails
[18:32:26] towski_: has joined #RubyOnRails
[18:34:30] marr: has joined #RubyOnRails
[18:35:17] sandelius: has joined #RubyOnRails
[18:35:48] browndawg: has joined #RubyOnRails
[18:36:47] cjlarose: has joined #RubyOnRails
[18:36:55] leafac: has joined #RubyOnRails
[18:39:52] edwinvdgraaf: has joined #RubyOnRails
[18:42:45] Cache_Money: has joined #RubyOnRails
[18:43:16] towski_: has joined #RubyOnRails
[18:44:28] stevednd: has joined #RubyOnRails
[18:44:44] ismaelga: has joined #RubyOnRails
[18:47:36] moretti: has joined #RubyOnRails
[18:47:51] charleystran: has joined #RubyOnRails
[18:49:09] ProLoser: has joined #RubyOnRails
[18:51:25] Fire-Dragon-DoL: I need to send an activerecord object over an SQS (amazon simple queue service), is Marshal.dump enough to serialize/deserialize the object or are there any rails specific method? I'm googling but can't find good examples
[18:52:03] catcher: has joined #RubyOnRails
[18:52:09] DLSteve: has joined #RubyOnRails
[18:56:42] pulgalipe: has joined #RubyOnRails
[18:58:42] Etriaph: has joined #RubyOnRails
[18:58:52] mhoungbo_: has joined #RubyOnRails
[18:59:01] mhoungbo__: has joined #RubyOnRails
[18:59:01] ghr: has joined #RubyOnRails
[18:59:14] nettoweb: has joined #RubyOnRails
[19:00:05] dr_watson: has joined #RubyOnRails
[19:01:56] Anakat: has joined #RubyOnRails
[19:02:19] Lytol: has joined #RubyOnRails
[19:04:02] gambl0re: has joined #RubyOnRails
[19:04:42] rhizome: try it and see
[19:04:59] rhizome: write a blog post about it
[19:07:45] edwinvdg_: has joined #RubyOnRails
[19:09:56] DigitallyBorn: has joined #RubyOnRails
[19:11:21] barnex: has joined #RubyOnRails
[19:11:55] givanse: has joined #RubyOnRails
[19:12:22] daveomcd: Anyone know of a tutorial that would allow me to update a page without refreshing it with new records as they're added by different users to a table?
[19:14:34] mhoungbo_: has joined #RubyOnRails
[19:14:38] mhoungbo__: has joined #RubyOnRails
[19:15:40] barnex1: has joined #RubyOnRails
[19:15:57] edwinvdgraaf: has joined #RubyOnRails
[19:16:04] barnex1: has left #RubyOnRails: ()
[19:16:20] rhizome: do what now?
[19:16:39] ddv: has joined #RubyOnRails
[19:17:05] allcentury: has joined #RubyOnRails
[19:17:31] Limix: has joined #RubyOnRails
[19:18:16] edwinvdgraaf: has joined #RubyOnRails
[19:18:51] c355E3B: daveomcd: http://railscasts.com/episodes/260-messaging-with-faye?view=asciicast
[19:18:58] c355E3B: Is that kinda what you are after?
[19:19:03] daveomcd: c355E3B, thanks! i'll peek at it now
[19:19:57] c355E3B: http://api.rubyonrails.org/classes/ActionController/Live/SSE.html may also help
[19:20:28] daveomcd: perfect thanks for the help i wasn't getting anything with the search terms i was using! :)
[19:21:12] ringarin: has joined #RubyOnRails
[19:22:45] juanda: has joined #RubyOnRails
[19:23:36] DoctorMonocular: has joined #RubyOnRails
[19:25:37] hahuang65: has joined #RubyOnRails
[19:25:39] ruurd: has joined #RubyOnRails
[19:27:40] voker57: has joined #RubyOnRails
[19:28:52] stamina: has joined #RubyOnRails
[19:31:29] RegulationD: has joined #RubyOnRails
[19:31:36] platosha_: has joined #RubyOnRails
[19:33:44] dllama: has joined #RubyOnRails
[19:34:18] syzygy_: has joined #RubyOnRails
[19:34:55] arBmind: has joined #RubyOnRails
[19:37:33] crevax: has joined #RubyOnRails
[19:39:15] Lytol: has joined #RubyOnRails
[19:41:00] Lytol: has joined #RubyOnRails
[19:47:11] pulgalipe: has joined #RubyOnRails
[19:47:14] Hates_: has joined #RubyOnRails
[19:47:29] Hates_: has joined #RubyOnRails
[19:48:28] Scripore: has joined #RubyOnRails
[19:50:28] maz-dev: has joined #RubyOnRails
[19:50:28] chaicup: has joined #RubyOnRails
[19:50:34] sinkensabe: has joined #RubyOnRails
[19:52:13] sonofdirt: has joined #RubyOnRails
[19:52:59] armyriad: has joined #RubyOnRails
[19:53:56] Papierkorb: has joined #RubyOnRails
[19:54:41] Anakat: has joined #RubyOnRails
[19:56:23] fluxsource: has joined #RubyOnRails
[19:56:57] bmalum: has joined #RubyOnRails
[19:57:06] pulgalipe: has joined #RubyOnRails
[19:58:31] Anakat_: has joined #RubyOnRails
[19:58:42] ghr: has joined #RubyOnRails
[19:59:35] s2013: has joined #RubyOnRails
[20:00:54] Depili: daveomcd: you might also look into websockets, like the tubesock gem
[20:01:52] syzygy_: has joined #RubyOnRails
[20:04:27] jgpawletko: has joined #RubyOnRails
[20:04:39] s2013: rails 4 uses something like better errors right
[20:04:43] s2013: so is thre still a need for it
[20:04:47] mrbubbles: has joined #RubyOnRails
[20:05:26] m0r0n: has joined #RubyOnRails
[20:07:09] dr_watson: has joined #RubyOnRails
[20:09:17] iliketurtles: has joined #RubyOnRails
[20:11:15] thebatu1: has joined #RubyOnRails
[20:12:08] ashemark: has joined #RubyOnRails
[20:12:13] Anakat: has joined #RubyOnRails
[20:12:16] ashemark: has left #RubyOnRails: ("WeeChat 1.2")
[20:21:38] syzygy_: has joined #RubyOnRails
[20:21:44] ghox_: has joined #RubyOnRails
[20:27:11] unreal_: has joined #RubyOnRails
[20:28:38] s2013: has joined #RubyOnRails
[20:30:13] frank_o: has joined #RubyOnRails
[20:36:02] dici: has joined #RubyOnRails
[20:36:16] sonofdirt: has joined #RubyOnRails
[20:36:31] allcentury: has joined #RubyOnRails
[20:36:42] Etriaph: Can anyone recommend a detailed article on concerns?
[20:36:57] Etriaph: If it included use in an engine that would be helpful.
[20:37:08] bmalum: has joined #RubyOnRails
[20:37:12] Miccet: has joined #RubyOnRails
[20:40:54] melonstorm: has joined #RubyOnRails
[20:44:10] hightower4: Hey, I'm running an .includes( :table).where(), but the includes() doesn't seem to
[20:44:27] gaussblurinc1: has joined #RubyOnRails
[20:45:30] hightower4: I'm running an .includes( :table).where(), but the includes() doesn't seem to add the OUTER JOIN to the SQL query unless the where() condition uses something from it. How would I trigger the join to be added, so that I could use .order() based on a field coming from the join?
[20:45:42] fluxsource: has joined #RubyOnRails
[20:45:59] workmad3: has joined #RubyOnRails
[20:48:08] LBRapid: Etriaph: The engines guide discusses the use of concerns within an engine http://guides.rubyonrails.org/engines.html
[20:49:20] Etriaph: LBRapid: Looking for more examples of concerns on models, if it discusses it in the context of an engine, that's better is what I meant
[20:49:34] Etriaph: I've already built the engine, I want to know a bit more about concerns.
[20:49:40] juanda: has joined #RubyOnRails
[20:50:40] syzygy_: has joined #RubyOnRails
[20:51:29] LBRapid: Alright, I don't know of anything more detailed than the API docs/guides like http://api.rubyonrails.org/classes/ActiveSupport/Concern.html . Using it in an engine shouldn't change how the concern works AFAIK.
[20:52:08] LBRapid: That example isn't on a model, but the one in the engines guide article is
[20:53:28] leafac: has joined #RubyOnRails
[20:54:04] Etriaph: LBRapid: Trying to build something for preferences, but on multiple models.
[20:54:35] Etriaph: LBRapid: A concern seemed like the way to go.
[20:54:47] fryguy: hightower4: either use .includes and reference the table, or use .joins with a string argument that explicitly specifies a left join, or drop down and use AREL directly
[20:55:34] LBRapid: Etriaph: Have you already built in on a single model? You should be able to extract that logic to a concern and use it in multiple places. I can't vouch for this tutorial, but a google search turned this up http://joshsymonds.com/blog/2012/05/16/quick-and-easy-user-preferences-in-rails/
[20:56:07] s2013: has joined #RubyOnRails
[20:56:07] hightower4: fryguy, I tried with using .includes and referencing the table, but I don't have an idea what to reference (since I want it to match everything using the default join condition. Anything else I would add would narrow the results. Is there a way I could specify some generic match?
[20:56:23] frank_o: Hi! I'm trying to check if a photo exists using a route, but it doesn't seem to be able to find the photo despite existing: https://gist.github.com/dt1973/a97a167c21d07e3252a9 -- can anyone tell what's wrong?
[20:56:31] fryguy: hightower4: try one of the two other options I suggested
[20:57:04] dllama: has joined #RubyOnRails
[20:57:22] Etriaph: LBRapid: I've read that, his implementation is Preferences on User, I want Preferences on * potentially.
[20:57:44] fryguy: frank_o: your route uses :id, but your controller is using :photo_id
[20:57:51] Etriaph: LBRapid: Thanks for the suggestions though :D
[20:57:58] frank_o: fryguy: cool, didnt notice that..
[20:59:04] ghr: has joined #RubyOnRails
[21:01:16] tomaszbalon: has joined #RubyOnRails
[21:02:59] frank_o: pls pls pls work this time..
[21:03:49] michael_mbp: has joined #RubyOnRails
[21:04:30] leafac: has joined #RubyOnRails
[21:04:31] hightower4: fryguy, .joins() with explicit LEFT JOIN worked like a charm, thanks
[21:05:15] frank_o: fryguy: hey it worked!! thanks man=)
[21:05:21] towski_: has joined #RubyOnRails
[21:06:15] tomkadwill: has joined #RubyOnRails
[21:11:33] syzygy_: has joined #RubyOnRails
[21:14:22] hahuang65: has joined #RubyOnRails
[21:14:31] Micket: has joined #RubyOnRails
[21:15:16] dseitz: has joined #RubyOnRails
[21:18:52] pulgalipe: has joined #RubyOnRails
[21:18:55] erichu: has joined #RubyOnRails
[21:20:21] RegulationD: has joined #RubyOnRails
[21:23:24] barnex: has joined #RubyOnRails
[21:25:58] doodlehaus: has joined #RubyOnRails
[21:26:10] commondream: has joined #RubyOnRails
[21:32:45] ismaelga: has joined #RubyOnRails
[21:33:33] nibbo: has joined #RubyOnRails
[21:33:42] porkqpain: has joined #RubyOnRails
[21:34:09] doublemalt_: has joined #RubyOnRails
[21:34:24] triangles: has joined #RubyOnRails
[21:43:11] juanda: has joined #RubyOnRails
[21:43:21] roolo: has joined #RubyOnRails
[21:44:05] DoctorMo_: has joined #RubyOnRails
[21:46:18] qwertme: has joined #RubyOnRails
[21:47:52] Bil1_: has joined #RubyOnRails
[21:48:46] triangles: I've run into a strange issue I can't explain. I have a hash where the keys are strings, and I want to join all the keys while calling pluralize on them -- but pluralize never takes effect.
[21:48:49] rikkipitt: has joined #RubyOnRails
[21:49:06] chintanparikh: has joined #RubyOnRails
[21:49:18] triangles: {'shoes' => 5, 'apples' => 10}.map{|k,v| k.pluralize(1)}.join(' ')
[21:49:25] triangles: I'd expect to get 'shoe apple' back, but I get 'shoes apples'
[21:49:49] Bil1_: Hello everone. I am losing my mind right now. I created a resource and setup all the basic stuff. I can create, delete, view, and show all.... I made a second one and did the same thing. For the 2nd resource I get a white page saying "Method not allowed" when posting to it. I get the same page when posting to either the edit or new pages... what is going on?
[21:51:08] fryguy: triangles: pluralize only potentially upgrades a singular to a plural, it won't downgrade a plural to a singular
[21:51:20] fryguy: Bil1_: show some code
[21:51:36] Radar: GOOD MORNING
[21:51:46] nettoweb: has joined #RubyOnRails
[21:51:46] Radar: Bil1_: !ncnh
[21:51:46] helpa: Bil1_: If you don't provide any code, it becomes really difficult for us to help you. Providing code to reproduce the problem increases your chances of getting great, accurate help immensely.
[21:52:13] Bil1_: On it, ty
[21:52:31] triangles: fryguy: Oh, duh. Can't believe I didn't think of that, I just assumed. I'll do it the other way around then, use singular names and upgrade them to plural. Thanks!
[21:53:05] platosha: has joined #RubyOnRails
[21:53:23] fryguy: triangles: http://apidock.com/rails/String/singularize might be helpful
[21:53:49] gaboesquivel: has joined #RubyOnRails
[21:54:47] Bil1_: Radar, Fryguy code: https://gist.github.com/anonymous/95126b84997ed332f4ae
[21:55:09] Radar: Bil1_: assets is reserved by Rails for the asset pipeline.
[21:55:33] Bil1_: Well then lol
[21:55:36] Radar: Bil1_: No I would totally say something like that because I'm a pretentious asshole who only wants to mislead you.
[21:55:40] Radar: Oops left off my sarcasterix.
[21:55:54] Radar: There's a way to change where Sprockets routes to... let me see if I can find it
[21:56:06] Bil1_: Radar well I was using http://www.rubymagic.org/posts/ruby-and-rails-reserved-words to make sure it wasn't reserved
[21:56:16] Bil1_: is there a singular site that lists all reserved words?
[21:56:21] Radar: Bil1_: Those types of lists aren't generally kept up to date.
[21:56:42] Radar: config.assets.prefix = "/not-assets" in the Application class in `config/application.rb` will change that path.
[21:56:52] Radar: Then you can use /assets as much as you like.
[21:57:24] Bil1_: I can just refactor my application to use a different term
[21:58:18] Bil1_: Radar Thesaurus says "resource" is a synonym... would that worK! :-P j/k
[21:58:35] Radar: Bil1_: Best not go tempting fate :P
[21:58:36] tomaszbalon: has joined #RubyOnRails
[21:58:43] Radar: Bil1_: Renaming your assets would be a smarter move
[21:58:49] ghr: has joined #RubyOnRails
[21:59:36] Bil1_: Radar what about item? I'm trying to think of a new word.... hmmm
[21:59:44] Radar: item would be good
[22:02:03] moeabdol: has joined #RubyOnRails
[22:02:25] Lightsword: has joined #RubyOnRails
[22:03:18] Holek: has joined #RubyOnRails
[22:04:24] leafac: has joined #RubyOnRails
[22:05:59] towski_: has joined #RubyOnRails
[22:08:38] tasaif: has joined #RubyOnRails
[22:09:45] platosha: has joined #RubyOnRails
[22:09:57] tasaif: hi, I'm starting a new job where I'm teaching the basics of web development
[22:10:17] doodlehaus: has joined #RubyOnRails
[22:10:21] tasaif: they gave me a pdf to use as an agenda, and told me I can make any changes I wanted
[22:10:44] barnex: that sounds interesting
[22:11:04] tasaif: yea, I'm here to ask for opinions on if I'm overkilling. gists incoming
[22:11:16] barnex: well, who will you be teaching?
[22:11:23] zorak8: has joined #RubyOnRails
[22:11:36] pontiki: has joined #RubyOnRails
[22:11:47] rhizome: curriculum development pays well, fyi
[22:12:13] Radar: Teaching HTML, CSS, JS, Git, Ruby, Rails, Sass, CoffeeScript, a JavaScript framework or three, Capistrano, Ansible, and probably a sprinkling of project management on top for good measure.
[22:12:17] Radar: Am I right? :)
[22:12:27] wethu: has joined #RubyOnRails
[22:12:30] tasaif: it's a group of 8 and right now I'm only getting 36k :(
[22:12:39] Radar: tasaif: BUT YOU'RE TEACHING
[22:12:45] Radar: Think of the impact you will have on that group of 8
[22:12:50] barnex: well, are those like programmers, scientists, kindergardeners?
[22:12:56] Radar: Teaching is an honourable job
[22:13:01] rhizome: no wonder they are letting you make changes. you're the underpaid expert and it's free work for them
[22:13:46] rhizome: ACTION grumpy
[22:13:47] jottr: has joined #RubyOnRails
[22:13:49] rhizome: ACTION better afk
[22:13:52] tasaif: what they gave me to work with: https://gist.github.com/tasaif/b56a334d2ae6b136d8de
[22:13:55] mello: has joined #RubyOnRails
[22:14:05] Scripore: what location is this?
[22:14:07] pontiki: did you folks see this post? https://www.codefellows.org/blog/this-is-why-learning-rails-is-hard
[22:14:16] tasaif: things I think are really important: https://gist.github.com/tasaif/233a9f8c12a5ed8a2695
[22:15:14] hahuang65: has joined #RubyOnRails
[22:15:16] blackhuey: has joined #RubyOnRails
[22:15:39] Scripore: wow, isn't that seriously underpaid? this is full-time right?
[22:16:25] rhizome: SF bay area? coding dojo constantly posts ads on craigslist to teach bootcamps for 120k
[22:17:00] pontiki: who is payting that 36k?
[22:17:09] tasaif: yea, I'd rather not talk about the compensation if you don't mind
[22:17:21] rhizome: http://sfbay.craigslist.org/sby/sof/5016644445.html
[22:17:41] pontiki: it's not out of band at all for high school and jr. college instructors
[22:18:16] rhizome: high school and JCs don't ask their prospective teachers to double-check their lesson plans
[22:18:20] tasaif: back to the topic at hand, do you think between those two gists that I might be trying to force too much on the group?
[22:18:24] barnex: rhizome: how much is it in hamburgers? As in, I live in Poland and I have no idea how much stuff costs, if taxes are included, what kind of life can you get for 120k?
[22:18:40] bashusr: has joined #RubyOnRails
[22:18:44] bashusr: has joined #RubyOnRails
[22:18:44] tasaif: barnex, 120k is a very comfortable life
[22:18:53] rhizome: generally, it's 1/5 of a house
[22:19:01] pontiki: rhizome: no - they expect them to come up with everything on their own
[22:19:53] barnex: is it 1/5 of a house after living for a year with food and medical insurance, taxes and whatnot, or before?
[22:20:09] barnex: how much of a house is it after?
[22:20:37] barnex: that's a lot of house
[22:20:48] rhizome: you'd be surprised
[22:20:56] pontiki: more if one makes their own hambugers instead of buying them
[22:21:13] rhizome: true dat g
[22:21:14] Parker0: has joined #RubyOnRails
[22:21:15] tasaif: here are the two lists again
[22:21:16] barnex: I'm not cynical even, I wish I could save 1/10th of a house here
[22:21:16] tasaif: https://gist.github.com/tasaif/b56a334d2ae6b136d8de
[22:21:16] tasaif: https://gist.github.com/tasaif/233a9f8c12a5ed8a2695
[22:21:29] barnex: and I'm more overpayed than underpayed for our standards
[22:21:31] mostlybadfly: has joined #RubyOnRails
[22:21:43] sdwrage: has joined #RubyOnRails
[22:25:43] rhizome: tasaif: seems reasonable
[22:25:46] sbhatore: has joined #RubyOnRails
[22:26:23] tasaif: I think so too
[22:26:33] m0r0n: has joined #RubyOnRails
[22:26:39] tasaif: I feel like my list is important before you even write any code
[22:26:41] barnex: there's not a lot of server stuff there, seems like mostly static webpages?
[22:26:53] barnex: I don't feel like YAGNI is very important for that
[22:27:13] tasaif: yea, I was asking about that, it seems server side scripting will be in a different clas
[22:27:31] barnex: and it's hard to DRY in HTML, it's sort of important in CSS, but then you should repeat yourself sometimes.
[22:27:45] barnex: if you have things that are functionally different, but look the same for now.
[22:28:27] barnex: same for package management library, I don't see how it fits
[22:28:52] tasaif: I understand what you're saying
[22:29:02] barnex: Don't get me wrong, it's important stuff, just??? What kind of packages are you going to manage in that program?
[22:29:13] tasaif: package management you need to keep track of the libraries for you
[22:29:16] kinduff: has joined #RubyOnRails
[22:29:16] kinduff: has joined #RubyOnRails
[22:29:29] tasaif: ideally you want some sort of manifest file to keep track of which libraries and which versions of the libraries you need
[22:30:22] barnex: Yesss. But the only library that is ever covered in that curriculum is jquery
[22:30:23] tasaif: you can't DRY HTML unless you have server side scriping
[22:30:46] barnex: and there will be no server side scripting, because it's in a different class
[22:30:48] kinduff: has joined #RubyOnRails
[22:30:48] kinduff: has joined #RubyOnRails
[22:30:58] tasaif: sure, but as you look for libraries that achieve a desired functionality, you will need to include them
[22:31:01] sbhatore: Hi! Does anyone know how classes are loaded in rails. e.g. If I want to create and load a class ActiveSupport::MyClass, how would I do that. I want to call that class in another class from a different file.
[22:31:20] kinduff: has joined #RubyOnRails
[22:31:49] Mia: has joined #RubyOnRails
[22:32:22] barnex: Well, ok, if you think it's not going to be covered in that server side scripting class, sure, it's important stuff
[22:32:32] tasaif: maybe you want to have a jstree, maybe you want a ckeditor, maybe you want foobar
[22:33:00] rhizome: it covers javascript, which can include DRY
[22:33:29] rhizome: which in this context is essentially the concepts of functions and/or methods
[22:34:39] barnex: Well, than I say give them the tools to DRY some more and teach them some js inheritance
[22:34:58] barnex: unless it's covered in "objects and core objects"
[22:35:19] sbhatore: Also, I forgot to mention that I'm making changes in rails itself and not developing any app using rails.
[22:36:34] jottr: has joined #RubyOnRails
[22:37:57] jfarmer: has joined #RubyOnRails
[22:38:24] barnex: Why do you want to teach text based editors tasaif? Like??? what's there to say?
[22:38:50] tasaif: I feel it should be mentioned at the very least
[22:39:01] tasaif: if you're using a text based editor, you can ssh and modify a file in place
[22:39:12] tasaif: if you use a gui, you need to download, edit, then upload
[22:39:31] tasaif: then again, if you're using version control, I think you're locked into that process anyways
[22:39:47] arBmind1: has joined #RubyOnRails
[22:40:52] barnex: Well, I can think of at least three ways to use gui editor in place, but that's probably irrelevant for your students
[22:41:32] rhizome: beginners are only going to use gui
[22:41:36] barnex: I'd agree with you here that it's not going to be an important part of their process. And if they ever need one they'll probably just stick to something like nano, which is pretty much notepad.
[22:42:24] tasaif: so maybe I should revise that and just say, "It doesn't matter if you're using gui or text as long as it has syntax hilighting"
[22:43:12] barnex: well, if you're going to do some live coding for them you can sneak in your editor of choice just by using it
[22:43:27] barnex: A bunch of my teachers at uni did this.
[22:43:41] barnex: Seeing someone using full power of an editor makes people realize how valuable tool it is.
[22:44:02] Lytol: has joined #RubyOnRails
[22:44:34] barnex: tasaif: and depending on the level of your students you might want to say that word processors aren't ok :P
[22:44:46] barnex: text processors
[22:45:05] tasaif: I'll have a list of recommended editors
[22:45:46] Ropeney: has joined #RubyOnRails
[22:46:00] barnex: also you might want to add something about documentation maybe
[22:47:19] barnex: writing it, not reading it.
[22:47:26] tasaif: of course
[22:48:04] barnex: Few minutes about how comments are important, variable names are important, function names are important and file organization is important and that you can autogenerate documentation if you want.
[22:49:28] tasaif: could that all fall under Code Style Guides?
[22:50:11] tasaif: I guess not
[22:50:26] tasaif: well, not the last one anyways
[22:50:49] michael_mbp: has joined #RubyOnRails
[22:50:57] ismaelga: has joined #RubyOnRails
[22:51:50] barnex: well, it probably could, but IDK if it's obvious for someone reading the document. If you're the only one teaching by it, sure
[22:51:51] chintanparikh: Is putting something like current_user.collections.count in the view bad practices?
[22:52:38] jfarmer: chintanparikh: I would define a method like User#collection_count and call that instead.
[22:53:04] barnex: unless you only need it once
[22:53:08] chintanparikh: jfarmer: What's the logic behind doing that?
[22:53:12] jfarmer: Even if you only need it once, I would still define it.
[22:53:26] barnex: I'd YAGNI it to hell
[22:53:36] zzing: has joined #RubyOnRails
[22:53:41] barnex: it's just moving code around that does nothing :P
[22:54:11] chintanparikh: barnex: I'd argue that even if I use it multiple times, there's no real reason to define that model method
[22:54:22] Radar: tasaif: how long is this course?
[22:54:29] jfarmer: It makes it testable, it encapsulates the logic in a single place, it relies less on the internals of the User model
[22:54:40] barnex: chintanparikh: well, if you use it multiple times it might change at some point and be annoying and you might want to write a test for it
[22:54:55] tasaif: Radar, I don't remember, but each session is 2 hours long
[22:54:56] chintanparikh: That makes sense, thanks!
[22:55:02] jfarmer: By way of example: ".count" is probably never what you want.
[22:55:02] tasaif: and it's daily
[22:55:16] Radar: tasaif: That's not helpful to determining if you're trying to push too much content onto people
[22:55:18] qwertme: has joined #RubyOnRails
[22:55:20] Radar: 2hrs a day is not enough contact time imo
[22:55:29] jfarmer: But you don't know that so you put it in 5-10 places throughout your views.
[22:55:38] jfarmer: Later, you learn that you probably want .size
[22:56:22] jfarmer: Any time the solution to "fixing" a problem is Ctrl-F + Replace, you already crossed a line somewhere in the past.
[22:56:26] chintanparikh: jfarmer: Got it
[22:56:40] jfarmer: That was more more barnex, haha.
[22:56:58] jfarmer: See also: http://en.wikipedia.org/wiki/Law_of_Demeter
[22:58:27] barnex: Then I obviously monkeypatch Activerecord#count to size ;3
[22:58:43] ghr: has joined #RubyOnRails
[23:00:39] cornerma1: has joined #RubyOnRails
[23:00:41] barnex: seriously though, IRL I feel like there's such thing as too much decoupling and too much structure sometimes. I'll agree with you that it's always a good idea if you're serious about your testing
[23:00:46] syzygy_: has joined #RubyOnRails
[23:02:55] rubyonrailed: has joined #RubyOnRails
[23:03:00] Holek: has joined #RubyOnRails
[23:03:07] Etriaph: Using Devise, I have this code in application.html.erb and getting the error in the description. Kind of confused.
[23:03:09] Etriaph: https://gist.github.com/anonymous/13f4447ef90e737eb5a2
[23:03:49] Etriaph: devise.rb has: config.sign_out_via = :delete
[23:06:18] Etriaph: Routes: https://gist.github.com/anonymous/f49e8c6a103c81a5b8d2
[23:07:50] tasaif: how important are URIs?
[23:08:12] doodlehaus: has joined #RubyOnRails
[23:09:05] barnex: depends who are you talking to, I think it's someone that should be known
[23:09:13] duncannz: has joined #RubyOnRails
[23:09:14] RegulationD: has joined #RubyOnRails
[23:09:23] barnex: if you think they generally get the idea already, sure, skip it
[23:09:44] porkqpain: has joined #RubyOnRails
[23:10:57] chintanparikh: has joined #RubyOnRails
[23:12:32] DoctorMo_: has left #RubyOnRails: ()
[23:12:34] Papierkorb: has joined #RubyOnRails
[23:12:34] DoctorMo_: has joined #RubyOnRails
[23:13:00] DoctorMo_: I'm trying to use simple_form to add a data attribute to a given input, but the old way isn't working and I can't figure out what the right way is
[23:13:03] DoctorMo_: can anyone help me?
[23:13:56] jottr: has joined #RubyOnRails
[23:14:29] mello: has joined #RubyOnRails
[23:15:08] barnex: I can't, but you'll probably get some help if you post some source
[23:18:08] moeabdol: has joined #RubyOnRails
[23:20:28] DoctorMo_: I mean, here's the line that should work according to refaelfranca a couple years ago: <%= f.input :score, input_html: { data: {formula: :sum} } %>
[23:21:09] doodlehaus: has joined #RubyOnRails
[23:21:50] fedexo: has joined #RubyOnRails
[23:23:18] jfarmer: DoctorMo_: I'm not sure whether simple_form treats gives the "data" key special behavior like that, but surely you can just specify the name of the data- attribute directly with input_html?
[23:23:43] syzygy_: has joined #RubyOnRails
[23:24:01] allcentury: has joined #RubyOnRails
[23:26:20] chipotle: has joined #RubyOnRails
[23:27:23] mr_goodcat: has joined #RubyOnRails
[23:28:12] Limix: has joined #RubyOnRails
[23:28:26] GnuYawk: has joined #RubyOnRails
[23:28:26] GnuYawk: has joined #RubyOnRails
[23:31:35] Papierkorb: has joined #RubyOnRails
[23:35:59] joelataylor: has joined #RubyOnRails
[23:38:08] krz: has joined #RubyOnRails
[23:38:54] Rubie: has joined #RubyOnRails
[23:39:11] eggoez: has joined #RubyOnRails
[23:39:49] Brando753: has joined #RubyOnRails
[23:39:55] Hacker_TO_: has joined #RubyOnRails
[23:41:12] one_zero: has joined #RubyOnRails
[23:42:28] viiralvx: has joined #RubyOnRails
[23:43:17] ismaelga: has joined #RubyOnRails
[23:45:48] doodlehaus: has joined #RubyOnRails
[23:47:02] quazimodo: has joined #RubyOnRails
[23:48:59] thebatu1: has joined #RubyOnRails
[23:49:15] ur5us: has joined #RubyOnRails
[23:52:15] SalexW: has joined #RubyOnRails
[23:55:44] maz-dev: has joined #RubyOnRails
[23:56:17] s2013: has joined #RubyOnRails
[23:56:30] kinduff: has joined #RubyOnRails
[23:57:59] _djbkd: has joined #RubyOnRails
[23:59:00] ghr: has joined #RubyOnRails