« Back to channel list

#RubyOnRails - 01 May 2016

« Back 1 day Forward 1 day »
[00:00:09] pwnd_nsfw`: has joined #RubyOnRails
[00:03:34] RegulationD: has joined #RubyOnRails
[00:04:33] xall_: has joined #RubyOnRails
[00:05:53] r0bby_: has joined #RubyOnRails
[00:10:45] arBmind: has joined #RubyOnRails
[00:11:51] moeabdol: has joined #RubyOnRails
[00:15:51] _Tariq: has joined #RubyOnRails
[00:18:07] htmldrum: has joined #RubyOnRails
[00:19:11] hnanon: has joined #RubyOnRails
[00:19:45] hnanon: I have a Company model. Company has_many users. User belongs to Company.
[00:20:22] hnanon: I want to create the first user when creating the company so I have accepts_nested_attributes_for :user.
[00:20:29] hnanon: Should it be :user or :users?
[00:20:44] hnanon: The form will only create one user when creating the company.
[00:21:22] hnanon: So fields_for should also be :users?
[00:21:37] hnanon: Ok, thank you.
[00:22:20] hnanon: And users_attributes in the company controller params.
[00:24:43] ismaelga: has joined #RubyOnRails
[00:24:46] Maletor: has joined #RubyOnRails
[00:26:27] stannard: has joined #RubyOnRails
[00:27:38] nelsk: has joined #RubyOnRails
[00:29:34] diegoviola: has joined #RubyOnRails
[00:29:39] nelsk: has left #RubyOnRails: ()
[00:30:47] dramagods: has joined #RubyOnRails
[00:31:26] bronson: has joined #RubyOnRails
[00:42:34] Jasaka: has joined #RubyOnRails
[00:46:13] flashpoint9: has joined #RubyOnRails
[00:47:45] babykosh: has joined #RubyOnRails
[00:49:19] roamingdog: has joined #RubyOnRails
[00:52:45] babykosh: has joined #RubyOnRails
[00:53:06] chipotle: has joined #RubyOnRails
[00:53:30] aghalarp: has joined #RubyOnRails
[01:04:37] Guest57947: has joined #RubyOnRails
[01:08:06] jeffleeismyhero: has joined #RubyOnRails
[01:08:33] jeffleeismyhero: I’m trying to create a regex for the following text: "Engine-6 Cyl-Straight, Engine-Turbocharged"
[01:08:50] jeffleeismyhero: I need to strip out "Engine-" from the text. However, "Engine-" could also be "Another String-"
[01:17:38] eyeamaye: has joined #RubyOnRails
[01:20:01] fryguy: .split(',').map {|item| item.split('-').drop(1).join('')}
[01:20:07] fryguy: i'm guessing
[01:21:00] fryguy: eh, last join should be .join('-') instead of .join('') i think
[01:24:22] _Tariq: has joined #RubyOnRails
[01:26:41] jordanm: has joined #RubyOnRails
[01:26:46] Eaven: has joined #RubyOnRails
[01:26:52] unreal: has joined #RubyOnRails
[01:27:00] Eaven: Hello. I am trying to run a where query in rails 4.2 and when I run DateTime.current I am given "Sat, 30 Apr 2016 18:22:55 -0700" which is correct.. but when I use DateTime.current the query is being given Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (`posts`.`post_at` BETWEEN '2016-05-01 01:22:51' AND '2016-05-01 01:17:51')
[01:27:03] Eaven: I'm not sure why it's searching for tomorrows records when it outputs todays date when I test DateTime.current
[01:27:07] Eaven: this is all local
[01:27:08] Eaven: https://gist.github.com/Eaven/7f159584db8b1c813a83b0b2156baa1c
[01:27:10] macsteps: has joined #RubyOnRails
[01:27:25] jeffleeismyhero: I did it upstream before they were joined with the comma and it worked out to be easier.
[01:28:40] jordanm: Eaven: looks like it's being converted to UTC
[01:30:40] alfie_max15: has joined #RubyOnRails
[01:34:36] hfp: has joined #RubyOnRails
[01:34:46] crystal77: has joined #RubyOnRails
[01:35:06] hfp_work: has joined #RubyOnRails
[01:36:29] SteenJobs: has joined #RubyOnRails
[01:37:15] dramagods: has joined #RubyOnRails
[01:37:26] one_zero: has joined #RubyOnRails
[01:37:39] Eaven: even if i use Time.zone.now when i query its still searching for records tomorrow
[01:38:04] PlasmaStar: has joined #RubyOnRails
[01:40:14] petor: has joined #RubyOnRails
[01:42:13] Ericx2x: has joined #RubyOnRails
[01:44:03] Eaven: lol my query was backwards... :D
[01:44:10] Eaven: Post.where(:post_at => ((Time.zone.now - 35.minutes)..Time.zone.now))
[01:47:39] zacts: has joined #RubyOnRails
[01:50:52] dramagods: has joined #RubyOnRails
[01:51:19] Cache_Money: has joined #RubyOnRails
[01:58:20] billy12: has joined #RubyOnRails
[01:58:48] billy12: what's the best way to check for duplicates within a specific column in a table via activerecord?
[01:58:53] stannard: has joined #RubyOnRails
[01:59:33] billy12: if I have a table 'products', and it has a column 'name', I want a conditional statement to see if any of the name values are identical
[01:59:54] moeabdol: has joined #RubyOnRails
[02:00:04] billy12: I know how to do it if I build an array of the contents of products.name and then go if myarray.uniq.length == myarray.length
[02:00:24] billy12: but if there's something built in to activerecord that results in less queries or is more optimized that would be great
[02:00:44] billy12: if anyone happens to know please let me know or if someone notices this question later, please msg me, thank you
[02:02:30] alfie_max15: has joined #RubyOnRails
[02:04:25] RegulationD: has joined #RubyOnRails
[02:13:07] aghalarp: has joined #RubyOnRails
[02:16:02] yfeldblum: has joined #RubyOnRails
[02:19:30] opus_: has joined #RubyOnRails
[02:20:39] Liothen: has joined #RubyOnRails
[02:20:58] chipotle: has joined #RubyOnRails
[02:21:53] roamingdog: billy12: select count(distinct(name)) from products; ?
[02:21:58] alfie_max15: has left #RubyOnRails: ("Ex-Chat")
[02:22:16] roamingdog: billy12: well i guess that's not what you're asking quite...
[02:22:48] roamingdog: but you can compare that to just select count(*) from products;
[02:23:16] ismaelga: has joined #RubyOnRails
[02:23:17] DragonPunch: has joined #RubyOnRails
[02:23:23] billy12: thank you, what's the line of code in questin?
[02:23:44] billy12: select count(distinct(name)) from products
[02:25:26] roamingdog: i'm thinking if i knew your purpose there'd be a better way to answer, but if the number returned for the statement with 'distinct' is different than the other one, then there's at least one duplicate name
[02:25:31] Maletor: has joined #RubyOnRails
[02:28:03] roamingdog: something like if (select count(*)) <> (select count(distinct(name))
[02:28:21] roamingdog: something like if (select count(*) from products;) <> (select count(distinct(name) from products;) that is
[02:33:18] bronson: has joined #RubyOnRails
[02:35:52] roamingdog: set @distinct_count = (select count(distinct(name)) from products);
[02:35:53] roamingdog: set @count = (select count(name) from products);
[02:35:53] roamingdog: select if(@distinct_count <> @count, 'duplicates exist', 'no dups');
[02:36:09] roamingdog: billy12: just ran that, work ^^
[02:36:13] billy12: brilliant, ty
[02:39:05] Wingar: has joined #RubyOnRails
[02:41:31] dopie: has joined #RubyOnRails
[02:43:28] Spami: has joined #RubyOnRails
[02:43:57] dopie: has joined #RubyOnRails
[02:47:41] arBmind1: has joined #RubyOnRails
[02:50:01] theshrike: has joined #RubyOnRails
[02:57:01] dramagods: has joined #RubyOnRails
[03:03:03] dopie: has joined #RubyOnRails
[03:04:39] DragonPunch: has joined #RubyOnRails
[03:04:52] elgatorapido: has joined #RubyOnRails
[03:09:20] eyeamaye1: has joined #RubyOnRails
[03:17:36] braincrash: has joined #RubyOnRails
[03:18:41] lxsameer: has joined #RubyOnRails
[03:19:28] moeabdol: has joined #RubyOnRails
[03:24:15] chipotle: has joined #RubyOnRails
[03:26:19] Maletor: has joined #RubyOnRails
[03:29:23] jetpack_joe: has joined #RubyOnRails
[03:29:38] theshrike: has joined #RubyOnRails
[03:29:54] xcesariox: what kind of attribute do we use to store a picture if we are using paperclip gem
[03:31:12] Radar: xcesariox: https://github.com/thoughtbot/paperclip#migrations
[03:32:22] jetpack_joe: has joined #RubyOnRails
[03:32:44] xcesariox: Radar : is `:avatar` an attribute alone by itself?
[03:32:56] eljimmy: has joined #RubyOnRails
[03:33:55] xcesariox: Radar: i mean like example `name:string` so `picture:avatar` ?
[03:34:16] Radar: xcesariox: add_attachment :users, :avatar.
[03:34:34] Radar: It's not an attribute. add_attachment generates a series of attributes
[03:35:07] sypheren: has joined #RubyOnRails
[03:36:07] xcesariox: Radar : erm but i wanna do sccaffolding
[03:36:09] bphogan: has joined #RubyOnRails
[03:37:14] xcesariox: Radar : i wanna Generate a Model like `rails g model user name:string add_attachment:avatar?
[03:38:36] htmldrum: has joined #RubyOnRails
[03:39:50] Radar: xcesariox: I don't know if there's a way to do it like that. Best way to get answers to your question is to read the paperclip docs. They are very thoroughy.
[03:40:14] petor: has joined #RubyOnRails
[03:45:11] ensyde: has joined #RubyOnRails
[03:45:48] _Tariq: has joined #RubyOnRails
[03:48:55] stardiviner: has joined #RubyOnRails
[03:50:49] sevenseacat: has joined #RubyOnRails
[03:51:45] jetpack_joe: has joined #RubyOnRails
[03:59:23] Eaven: has left #RubyOnRails: ()
[03:59:57] dramagods: has joined #RubyOnRails
[04:00:21] stannard: has joined #RubyOnRails
[04:05:03] RegulationD: has joined #RubyOnRails
[04:09:21] PedramT: has joined #RubyOnRails
[04:09:59] eyeamaye: has joined #RubyOnRails
[04:11:18] brianpWins: has joined #RubyOnRails
[04:12:56] The_Phoenix: has joined #RubyOnRails
[04:13:56] The_Phoenix: has joined #RubyOnRails
[04:15:31] The_Phoenix: has joined #RubyOnRails
[04:16:46] The_Phoenix: has joined #RubyOnRails
[04:17:48] Spami: has joined #RubyOnRails
[04:17:56] The_Phoenix: has joined #RubyOnRails
[04:27:05] Maletor: has joined #RubyOnRails
[04:27:55] chouhoulis: has joined #RubyOnRails
[04:30:24] hagarelvikingo: has joined #RubyOnRails
[04:32:17] roamingdog: has joined #RubyOnRails
[04:35:41] bronson: has joined #RubyOnRails
[04:38:08] jetpack_joe: has joined #RubyOnRails
[04:39:38] jetpack_joe: has joined #RubyOnRails
[04:43:54] jenrzzz: has joined #RubyOnRails
[04:43:55] jenrzzz: has joined #RubyOnRails
[04:53:03] dramagods: has joined #RubyOnRails
[04:53:13] fedexo: has joined #RubyOnRails
[04:58:12] vedu: xcesariox: that will work. you have to do `rails g model user name:string avatar:attachment`
[04:59:00] rubyonrails862: has joined #RubyOnRails
[04:59:04] vedu: xcesariox: note that the migration will be generated correctly but your fixtures will not. since :avatar is not a column name
[05:03:47] bronson: has joined #RubyOnRails
[05:05:40] htmldrum: has joined #RubyOnRails
[05:07:58] roamingdog: has joined #RubyOnRails
[05:11:07] moeabdol: has joined #RubyOnRails
[05:13:47] moeabdol: has joined #RubyOnRails
[05:14:42] Voxxit: has joined #RubyOnRails
[05:16:29] TheShaun: has joined #RubyOnRails
[05:20:22] njero: has joined #RubyOnRails
[05:24:23] konsolebox: has joined #RubyOnRails
[05:27:55] Maletor: has joined #RubyOnRails
[05:30:02] chouhoulis: has joined #RubyOnRails
[05:30:16] akshat: has joined #RubyOnRails
[05:30:18] vedu: What are requests with a string query param like `https://someapi.com/resource/122?1462014610` called? Paperclip with S3 uses it, probably for caching
[05:30:32] vedu: I want to do the same with my GET requests
[05:31:50] aghalarp: has joined #RubyOnRails
[05:34:38] roamingdog: cache busting?
[05:36:44] jetpack_joe: has joined #RubyOnRails
[05:37:17] vedu: roamingdog: I know caching :) I am following HATEOAS for my api but I feel it would be better to provide the updated_at time as well rather than just a link
[05:38:13] njero: vedu: paperclip is using updated_at for cache bursting
[05:38:46] vedu: n_e_o: yes! what is this method called?
[05:39:11] vedu: just a sec, I am checking out cache busting
[05:39:18] berserk_ren: has joined #RubyOnRails
[05:39:36] vedu: roamingdog: exactly what I needed!
[05:40:03] matt_d: roamingdog: it was like vedu was ignoring you the whole time
[05:40:43] duderonomy: has joined #RubyOnRails
[05:40:43] vedu: matt_d: haha no no. the `?` threw me off. I thought roamingdog was asking me for some more info
[05:40:43] roamingdog: it's fine, prolly read 'cache...something' and thought, 'oh, i know all about that, i'm so awesome' jk
[05:41:37] roamingdog: vedu: first i've heard of HATEOAS btw, interesting
[05:42:11] matt_d: vedu: hehe just having some fun is all.
[05:42:37] vedu: roamingdog: I first saw it in github's API and was intrigued
[05:44:19] vedu: So can we do cache busting with rails routes. like resource_url(object) ?
[05:47:34] PedramT: has joined #RubyOnRails
[05:48:06] PedramT: has joined #RubyOnRails
[05:48:40] PedramT: has joined #RubyOnRails
[05:49:32] chipotle: has joined #RubyOnRails
[05:51:43] DoctorMonocular: has joined #RubyOnRails
[05:54:37] DoctorMonocular: has joined #RubyOnRails
[06:01:53] stannard: has joined #RubyOnRails
[06:02:25] roadt_: has joined #RubyOnRails
[06:03:49] roadt_: has joined #RubyOnRails
[06:04:44] akshat: has joined #RubyOnRails
[06:04:53] roadt_: has joined #RubyOnRails
[06:05:53] roadt_: has joined #RubyOnRails
[06:05:55] RegulationD: has joined #RubyOnRails
[06:15:27] benlieb: has joined #RubyOnRails
[06:19:50] triangles: has joined #RubyOnRails
[06:22:21] dudepare: has joined #RubyOnRails
[06:28:42] Maletor: has joined #RubyOnRails
[06:29:02] roamingdog: has joined #RubyOnRails
[06:31:02] chouhoulis: has joined #RubyOnRails
[06:31:34] dionysus69: has joined #RubyOnRails
[06:31:45] draynium: has joined #RubyOnRails
[06:47:24] antgel: has joined #RubyOnRails
[06:50:18] utal: has joined #RubyOnRails
[06:51:39] utal: how to create a many to many relationship in rails
[06:52:00] pawnbox: has joined #RubyOnRails
[06:52:50] baweaver: utal have you read the guides?
[06:52:56] njero: utal: http://guides.rubyonrails.org/association_basics.html
[06:53:40] phredus: has joined #RubyOnRails
[06:55:32] benlieb: has joined #RubyOnRails
[07:00:26] pawnbox: has joined #RubyOnRails
[07:02:13] PedramT: has joined #RubyOnRails
[07:02:21] jetpack_joe: has joined #RubyOnRails
[07:03:33] idefine: has joined #RubyOnRails
[07:07:50] idefine: has joined #RubyOnRails
[07:08:39] PedramT_: has joined #RubyOnRails
[07:09:09] ishamo: has joined #RubyOnRails
[07:11:33] Devalo: has joined #RubyOnRails
[07:22:53] The_Phoenix: has joined #RubyOnRails
[07:24:21] PedramT: has joined #RubyOnRails
[07:26:25] vedu: How to use 'path helpers' for routes part of 'dynamic segments'? current code and test failure: https://gist.github.com/vedant1811/a91dbabf1c2b9341494b6af2228ca916
[07:28:41] futilegames: has joined #RubyOnRails
[07:29:29] Maletor: has joined #RubyOnRails
[07:29:30] PedramT: has joined #RubyOnRails
[07:31:46] chouhoulis: has joined #RubyOnRails
[07:37:30] sypheren: has joined #RubyOnRails
[07:39:59] Gm4n: has joined #RubyOnRails
[07:42:53] futilegames: has joined #RubyOnRails
[07:48:39] PedramT: has joined #RubyOnRails
[07:53:54] PedramT: has joined #RubyOnRails
[08:03:27] stannard: has joined #RubyOnRails
[08:04:08] tildes: has joined #RubyOnRails
[08:05:54] shibly: has joined #RubyOnRails
[08:06:04] shibly: has left #RubyOnRails: ()
[08:06:07] bronson: has joined #RubyOnRails
[08:06:35] RegulationD: has joined #RubyOnRails
[08:10:42] moeabdol: has joined #RubyOnRails
[08:14:28] Ropeney: has joined #RubyOnRails
[08:14:33] darutoko: has joined #RubyOnRails
[08:14:39] sevenseacat: has joined #RubyOnRails
[08:15:07] PedramT: has joined #RubyOnRails
[08:15:07] aghalarp: has joined #RubyOnRails
[08:20:45] PedramT: has joined #RubyOnRails
[08:20:57] arup_r: has joined #RubyOnRails
[08:25:18] PedramT_: has joined #RubyOnRails
[08:25:27] darrik: has joined #RubyOnRails
[08:26:30] siaW: has joined #RubyOnRails
[08:29:06] PedramT: has joined #RubyOnRails
[08:30:15] Maletor: has joined #RubyOnRails
[08:32:31] chouhoulis: has joined #RubyOnRails
[08:36:26] pawnbox: has joined #RubyOnRails
[08:38:28] madebymarkca: has joined #RubyOnRails
[08:44:48] Spami: Anyone using stripe?
[08:45:09] Spami: I'm having troubles understanding how I can pass with plan the user is subscribing to in the form?
[08:45:23] skroon: has joined #RubyOnRails
[08:45:26] sevenseacat: hidden field?
[08:47:42] PedramT: has joined #RubyOnRails
[08:47:43] Spami: you can't add hidden field with the embedded form
[08:48:04] sevenseacat: you didnt mention which integration method you were using
[08:48:16] sevenseacat: which one are you using?
[08:48:29] Spami: yep sorry, simple embedded form
[08:48:42] sevenseacat: so... you've built a form?
[08:48:48] Spami: no, it's pre-made
[08:48:58] Spami: https://stripe.com/docs/checkout/tutorial
[08:49:09] sevenseacat: right, so you're using stripe checkout
[08:49:46] Spami: oh my bad, actually I might be able to
[08:50:12] sevenseacat: https://stripe.com/docs/recipes/subscription-signup
[08:52:10] meoblast001: has joined #RubyOnRails
[08:54:54] Spami: ah yes it works
[08:55:03] Spami: for some reason I forgot about the form
[08:55:10] Spami: I should not work on Sunday
[08:56:47] siaW: has joined #RubyOnRails
[08:59:49] madebymarkca: has joined #RubyOnRails
[09:01:41] petor: has joined #RubyOnRails
[09:02:57] PedramT: has joined #RubyOnRails
[09:03:48] PedramT_: has joined #RubyOnRails
[09:04:20] n008f4g_: has joined #RubyOnRails
[09:08:10] SteenJobs: has joined #RubyOnRails
[09:14:37] moeabdol: has joined #RubyOnRails
[09:15:28] FooMunki: has joined #RubyOnRails
[09:20:42] PedramT: has joined #RubyOnRails
[09:21:05] arup_r: has joined #RubyOnRails
[09:22:41] PedramT_: has joined #RubyOnRails
[09:23:32] Secretmapper: has joined #RubyOnRails
[09:23:56] triangles: has joined #RubyOnRails
[09:27:03] chipotle: has joined #RubyOnRails
[09:28:33] PedramT: has joined #RubyOnRails
[09:28:34] franzip: has joined #RubyOnRails
[09:29:32] antgel: has joined #RubyOnRails
[09:31:02] Maletor: has joined #RubyOnRails
[09:33:18] chouhoulis: has joined #RubyOnRails
[09:36:37] skroon: has joined #RubyOnRails
[09:40:36] m_abdelfattah: has joined #RubyOnRails
[09:42:28] Megamos: has joined #RubyOnRails
[09:44:44] PedramT: has joined #RubyOnRails
[09:45:47] alexhartley: has joined #RubyOnRails
[09:45:56] one_zero_h: has joined #RubyOnRails
[09:46:16] akshat: has joined #RubyOnRails
[09:48:30] srinidhi: has joined #RubyOnRails
[09:53:32] theod: has joined #RubyOnRails
[09:56:42] Meow-J: has joined #RubyOnRails
[09:57:39] PedramT: has joined #RubyOnRails
[10:00:23] dramagods: has joined #RubyOnRails
[10:00:44] tildes: has joined #RubyOnRails
[10:01:02] arBmind: has joined #RubyOnRails
[10:02:00] robbyoconnor: has joined #RubyOnRails
[10:05:02] stannard: has joined #RubyOnRails
[10:07:25] RegulationD: has joined #RubyOnRails
[10:07:58] mikecmpbll: has joined #RubyOnRails
[10:08:20] bronson: has joined #RubyOnRails
[10:08:36] GreatDanton: has joined #RubyOnRails
[10:11:05] roshanavand: has joined #RubyOnRails
[10:12:25] quazimodo: has joined #RubyOnRails
[10:14:40] jim4213: has joined #RubyOnRails
[10:17:19] alexhartley: has joined #RubyOnRails
[10:20:57] alexhart_: has joined #RubyOnRails
[10:24:52] roshanavand: has joined #RubyOnRails
[10:25:39] PedramT: has joined #RubyOnRails
[10:26:37] arup_r: has joined #RubyOnRails
[10:26:41] gingray: has joined #RubyOnRails
[10:28:50] arup_r: so when using HABTM, say between 2 models User and Group. I see while adding/removing groups to/from users, `updated_at` columns doesn't update. I'm using `#collection_singular_ids=` method to do this. I can touch like, http://stackoverflow.com/a/23923329 . Asking because there might be some naive approach for this?
[10:28:54] beilabs: has joined #RubyOnRails
[10:29:43] dangerousdave: has joined #RubyOnRails
[10:31:19] PedramT: has joined #RubyOnRails
[10:31:46] Maletor: has joined #RubyOnRails
[10:32:00] Devalo: has joined #RubyOnRails
[10:34:00] chouhoulis: has joined #RubyOnRails
[10:40:09] roshanavand: has joined #RubyOnRails
[10:49:12] lxsameer: has joined #RubyOnRails
[10:49:22] PedramT: has joined #RubyOnRails
[10:51:40] beilabs: has joined #RubyOnRails
[10:53:14] xall_: has joined #RubyOnRails
[10:58:55] Devalo: has joined #RubyOnRails
[10:59:07] Mia: has joined #RubyOnRails
[10:59:07] Mia: has joined #RubyOnRails
[11:01:36] srinidhi: has joined #RubyOnRails
[11:02:51] petor: has joined #RubyOnRails
[11:03:00] RORapprentice: has joined #RubyOnRails
[11:03:09] scepticulous: has joined #RubyOnRails
[11:06:20] RORapprentice: Hello. I have a belongs_to has_many relationship between an user_story and a story_backlog. Upon a met condition, I'd like to delete the relationship between them, such that I want user_story.story_backlog = nil and the user story removed from the story_backlog's collection
[11:07:00] RORapprentice: I looked and found dependent: :nullify, but that means that I need to first remove the user_story, but I do not want to remove it, just the relationship
[11:07:06] RORapprentice: How might I do it?
[11:08:34] Megamos: has joined #RubyOnRails
[11:10:55] skroon: has joined #RubyOnRails
[11:11:46] roshanavand: has joined #RubyOnRails
[11:13:07] PedramT: has joined #RubyOnRails
[11:16:03] Devalo: has joined #RubyOnRails
[11:18:10] RORapprentice: the solution was to do story_backlog.user_stories.delete(user_story)
[11:18:12] beilabs: has joined #RubyOnRails
[11:22:10] PedramT: has joined #RubyOnRails
[11:22:56] AzaToth: has joined #RubyOnRails
[11:27:10] triangles2: has joined #RubyOnRails
[11:29:07] PedramT: has joined #RubyOnRails
[11:31:09] FooMunki: has joined #RubyOnRails
[11:32:10] roelof: has joined #RubyOnRails
[11:32:33] Maletor: has joined #RubyOnRails
[11:33:10] glaksmono: has joined #RubyOnRails
[11:34:44] chouhoulis: has joined #RubyOnRails
[11:36:00] roelof: someone who can help me with this problem: https://www.reddit.com/r/rails/comments/4h8bcf/how_do_read_in_nested_directories/
[11:51:25] tlaxkit: has joined #RubyOnRails
[11:51:50] mikecmpbll: has joined #RubyOnRails
[11:54:01] moeabdol: has joined #RubyOnRails
[11:54:07] FooMunki: has joined #RubyOnRails
[11:56:46] Nuck: has joined #RubyOnRails
[11:57:10] Ericx2x: has joined #RubyOnRails
[11:59:55] roelof: someone who can help me with this problem: https://www.reddit.com/r/rails/comments/4h8bcf/how_do_read_in_nested_directories/
[12:01:23] solars: has joined #RubyOnRails
[12:06:29] stannard: has joined #RubyOnRails
[12:08:15] RegulationD: has joined #RubyOnRails
[12:10:19] bronson: has joined #RubyOnRails
[12:11:22] dangerousdave: has joined #RubyOnRails
[12:17:28] Devalo: has joined #RubyOnRails
[12:17:42] crameth: has joined #RubyOnRails
[12:18:13] srinidhi: has joined #RubyOnRails
[12:18:32] crameth: has joined #RubyOnRails
[12:19:57] shibly: has joined #RubyOnRails
[12:20:04] shibly: has left #RubyOnRails: ()
[12:20:18] arup_r: has joined #RubyOnRails
[12:33:17] Maletor: has joined #RubyOnRails
[12:35:25] netzfisch: has joined #RubyOnRails
[12:35:41] p1k: has joined #RubyOnRails
[12:35:50] chouhoulis: has joined #RubyOnRails
[12:36:08] _Tariq: has joined #RubyOnRails
[12:45:16] idefine: has joined #RubyOnRails
[12:48:30] PedramT: has joined #RubyOnRails
[12:49:44] mikecmpbll: has joined #RubyOnRails
[12:50:04] PedramT: has joined #RubyOnRails
[12:50:47] askhat: has joined #RubyOnRails
[12:50:49] PedramT_: has joined #RubyOnRails
[12:52:04] Devalo: has joined #RubyOnRails
[12:55:47] PedramT: has joined #RubyOnRails
[12:58:42] PedramT: has joined #RubyOnRails
[12:58:46] dionysus69: has joined #RubyOnRails
[13:00:31] tildes: has joined #RubyOnRails
[13:04:02] petor: has joined #RubyOnRails
[13:06:21] akshat: has joined #RubyOnRails
[13:06:41] PedramT: has joined #RubyOnRails
[13:07:34] Guest57947: has joined #RubyOnRails
[13:07:35] p1k: I'm having some issues identifying the source of a pretty severe memory leak -- I've described it here https://groups.google.com/forum/#!topic/rubyonrails-talk/UL7TUV1Uefk
[13:07:54] theod: has joined #RubyOnRails
[13:13:07] moeabdol: has joined #RubyOnRails
[13:18:56] roelof: has joined #RubyOnRails
[13:19:20] roelof: Can anyone help me with this problem ? https://www.reddit.com/r/rails/comments/4h8bcf/how_do_read_in_nested_directories/
[13:27:28] Disavowed: has joined #RubyOnRails
[13:27:35] flashpoint9: has joined #RubyOnRails
[13:28:27] moeabdol: has joined #RubyOnRails
[13:32:47] n008f4g_: has joined #RubyOnRails
[13:33:45] godzillaenlacasa: has joined #RubyOnRails
[13:34:06] Maletor: has joined #RubyOnRails
[13:35:36] mwlang: has joined #RubyOnRails
[13:35:53] quazimodo: has joined #RubyOnRails
[13:36:36] chouhoulis: has joined #RubyOnRails
[13:38:07] PedramT: has joined #RubyOnRails
[13:38:44] Macaveli: has joined #RubyOnRails
[13:39:25] roelof: no one , that's disappointed :(
[13:41:44] PedramT: has joined #RubyOnRails
[13:43:29] elgatorapido: has joined #RubyOnRails
[13:44:31] FooMunki: has joined #RubyOnRails
[13:44:54] roadt_: has joined #RubyOnRails
[13:48:08] roelof: Can anyone help me with this problem ? https://www.reddit.com/r/rails/comments/4h8bcf/how_do_read_in_nested_directories/ ?
[13:55:45] silentpost: has joined #RubyOnRails
[14:08:05] stannard: has joined #RubyOnRails
[14:09:00] RegulationD: has joined #RubyOnRails
[14:15:57] habitullence: has joined #RubyOnRails
[14:16:25] habitullence: has joined #RubyOnRails
[14:17:18] PedramT: has joined #RubyOnRails
[14:18:15] PedramT_: has joined #RubyOnRails
[14:19:11] triangles: has joined #RubyOnRails
[14:20:16] Hates_: roelof: the pass in your stylesheet doesn't match the path of your fonts
[14:27:14] macsteps: has joined #RubyOnRails
[14:28:56] yardenbar: has joined #RubyOnRails
[14:30:35] arup_r: has joined #RubyOnRails
[14:34:26] Devalo: has joined #RubyOnRails
[14:34:51] Maletor: has joined #RubyOnRails
[14:37:20] chouhoulis: has joined #RubyOnRails
[14:47:09] idefine: has joined #RubyOnRails
[14:49:29] skroon: has joined #RubyOnRails
[14:53:02] mwlang: has joined #RubyOnRails
[14:57:24] beilabs: has joined #RubyOnRails
[15:01:46] elgatorapido: has joined #RubyOnRails
[15:04:31] petor: has joined #RubyOnRails
[15:05:59] akshat: has joined #RubyOnRails
[15:08:24] FooMunki: has joined #RubyOnRails
[15:11:37] alexhartley: has joined #RubyOnRails
[15:12:31] bronson: has joined #RubyOnRails
[15:13:57] Pumukel: has joined #RubyOnRails
[15:18:59] mwlang: has joined #RubyOnRails
[15:22:14] l4v2: has joined #RubyOnRails
[15:23:28] mwlang: has joined #RubyOnRails
[15:24:08] pawnbox: has joined #RubyOnRails
[15:27:00] mustmodify: has joined #RubyOnRails
[15:27:17] roelof: has joined #RubyOnRails
[15:27:33] roelof: someone knows how to make this work : https://www.reddit.com/r/rails/comments/4h8bcf/how_do_read_in_nested_directories/
[15:28:56] mustmodify: I'm trying to push a very-slightly-updated version of a several-year-old Rails app to heroku. The update just has a view that will let us get out the data so we can move it to a new app. But I'm getting "undefined method `empty?' for nil:NilClass". StackOverflow says to check for Gemfile.lock problems. I did update Gemfile.lock to add a gem which, of course, updated some things. But what would I look for in Gemfile.lock to help me get past this?
[15:29:39] mwlang: has joined #RubyOnRails
[15:30:22] moeabdol: has joined #RubyOnRails
[15:30:55] roelof: mustmodify: Are you sure that the view uses the right variables. This looks more a problem there then a gem problem
[15:30:56] mustmodify: here are the changes I made. https://gist.github.com/mustmodify/05e212652db5470a4c338c31e8456881
[15:31:15] mustmodify: Well the view isn't the issue at this point. I can't get it to deploy.
[15:31:28] mustmodify: During asset precompile, I get a weird error. Let me add it to the gist.
[15:31:36] roelof: mustmodify: so everythings works well locally ?
[15:31:51] mustmodify: Yes, it's running locally.
[15:32:21] mustmodify: https://gist.github.com/mustmodify/05e212652db5470a4c338c31e8456881#file-gistfile1-txt-L11
[15:32:29] roelof: with locally I mean on your own computer or server, not on heroku
[15:32:43] IrishGringo: has joined #RubyOnRails
[15:32:58] mustmodify: yes I understand that.
[15:33:04] mustmodify: On my dev machine, it works.
[15:33:44] roelof: hmm, very wierd then
[15:34:40] jtd: has joined #RubyOnRails
[15:35:27] mustmodify: Now that you've asked...
[15:35:38] mustmodify: I tried to recompile (which I did earlier successfully) and it failed this time.
[15:35:41] Maletor: has joined #RubyOnRails
[15:36:06] mustmodify: but the app runs fine.
[15:36:24] mustmodify: Maybe I just need to use the existing precompiled assets...
[15:36:26] ensyde: has joined #RubyOnRails
[15:36:29] mustmodify: the ones I did a few minutes ago.
[15:38:03] chouhoulis: has joined #RubyOnRails
[15:38:53] benlieb: has joined #RubyOnRails
[15:41:31] DragonPunch: has joined #RubyOnRails
[15:47:59] roelof: mustmodify: Can you paste the controller and the view to be sure that there is no problem
[15:51:09] mustmodify: I committed the precompiled assets and was able to get it deployed.
[15:52:06] moeabdol: has joined #RubyOnRails
[15:52:35] roelof: nice to hear
[15:54:33] moeabdol: has joined #RubyOnRails
[15:56:35] stannard: has joined #RubyOnRails
[15:57:00] stannard: has joined #RubyOnRails
[15:57:08] Megamos: has joined #RubyOnRails
[16:01:10] yos7ph: has joined #RubyOnRails
[16:03:43] Hates_: roelof: I saw your reply on Reddit
[16:03:53] DragonPunch: has joined #RubyOnRails
[16:04:43] Hates_: roelof: the path of the fonts needs to match the path in the CSS file. Generally you would use the asset helper to generate the paths for you
[16:05:17] roelof: so I have to change the line with src ?
[16:06:04] Hates_: roelof: yes. so if your fonts are in app/assets/fonts/ then you would need url("fonts/aileron-regular.woff2") etc
[16:06:08] chouhoulis: has joined #RubyOnRails
[16:06:21] roelof: Hates_: I was hoping to make this layout working
[16:06:36] chouhoulis: has joined #RubyOnRails
[16:06:53] Hates_: roelof: if you are using sass or .css.erb files then you can use the asset helpers to make the path
[16:07:11] roelof: I can change them to sass files
[16:07:20] Hates_: roelof: http://api.rubyonrails.org/classes/ActionView/Helpers/AssetUrlHelper.html#method-i-font_path
[16:07:33] roelof: So I have to place the fonts part into fonts and change the css calls ?
[16:08:06] Hates_: roelof: the fonts can live where ever you want. you just need to make the CSS match
[16:08:26] roelof: and not let the fonts into /app/assets/css/fonts
[16:09:03] roelof: If I use the last how do I change the url parts
[16:09:11] roelof: BRB, dinner is ready
[16:09:28] Hates_: roelof: you can have them in there if you like, but then you have to change the url in your CSS to match.
[16:10:27] roelof: so it will be url(css/fonts/ <fontname> } , right ?
[16:10:43] roelof: Thanks, I almost gave up on this template
[16:12:41] alexhartley: has joined #RubyOnRails
[16:14:34] Hates_: roelof: your best bet is to use the font helpers like font_path("css/fonts/fontname") that will take care of the assets path and digests when you deploy to production
[16:16:14] DragonPunch: has joined #RubyOnRails
[16:20:53] theod: has joined #RubyOnRails
[16:25:00] thang: has joined #RubyOnRails
[16:34:43] idefine: has joined #RubyOnRails
[16:35:17] njero: has joined #RubyOnRails
[16:36:23] Maletor: has joined #RubyOnRails
[16:37:24] Didac: has joined #RubyOnRails
[16:38:12] cthulh: has joined #RubyOnRails
[16:44:47] ebbflowgo: has joined #RubyOnRails
[16:46:20] chipotle: has joined #RubyOnRails
[16:46:36] quazimodo: has joined #RubyOnRails
[16:47:22] mustmodify: has left #RubyOnRails: ()
[16:53:25] FooMunki: has joined #RubyOnRails
[16:54:39] snarkfest: has joined #RubyOnRails
[16:56:11] draynium: has joined #RubyOnRails
[16:56:20] Devalo: has joined #RubyOnRails
[16:56:21] renegadeandy: has joined #RubyOnRails
[17:01:14] skroon: has joined #RubyOnRails
[17:04:08] mwcmitchell: has joined #RubyOnRails
[17:05:20] petor: has joined #RubyOnRails
[17:06:55] fedexo: has joined #RubyOnRails
[17:08:37] benlieb: has joined #RubyOnRails
[17:10:27] RegulationD: has joined #RubyOnRails
[17:12:19] diegoviola: has joined #RubyOnRails
[17:13:16] Disavowed: has joined #RubyOnRails
[17:13:42] roeloif: has joined #RubyOnRails
[17:14:13] roeloif: Hates_: thanks, I change the css line to this : src: font_path('fonts/aileron-regular.woff2') format('woff2'), font_path('fonts/aileron-regular.woff') format('woff'),
[17:14:24] roeloif: and everything works fine
[17:14:47] roeloif: now looking for a image helper for scss files
[17:16:05] roeloif: Hates_: oke, it seems I can use image-url
[17:17:43] Hates_: roeloif: great :
[17:18:04] roeloif: google can be a good friend
[17:18:30] roeloif: last problem. where does the image get called
[17:20:20] theod: has joined #RubyOnRails
[17:22:37] roamingdog: has joined #RubyOnRails
[17:22:43] GodFather: has joined #RubyOnRails
[17:23:03] Cohedrin: has joined #RubyOnRails
[17:26:11] diegoaguilar: has joined #RubyOnRails
[17:27:45] chouhoulis: has joined #RubyOnRails
[17:28:02] Cohedrin_: has joined #RubyOnRails
[17:28:23] qejk: has joined #RubyOnRails
[17:29:04] crystal77: has joined #RubyOnRails
[17:33:44] lxsameer: has joined #RubyOnRails
[17:34:13] Devalo: has joined #RubyOnRails
[17:39:12] tildes: has joined #RubyOnRails
[17:40:28] PedramT: has joined #RubyOnRails
[17:44:50] berserk_ren: has joined #RubyOnRails
[17:45:21] Megamos: has joined #RubyOnRails
[17:47:10] Dimik: has joined #RubyOnRails
[17:47:56] roeloif: Hates_: thanks a lot, I have now the layout I wanted. See : https://ticketee-wissel.c9users.io/
[17:48:09] roeloif: tomorrow adapting it to my needs :)
[17:48:43] smathy: has joined #RubyOnRails
[17:49:42] fox_mulder_cp: roeloif: seems good
[17:50:31] fox_mulder_cp: roeloif: i use gem for image
[17:51:43] roeloif: somewhere in the book im follow carrierwave is used for images uploading
[17:53:33] mwcmitchell: has joined #RubyOnRails
[17:53:34] fox_mulder_cp: roeloif: i use it too
[17:53:34] DoctorMonocular: has joined #RubyOnRails
[17:58:28] JesseH: has joined #RubyOnRails
[18:01:16] roeloif: last question: how can I make this work in rails : <svg> <use xlink:href="assets/img/symbols.svg#bar"></use> </svg>
[18:07:16] jottr: has joined #RubyOnRails
[18:07:51] JesseH2: has joined #RubyOnRails
[18:13:54] Cohedrin: has joined #RubyOnRails
[18:14:50] alexhartley: has joined #RubyOnRails
[18:14:52] srinidhi: has joined #RubyOnRails
[18:15:35] bronson: has joined #RubyOnRails
[18:18:01] ferr: has joined #RubyOnRails
[18:20:13] agit0: has joined #RubyOnRails
[18:20:15] twi-lite: has joined #RubyOnRails
[18:21:00] beilabs: has joined #RubyOnRails
[18:21:22] theod: has joined #RubyOnRails
[18:21:54] arup_r: has joined #RubyOnRails
[18:27:34] silentpost: has joined #RubyOnRails
[18:27:39] berserk_ren: has joined #RubyOnRails
[18:37:13] Maletor: has joined #RubyOnRails
[18:39:19] PedramT: has joined #RubyOnRails
[18:40:03] Devalo: has joined #RubyOnRails
[18:43:18] pawnbox: has joined #RubyOnRails
[18:45:52] AntiSpamMeta: has joined #RubyOnRails
[18:49:28] akshat: has joined #RubyOnRails
[18:52:04] pawnbox: has joined #RubyOnRails
[18:52:48] futilegames: has joined #RubyOnRails
[18:53:33] ebbflowgo: has joined #RubyOnRails
[18:55:23] mustmodify: has joined #RubyOnRails
[18:55:29] mustmodify: So I have this memory leak.
[18:55:41] mustmodify: Any suggestions? :P
[18:56:10] mustmodify: Rails takes up more memory every pageload.
[18:57:17] gambl0re: has joined #RubyOnRails
[18:57:17] gambl0re: has joined #RubyOnRails
[19:02:57] Cache_Money: has joined #RubyOnRails
[19:06:33] petor: has joined #RubyOnRails
[19:07:43] roamingd_: has joined #RubyOnRails
[19:09:48] mustmodify: I'm sure this is super obvious. But I guess I just need to talk it through. Feel free to jump in if you already know how to do it.
[19:10:40] mustmodify: As someone maintaining a very complicated CMS for medical data, I need to provide justification of why I made an addition, change, or removed something so that we can go back and see what was going on.
[19:10:45] mustmodify: Kind of like commit messages.
[19:11:14] RegulationD: has joined #RubyOnRails
[19:11:51] mustmodify: So for instance... say there's a "field" model. And someone adds a field. As part of that addition, or if they make a change, there should be a record created indicating who did it, their reason aka "commit message", and ... basically I guess that's it.
[19:11:59] mustmodify: and obviously the nature of the change.
[19:12:39] mustmodify: and I'd really like to be able to make several changes and then commit, but that doesn't seem realistic.
[19:14:12] mustmodify: So I could either transition to using git as the backend storage for my app... which would be AWESOME if really weird...
[19:14:40] mustmodify: or I could add a Change model to my app and accepts_nested_attributes_for :change
[19:14:47] mustmodify: and then add that to all the forms and make it required.
[19:15:27] mustmodify: and I'd have to do something, presumably in the controller, to get the fields changed and dump them in some readable way, like field.changes.to_json or something
[19:15:59] yfeldblum: has joined #RubyOnRails
[19:17:52] Hates_: mustmodify: have you looked at the papertrail gem?
[19:18:09] Hates_: mustmodify: https://github.com/airblade/paper_trail
[19:18:37] Hates_: mustmodify: we're using that for change tracking
[19:18:43] mustmodify: Hates_: Doesn't ask for commit messages. The paper trail is cool, but doesn't meet the primary requirement.
[19:18:57] mustmodify: I need the commit message tied to the list of changes.
[19:21:05] Hates_: mustmodify: https://github.com/airblade/paper_trail#storing-metadata
[19:21:15] smathy: mustmodify, something like https://github.com/collectiveidea/audited then.
[19:21:47] robbyoconnor: has joined #RubyOnRails
[19:22:37] Hates_: mustmodify: you can use metadata or a custom class to store your commit messages I suppose
[19:23:15] mustmodify: smathy: WOWZA IT DOES EXIST
[19:23:34] mustmodify: smathy: I was looking for the "he does exist" clip from Harry Potter but couldn't find it.
[19:25:11] smathy: mustmodify, yep.
[19:27:38] smathy: mustmodify, you're welcome.
[19:27:40] mustmodify: smathy: Although I still like the idea of using git as a back end and being able to branch and merge data.
[19:30:02] b0un7y_: has joined #RubyOnRails
[19:30:24] rakm: has joined #RubyOnRails
[19:30:52] theod: has joined #RubyOnRails
[19:33:37] futilegames: has joined #RubyOnRails
[19:34:08] hnanon: has joined #RubyOnRails
[19:42:45] Devalo: has joined #RubyOnRails
[19:43:56] xall_: has joined #RubyOnRails
[19:46:55] moeabdol: has joined #RubyOnRails
[19:49:35] robbyoconnor: has joined #RubyOnRails
[19:54:37] roamingdog: has joined #RubyOnRails
[19:55:01] xlegoman: has joined #RubyOnRails
[19:57:21] pontiki: has joined #RubyOnRails
[19:57:38] skroon: has joined #RubyOnRails
[20:02:42] sypheren: has joined #RubyOnRails
[20:04:50] ziggles: has joined #RubyOnRails
[20:05:00] n008f4g_: has joined #RubyOnRails
[20:05:15] renegadeandy: has joined #RubyOnRails
[20:05:25] meoblast001: has joined #RubyOnRails
[20:06:23] Disavowed: has joined #RubyOnRails
[20:07:57] roshanavand: has joined #RubyOnRails
[20:15:33] Cache_Money: has joined #RubyOnRails
[20:15:33] alexhartley: has joined #RubyOnRails
[20:17:18] dangerousdave: has joined #RubyOnRails
[20:17:36] bronson: has joined #RubyOnRails
[20:18:36] frankieleef: has joined #RubyOnRails
[20:19:47] benlieb: has joined #RubyOnRails
[20:20:36] flashpoint9: has joined #RubyOnRails
[20:30:45] Devalo: has joined #RubyOnRails
[20:34:02] roshanavand: has joined #RubyOnRails
[20:34:12] triptec_: has joined #RubyOnRails
[20:35:41] rakm: has joined #RubyOnRails
[20:37:07] Radar: GOOD MORNING
[20:37:59] Maletor: has joined #RubyOnRails
[20:40:44] agit0: has joined #RubyOnRails
[20:43:38] hardtail: has joined #RubyOnRails
[20:44:23] Limix: has joined #RubyOnRails
[20:45:03] Limix: Hi all, is there a way to use an erb view as the html body of an email using mailgun?
[20:45:38] petor: has joined #RubyOnRails
[20:45:50] Limix: I guess the real question is, how can I manually render and erb file to a variable so I can then pass that to the correct mailgun method?
[20:46:23] Limix: is there something like: output = render_erb(‘path/to/erb’, model)
[20:46:28] triptec_: has joined #RubyOnRails
[20:47:11] dionysus69: has joined #RubyOnRails
[20:47:44] GodFather: has joined #RubyOnRails
[20:48:18] xall_: has joined #RubyOnRails
[20:48:45] Limix: thank you smathy
[20:48:58] Limix: yes I found it, sorry for the hasty post
[20:49:01] Radar: linhttps://github.com/jorgemanrubia/mailgun_rails
[20:49:07] Radar: https://github.com/jorgemanrubia/mailgun_rails
[20:49:31] Radar: Alternatively: https://github.com/HashNuke/mailgun#sending-mail-using-actionmailer
[20:49:38] Limix: thank you
[20:50:04] Limix: any thoughts on mailgun? So far I’m loving it, but I haven’t looked at anything else
[20:50:40] Radar: It's recommended in Rails 4 in Action's Chapter 13.
[20:50:47] DoctorMonocular: has joined #RubyOnRails
[20:50:51] Radar: imo the two best options are Mailgun and Sendgrid
[20:52:02] hardtail: Howdy ladies and gents.
[20:52:32] ebbflowgo: has joined #RubyOnRails
[20:53:22] Limix: thank you
[20:57:57] Hates_: hardtail: hello :)
[20:58:53] elgatorapido: has joined #RubyOnRails
[21:05:30] Pulp: has joined #RubyOnRails
[21:08:32] xall: has joined #RubyOnRails
[21:08:36] Pulp: has joined #RubyOnRails
[21:09:50] roshanavand: has joined #RubyOnRails
[21:10:04] hnanon: I have this in my view: https://gist.github.com/anonymous/9ae533d3c1cf1bad33c93ba129334022
[21:10:10] hnanon: How can I show the error in my view?
[21:12:17] pyemkey: has joined #RubyOnRails
[21:13:13] weaksauce: hnanon where is the controller code that's calling this method that has a rescue clause
[21:13:47] weaksauce: typically you'd do a render edit_path and iterate through the errors in the model that you've added
[21:15:06] hnanon: weaksauce: I have this in my controller create action: https://gist.github.com/anonymous/d9b7819a560ca418e03badfd8a3b009b
[21:18:24] SteenJobs: has joined #RubyOnRails
[21:18:47] hnanon: weaksauce: And in my view I have: https://gist.github.com/anonymous/302618684e68d85ffde39b55b02e9601
[21:18:52] hnanon: Sorry for the separate files.
[21:21:15] weaksauce: flash is for the next action. so for instance, after a redirect_to
[21:24:39] weaksauce: have you read this hnanon http://guides.rubyonrails.org/action_controller_overview.html#the-flash
[21:24:59] hnanon: weaksauce: reading now
[21:26:33] flashpoint9: has joined #RubyOnRails
[21:27:08] DoctorMonocular: has joined #RubyOnRails
[21:27:18] triptec_: has joined #RubyOnRails
[21:30:27] hnanon: weaksauce: Looks like flash.now might work since I want to show the error without redirecting?
[21:30:55] weaksauce: yeah that is the way to do it for the current request
[21:31:42] alexhartley: has joined #RubyOnRails
[21:32:10] arBmind: has joined #RubyOnRails
[21:33:45] crystal77: has joined #RubyOnRails
[21:34:09] dramagods: has joined #RubyOnRails
[21:35:02] moeabdol: has joined #RubyOnRails
[21:40:49] wenchenx_: has joined #RubyOnRails
[21:43:34] Trynemjoel: has joined #RubyOnRails
[21:46:24] roamingdog: has joined #RubyOnRails
[21:46:48] workmad3: has joined #RubyOnRails
[21:47:10] xall: has joined #RubyOnRails
[21:47:42] roshanavand: has joined #RubyOnRails
[21:47:42] triptec_: has joined #RubyOnRails
[21:48:31] SteenJobs: has joined #RubyOnRails
[21:48:57] benlieb: has joined #RubyOnRails
[21:50:23] agent_white: has joined #RubyOnRails
[21:52:20] beilabs: has joined #RubyOnRails
[21:56:00] Trynemjoel: has joined #RubyOnRails
[21:57:02] roshanavand: has joined #RubyOnRails
[22:00:35] Trynemjoel: has joined #RubyOnRails
[22:00:47] gingray: has joined #RubyOnRails
[22:02:46] jottr_: has joined #RubyOnRails
[22:05:33] croberts: has joined #RubyOnRails
[22:08:10] triptec_: has joined #RubyOnRails
[22:11:02] Trynemjoel: has joined #RubyOnRails
[22:12:28] roshanavand: has joined #RubyOnRails
[22:17:55] Megamos: has joined #RubyOnRails
[22:19:24] bronson: has joined #RubyOnRails
[22:24:01] AnoHito: has joined #RubyOnRails
[22:24:07] Trynemjoel: has joined #RubyOnRails
[22:26:16] Megamos: has joined #RubyOnRails
[22:28:32] triptec_: has joined #RubyOnRails
[22:31:11] flashpoint9: has joined #RubyOnRails
[22:34:29] crystal77: has joined #RubyOnRails
[22:37:32] crystal77: has joined #RubyOnRails
[22:38:43] Maletor: has joined #RubyOnRails
[22:41:24] n008f4g_: has joined #RubyOnRails
[22:43:13] crystal77: has joined #RubyOnRails
[22:44:52] hagarelvikingo: has joined #RubyOnRails
[22:46:20] ismaelga: has joined #RubyOnRails
[22:47:04] crystal77: has joined #RubyOnRails
[22:51:28] diegoaguilar: has joined #RubyOnRails
[22:54:47] diegoaguilar: has joined #RubyOnRails
[23:00:42] RegulationD: has joined #RubyOnRails
[23:01:30] timdotrb: has joined #RubyOnRails
[23:02:10] FooMunki: has joined #RubyOnRails
[23:04:34] dudepare: has joined #RubyOnRails
[23:06:39] roshanavand: has joined #RubyOnRails
[23:09:06] pawnbox: has joined #RubyOnRails
[23:09:29] triptec_: has joined #RubyOnRails
[23:09:47] ruid: has joined #RubyOnRails
[23:12:32] quazimodo: has joined #RubyOnRails
[23:19:37] draig: has joined #RubyOnRails
[23:20:27] GodFather: has joined #RubyOnRails
[23:23:07] moeabdol: has joined #RubyOnRails
[23:23:30] SteenJobs: has joined #RubyOnRails
[23:24:56] triptec_: has joined #RubyOnRails
[23:26:06] Ericx2x: has joined #RubyOnRails
[23:26:50] DoctorMonocular: has joined #RubyOnRails
[23:27:08] htmldrum: has joined #RubyOnRails
[23:31:55] stannard: has joined #RubyOnRails
[23:32:17] alexhartley: has joined #RubyOnRails
[23:32:54] draynium: has joined #RubyOnRails
[23:35:54] dudepare: has joined #RubyOnRails
[23:37:30] dramagods: has joined #RubyOnRails
[23:38:51] triptec_: has joined #RubyOnRails
[23:42:03] roamingdog: has joined #RubyOnRails
[23:50:52] Ericx2x: has joined #RubyOnRails
[23:52:18] roshanavand: has joined #RubyOnRails
[23:53:25] stardiviner: has joined #RubyOnRails
[23:55:58] l4v2: has joined #RubyOnRails
[23:58:45] blackhuey: has joined #RubyOnRails