« Back to channel list

#RubyOnRails - 11 May 2016

« Back 1 day Forward 1 day »
[00:03:35] cnk: What is the story about spree -> solidus? I looked at spree a couple of years ago but haven't had call to do any ecommerce so haven't been following it
[00:04:42] Radar: cnk: Spree Commerce (the company) didn't want to invest in Spree Commerce (the OSS project) and so it went to shit.
[00:05:01] Radar: The community revolted, forked Spree so that they could immediately take ownership of it and have since been improving it vastly.
[00:05:18] cnk: Sorry about the former but very glad to hear about the later
[00:05:33] darrik: has joined #RubyOnRails
[00:05:45] Radar: Yeah, the former sucked hard. If I knew about the possibility of it continuing on as a fork I would probably still be Community Manager there :)
[00:06:49] deadhound: has joined #RubyOnRails
[00:06:53] RegulationD: has joined #RubyOnRails
[00:10:58] idefine: has joined #RubyOnRails
[00:13:48] bruno-: has joined #RubyOnRails
[00:15:35] SteenJobs: has joined #RubyOnRails
[00:16:15] adamsilver: has joined #RubyOnRails
[00:16:59] adamsilver: What is the difference between "bundle exec rake generate_secret_token" and "rake secret"?
[00:17:21] adamsilver: I am not a ror coder just automating some script and I need to understand what this step is
[00:21:07] weaksauce: adamsilver bundle exec executes the next command in the context of your gemfile
[00:21:45] adamsilver: weaksauce: so "generate_secret_token" is not coming from RoR?
[00:22:09] adamsilver: I meaning it's added by the app developer not built in
[00:22:56] weaksauce: generate secret token is likely a rake task from your developer
[00:23:44] weaksauce: bundle exec rake secret will do something. the bundle exec part is tangential to the rake some_task part
[00:24:34] epetkus: has joined #RubyOnRails
[00:25:35] ekinmur: has joined #RubyOnRails
[00:27:24] deadhound1: has joined #RubyOnRails
[00:28:47] ngr: has joined #RubyOnRails
[00:29:42] deadhound: has joined #RubyOnRails
[00:30:29] pawnbox: has joined #RubyOnRails
[00:31:13] jhn: has joined #RubyOnRails
[00:35:33] Ebok: has joined #RubyOnRails
[00:37:42] adre: has joined #RubyOnRails
[00:40:07] epetkus: has joined #RubyOnRails
[00:41:57] crystal77: has joined #RubyOnRails
[00:42:59] idefine: has joined #RubyOnRails
[00:43:15] jobewan: has joined #RubyOnRails
[00:43:56] bruno-: has joined #RubyOnRails
[00:44:25] JoshGlzBrk: has joined #RubyOnRails
[00:46:42] hello9: has joined #RubyOnRails
[00:47:03] hello9: is using update_attribute considered bad practice when also using factory girl?
[00:47:04] Ropeney: has joined #RubyOnRails
[00:47:10] hello9: in a spec/test
[00:48:35] crdpink: has joined #RubyOnRails
[00:51:23] cnk: hello9: Doesn't seem bad to me but can't tell in the abstract
[00:51:53] Radar: hello9: !rule0
[00:51:53] helpa: hello9: Show rather than tell. Explaining your problem with code, stacktraces or errors is always preferred to explaining it with just text. Show us what's happening, rather than telling us. Put the code on https://gist.github.com and then give us the HTTP link to the Gist.
[00:52:01] hello9: gisting it now
[00:53:35] bruno-: has joined #RubyOnRails
[00:54:25] twilling: has joined #RubyOnRails
[00:55:54] one_zero: has joined #RubyOnRails
[00:58:23] hello9: @cnk https://gist.github.com/anonymous/017b9c506fa208422ebaf8112ed93864
[00:58:40] hello9: i warn you, i'm new to the testing game
[00:58:44] idefine: has joined #RubyOnRails
[01:00:25] epetkus: has joined #RubyOnRails
[01:00:54] hello9: sorry line 3 in the spec should be line 1
[01:00:57] cnk: OK that isn't terrible but isn't the most tasteful code in the world either.
[01:01:52] cnk: My main critique is less about the update_attribute or not and more about your test being too close to testing implementation rather than intent
[01:02:09] cnk: for a status method this simple, I might or might not bother to test
[01:02:37] hello9: the other alternative would be to do multiple instances? like like (item_without_account_type_1) etc..?
[01:03:00] cnk: when it grows more behavior - or if there are more behaviors that depend on status, then I would want to see an independent set of tests for posts for accounts of type 1 vs 2 - whch tested all the differences
[01:03:12] hello9: so that is the preferred way in general
[01:03:23] hello9: would it be in the same spec?
[01:03:26] hello9: with a separate describe?
[01:03:41] cnk: That is what I would most likely do
[01:04:39] hello9: cool thanks!
[01:04:46] cnk: or if you want to hammer home 1's behave like X and 2's like Y, separate posts with different account types and then a test with both - or successive tests for X and Y
[01:05:03] deadhound: has joined #RubyOnRails
[01:05:06] jstransky: has joined #RubyOnRails
[01:05:28] MarkAValdez: has joined #RubyOnRails
[01:05:31] cnk: the best part of rspec IMO is the output from running them verbosely - so what do you want that story to be?
[01:05:33] deadhound1: has joined #RubyOnRails
[01:05:45] cnk: that often guides my spec writing
[01:07:16] ashleyw: has joined #RubyOnRails
[01:08:12] Devalo: has joined #RubyOnRails
[01:08:18] jancel: has joined #RubyOnRails
[01:08:40] hello9: thanks that def changes my perspective
[01:09:12] stardiviner: has joined #RubyOnRails
[01:09:52] dvinciguerra: has joined #RubyOnRails
[01:09:55] jenrzzz: has joined #RubyOnRails
[01:09:55] jenrzzz: has joined #RubyOnRails
[01:09:57] harrymoreno: has joined #RubyOnRails
[01:14:30] SteenJobs: has joined #RubyOnRails
[01:14:35] deadhound: has joined #RubyOnRails
[01:19:01] idefine: has joined #RubyOnRails
[01:20:35] timdotrb: has joined #RubyOnRails
[01:20:40] dopamean1: has joined #RubyOnRails
[01:21:08] sevenseacat: has joined #RubyOnRails
[01:21:43] prgmmr: has joined #RubyOnRails
[01:26:22] bronson: has joined #RubyOnRails
[01:26:35] djbkd: has joined #RubyOnRails
[01:27:55] SteenJobs: has joined #RubyOnRails
[01:31:46] Trynemjoel: has joined #RubyOnRails
[01:34:40] viiralvx: has joined #RubyOnRails
[01:46:51] pixelhandler: has joined #RubyOnRails
[01:47:36] supernov_a: has joined #RubyOnRails
[01:50:11] chipotle: has joined #RubyOnRails
[01:51:52] emachnic: has joined #RubyOnRails
[01:52:06] jstransky: has joined #RubyOnRails
[01:52:28] AzaToth: has joined #RubyOnRails
[01:52:48] r0n4ld: has joined #RubyOnRails
[01:52:49] idefine: has joined #RubyOnRails
[01:53:53] chopin: has joined #RubyOnRails
[01:55:42] ekinmur: has joined #RubyOnRails
[01:56:27] SteenJobs: has joined #RubyOnRails
[01:57:23] workmad3: has joined #RubyOnRails
[01:57:31] Trynemjoel: has joined #RubyOnRails
[02:00:44] aloneintheworld: has joined #RubyOnRails
[02:00:49] Ebok: has joined #RubyOnRails
[02:06:49] Trynemjoel: has joined #RubyOnRails
[02:09:16] Axilla: oh man fist pumping so hard right now :D
[02:09:39] Axilla: just got single user model working with Devise + ActiveAdmin + Rolify so i can login with just the app
[02:11:29] Radar: axilla: congrats
[02:11:42] Axilla: it wouldn't have been a big deal
[02:11:50] Axilla: but when i was trying to drop the admin_user table
[02:11:55] Axilla: i accidently dropped my products table ><
[02:11:59] Axilla: huge pain in the ass lol
[02:13:27] Axilla: because i couldn't get rails to run rake:db:redo on the migrations related to that table that came afterwards
[02:13:32] emachnic: has joined #RubyOnRails
[02:13:33] Axilla: so i had to redo it all :(
[02:13:49] Axilla: i think it only runs :down anyway
[02:18:17] SteenJobs: ha great feeling
[02:19:06] Axilla: with omniauth too
[02:19:33] Axilla: nice experience for my client to only need 1 login..
[02:19:41] Axilla: and can omniauth into activeadmin
[02:24:37] idefine: has joined #RubyOnRails
[02:28:41] arBmind1: has joined #RubyOnRails
[02:38:21] adre: has joined #RubyOnRails
[02:40:15] SteenJobs: has joined #RubyOnRails
[02:41:35] kkeuning: has joined #RubyOnRails
[02:42:20] ale: has joined #RubyOnRails
[02:42:42] gambl0re: sevenseacat where art thou?
[02:43:20] kkeuning: has joined #RubyOnRails
[02:43:34] Radar: gambl0re: hiding
[02:45:07] aloneintheworld: has joined #RubyOnRails
[02:50:14] jancel: has joined #RubyOnRails
[02:55:45] Cache_Money: has joined #RubyOnRails
[03:02:29] pawnbox: has joined #RubyOnRails
[03:03:34] smoitra: has joined #RubyOnRails
[03:07:32] rafaelfranca: has joined #RubyOnRails
[03:09:46] Devalo: has joined #RubyOnRails
[03:11:04] rafaelfranca: has joined #RubyOnRails
[03:13:24] braincrash: has joined #RubyOnRails
[03:14:04] emachnic: has joined #RubyOnRails
[03:17:33] GriffinHeart: has joined #RubyOnRails
[03:19:22] wannabelyf_: has joined #RubyOnRails
[03:25:48] macsteps: has joined #RubyOnRails
[03:27:42] diegoaguilar: has joined #RubyOnRails
[03:27:58] qejk: has joined #RubyOnRails
[03:29:15] njero: has joined #RubyOnRails
[03:29:59] MaDErroR123: has joined #RubyOnRails
[03:30:35] rogue_koder: has joined #RubyOnRails
[03:32:19] wannabelife: has joined #RubyOnRails
[03:42:34] hahuang61: has joined #RubyOnRails
[03:44:52] Radar: hi wannabelife
[03:45:27] wannabelife: why isn't there any onversation going on in general
[03:45:34] wannabelife: This is my 1st use so ...
[03:46:04] wannabelife: btw thnx for the repl radar
[03:48:15] lxsameer: has joined #RubyOnRails
[03:48:47] JoshGlzBrk: has joined #RubyOnRails
[03:49:42] Radar: You've arrived at the quiet part of the day
[03:49:45] Radar: the US and EU are asleep
[03:50:26] joelwallis: has joined #RubyOnRails
[03:50:35] njero: yeah.. And IN just waking up :)
[03:51:04] joelwallis: Hi. I'm working on a Rails app where I need to write a migration file for it. I'm using the add_column to add an integer column to postgres but I don't know how to declare it as an integer
[03:51:11] joelwallis: And since I'm new to Ruby I don't even know where to lookup for documentation
[03:51:46] njero: joelwallis: http://edgeguides.rubyonrails.org/active_record_migrations.html
[03:52:48] sevenseacat: has joined #RubyOnRails
[03:53:02] webdestroya: has joined #RubyOnRails
[03:55:09] fedexo: has joined #RubyOnRails
[04:04:00] GriffinHeart: has joined #RubyOnRails
[04:08:25] RegulationD: has joined #RubyOnRails
[04:08:33] Devalo: has joined #RubyOnRails
[04:10:31] moei: has joined #RubyOnRails
[04:13:29] michael_mbp: I'm seeing something rather interesting. Rails app without RefineryCMS added (just the gem, but the engine not mounted) and it only allows the sprockets manifest that's within refinery/core from rendering.
[04:14:11] michael_mbp: if I remove the refinery gem, my top-level manifests kick in just fine (which I've renamed to main_application.css/js respectively, and added to assets initialiser for precomp).
[04:16:09] michael_mbp: what's curious is that if the manifest is processed correctly, the `stylesheet_link_tag` helper dumps a link into the DOM with etags. However, with Refinery loaded, that's no longer the case, and it's attempting to render /stylesheets/main_application.css instead.
[04:16:27] michael_mbp: Having searched through Refinery source, I can't see any obvious point where the helper is modified.
[04:18:30] SteenJobs: has joined #RubyOnRails
[04:20:23] pawnbox: has joined #RubyOnRails
[04:21:49] GriffinHeart: has joined #RubyOnRails
[04:26:29] njero: has joined #RubyOnRails
[04:27:59] kgrz: has joined #RubyOnRails
[04:29:59] jenrzzz: has joined #RubyOnRails
[04:29:59] jenrzzz: has joined #RubyOnRails
[04:37:41] Radar: hi michael_mbp
[04:39:38] maxz: has joined #RubyOnRails
[04:40:32] michael_mbp: any ideas as to what's causing breakage to `path_to_asset`?
[04:41:46] michael_mbp: actually it's `stylesheet_path`
[04:42:00] michael_mbp: when then calls path_to_asset.
[04:48:24] benlieb: has joined #RubyOnRails
[04:48:35] Ebok: has joined #RubyOnRails
[04:48:57] sneep: I've got an assets problem too. In production, my app lives under /capo/, and image_tag etc. produce src tags starting with "/capo/assets/" correctly. However, image-url() in SCSS files produces URLs like "/assets/", without the "/capo" part
[04:50:34] sneep: So all images referenced in CSS files 404
[04:51:31] rogue_koder: has joined #RubyOnRails
[04:51:51] epetkus: has joined #RubyOnRails
[04:54:50] sneep: So is there some way to tell the CSS precompiler not to use a / in front of the path?
[04:55:44] jancel: has joined #RubyOnRails
[04:57:02] pawnbox: has joined #RubyOnRails
[04:57:53] hinbody: has joined #RubyOnRails
[04:58:10] roelof: has joined #RubyOnRails
[04:58:42] roelof: someone a idea here : https://www.reddit.com/r/rails/comments/4iq67x/undefined_method_email_for_nilnilclass/
[04:59:01] tvw: has joined #RubyOnRails
[04:59:02] sevenseacat: has joined #RubyOnRails
[04:59:53] Devalo: has joined #RubyOnRails
[05:01:36] dikaio: has joined #RubyOnRails
[05:02:52] jancel: has joined #RubyOnRails
[05:04:44] pawnbox_: has joined #RubyOnRails
[05:05:49] hahuang61: has joined #RubyOnRails
[05:06:09] michael_mbp: sneep, I'm gonna open up rails and dive in through the stylesheet_link_tag helper
[05:06:18] sneep: Ah, never mind!
[05:06:23] michael_mbp: as it renders two completely different things.
[05:06:34] michael_mbp: sneep: got it working then? :)
[05:07:26] sneep: Yes. rake's precompile doesn't seem to update the paths when the CSS files don't change
[05:08:41] michael_mbp: well, for me at least, I'm getting an incorrect path for my custom manifest
[05:08:49] michael_mbp: and that's only once Refinery is loaded.
[05:09:10] sneep: I did what I wanted using config.assets.prefix, but the compiled CSS still had the old paths no matter how often I compiled, until I changed the CSS files slightly
[05:09:11] michael_mbp: got an idea brb
[05:10:18] dionysus69: has joined #RubyOnRails
[05:11:49] djellemah: has joined #RubyOnRails
[05:14:40] michael_mbp: ha progress, issue is Sprockets itself.... getting warmer.
[05:15:22] njero: Why do webservers reveal it's name and version to browsers? is there any necessity to it? Wouldn't it be revealing like Iam Mr. Pling you may attack me here.
[05:18:01] MaDErroR123: has joined #RubyOnRails
[05:19:09] sevenseacat: you're probably looking at a decision that was made 20 years ago
[05:19:35] njero: sevenseacat: like what :)
[05:19:43] webdestroya: has joined #RubyOnRails
[05:19:54] sevenseacat: ...the decision to reveal server details
[05:21:47] ravishankarjha: has joined #RubyOnRails
[05:26:17] roelof: someone a idea here : https://www.reddit.com/r/rails/comments/4iq67x/undefined_method_email_for_nilnilclass/
[05:26:52] sevenseacat: then you didnt do everything according to the book
[05:27:21] sevenseacat: you're creating a ticket without an associated user
[05:28:07] roelof: I think so, I checked yesterday evening several times and this morning one time and I see no difference
[05:29:05] mdw: has joined #RubyOnRails
[05:29:11] sevenseacat: well that code is not the same as whats in the book - that spec creates one user, then logs in as a different user
[05:29:18] sevenseacat: which section of the book are you looking at
[05:29:22] roelof: According to the book : this is taking care of it : @ticket.author = current_user
[05:29:52] bronson: has joined #RubyOnRails
[05:30:15] roelof: sevenseacat: chapter 7.2.2.
[05:30:39] roelof: but I saw this error on the end of chapter 6
[05:31:21] sevenseacat: https://github.com/rubysherpas/r4ia_examples/blob/62c9b98168c7f9a1b66ab475f7506ab7160581e0/ticketee/spec/features/creating_tickets_spec.rb
[05:31:29] sevenseacat: we log in as the user we create in the spec
[05:31:46] sevenseacat: not a separate admin
[05:31:51] Slackman1: has joined #RubyOnRails
[05:34:12] roelof: now we getting closer : expected to find text "Author: test2@example.com" in "Internet Explorer Non-standards compliance Author: #<User:0x000000039b4490> Created: less than a minute ago Edit Ticket Delete Ticket My pages are ugly!"
[05:34:48] sevenseacat: your view code is now different
[05:34:53] stardiviner: has joined #RubyOnRails
[05:35:03] sevenseacat: https://github.com/rubysherpas/r4ia_examples/blob/62c9b98168c7f9a1b66ab475f7506ab7160581e0/ticketee/app/views/tickets/show.html.erb#L21
[05:35:13] roelof: solved also
[05:35:28] roelof: and this one I have to change the factory : Trait not registered: admin
[05:35:36] bruno-: has joined #RubyOnRails
[05:36:31] sevenseacat: yes it is, in the code you posted on bitbucket.
[05:37:35] roelof: thanks, except 2 pending test everything is working
[05:37:58] sevenseacat: roelof: I really recommend double-checking all the code you write, with the code in the book
[05:38:08] roelof: very wierd, I have now the code I had when I first saw this errror
[05:38:11] sevenseacat: and then understanding why we write the code the way we do
[05:38:48] roelof: the last I try the whole time
[05:39:17] roelof: Can I use your code to double-check the code as I have doubt
[05:39:36] sevenseacat: thats why we published the code on github, thats the exact code that we write in the book.
[05:40:27] roelof: o, you one of the authors of the book ?
[05:42:33] roelof: Then I must say I find it a very good book , I understand this one better then Hartl's book
[05:45:04] kareeoleez: has joined #RubyOnRails
[05:47:27] brent__: has joined #RubyOnRails
[05:47:36] moeabdol: has joined #RubyOnRails
[05:48:44] Radar: I am the other author :)
[05:48:51] Radar: roelof: tell all your friends about the book :)
[05:50:17] rodfersou: has joined #RubyOnRails
[05:50:51] roelof: I will do
[05:51:14] roelof: I have to leave. Bringing my daugther to school
[05:51:21] roelof: again thanks and have a nice day
[05:51:36] Oog: has joined #RubyOnRails
[05:56:06] ur5us: has joined #RubyOnRails
[06:01:08] gz_rain: has joined #RubyOnRails
[06:01:53] Tichodroma: has joined #RubyOnRails
[06:03:47] ferr: has joined #RubyOnRails
[06:04:18] nozpheratu: has joined #RubyOnRails
[06:05:19] Slackman1: has joined #RubyOnRails
[06:07:24] Cork: i have a nested resource that i would like to use unique controller code and views for different parents
[06:07:46] michael_mbp: If anyone could care to take a look, it would be great https://github.com/refinery/refinerycms/issues/3178
[06:07:50] Cork: what is the best way to scope the controller/view inside the parent resource?
[06:08:45] Cork: the best i've found as of yet is resource :customer do; scope module: :customer do; end; end
[06:08:50] Cork: but it still doesn
[06:08:57] Cork: * doesn't feel correct
[06:09:52] SteenJobs: how do you rescue cancancan from ActiveRecord::RecordNotFound without rescuing from AR::RNF in the application controller and directing to a 404?
[06:10:03] SteenJobs: don’t want to be able to reveal how many objects there are
[06:11:15] sevenseacat: then you probably shouldnt be using sequential IDs in URLs
[06:11:28] Radar: Cork: https://gist.github.com/radar/07422ef2d576befa0ab591b9f9b15521
[06:11:31] sevenseacat: because there's no real way to avoid a RecordNotFound
[06:12:12] michael_mbp: SteenJobs: would FriendlyId help?
[06:12:23] Cork: Radar: ok, so the resource do; scope do; is the correct way to do it?
[06:12:27] michael_mbp: iirc, it uses unique slugs
[06:12:33] Radar: Cork: why resource do then scope do?
[06:12:34] Cork: or do you mean i shouldn't nest them?
[06:12:38] Radar: Cork: Just the scope.
[06:12:48] Cork: Radar: cause the parent resource?
[06:12:54] SteenJobs: michael_mbp: yes! thank you. based on sevenseacat’s response, it seems like that’s the much smarter solution
[06:13:06] Radar: Cork: The only thing that nesting would give you is the /:customer_id prefix which is exactly what the scope is doing.
[06:13:20] Cork: i'll give it a try, thx
[06:13:28] michael_mbp: Could someone please take a look at this when able https://github.com/refinery/refinerycms/issues/3178
[06:13:43] sevenseacat: michael_mbp: we saw it the first time you posted it
[06:13:46] michael_mbp: I've been like alice in wonderland with this :(
[06:13:53] michael_mbp: sevenseacat: and :)
[06:15:16] michael_mbp: I suppose if Refinery isn't messing with Sprockets, then potentially one of its dependencies must be doing so hmm.
[06:15:35] michael_mbp: I'm unable to confirm just yet though. Far too sleep deprived.
[06:15:44] sevenseacat: I suggest sleep then
[06:16:03] michael_mbp: If you get any ideas, please feel free to ping me
[06:17:42] czerasz: has joined #RubyOnRails
[06:17:53] stardiviner: has joined #RubyOnRails
[06:21:39] vinod: has joined #RubyOnRails
[06:22:40] jstransky: has joined #RubyOnRails
[06:26:04] DoubleMalt: has joined #RubyOnRails
[06:28:00] quazimodo: has joined #RubyOnRails
[06:29:04] Pazician: has joined #RubyOnRails
[06:30:14] Livadi: has joined #RubyOnRails
[06:30:32] jenrzzz: has joined #RubyOnRails
[06:31:11] emilkarl: has joined #RubyOnRails
[06:31:34] MaDErroR123: has joined #RubyOnRails
[06:33:14] nartes: has joined #RubyOnRails
[06:34:01] tetraktys: has joined #RubyOnRails
[06:34:13] Pazician_: has joined #RubyOnRails
[06:34:32] artto: has joined #RubyOnRails
[06:35:31] mvxlr: has joined #RubyOnRails
[06:36:49] bruno-: has joined #RubyOnRails
[06:37:15] GriffinHeart: has joined #RubyOnRails
[06:37:16] jgt: has joined #RubyOnRails
[06:38:04] tetraktys: has joined #RubyOnRails
[06:39:34] GriffinHeart: has joined #RubyOnRails
[06:39:41] adre: has joined #RubyOnRails
[06:40:36] b|ackwolf: has joined #RubyOnRails
[06:41:56] fox_mulder_cp: test failed: no conditions defined
[06:44:05] jenrzzz: has joined #RubyOnRails
[06:44:40] Ch4rAss: has joined #RubyOnRails
[06:47:30] dopamean1: has joined #RubyOnRails
[06:47:51] mdw: has joined #RubyOnRails
[06:50:16] emachnic: has joined #RubyOnRails
[06:56:56] edwinvdgraaf: has joined #RubyOnRails
[06:57:02] dopamean1: has joined #RubyOnRails
[06:57:55] armyriad: has joined #RubyOnRails
[06:58:05] Madmanden: has joined #RubyOnRails
[06:58:07] nartes: has joined #RubyOnRails
[06:58:09] Livadi: has joined #RubyOnRails
[06:59:54] brunto: has joined #RubyOnRails
[07:02:19] armyriad: has joined #RubyOnRails
[07:05:15] artto: has joined #RubyOnRails
[07:05:30] aganov: has joined #RubyOnRails
[07:09:23] r0n4ld: has joined #RubyOnRails
[07:09:35] artto: has joined #RubyOnRails
[07:10:01] comrad: has joined #RubyOnRails
[07:13:26] TvL2386: has joined #RubyOnRails
[07:14:22] xardion: has joined #RubyOnRails
[07:17:56] antgel: has joined #RubyOnRails
[07:18:51] mozzarel1: has joined #RubyOnRails
[07:22:34] Pazician: has joined #RubyOnRails
[07:24:13] dikaio: has joined #RubyOnRails
[07:24:49] Ch4rAss: has joined #RubyOnRails
[07:24:49] dionysus69: has joined #RubyOnRails
[07:31:47] bronson: has joined #RubyOnRails
[07:32:37] djellemah_: has joined #RubyOnRails
[07:33:44] artto: has joined #RubyOnRails
[07:34:14] claytonzaugg: has joined #RubyOnRails
[07:35:45] djellemah__: has joined #RubyOnRails
[07:40:44] mark_66: has joined #RubyOnRails
[07:43:53] Synthead: has joined #RubyOnRails
[07:44:26] defsdoor: has joined #RubyOnRails
[07:48:48] blackhuey: has joined #RubyOnRails
[07:51:52] emilkarl: has joined #RubyOnRails
[07:52:05] bugthing_: has joined #RubyOnRails
[07:53:04] finnnnnnnnnnn: has joined #RubyOnRails
[07:54:00] bePolite: has joined #RubyOnRails
[07:54:00] bePolite: has joined #RubyOnRails
[07:56:04] ishe: has joined #RubyOnRails
[07:56:32] artto: has joined #RubyOnRails
[08:00:44] tagaulap: has joined #RubyOnRails
[08:01:02] jsrn_: has joined #RubyOnRails
[08:06:13] bonswouar: has joined #RubyOnRails
[08:08:04] duncannz: has joined #RubyOnRails
[08:08:21] artto: has joined #RubyOnRails
[08:09:28] adre: has joined #RubyOnRails
[08:10:02] RegulationD: has joined #RubyOnRails
[08:11:28] b|ackwolf: has joined #RubyOnRails
[08:11:53] epetkus: has joined #RubyOnRails
[08:12:00] konsolebox: has joined #RubyOnRails
[08:12:35] darutoko: has joined #RubyOnRails
[08:14:59] b|ackwolf: has joined #RubyOnRails
[08:15:51] b|ackwolf: has joined #RubyOnRails
[08:16:16] drptbl: has joined #RubyOnRails
[08:16:20] artto: has joined #RubyOnRails
[08:17:34] tetraktys: has joined #RubyOnRails
[08:18:30] Synthead: has joined #RubyOnRails
[08:18:35] Pazician: has joined #RubyOnRails
[08:18:50] b|ackwolf: has joined #RubyOnRails
[08:19:45] AimlessRAven: has joined #RubyOnRails
[08:20:11] AimlessRAven: i wanna make ransack sarch with check_boxes if i have
[08:20:12] AimlessRAven: = f.search_field :name_or_company_name_cont_any_from_list, class: 'form-control'
[08:20:34] AimlessRAven: and this search for term.. i wanna make check boxes for all of my category "category_name"
[08:20:42] hahuang61: has joined #RubyOnRails
[08:20:50] AimlessRAven: and when i click on this name .. to seach for product in this category
[08:21:51] b|ackwolf: has joined #RubyOnRails
[08:22:19] haaj: has joined #RubyOnRails
[08:22:49] b|ackwolf: has joined #RubyOnRails
[08:23:37] Madmanden: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[08:25:05] ur5us: has joined #RubyOnRails
[08:25:14] weckl: has joined #RubyOnRails
[08:26:24] Ch4rAss: has joined #RubyOnRails
[08:27:00] tildes: has joined #RubyOnRails
[08:28:20] marr: has joined #RubyOnRails
[08:30:00] jancel: has joined #RubyOnRails
[08:30:31] alaing: has joined #RubyOnRails
[08:30:43] alaing: has joined #RubyOnRails
[08:30:56] alaing: Hi does anyone have experience with tinytds, sqlserver with rails. I've db:structure:dump and then trying to db:setup. Its using the structure.sql file but throws the following error TinyTds::Error: Incorrect syntax near ')'.
[08:31:10] alaing: https://gist.github.com/aliuk2012/b9865066d8d4c1f39aeecbdd71f4f1eb
[08:31:22] alaing: I tried adding ';' to the end of each statement but that still failed with the same error
[08:31:34] haaj: has joined #RubyOnRails
[08:34:50] rakm: has joined #RubyOnRails
[08:35:59] AimlessRAven: https://gist.github.com/anonymous/139a4daf792d29e0d82960e3a428524e
[08:36:03] AimlessRAven: how to make last line to work
[08:36:39] arup_r: has joined #RubyOnRails
[08:38:44] AimlessRAven: https://gist.github.com/anonymous/139a4daf792d29e0d82960e3a428524e
[08:38:48] djellemah_: has joined #RubyOnRails
[08:38:49] AimlessRAven: how to make last line to work ?
[08:39:22] mdw: has joined #RubyOnRails
[08:39:39] arup_r: what is the error from the last line?
[08:40:03] GriffinHeart: has joined #RubyOnRails
[08:40:23] alfie_max15: has joined #RubyOnRails
[08:42:21] AimlessRAven: arup_r: i dont have error .. this list my category i select one.. click search and then.. not sorted
[08:42:36] ishe: has left #RubyOnRails: ("ERC (IRC client for Emacs 24.5.1)")
[08:42:44] alfie_max15: i'm using a third party service to fetch some data, but they have hourly rate limits for the requests they would serve. How can i queue the rest of the requests i want to make and then process it later on when the limits are replenished the next hour?
[08:43:48] arup_r: what is not sorted... ? search result?
[08:44:25] arup_r: you have to do the sorting inside the controller, where you are querying the Db . Did you?
[08:44:44] AimlessRAven: yeah arup_r my first input work
[08:44:53] AimlessRAven: but now i wanna make checkboxes for my category
[08:45:08] AimlessRAven: if i include category_name_cont in my upper input
[08:45:13] AimlessRAven: its work when i type my category name
[08:45:22] arup_r: alfie_max15: schedule those requests in jobs?
[08:45:35] AimlessRAven: but i wanna make check_boxes with my categories and when i click to search result show only this categories
[08:46:37] arup_r: ok.. it is tough to help you.. because I am not getting. Still guessing, do you mean your checkbox value is not being sent to controller action?
[08:46:57] AimlessRAven: no its sent but not sorted, w8 ill show my params
[08:47:14] AimlessRAven: {"utf8"=>"✓", "q"=>{"name_or_company_name_cont_any_from_list"=>"", "category_name"=>["1", ""]}, "button"=>"", "controller"=>"corporate/brands", "action"=>"index"}
[08:47:26] AimlessRAven: but dont sort by category name
[08:48:06] arup_r: show ur controller action.. where you are querying
[08:49:06] ur5us: has joined #RubyOnRails
[08:49:15] AimlessRAven: arup_r: https://gist.github.com/anonymous/8089132dd0b164af3a94363ff8e30504
[08:49:23] alfie_max15: arup_r, you mean like using delayed_job or sidekiq ??
[08:49:33] alfie_max15: i've got my app deployed in heroku
[08:49:59] arup_r: yeah those jobs
[08:50:13] arup_r: AimlessRaven: where you did sort? you did just a search
[08:50:19] alfie_max15: using delayed_job or sidekiq would mean i would need separate workers right?
[08:50:36] AimlessRAven: arup_r: yeah search ..
[08:50:55] AimlessRAven: arup_r: i just wanna make search by check boxes.. not by input field
[08:51:00] AimlessRAven: for my category_name
[08:54:25] alfie_max15: AimlessRaven, you mean filtering results right? like we have in shopping sites?
[08:55:44] rbr: has joined #RubyOnRails
[08:56:28] Macaveli: has joined #RubyOnRails
[08:58:12] AimlessRAven: alfie_max15: yeah
[08:58:22] AimlessRAven: alfie_max15: i have = f.input :category_name_cont, as: :check_boxes, collection: Category.all.map { |c| c.name}
[08:58:37] AimlessRAven: this produce me params: "q"=>{"name_or_company_name_cont_any_from_list"=>"", "category_name_cont"=>["Health & Beauty", ""]},
[08:58:38] tvw: has joined #RubyOnRails
[08:58:42] AimlessRAven: and dont show my result
[08:58:53] AimlessRAven: dont show only product in health and beauty category
[09:01:55] emachnic: has joined #RubyOnRails
[09:03:18] stardiviner: has joined #RubyOnRails
[09:05:34] artto_: has joined #RubyOnRails
[09:07:30] blackmes1: has joined #RubyOnRails
[09:08:25] workmad3: has joined #RubyOnRails
[09:09:33] alfie_max15: has joined #RubyOnRails
[09:09:54] artto: has joined #RubyOnRails
[09:11:13] snowy: has joined #RubyOnRails
[09:16:36] jwang: has joined #RubyOnRails
[09:19:00] artto: has joined #RubyOnRails
[09:21:03] artto_: has joined #RubyOnRails
[09:22:08] yfeldblum: has joined #RubyOnRails
[09:23:04] phlegx: has joined #RubyOnRails
[09:24:49] arBmind: has joined #RubyOnRails
[09:24:54] alaing: Hi, when i run rake db:structure:load it throws this error ActiveRecord::ConnectionNotEstablished: No connection pool for ActiveRecord::Base but when I do rake db:setup it doesn't
[09:25:24] alaing: why cant I load just the structure.sql file
[09:27:05] filter5: has joined #RubyOnRails
[09:27:19] filter5: Hello guys :)
[09:27:25] phlegx: hi! I have two partials and I want to use fragment caching. One partials expires e.g. after 1 year and one partial after 5 seconds. How can I control this in the controller?
[09:27:29] duderonomy: has joined #RubyOnRails
[09:28:15] phlegx: I use render with special template path and layout path.
[09:29:43] Oog: has joined #RubyOnRails
[09:30:04] Oog: anyone know how to get as_json(:include = [:blah]) to output null for blah when it is nil?
[09:31:31] wethu: has joined #RubyOnRails
[09:33:37] bronson: has joined #RubyOnRails
[09:34:45] r0n4ld: has joined #RubyOnRails
[09:36:19] bruce_lee: has joined #RubyOnRails
[09:40:08] bruno-: has joined #RubyOnRails
[09:49:44] mdw: has joined #RubyOnRails
[09:55:11] Tichodroma: has left #RubyOnRails: ()
[09:56:54] Macaveli: has joined #RubyOnRails
[09:58:24] mdw: has joined #RubyOnRails
[10:00:25] GriffinHeart: has joined #RubyOnRails
[10:02:14] kitsuneyo: has joined #RubyOnRails
[10:04:50] kitsuneyo: i have an array of radio button options that i want to use with several different simple_form forms. it looks a bit like this: [['foo', 'Option 1'], ['bar', 'Option 2], ['moo', 'Option 3']]. where i can put this so i can call it from each form?
[10:06:13] kitsuneyo: i guess just in a helper?
[10:07:44] jraphael: has joined #RubyOnRails
[10:09:14] njero: has joined #RubyOnRails
[10:11:31] RegulationD: has joined #RubyOnRails
[10:14:59] artto: has joined #RubyOnRails
[10:18:48] jancel: has joined #RubyOnRails
[10:19:21] ur5us: has joined #RubyOnRails
[10:21:26] hahuang61: has joined #RubyOnRails
[10:22:19] rubyonrails949: has joined #RubyOnRails
[10:23:01] haaj: has joined #RubyOnRails
[10:24:13] c355E3B: has joined #RubyOnRails
[10:24:46] srinidhi: has joined #RubyOnRails
[10:25:14] earfin: has joined #RubyOnRails
[10:25:31] jgt: has joined #RubyOnRails
[10:25:42] kitsuneyo: has joined #RubyOnRails
[10:28:16] r0n4ld: has joined #RubyOnRails
[10:38:45] kareeoleez: has joined #RubyOnRails
[10:40:17] kareeoleez: I am using this tutorial to build a "change password" devise form in another view: https://github.com/plataformatec/devise/wiki/How-To:-Display-a-custom-sign_in-form-anywhere-in-your-app. So far the form works as for its display but when I click to change password I am getting redirected to the root page. Any ideas ? Where should I look at ?
[10:41:43] universa1: kareeoleez: your log
[10:43:59] kareeoleez: universa1: https://gist.github.com/chrisvel/d74f14b98a7f21fd77de093b9b9be3b9
[10:44:31] universa1: kareeoleez: so?
[10:44:36] kareeoleez: only strange thing seems this line "Filter chain halted as :require_no_authentication rendered or redirected "
[10:44:50] kareeoleez: I have set the controller up with before_filter :authenticate_user!
[10:45:07] helpa: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
[10:45:24] kareeoleez: at the time I press submit I get redirected to "/" and I also get a message "you are already signed in"
[10:46:40] kareeoleez: https://gist.github.com/chrisvel/d74f14b98a7f21fd77de093b9b9be3b9
[10:46:51] kareeoleez: ah the routing
[10:47:32] qejk: has joined #RubyOnRails
[10:47:54] dvinciguerra: has joined #RubyOnRails
[10:48:06] sevenseacat: kareeoleez: you're submitting to a password reset form, which requires that there is no user logged in - you wouldnt be resetting it if you were logged in with it
[10:48:09] sevenseacat: you'd just change it
[10:48:18] sevenseacat: *password reset update action
[10:48:42] kareeoleez: so the form is wrong, I should be looking to edit password /account settings
[10:49:09] sevenseacat: actually, is PasswordsController something really new...? I'm not familiar with that in devise
[10:49:32] kareeoleez: you already gave me the solution
[10:49:49] sevenseacat: ah no, it was what I thought it was, a controller for managing password resets
[10:49:56] kareeoleez: I am using the password-edit view which is related to change your password upon lockup
[10:49:59] sevenseacat: i thought it was just called something different like PasswordResetsController
[10:50:07] kareeoleez: no it's the example from the wiki
[10:50:07] sevenseacat: which is what I would have called it, but hey
[10:50:29] sevenseacat: the example from the wiki doesnt use passwords controller, no
[10:51:26] jgt: has joined #RubyOnRails
[10:52:57] tvw: has joined #RubyOnRails
[10:56:39] ql6wlld: has joined #RubyOnRails
[10:58:43] Craigimus: has joined #RubyOnRails
[10:59:55] chipotle: has joined #RubyOnRails
[10:59:55] BaNzounet: Hey, I used to have this schemas Car <-> User, but I just changed it to have a polymorphic as proxy model Car <-> Owner <-> (User | Group) and I used to do : `includes(car: {user: ratings})`, how can I do such thing now that I've a model polymorphic model in between?
[11:01:12] MaDErroR123: has joined #RubyOnRails
[11:01:30] ql6wlld: has joined #RubyOnRails
[11:02:35] Yeomra: has joined #RubyOnRails
[11:04:12] jwang: has joined #RubyOnRails
[11:06:18] brunto: has joined #RubyOnRails
[11:06:51] GodFather: has joined #RubyOnRails
[11:07:32] andywww: has joined #RubyOnRails
[11:07:54] duderono_: has joined #RubyOnRails
[11:13:02] habitullence: has joined #RubyOnRails
[11:17:34] kareeoleez: sevenseacat: http://stackoverflow.com/questions/7014966/showing-the-devise-edit-password-screen (thank you)
[11:17:52] chipotle: has joined #RubyOnRails
[11:18:57] njero: Hi Folks, I'm running my rails app on aws eb passenger standalone. However it's not setting any cache headers. Any way to specify this.
[11:19:14] njero: i mean cache headers for assets
[11:19:46] agit0: has joined #RubyOnRails
[11:19:56] njero: in nginx i know to add it to conf file but how to do in standalone mode
[11:20:12] servzin: has joined #RubyOnRails
[11:20:14] crameth: has joined #RubyOnRails
[11:20:17] neanderslob_: has joined #RubyOnRails
[11:21:45] servzin: has joined #RubyOnRails
[11:25:56] WebDevB: has joined #RubyOnRails
[11:26:27] WebDevB: Hey guys, I'm looking for a ruby on rails dev for some ad-hoc work... It's will range from a couple of hours a month to a couple of days a month.
[11:26:30] WebDevB: Is anyone interested?
[11:26:35] pawnbox: has joined #RubyOnRails
[11:31:54] ldnunes: has joined #RubyOnRails
[11:35:29] bronson: has joined #RubyOnRails
[11:36:50] Pazician: has joined #RubyOnRails
[11:37:33] noobsu: has joined #RubyOnRails
[11:38:37] TvL2386: has joined #RubyOnRails
[11:42:19] mdw: has joined #RubyOnRails
[11:44:45] wethu: has joined #RubyOnRails
[11:45:35] kkeuning: has joined #RubyOnRails
[11:45:41] duderonomy: has joined #RubyOnRails
[11:45:50] arup_r: has joined #RubyOnRails
[11:47:20] kkeuning: has joined #RubyOnRails
[11:48:02] alfie_max15: has joined #RubyOnRails
[11:51:10] suchness: has joined #RubyOnRails
[11:52:44] suchness: I have a rails application that serves as an api to an angular2 from end. The api/rails side also hosts the admin area. so basically an api.mydomain.com and a mydomain.com. I am curious if anyone knows a good way to set the url_for host depending on whether I am linking to the api or the frontend?
[11:54:09] crameth: has joined #RubyOnRails
[11:56:43] artto_: has joined #RubyOnRails
[11:57:01] wpp: has joined #RubyOnRails
[11:57:02] alaing: can anyone "gem install bundle" ?
[11:57:23] alfie_max15: gem install bundler
[11:58:01] Palsson: has joined #RubyOnRails
[11:58:13] alaing: doh....but i'm still getting errors
[11:58:46] alaing: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: (null) (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/bundler-1.12.3.gemspec.rz)
[11:59:04] zave: has joined #RubyOnRails
[11:59:28] alfie_max15: are you trying to install in your local machine or server?
[11:59:35] alaing: local machine
[12:03:01] crameth_: has joined #RubyOnRails
[12:03:17] alfie_max15: you have some issues with your openssl certs then
[12:03:33] alaing: i'm using mac os x
[12:03:41] alaing: I havent had problems until today
[12:04:25] alfie_max15: oh, i too had this same problem some time back, but not with installing gems
[12:05:11] gambl0re: has joined #RubyOnRails
[12:05:11] gambl0re: has joined #RubyOnRails
[12:05:59] crameth__: has joined #RubyOnRails
[12:06:32] andrew9184: has joined #RubyOnRails
[12:07:03] alfie_max15: alaing, you might want to take up this issue with people at #rubygems
[12:07:25] alaing: thanks ask them
[12:11:39] Fernando-Basso: has joined #RubyOnRails
[12:18:55] BlacksmithMetash: has joined #RubyOnRails
[12:19:53] MaDErroR123: has joined #RubyOnRails
[12:20:17] artto: has joined #RubyOnRails
[12:20:40] moep: has joined #RubyOnRails
[12:21:38] GodFather: has joined #RubyOnRails
[12:21:42] jancel: has joined #RubyOnRails
[12:22:00] adlerdias_: has joined #RubyOnRails
[12:22:11] hahuang61: has joined #RubyOnRails
[12:23:20] adlerdias: has joined #RubyOnRails
[12:32:54] silverdust: has joined #RubyOnRails
[12:36:36] bronson: has joined #RubyOnRails
[12:37:54] Craigimus: has joined #RubyOnRails
[12:40:04] Detch: has joined #RubyOnRails
[12:42:39] bruno-: has joined #RubyOnRails
[12:46:44] alfie_max15: has joined #RubyOnRails
[12:54:57] chouhoulis: has joined #RubyOnRails
[12:55:07] tildes: has joined #RubyOnRails
[12:55:33] ramortegui: has joined #RubyOnRails
[12:56:28] wolfravenous: has joined #RubyOnRails
[13:01:58] d0nn1e: has joined #RubyOnRails
[13:02:12] kareeoleez: how is it possible to stay on page while my form doesn't validate and displays errors ? Instead of redirecting
[13:02:19] kitsuneyo: is rails 5 out yet?
[13:02:31] universa1: kitsuneyo: rubygems.org
[13:02:34] elaptics: kitsuneyo: RC 1 is out at the moment, not the final release
[13:02:48] universa1: kareeoleez: don't redirect? use render?
[13:02:59] kitsuneyo: thanks elaptics
[13:04:55] alaing: has joined #RubyOnRails
[13:05:07] kareeoleez: universa1: what arguments ?
[13:05:20] universa1: kareeoleez: what?
[13:06:08] alaing: I'm having problems with a migration I have this line in migration 'change_column_null :store_forms, :title, false' but its not making the column not nullable when i look at schema.rb
[13:06:40] elaptics: kareeoleez: render the template name, e.g. the common pattern for e.g. a create action is if @foo.save; redirect some_path; else render "new"; end
[13:06:50] kareeoleez: universa1: I am getting a Missing template for the render @<model>
[13:07:35] kareeoleez: universa1: actually the form is related to another controller than the one I am using
[13:07:49] elaptics: kareeoleez: !code
[13:07:49] helpa: kareeoleez: We cannot help you with your problem if you don't show us your code. Please put it on http://gist.github.com and give us the URL so we can see it.
[13:11:38] kareeoleez: universa1: https://gist.github.com/chrisvel/131eae86d14300fa9dea65aae6ffce53
[13:11:45] kareeoleez: universa1: not sure what should I share
[13:12:34] mrgreenfur: has joined #RubyOnRails
[13:12:46] kareeoleez: I have a controller "system_settings" which renders a form "admin_Settings.html.erb" and it renders template "edit.html.erb" which includes the code I posted
[13:13:16] kareeoleez: universa1: so the edit form fails, but I can't render error messages on page but just redirect to anywhere with a notice
[13:13:59] kareeoleez: I'd by glad to get some help for this little issue
[13:15:50] |2701: has joined #RubyOnRails
[13:18:59] artto: has joined #RubyOnRails
[13:20:46] mdw: has joined #RubyOnRails
[13:25:57] elaptics: kareeoleez: add the system settings controller to the gist and the edit template you're referring to. Can you clarify the specific issue too. Which controller are you hitting and what error are you seeing. Add any log output for the request to the gist too
[13:28:06] safetypin: has joined #RubyOnRails
[13:28:36] flashpoint9: has joined #RubyOnRails
[13:29:44] Ebok: has joined #RubyOnRails
[13:31:13] dvinciguerra: has joined #RubyOnRails
[13:31:19] tvw: has joined #RubyOnRails
[13:36:45] eljimbo: has joined #RubyOnRails
[13:41:31] roamingdog: has joined #RubyOnRails
[13:42:00] arup_r: has joined #RubyOnRails
[13:42:07] b|ackwolf: has joined #RubyOnRails
[13:44:36] VeryBewitching: has joined #RubyOnRails
[13:46:05] emachnic: has joined #RubyOnRails
[13:46:24] jobewan: has joined #RubyOnRails
[13:46:32] mdw: has joined #RubyOnRails
[13:46:51] emachnic_: has joined #RubyOnRails
[13:47:20] mdw: has joined #RubyOnRails
[13:47:54] Yeomra: has joined #RubyOnRails
[13:48:26] pawnbox: has joined #RubyOnRails
[13:49:14] brightchimp: has joined #RubyOnRails
[13:49:53] pawnbox: has joined #RubyOnRails
[13:50:11] smathy: has joined #RubyOnRails
[13:50:14] dikaio: has joined #RubyOnRails
[13:51:06] jancel: has joined #RubyOnRails
[13:51:46] aegis3121: has joined #RubyOnRails
[13:52:03] kareeoleez: elaptics: https://gist.github.com/chrisvel/131eae86d14300fa9dea65aae6ffce53
[13:52:27] iamvery: has joined #RubyOnRails
[13:52:51] kareeoleez: elaptics: I have a SystemSettings controller which renders index view. The index view includes a render to the devise's edit password form
[13:53:20] kareeoleez: elaptics: so when I am saving the form, I am located inside the System_settings#index action/view
[13:53:58] kareeoleez: the edit password form submits and If any error, it must be rendered with errors probably
[13:54:03] kareeoleez: this is the part I am missing
[13:55:31] yellow5: has joined #RubyOnRails
[13:57:11] HalcyonicStorm: has joined #RubyOnRails
[14:00:52] alfie_max15: has joined #RubyOnRails
[14:04:30] agit0: has joined #RubyOnRails
[14:05:18] diegoaguilar: has joined #RubyOnRails
[14:06:28] smathy: kareeoleez, you're new right? A standard http request is a stateless request, response loop architecture. It doesn't help to think of being inside a server-side method when you're saving the form.
[14:06:56] chouhoulis: has joined #RubyOnRails
[14:07:20] Pazician: has joined #RubyOnRails
[14:07:29] smathy: kareeoleez, the index method may have been the one that sent the form to the browser in the previous response, but saving the form is a new request that will be handled by whatever controller method the form's URL/method routes to.
[14:08:11] kareeoleez: smathy: they are not nested
[14:08:11] startupality: has joined #RubyOnRails
[14:08:56] kareeoleez: smathy: are you saying that I need to pass the error messages to the parent form ?
[14:09:45] fmcgeough: has joined #RubyOnRails
[14:11:28] Ebok: has joined #RubyOnRails
[14:12:02] akshat: has joined #RubyOnRails
[14:13:17] tildes: kareeoleez: looking at your code bits, I'm not even sure where the errors would be generated. also I am not sure if this is device-specific as you have the devise_error_messages! call in your view
[14:13:23] benlieb: has joined #RubyOnRails
[14:13:43] tildes: I think normally with rails views you either use flash messages, or you pass the errors back to the view
[14:13:53] kareeoleez: flash messages
[14:14:06] tildes: also I wonder if your filename should be _admin_setup.html.erb
[14:14:12] elaptics: kareeoleez: please add the system controller index view to the gist so I can see what you have there
[14:14:13] kareeoleez: but I have no chance without refreshing the whole page
[14:14:30] kareeoleez: tildes: the filenames are just typed
[14:14:35] tildes: even to show flash message you would need to capture the error and put it out there
[14:14:39] kareeoleez: elaptics: I added it
[14:14:45] kareeoleez: elaptics: it has nothing inside
[14:14:51] alfie_max15: has left #RubyOnRails: ("Ex-Chat")
[14:14:55] kareeoleez: tildes: this makes sense
[14:14:59] tildes: kareeoleez: sure, but there is no way I can know if you have made the same typo in your codebase
[14:15:15] kareeoleez: tildes: but I won't do anything without redirecting
[14:15:19] kareeoleez: rendering won't work
[14:15:23] tildes: I have no idea what devise_error_messages! does or if it is related
[14:15:33] kareeoleez: sorry guys & ladies I'll be right back
[14:15:34] elaptics: kareeoleez: your index template is empty? So I have no idea where you're rendering that _admin_setup partial then.
[14:15:43] tildes: redirecting is probably a different question altogether
[14:15:59] Ebok: has joined #RubyOnRails
[14:16:38] tildes: maybe kareeoleez wants to use ajax after all?
[14:16:46] elaptics: tildes: ¯\_(ツ)_/¯
[14:16:57] tildes: elaptics: yes, exactly :D
[14:16:59] roshanavand: has joined #RubyOnRails
[14:17:08] tildes: but it's fun to guess sometimes
[14:17:48] artto: has joined #RubyOnRails
[14:17:57] Ebok: has joined #RubyOnRails
[14:18:43] elaptics: I'm not really sure I even know what the actual problem is yet...
[14:19:24] tildes: elaptics: he wanted error messages, that's what I got out of it
[14:20:22] jsrn_: has joined #RubyOnRails
[14:21:23] bruno-: has joined #RubyOnRails
[14:22:52] blackmes1: has joined #RubyOnRails
[14:22:53] hahuang61: has joined #RubyOnRails
[14:23:56] Malgorath: has joined #RubyOnRails
[14:24:19] cnk: has joined #RubyOnRails
[14:24:49] Ch4rAss: has joined #RubyOnRails
[14:25:33] raldu: has joined #RubyOnRails
[14:25:37] LastWhisper____: has joined #RubyOnRails
[14:27:07] HalcyonicStorm: has left #RubyOnRails: ()
[14:29:16] idefine: has joined #RubyOnRails
[14:29:58] SteenJobs: has joined #RubyOnRails
[14:30:45] diegoviola: has joined #RubyOnRails
[14:33:23] iamvery: has joined #RubyOnRails
[14:34:14] akshat_: has joined #RubyOnRails
[14:34:41] crankharder: does anyone know what options rails/pipeline passes to Uglifier when compiling a JS file?
[14:37:24] tubbo: crankharder: this will tell you https://github.com/rails/sprockets/blob/master/lib/sprockets/uglifier_compressor.rb
[14:37:44] jancel: has joined #RubyOnRails
[14:37:48] bronson: has joined #RubyOnRails
[14:38:11] Devalo: has joined #RubyOnRails
[14:39:45] crankharder: looks like just comments:true ?
[14:39:48] [Butch]: has joined #RubyOnRails
[14:41:14] crankharder: trying to figure out why uglifier is stripping my if block here and all three methods on the prototype: https://gist.github.com/anonymous/63dff28f44b7e9ad61076de5efe81759
[14:42:48] rbr: has joined #RubyOnRails
[14:43:59] benlieb: has joined #RubyOnRails
[14:44:43] Diabolik: if you're moving all of your mailer functionality to a third party, what's the best way of strucutring it? Moving all the API calls into servies?
[14:44:59] lxsameer: has joined #RubyOnRails
[14:46:01] macsteps: has joined #RubyOnRails
[14:46:16] [Butch]: has joined #RubyOnRails
[14:46:18] kareeoleez: has joined #RubyOnRails
[14:48:01] kgrz: has joined #RubyOnRails
[14:48:08] kareeoleez: elaptics: my index template has a render template: users/edit
[14:48:15] rbr: has joined #RubyOnRails
[14:51:06] Devalo: has joined #RubyOnRails
[14:53:11] agent_white: has joined #RubyOnRails
[14:57:56] tubbo: crankharder: why are you wrapping that definition in a conditional?
[14:58:22] maxz: has joined #RubyOnRails
[14:58:30] mildfate: has joined #RubyOnRails
[14:59:00] mildfate: Hi all, I have a ruby on rails app with a page that's running very slow
[14:59:13] mildfate: What's a good way to find the cause of the slowness from the console?
[15:01:05] tubbo: mildfate: well you could look in the logs to see what part of the page load is taking so long, maybe it's the query you're running or the way you're rendering the view.
[15:01:07] smathy: mildfate, check your logs.
[15:01:09] Papierkorb: mildfate: read logs and look if e.g. it's the database that's being slow. Use rack mini profiler: https://github.com/MiniProfiler/rack-mini-profiler Make sure your server is up to standards
[15:01:16] tubbo: haha oh man
[15:01:20] tubbo: spam time
[15:01:39] bruno-: has joined #RubyOnRails
[15:01:59] Papierkorb: mildfate: Make sure your hardware is okay too. One server once came to a crawl when one of the RAIDed HDDs was about to fail.
[15:02:44] mildfate: is there a better more interactive way that I can profile via the console rather than reading logs?
[15:02:46] elaptics: kareeoleez: you said it was empty - but it's not? Add it to the gist
[15:02:57] elaptics: kareeoleez: much easier than me guessing things
[15:03:03] mildfate: Further, I don't want to have to add a dependency, otherwise I need to do a deployment
[15:03:09] Papierkorb: mildfate: rack mini profiler with flamegraphs is pretty 'interactive'
[15:03:42] mildfate: Papierkorb: I don't have rack-mini-profiler
[15:03:57] Papierkorb: Then get it.
[15:04:23] Papierkorb: Or read myriads of logs and tinker around. What else do you expect from a 'console' driven analysis?
[15:04:55] Papierkorb: Someone has to collect more in-depth data, and rack mini profiler is one of the gems good at it (and easy to use).
[15:04:57] iamvery: has joined #RubyOnRails
[15:05:57] Ch4rAss: has joined #RubyOnRails
[15:06:36] kareeoleez: elaptics: sorry I meant that the controller is empty, the view is "almost" empty https://gist.github.com/chrisvel/131eae86d14300fa9dea65aae6ffce53
[15:07:17] tubbo: mildfate: in theory you could just add it to Gemfile on the server and bundle
[15:07:23] tubbo: without doing a deploymnet
[15:07:26] tubbo: deployment*
[15:07:31] chocoelho: has left #RubyOnRails: ("Leaving")
[15:07:39] artto: has joined #RubyOnRails
[15:08:30] mildfate: Papierkorb: I was expecting something along the lines of using Benchmark, would that not be sufficient?
[15:08:40] tanuki: has joined #RubyOnRails
[15:08:44] Malgorath: Anyone else having issues reaching rubyonrails.org site?
[15:08:57] Malgorath: ah nvm it just started working again
[15:09:31] Papierkorb: mildfate: Well, of course you can do some calls and time them in the console if you suspect a specific function to be the culprit. But, if you don't have an idea in the next 5 seconds, using that gem which will tell you outright (with flamegraphs) where the issues are, you're wasting your time
[15:10:07] mildfate: where can I go to do the flamegraph stuff?
[15:10:20] Papierkorb: See the github link I posted, it explains everything
[15:13:06] RegulationD: has joined #RubyOnRails
[15:13:25] py4_: has joined #RubyOnRails
[15:15:39] artto_: has joined #RubyOnRails
[15:15:47] kareeoleez: elaptics: IF I do render 'system_settings/index', object: @system_setting, then it fails again because in system_settings#index there are other objects also
[15:15:56] hiddenloop: has joined #RubyOnRails
[15:16:16] crystal77: has joined #RubyOnRails
[15:16:26] jowiar: has joined #RubyOnRails
[15:16:29] elaptics: kareeoleez: I'm not too familiar with devise but you'll need to make sure that resource is getting set to the @user object you've just updated (or attempted to) so that when that partial gets rendered it has your failed attributes.
[15:16:46] elaptics: kareeoleez: what errors are you actually getting currently?
[15:17:20] roelof: has joined #RubyOnRails
[15:17:24] chopin: has joined #RubyOnRails
[15:17:44] artto: has joined #RubyOnRails
[15:17:57] startupality: has joined #RubyOnRails
[15:17:57] roelof: Radar: Almost worked trough chapter 7 and I still like it
[15:19:55] kareeoleez: elaptics: well no errors right now except that I can't get it with rendering form's errors in place without refreshing the whole page
[15:21:40] artto_: has joined #RubyOnRails
[15:22:51] elaptics: kareeoleez: is this what you want to do? https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-password
[15:22:55] akshat: has joined #RubyOnRails
[15:23:34] jhack: has joined #RubyOnRails
[15:23:54] tw1sted: has joined #RubyOnRails
[15:24:00] artto: has joined #RubyOnRails
[15:26:16] kitsuneyo: i have a model Person, and each Person has_one Image. in my @person form i have fields_for @person.image. The fields show up in my form when @person.image already exists. but i can't create a *new* @person.image from the form. how do i create a new @person.image record?
[15:26:55] Mia: has joined #RubyOnRails
[15:26:55] Mia: has joined #RubyOnRails
[15:27:00] LastWhisper____: has joined #RubyOnRails
[15:27:31] kareeole_: has joined #RubyOnRails
[15:28:11] artto_: has joined #RubyOnRails
[15:28:22] LastWhisper____: hey guys, i've got a model where the settings are in a json column, and when I access them, they are within a hash like this: {"day_rules"=>
[15:28:22] LastWhisper____: [{"day_code"=>0, "events_per_day"=>1, "open"=>false},
[15:28:22] LastWhisper____: {"day_code"=>1, "events_per_day"=>1, "open"=>false}]} -- is there any way I can detect .changes on events_per_day ?
[15:29:07] chopin: has joined #RubyOnRails
[15:29:38] epochwolf: LastWhisper____: only by manually inspecting the before and after states.
[15:30:21] Veejay: has joined #RubyOnRails
[15:30:36] kareeoleez: has joined #RubyOnRails
[15:30:58] Veejay: Hello everyone, I'd like to know if it possible to deactivate js minification/compression for a single file out of all assets?
[15:31:03] kareeoleez: elaptics: I've seen all these, well yes that's what I want to do and works
[15:31:19] kareeoleez: elaptics: the problem is that I don't have any error interaction when something goes wrong
[15:31:30] epochwolf: Veejay: you can put the file in the public folder :)
[15:31:38] elaptics: kareeoleez: what sort of errors do you want to show?
[15:31:40] kareeoleez: elaptics: If the form fails to be submitted, all I can is redirect to the same page
[15:31:48] kareeoleez: elaptics: form errors
[15:32:00] elaptics: kareeoleez: like an inline error message?
[15:32:12] kareeoleez: elaptics: but actually on the page
[15:32:28] kareeoleez: elaptics: I don't care for anything special right now, just to pass the error messages
[15:32:39] kareeoleez: elaptics: and I'll decide next
[15:33:19] Veejay: epochwolf: Well that might just work
[15:33:28] Veejay: I'll look into that, thanks
[15:34:06] kareeoleez: elaptics: so the game is on the "else" condition and render
[15:34:15] roelof: kitsuneyo: Can we see the model and the form in a gist
[15:35:22] The_Phoenix: has joined #RubyOnRails
[15:36:05] elaptics: kareeoleez: you just need to add errors by each input then. I use simple_form which does this for me. What version of rails are you using?
[15:36:16] kareeoleez: elaptics: 4.2.6
[15:36:36] kitsuneyo: sure roelof
[15:36:42] The_Phoenix: has joined #RubyOnRails
[15:36:49] kareeoleez: elaptics: well I don't want to use another gem for this project, I am keeping it small
[15:37:36] dikaio: has joined #RubyOnRails
[15:37:36] kitsuneyo: i left some stuff out because the files are long https://gist.github.com/anonymous/f937c09c502e10eb90f9c14d9419a973
[15:37:54] roelof: Is it wise to install Rails 5 when learning the basics of Rails
[15:38:22] kitsuneyo: i think my ideal solution is a link the user can click to create a new portrait/image
[15:38:22] The_Phoenix: has joined #RubyOnRails
[15:38:39] rodferso1: has joined #RubyOnRails
[15:38:48] elaptics: kareeoleez: you don't need to. Not sure if this is the best way because it's been a long since I've done it using this method cos the original helpers got removed but you could do something like f.object.errors[:attribute_name] for each one in the form
[15:38:55] kitsuneyo: roelof, might as well learn the new version instead of the old... rails 5 is apparently not fundamentally that different
[15:39:10] blackmes1: has joined #RubyOnRails
[15:39:28] The_Phoenix: has joined #RubyOnRails
[15:39:39] kareeoleez: elaptics: but If the form fails to be submitted, how should I render the current page? OR just display the errors ?
[15:39:55] elaptics: kareeoleez: what do you mean by fails to be submitted?
[15:40:01] py4_: has joined #RubyOnRails
[15:40:29] bruno-: has joined #RubyOnRails
[15:40:46] The_Phoenix: has joined #RubyOnRails
[15:41:17] roelof: kitsuneyo: I see nothing wierd on the code. I hope that someone which more experience sees the problem
[15:41:53] kitsuneyo: the problem is there's presently nothing to create the portrait record, so it just doesn't exist
[15:42:05] elaptics: kareeoleez: oh you can do it in rails 4 with `errors.get(:attribute)`
[15:42:16] kitsuneyo: thanks anyway :)
[15:42:29] kareeoleez: elaptics: ah I am think I am too bad in describing
[15:42:58] hobodave: has joined #RubyOnRails
[15:43:33] roelof: kitsuneyo: oke, so you want to store the image in the database ?
[15:44:31] tubbo: roelof: i would say no.
[15:44:46] roelof: tubbo: no, to what ?
[15:45:11] tubbo: roelof: it's better to learn on a stable version, since rails 5 isn't all that different, and not have to deal with possible errors or gems not working
[15:45:33] tubbo: in short, you should do your best to ensure that when learning a new framework, all of the errors are caused by you.
[15:45:36] roelof: kitsuneyo: I would store the path to the image not the whole image. I do not think it's wise to store images as a blob in a database
[15:45:49] emachnic: has joined #RubyOnRails
[15:46:35] Malgorath: Anyone know if its difficult to convert from an app to an engine?
[15:47:13] kitsuneyo: roelof, that's not the problem. the problem is that when a user edits a person record that doesn't already have an associated portrait record, the fields to add a new portrait record do not appear
[15:47:19] tubbo: Malgorath: it's certainly more difficult working with an app made of engines than a single monolithic thing
[15:47:28] roelof: oke, Im using now rails 4.2.5 , tubbo
[15:47:46] tubbo: but if you need to reuse a bunch of code, it's worth it
[15:48:31] Malgorath: tubbo: after a meeting yesterday I have found out they want a lot of changes that are pretty much at a restart moment so I'm wondering if I should work this as a standalone app and integrate it later into the host app they want it in
[15:48:47] roelof: kitsuneyo: oke, so lets say I have a record and no image and I want to edit so I have a image. I cannot do that ?
[15:49:02] tubbo: Malgorath: i'd say develop it as an engine from the start
[15:49:31] kitsuneyo: yeah that's it roelof.
[15:49:38] Malgorath: tubbo: okay, just a PITA to work with something that I have to keep running migrations and such for from the host app instead of just from inside the engine
[15:50:22] roelof: hmm, very wierd
[15:50:41] roelof: and the form.haml is used by the edit and the new method ?
[15:51:00] tubbo: Malgorath: well you're making a plugin aren't you?
[15:51:07] tubbo: like for some existing app
[15:51:39] Malgorath: tubbo: yeah its a plugin for Openproject.org's Comm edition
[15:51:50] macsteps: has joined #RubyOnRails
[15:52:40] lxsameer: has joined #RubyOnRails
[15:53:03] davidw: has joined #RubyOnRails
[15:53:14] tubbo: Malgorath: what i would do, if i were you, is set a local override for a git dependency (if you're using git that is)
[15:53:27] tubbo: in your Gemfile, it looks like gem 'openproject-yourplugin', github: 'malgorath/openproject-yourplugin'
[15:53:30] cd83x: has joined #RubyOnRails
[15:53:42] Malgorath: tubbo: I have that part working actually
[15:53:48] tubbo: sorry, gem 'openproject-yourplugin', github: 'malgorath/openproject-yourplugin', branch: 'master'
[15:54:01] tubbo: so just think of your engine as part of your app
[15:54:12] dANOKELOFF: has joined #RubyOnRails
[15:54:21] zackattack: has joined #RubyOnRails
[15:54:38] kitsuneyo: roelof, form.haml is only used by the edit method
[15:54:49] zackattack: I have a design pattern question. I have a need to call out to an external API service to generate a special URL - takes maybe ~5 seconds. At any given moment, I need to keep 100 of these special URLs readily accessible. What kind of design pattern should I use here?
[15:54:58] dANOKELOFF: Hi , what is the difference between a job and a worker?
[15:55:14] fryguy: dANOKELOFF: workers process jobs
[15:55:19] Malgorath: tubbo: I guess. Just hard to be editing in one area and my project to run stuff is in another
[15:55:22] greghoggard: has joined #RubyOnRails
[15:55:22] zackattack: One option is to keep about 100 in a redis queue, and then any time that I take one out of the queue, generate a new one...
[15:55:39] tubbo: them's the breaks
[15:56:45] dANOKELOFF: fryguy, Sorry I don't understand the difference between a Job with Active Job and a Sidekiq Worker ?
[15:56:50] kgrz: has joined #RubyOnRails
[15:57:54] zackattack: dANOKELOFF: sidekiq workers are like enhanced activejobs.
[15:58:09] tubbo: uhh, no...
[15:58:21] tubbo: activejob implements the sidekiq/worker api so in essence, that is backwards.
[15:58:30] tubbo: activejob is just another layer on top of sidekiq
[15:58:35] tubbo: (or any other queue backend)
[15:58:38] zackattack: you got that reversed, tubbo
[15:58:42] zackattack: activejob is built into rails
[15:58:45] zackattack: sidekiq is not
[15:59:49] tubbo: zackattack: true, but that doesn't matter. https://github.com/rails/rails/blob/master/activejob/lib/active_job/queue_adapters/sidekiq_adapter.rb
[16:00:20] tubbo: on ln 37, you can see that an ActiveJob job class is in fact a sidekiq worker, if you choose to use sidekiq as your queue adapter
[16:00:24] MarkAValdez: has joined #RubyOnRails
[16:00:43] tubbo: it's just a layer that abstracts away the actual queue backend so you don't have to rewrite a bunch of code if you want to try out e.g. rabbitmq instead of redis to store your queue.
[16:01:16] tbuehlmann: dANOKELOFF: activejob provides an interface so you can use different background worker libraries the same way. when using sidekiq, you don't have to use activejob, though, you can use sidekiqs own thingy
[16:01:33] Contigi: has joined #RubyOnRails
[16:02:30] jowiar: has joined #RubyOnRails
[16:03:33] dANOKELOFF: Ok, But the both are the same ? Just don't use Job and Worker at the same time ?
[16:04:04] tbuehlmann: if possible, just stick to activejob
[16:07:52] wolfravenous: has joined #RubyOnRails
[16:10:07] rogue_koder: has joined #RubyOnRails
[16:10:22] smathy: ...and I look up and people are conflating jobs and workers.
[16:11:05] zackattack: this is what you get when you socialize with irc nerds
[16:15:50] hoylemd: has left #RubyOnRails: ()
[16:16:06] drim: has joined #RubyOnRails
[16:16:46] mrgreenfur: anyone know how to run code / rake tasks/ etc during a migration? I need to switch column types and do some massaging
[16:16:55] mrgreenfur: i didn’t see it in the migrations guide
[16:18:14] Ch4rAss: has joined #RubyOnRails
[16:18:21] robbyoconnor: has joined #RubyOnRails
[16:19:13] mrgreenfur: oh wait looks like i can put code right in the migration
[16:21:57] kgrz: has joined #RubyOnRails
[16:23:09] tbuehlmann: mrgreenfur: yup! but remember, don't rely on code from app/ and/or lib/, since that code can change and break the migration when run again
[16:23:38] hahuang61: has joined #RubyOnRails
[16:26:58] dionysus69: has joined #RubyOnRails
[16:27:52] kgrz: has joined #RubyOnRails
[16:30:12] kgrz: has joined #RubyOnRails
[16:31:15] jgt: has joined #RubyOnRails
[16:31:42] kgrz: has joined #RubyOnRails
[16:31:52] macsteps: has joined #RubyOnRails
[16:34:00] [Butch]_: has joined #RubyOnRails
[16:34:18] kgrz: has joined #RubyOnRails
[16:34:58] kgrz: has joined #RubyOnRails
[16:35:48] kgrz: has joined #RubyOnRails
[16:36:17] claytonzaugg: has joined #RubyOnRails
[16:37:19] kgrz: has joined #RubyOnRails
[16:37:47] mrgreenfur: has joined #RubyOnRails
[16:38:29] ashleyw: has joined #RubyOnRails
[16:38:38] jancel: has joined #RubyOnRails
[16:39:10] dikaio: has joined #RubyOnRails
[16:40:04] bronson: has joined #RubyOnRails
[16:42:20] blackmes1: has joined #RubyOnRails
[16:42:31] arup_r: has joined #RubyOnRails
[16:42:40] mrgreenfur: tbuehlmann: good tip, thanks! I’m just doing some simple string parsing and reformatting so I think i’m safe… famous last words
[16:43:28] arup_r: Hi, I would like to create a string primary key for 1 of my model. I found 1 way http://stackoverflow.com/a/6714889/2767755 .. Any way to set up inside the migration only like like the first answer http://stackoverflow.com/a/6402240/2767755 .. ?
[16:44:15] arup_r: because :primary_key => 'userID' or t.primary_key :userID both creates an integer column. But I like string column
[16:44:26] arup_r: s/like/need
[16:44:51] safetypin: has joined #RubyOnRails
[16:45:29] rakm: has joined #RubyOnRails
[16:46:08] hcnewsom: has joined #RubyOnRails
[16:46:20] Craigimus: has joined #RubyOnRails
[16:46:39] artto: has joined #RubyOnRails
[16:46:58] safetypin: i'm trying to setup a dev env on my mac with apache and passenger, but i'm having trouble with gem installation: bundler puts gems in my user ~/.gems and then passenger doesn't have access to them. what's the best way to get bundler to put gems in /opt/rubies/ruby-2.3.0/lib/ruby/gems/2.3.0 instead of my user directory?
[16:47:23] manfrin: has joined #RubyOnRails
[16:48:24] agit0: has joined #RubyOnRails
[16:48:47] rorra: has joined #RubyOnRails
[16:49:06] akshat_: has joined #RubyOnRails
[16:51:13] Disavowed: has joined #RubyOnRails
[16:52:14] artto: has joined #RubyOnRails
[16:52:22] RegulationD: has joined #RubyOnRails
[16:53:48] flashpoint9: has joined #RubyOnRails
[16:54:21] akshat: has joined #RubyOnRails
[16:54:36] sypheren: has joined #RubyOnRails
[16:54:40] dikaio: has joined #RubyOnRails
[16:55:26] claytonzaugg: has joined #RubyOnRails
[16:55:41] wolfravenous: has joined #RubyOnRails
[16:56:50] blackmes1: has joined #RubyOnRails
[16:57:51] rorra: has joined #RubyOnRails
[16:58:46] hahuang61: has joined #RubyOnRails
[16:59:31] hnanon: has joined #RubyOnRails
[16:59:51] Ebok: has joined #RubyOnRails
[17:00:02] artto: has joined #RubyOnRails
[17:00:34] jowiar: has joined #RubyOnRails
[17:00:59] aegis3121: has joined #RubyOnRails
[17:01:37] roamingdog: with elasticsearch you can do response.records to get model instances instead of search results. is there a way to do result.record somehow - that is, get a model instance from a single result? or do i have to do MyModel.find(result.id) or something?
[17:01:42] Cohedrin: has joined #RubyOnRails
[17:03:21] hnanon: I have Company has many Users, User belongs to Company. Company accepts_nested_attributes for User. Can I still do something like User.create_with(email: 'me@example.com').find_or_create_by(email: 'me@example.com', phone_number: "3105554567")
[17:03:44] jowiar: has joined #RubyOnRails
[17:06:00] artto: has joined #RubyOnRails
[17:06:29] aegis3121: has joined #RubyOnRails
[17:06:41] roamingdog: hnanon: curious, what's the difference between create_with and just create?
[17:06:51] djbkd: has joined #RubyOnRails
[17:07:24] qejk: has joined #RubyOnRails
[17:08:01] lxsameer: has joined #RubyOnRails
[17:08:18] Sirecote: has joined #RubyOnRails
[17:08:22] StephenHowells: has joined #RubyOnRails
[17:08:27] blackmes1: has joined #RubyOnRails
[17:09:16] chouhoulis: has joined #RubyOnRails
[17:10:28] SteenJobs: has joined #RubyOnRails
[17:11:53] kgrz: has joined #RubyOnRails
[17:15:14] akshat_: has joined #RubyOnRails
[17:17:23] snowy: has joined #RubyOnRails
[17:17:57] Devalo: has joined #RubyOnRails
[17:18:55] akshat: has joined #RubyOnRails
[17:20:26] volk_: has joined #RubyOnRails
[17:21:03] volk_: hey guys. has anyone here gotten a chance to play with action cable yet?
[17:23:14] sneakerhax: has joined #RubyOnRails
[17:23:47] hnanon: roamingdog: See the third example in the first code block: http://apidock.com/rails/v4.0.2/ActiveRecord/Relation/find_or_create_by
[17:25:00] diego1: has joined #RubyOnRails
[17:26:05] roamingdog: hnanon: interesting, as to your question, don't see why that wouldn't work. errors?
[17:26:24] greghoggard: has joined #RubyOnRails
[17:27:56] arBmind: has joined #RubyOnRails
[17:29:08] PedramT: has joined #RubyOnRails
[17:30:34] ashleyw: has joined #RubyOnRails
[17:30:41] jgt: has joined #RubyOnRails
[17:32:08] Palsson: has joined #RubyOnRails
[17:32:09] startupality: has joined #RubyOnRails
[17:32:33] chopin_: has joined #RubyOnRails
[17:33:29] arBmind1: has joined #RubyOnRails
[17:35:11] LastWhisper____: has joined #RubyOnRails
[17:35:14] shinnya: has joined #RubyOnRails
[17:35:25] LastWhisper____: hey guys i noticed http://apidock.com/rails/Module/attr_accessor_with_default is deprecated, is there a new convention for this?
[17:36:32] blackmes1: has joined #RubyOnRails
[17:37:02] jenrzzz: has joined #RubyOnRails
[17:39:30] yellow5: has joined #RubyOnRails
[17:39:46] DoctorMonocular: has joined #RubyOnRails
[17:40:29] iMarc: has joined #RubyOnRails
[17:40:36] PedramT: has joined #RubyOnRails
[17:40:40] StephenHowells: has joined #RubyOnRails
[17:42:30] diego1: has joined #RubyOnRails
[17:44:49] bronson: has joined #RubyOnRails
[17:45:10] sypheren: has joined #RubyOnRails
[17:45:40] brunto: has joined #RubyOnRails
[17:46:50] wolfravenous: has joined #RubyOnRails
[17:47:31] polyidus: has joined #RubyOnRails
[17:48:26] enkristoffer: has joined #RubyOnRails
[17:49:16] jheathco: has joined #RubyOnRails
[17:50:45] sypheren: has joined #RubyOnRails
[17:54:16] sypheren: has joined #RubyOnRails
[17:55:52] Ebok: has joined #RubyOnRails
[17:55:57] wolfravenous: has joined #RubyOnRails
[17:58:10] jowiar: has joined #RubyOnRails
[17:59:12] macsteps: has joined #RubyOnRails
[18:02:45] chouhoulis: has joined #RubyOnRails
[18:03:04] stannard: has joined #RubyOnRails
[18:05:06] kareeoleez: what is the possible explanation of not getting error messages in a form at all ?
[18:05:16] hnanon: I have the following: https://gist.github.com/anonymous/c801a5cc617949300559318ba56d1e30
[18:05:30] jancel: has joined #RubyOnRails
[18:05:49] hnanon: I'm getting this error at line 2: undefined method `[]' for nil:NilClass
[18:06:02] emachnic: has joined #RubyOnRails
[18:06:08] JoshGlzBrk: has joined #RubyOnRails
[18:06:31] fryguy: hnanon: means params[:company][:users_attributes][0] doesn't exist
[18:07:08] fryguy: it's a string in your output, not an integer
[18:08:01] Pumukel: has joined #RubyOnRails
[18:08:57] macsteps: has joined #RubyOnRails
[18:10:29] MEATCHICKEN: Is there an event for when a cached value is selected from a text input
[18:11:39] chouhoulis: has joined #RubyOnRails
[18:15:02] stannard: has joined #RubyOnRails
[18:15:46] MarkAValdez: has left #RubyOnRails: ()
[18:16:08] idefine: has joined #RubyOnRails
[18:16:19] StephenHowells: has joined #RubyOnRails
[18:16:29] macsteps: has joined #RubyOnRails
[18:17:26] hnanon: fryguy: But it exists in the params.
[18:17:30] jenrzzz: has joined #RubyOnRails
[18:17:30] jenrzzz: has joined #RubyOnRails
[18:18:01] __Stephen_H_: has joined #RubyOnRails
[18:18:35] fryguy: hnanon: no it doesn't
[18:18:39] fryguy: the string version does, not the integer
[18:20:01] jstransky: has joined #RubyOnRails
[18:21:27] roelof: has joined #RubyOnRails
[18:21:35] sypheren: has joined #RubyOnRails
[18:21:50] suchness: How can I get access to the currently set default_url_options for action mailer?
[18:21:53] zave: has joined #RubyOnRails
[18:22:20] roelof: Radar: chapter 7 done. I think I can use that idea for a idea of mine where only a admin can create users
[18:22:21] hnanon: fryguy: I see. Thank you.
[18:23:46] suchness: Nevermind, jeez, I was mispelling something
[18:24:01] a1fa: argh :( frustrating
[18:24:07] a1fa: undefined method `metadata=' for #<Dragonfly::ActiveRecord::File id: nil, file: nil>
[18:24:25] a1fa: i am following this basic guide http://www.sitepoint.com/file-uploads-dragonfly/ with dragonfly-activerecord
[18:25:07] sypheren: has joined #RubyOnRails
[18:25:33] Coldblackice: has joined #RubyOnRails
[18:26:55] __Stephen_H_: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[18:27:32] fox_mulder_cp: Radar: hm. do u have a plans to extend your boook with using some popular gems, such as activeadmin, as example, and write your own gem?
[18:27:44] epochwolf: HAHAHAHAHAHA
[18:27:56] a1fa: metadata= method is there, but i think its # of arguments thats messing with it
[18:28:13] __Stephen_H_: has joined #RubyOnRails
[18:28:23] cd83x: has joined #RubyOnRails
[18:28:56] djbkd: has joined #RubyOnRails
[18:30:49] a1fa: well thats wierd as hell
[18:31:00] a1fa: i changed my params require (:files) and that worked
[18:31:04] mwlang: I got a weird one…basically something’s working that I didn’t expect it to. :-) I’m using simple-form combined with the bootstrap wrappers. when building and testing locally, the forms are posted to server and if validation errors exist, we’re returned to the page with problem fields highlighted in red and validation messages displayed below the fields (the expected behavior). But when I deploy the code to the staging serve
[18:31:04] mwlang: it’s doing client-side validations…that is, the form won’t even be submitted until user fixes problem fields and there’s a popup by the problem field, “Please fill out this field” — any idea how client-side validations are even happening — I certainly don’t remember turning this on anywhere.
[18:31:06] a1fa: from file to files
[18:31:30] jenrzzz_: has joined #RubyOnRails
[18:31:32] emachnic_: has joined #RubyOnRails
[18:31:41] mwlang: what’s troubling for me is totally different behavior in development/test mode vs. deployed to server.
[18:32:14] context: ^^ that right there is a sign of a craptastic irc client that sucks at irc
[18:33:00] context: mwlang: your message stopped at: when I deploy the code to the staging serve
[18:33:35] mwlang: context: geez….here’s the rest: … it’s doing client-side validations…that is, the form won’t even be submitted until user fixes problem fields and there’s a popup by the problem field, “Please fill out this field” — any idea how client-side validations are even happening — I certainly don’t remember turning this on anywhere.
[18:34:00] context: oh, that was all... gotcha
[18:34:29] context: looked like you got cut off in the middle of saying 'server'
[18:34:38] mwlang: as old as IRC is, you’d think most of the clients would get it *right* by now. :-)
[18:35:21] context: its either browser validation itself or you have something 'turning off' in dev env
[18:35:44] a1fa: odd.. dragonfly does not like "file"=>#<ActionDispatch::Http::UploadedFile:0x007fa2ad3535c0
[18:36:12] mwlang: the browser can decide to be smart about validations? :-o
[18:36:30] mwlang: ACTION goes to try same in chrome and safari (to see if it’s a Firefox thing)
[18:36:39] Devalo: has joined #RubyOnRails
[18:36:39] context: mwlang: doubt it but...
[18:36:59] context: a1fa: thats the awesome thing with duck typing. what you think is a duck, probably isnt a duck.
[18:37:28] polyidus: has joined #RubyOnRails
[18:38:01] a1fa: context: i am wondering if dragonfly has a collision with "file" attribute
[18:38:10] a1fa: that is the only difference in my code from the tutorial
[18:38:20] djbkd: has joined #RubyOnRails
[18:39:10] stannard: has joined #RubyOnRails
[18:39:47] polyidus: has joined #RubyOnRails
[18:40:13] mwlang: works the same in chrome on hitting the staging server…worse, client-side popup messages aren’t internationalized. I just need to turn it off for now. It’s cool, but it’s messing with intended behavior (some form fields are hidden until a checkbox is clicked “billing address is different from delivery address”, yet client-side validation is not allowing form submits when the checkbox is unchecked (and billing address sectio
[18:40:30] volk_: anyone here use actioncable at all
[18:40:30] a1fa: nope, not a name collision
[18:41:34] jancel: has joined #RubyOnRails
[18:45:29] pawnbox: has joined #RubyOnRails
[18:46:00] sypheren: has joined #RubyOnRails
[18:46:01] mwlang: *sigh* found it. new guy on team started working for me this week turned on an option I totally missed in code review: config.browser_validations = false in the simple_form initializer.
[18:46:31] yellow5: has joined #RubyOnRails
[18:46:32] mwlang: I had merged and deployed, but his change wasnt in my feature branch yet.
[18:46:54] greghoggard: has joined #RubyOnRails
[18:47:06] sypheren: has joined #RubyOnRails
[18:47:49] rubyonrails576: has joined #RubyOnRails
[18:48:26] djbkd: has joined #RubyOnRails
[18:48:56] a1fa: i am so confused by this error
[18:49:44] Axilla: has joined #RubyOnRails
[18:50:00] yos7ph: has joined #RubyOnRails
[18:50:35] Axilla: hey guys, question trying to think through how to handle a "featured products" feature.. i have a table its has all my products in it.. i want to be able to set a product to be featured, and add a story to it.
[18:50:41] jhack: has joined #RubyOnRails
[18:51:06] Axilla: featured products show up in a specific area and then story links to a blog post.. pretty simple i guess..
[18:51:28] B1n4r10: has joined #RubyOnRails
[18:52:00] epochwolf: axilla: add a featured products table: product_id:integer, story:text, link:string, expires_at:datetime :)
[18:52:13] epochwolf: oh, and publish_at:datetime
[18:52:26] sypheren: has joined #RubyOnRails
[18:53:18] duncannz: has joined #RubyOnRails
[18:53:18] Axilla: and then only display the last featured products hmmm
[18:53:53] Axilla: more trying to think through the admin interface as well
[18:54:11] epochwolf: axilla: only display products where the current datetime is between publish_at and expires_at :)
[18:54:16] Axilla: any ideas there.. i'm using activeadmin was thinking about having a button by each product "make featured" then take em to the page to build it out
[18:54:26] Axilla: well, i don't really want it to expire
[18:54:30] sypheren: has joined #RubyOnRails
[18:54:31] epochwolf: Yeah, you can add a button for that.
[18:54:34] Axilla: its a bit differnt than that.
[18:54:49] Axilla: cool i think i got my head around what i want to do :) always good to rubberband
[18:54:52] epochwolf: Okay. Then skip the publish/expire fields.
[18:55:05] Axilla: cool, thanks :)
[18:57:07] Ebok: has joined #RubyOnRails
[18:58:16] arBmind: has joined #RubyOnRails
[18:58:50] stannard: has joined #RubyOnRails
[19:01:01] bruno-: has joined #RubyOnRails
[19:01:29] roshanavand: has joined #RubyOnRails
[19:02:50] a1fa: tubbo: you mentioned you use dragonfly
[19:05:07] chouhoulis: has joined #RubyOnRails
[19:05:20] lxsameer: has joined #RubyOnRails
[19:10:14] Craigimus: has joined #RubyOnRails
[19:11:43] macsteps: has joined #RubyOnRails
[19:13:38] a1fa: anyone else have any experience with dragonfly gem?
[19:13:44] stannard: has joined #RubyOnRails
[19:13:51] StevenXL: Hi everyone. I am using simpleform and need a datepicker. I've searched online for about 10 minutes, but all teh solutions seem to be from 2013.
[19:13:52] lulzmachine_: has joined #RubyOnRails
[19:14:09] StevenXL: I was wondering if there was a standard / best pratice in terms of how to implement a datepicker on the site.
[19:14:38] stannard: has joined #RubyOnRails
[19:15:13] guest22: has joined #RubyOnRails
[19:15:17] a1fa: gem 'bootstrap-datepicker-rails', '1.5.0'
[19:15:23] a1fa: this is what I am using
[19:15:46] Ebok: has joined #RubyOnRails
[19:15:55] a1fa: it's ok, dont forget to convert the date to appropriate format when pulling it back from db
[19:16:11] StevenXL: a1fa: ok thank you.
[19:16:28] StevenXL: a1fa: are you using that with simpleform?
[19:17:14] a1fa: it integrates as a div class
[19:17:24] djellemah: has joined #RubyOnRails
[19:17:38] sypheren: has joined #RubyOnRails
[19:19:00] noobsu: has joined #RubyOnRails
[19:19:42] StevenXL: awesome thansk i'll take a look
[19:20:05] hcnewsom: has joined #RubyOnRails
[19:21:36] GodFather: has joined #RubyOnRails
[19:22:20] a1fa: this is pissing me off ;(
[19:22:30] a1fa: undefined method `metadata=' for #<Dragonfly::ActiveRecord::File id: nil, file: nil>
[19:22:55] njero: has joined #RubyOnRails
[19:22:56] a1fa: "attachment"=>{"file"=>#<ActionDispatch::Http::UploadedFile:0x000000043cfb00 ... }
[19:23:07] a1fa: it does not like this ^
[19:23:47] dgncn: has joined #RubyOnRails
[19:24:21] Craigimus: has joined #RubyOnRails
[19:25:57] hnanon: I have: https://gist.github.com/anonymous/dd29a9b1eb936b75312ecdd89ae86748
[19:25:58] a1fa: well it does not like File.new("public/images/lol.png") either
[19:26:15] hnanon: The transaction keeps rolling back without it telling me what the error is.
[19:26:45] ramortegui: has joined #RubyOnRails
[19:26:59] polyidus: has joined #RubyOnRails
[19:27:00] hnanon: I want to create that user if he doesn't exist. He exists if he has the email and phone in the params.
[19:27:13] tubbo: hnanon: is @user.errors.empty?
[19:28:12] hnanon: tubbo: Yes.
[19:28:50] hnanon: So, I imagine it rollsback if the user exists when doing find_or_create_by?
[19:28:54] Majadon: has joined #RubyOnRails
[19:29:35] tubbo: maybe. is @user.persisted?
[19:29:39] a1fa: well i fixed my problem
[19:29:50] |2701: has joined #RubyOnRails
[19:29:59] a1fa: require 'dragonfly'
[19:30:06] a1fa: was needed in config/application.rb
[19:30:32] tubbo: a1fa: that is usually _not_ needed, but hey if it helps go for it :)
[19:31:12] tubbo: oh wait i might be wrong about that a1fa :D we have a require 'dragonfly' in our code too
[19:31:35] a1fa: tubbo: i cracked my head for 1 hour on this :(
[19:31:40] chipotle: has joined #RubyOnRails
[19:31:57] hnanon: tubbo: Yes, @user is persisted.
[19:32:04] a1fa: tubbo: i even redid everything thinking i messed up somewhere in the instructions
[19:32:29] a1fa: rails lesson #234234 - check config/application require
[19:32:51] a1fa: btw, thanks for suggestion dragonfly, its exactly what i needed
[19:33:12] greghoggard: has joined #RubyOnRails
[19:33:16] tubbo: hnanon: yeah seems that way
[19:33:25] hcnewsom: has joined #RubyOnRails
[19:33:29] tubbo: hnanon: like it probably rolls back the SELECT call, though i'm not sure why haha
[19:33:54] chouhoul_: has joined #RubyOnRails
[19:34:31] artto: has joined #RubyOnRails
[19:34:55] hnanon: tubbo: It's preventing my company from being saved for some reason.
[19:37:37] mwlang: with sunspot solr, is there a way to have read/open timeouts set at 10 seconds, but boost that number to say 60 seconds when Sunspot.commit is called?
[19:37:45] weaksauce: has joined #RubyOnRails
[19:37:48] tubbo: hnanon: doesn't seem like that's the case.
[19:39:22] tubbo: hnanon: also, it doesn't look like that user will save with the user_params[:password] and user_params[:password_confirmation], because you never call user.save
[19:40:08] yfeldblum: has joined #RubyOnRails
[19:42:05] adre: has joined #RubyOnRails
[19:42:53] xall: has joined #RubyOnRails
[19:43:52] emachnic: has joined #RubyOnRails
[19:45:20] jenrzzz: has joined #RubyOnRails
[19:46:34] codelahoma: has joined #RubyOnRails
[19:48:32] idefine: has joined #RubyOnRails
[19:48:41] macsteps: has joined #RubyOnRails
[19:50:19] greghoggard: has joined #RubyOnRails
[19:50:33] deadhound: has joined #RubyOnRails
[19:51:48] hnanon: Is "transaction" a reserved word?
[19:51:53] hnanon: For a model.
[19:52:12] rubyonrails392: has joined #RubyOnRails
[19:52:48] hnanon: tubbo: I see.
[19:52:51] rubyonrails984: has joined #RubyOnRails
[19:53:15] hnanon: tubbo: But I don't think I need to call save.
[19:53:54] hnanon: The "create" in find_or_create_by should just save. I think so, anyway.
[19:54:32] tubbo: hnanon: it will create before that block is called.
[19:54:37] tubbo: hnanon: the block is called after the create occurs.
[19:55:57] lxsameer: has joined #RubyOnRails
[19:58:29] hnanon: tubbo: I'm looking at this: http://apidock.com/rails/ActiveRecord/Relation/find_or_create_by
[20:00:41] tubbo: oh wait sorry
[20:00:50] tubbo: i think mongoid works differently than AR in this case and i got confused
[20:00:56] GodFather: has joined #RubyOnRails
[20:01:36] neshmi: has joined #RubyOnRails
[20:02:01] roshanavand: has joined #RubyOnRails
[20:03:51] stannard: has joined #RubyOnRails
[20:03:54] yfeldblum: has joined #RubyOnRails
[20:04:30] frem_: has joined #RubyOnRails
[20:04:58] DoctorMonocular: has joined #RubyOnRails
[20:05:44] jhack: has joined #RubyOnRails
[20:05:56] hnanon: tubbo: Oh, ok.
[20:08:00] Ch4rAss: has joined #RubyOnRails
[20:08:40] jhack: has joined #RubyOnRails
[20:08:51] jancel: has joined #RubyOnRails
[20:10:40] pawnbox: has joined #RubyOnRails
[20:10:51] weaksauce: has joined #RubyOnRails
[20:11:01] arup_r: has joined #RubyOnRails
[20:12:32] mwlang: oh, boy. I have a fun one. Porting yet another rails 2.x project. This one has two database connections because it uses the 2nd database as an interface to another app by pushing data into a table and then reading data back from that table as some later time. problem is, I’m trying to set up rspec to deal with both connections and rspec is helpfully throwing away the schema and loading the primary connection’s schema.
[20:12:59] mwlang: how do I prevent the schema from being monkeyed with on that second connection?
[20:13:55] djbkd: has joined #RubyOnRails
[20:14:03] nickenchuggets: has joined #RubyOnRails
[20:14:03] nickenchuggets: has joined #RubyOnRails
[20:14:37] nickenchuggets: has joined #RubyOnRails
[20:14:37] nickenchuggets: has joined #RubyOnRails
[20:14:57] Disavowed: has joined #RubyOnRails
[20:16:37] epochwolf: mwlang: http://edgar.tumblr.com/post/52379016302/how-to-rspectest-with-multiple-databases
[20:17:58] snowy: has joined #RubyOnRails
[20:18:33] jhack: has joined #RubyOnRails
[20:18:44] dmz: has joined #RubyOnRails
[20:19:52] idefine: has joined #RubyOnRails
[20:20:23] stannard: has joined #RubyOnRails
[20:20:32] jhack_: has joined #RubyOnRails
[20:21:31] idefine: has joined #RubyOnRails
[20:21:50] mwlang: wow, I didn’t even realize the need to self-prepare the test schema (i.e. rake db:test:prepare or RAILS_ENV=test rake db:reset) was removed starting with Rails 4.1…
[20:22:00] rodfersou: has joined #RubyOnRails
[20:22:04] mwlang: all that extra work I’ve been doing by force of habit...
[20:22:38] epochwolf: Oh... I need to do that pre 4.1?
[20:22:44] epochwolf: well that explains a lot.
[20:23:01] mwlang: you don’t need to.
[20:23:06] mwlang: https://github.com/rspec/rspec-rails/issues/949
[20:23:37] tubbo: it should have given you a deprecation notice
[20:23:42] tubbo: but that's all the task does now
[20:23:49] tubbo: maybe they removed it recently?
[20:23:56] mwlang: tubbo: I typically do RAILS_ENV=test rake db:reset
[20:24:06] tubbo: yeah you still sometimes need tod o that
[20:24:16] tubbo: especially now that rake db:test:prepare isn't a thing anyore
[20:24:17] mwlang: I don’t think that’s been deprecated, but it’s just as effective.
[20:24:52] mwlang: but at least now I know why the heck my test database is getting monkeyed with.
[20:25:23] Scriptonaut: I am passing a decorated array to an interaction. I put the type as object, but it says that my decorated array is not a valid object. I tried setting it to array, and it says it's not a valid array. What type do I put on the interaction when passing it a decorated array?
[20:26:19] srinidhi: has joined #RubyOnRails
[20:26:26] startupality: has joined #RubyOnRails
[20:26:34] mwlang: epochwolf: thanks for that link.
[20:27:04] idefine: has joined #RubyOnRails
[20:29:15] chipotle: has joined #RubyOnRails
[20:30:09] djbkd: has joined #RubyOnRails
[20:31:06] Radar: fox_mulder_cp: fuck activeadmin
[20:31:10] Radar: re: [04:27:31] <fox_mulder_cp> Radar: hm. do u have a plans to extend your boook with using some popular gems, such as activeadmin, as example, and write your own gem?
[20:31:14] Radar: !activeadmin
[20:31:14] helpa: *makes a cross with fingers and says a prayer*
[20:31:15] helpa: Please do not use active_admin, rails_admin or any other gems to build your admin interfaces. Instead, build it yourself. This will lead you to a safe path of understanding of the code, rather than to the Hell that is those gems.
[20:31:27] helpa: talk to epochwolf about ActiveAdmin
[20:31:33] epochwolf: OH HELL NO.
[20:32:07] epochwolf: Actually, leave it. I need a good, decent reason to bitch someone out for 3 hours.
[20:34:13] Radar: fox_mulder_cp: as for writing your own gem I have two guides
[20:34:14] Radar: fox_mulder_cp: https://github.com/radar/guides/blob/master/gem-development.md
[20:34:17] Radar: fox_mulder_cp: !engines
[20:34:17] helpa: fox_mulder_cp: http://guides.rubyonrails.org/engines.html - Engines Guide - Written by Ryan Bigg
[20:36:48] Disavowed: I'm probably being an idiot, but what's the recommended way to install the new release candidate? I'm having a nightmare trying to do it with bundle and a Gemfile, but I'm relatively new to Ruby so I appreciate this might be a terrible approach. Any help appreciated!
[20:37:01] Radar: Disavowed: !rule0
[20:37:01] helpa: Disavowed: Show rather than tell. Explaining your problem with code, stacktraces or errors is always preferred to explaining it with just text. Show us what's happening, rather than telling us. Put the code on https://gist.github.com and then give us the HTTP link to the Gist.
[20:37:28] fox_mulder_cp: Disavowed: rbenv + gem install rails --pre
[20:38:23] startupality: has joined #RubyOnRails
[20:38:39] Disavowed: Is rbenv preffered to rvm? It's been a while since I was told what to do with envs
[20:39:35] fox_mulder_cp: Disavowed: it seems easy to start for me. some commands.
[20:39:43] jancel: has joined #RubyOnRails
[20:40:50] bruce_lee: has joined #RubyOnRails
[20:40:50] bruce_lee: has joined #RubyOnRails
[20:41:27] fox_mulder_cp: Disavowed: rbenv way not require root user rights. i write some small manual how to easy use it, it located on my small blog app, based on rails default guides located here https://github.com/foxmuldercp/blogapp
[20:41:38] Radar: Disavowed: which OS?
[20:41:47] sypheren: has joined #RubyOnRails
[20:41:56] Radar: hi michael_mbp
[20:42:02] michael_mbp: thing I was on about earlier... much bigger mess
[20:42:06] fox_mulder_cp: Disavowed: rbenv vs rvm - two ways, such as mysql vc postgresql or apache vs nginx %)
[20:42:28] michael_mbp: https://github.com/refinery/refinerycms/issues/3178 I've posted an example about the issue
[20:42:41] michael_mbp: If you or anyone here cares to take a look, please feel free.
[20:43:16] Radar: michael_mbp: Phil and I think along the same lines :)
[20:43:20] Radar: > Ugh, assets.
[20:44:01] michael_mbp: I share your sentiment too, but need a solution at somepoint hopefully
[20:44:19] Radar: Do you really really really have to use Refinery?
[20:44:25] michael_mbp: worst case, I'm going to start bulding my own
[20:44:29] Radar: You can't use a hosted something or other like wpengine or squarespace?
[20:44:38] Radar: No, please don't build your own. It is a very tricky business.
[20:44:47] michael_mbp: Not to the same scale
[20:44:54] michael_mbp: I just need a few bits n' pieces
[20:44:55] Disavowed: Radar: os x
[20:45:02] michael_mbp: but I'll extract into a gem of course.
[20:45:05] Disavowed: fox_mulder_cp: I have strong preferences for each of those!
[20:45:09] Radar: Disavowed: http://ryanbigg.com/2015/06/mac-os-x-ruby-ruby-install-chruby-and-you/
[20:45:17] havenwood: Disavowed: +1 ^
[20:45:38] Disavowed: Radar: havenwood: Thank you both very much :)
[20:45:49] Disavowed: I should have stuck with Cuba :P
[20:46:01] havenwood: Disavowed: Roda is a super tempting fork of Cuba.
[20:46:05] michael_mbp: All I need is something that can provide an authenticated admin (And Refinery's approach to separating this is nice), manage pages, simple sitemap. Area for resources. That's it
[20:46:09] havenwood: Plugins for the win!
[20:46:19] michael_mbp: If I keep it simple, it should be easy to adapt/maintain.
[20:46:24] michael_mbp: Radar: thoughts?
[20:46:40] Radar: michael_mbp: Look at wpengine and squarespace.
[20:46:43] dvinciguerra: has joined #RubyOnRails
[20:46:43] Pumukel: has joined #RubyOnRails
[20:46:48] Radar: michael_mbp: You don't need to use Rails for this by the sounds of things.
[20:46:52] arup_r: has joined #RubyOnRails
[20:47:01] michael_mbp: Already got a Rails app this is going inside.
[20:47:02] michael_mbp: hence the need.
[20:47:22] Disavowed: Radar: This looks incredibly cool! I'd never heard of it. Thank you.
[20:47:39] Radar: michael_mbp: ok, glhf
[20:48:03] michael_mbp: thanks. I've looked at Spina and Casein
[20:48:18] michael_mbp: http://www.spinacms.com/ may work too.
[20:48:23] michael_mbp: need to have a play first.
[20:48:38] Brando753: has joined #RubyOnRails
[20:48:50] Radar: I haven't
[20:48:55] Radar: used a Rails CMS in a loooong time
[20:49:15] chipotle: has joined #RubyOnRails
[20:49:23] tubbo: isn't rails just a CMS???111
[20:49:45] michael_mbp: I've done Refinery for about 3-years so, I'm quite familiar with internals. Might take another whack at the assets issue on the weekend.
[20:49:57] michael_mbp: long time no see mate
[20:50:12] epetkus: has joined #RubyOnRails
[20:50:29] sypheren: has joined #RubyOnRails
[20:50:30] michael_mbp: Re. Refinery, it's just its Rails 5 support is still 'in progress' nice to see we have rc1 out though.
[20:50:57] tubbo: yeah a lot of gems are like that
[20:51:19] michael_mbp: yeah. I started with Rails 5 beta3 to ensure future-proofing a client project
[20:51:26] tubbo: i had to add github dependencies for 13 gems in my Gemfile in order to upgrade to 5.0.0.rc1
[20:51:29] michael_mbp: So far it has been great, just apart this minor hitch.
[20:51:43] tubbo: typically, the 'master' branch of most gems will be rails 5 compatible
[20:51:51] dvinciguerra: has joined #RubyOnRails
[20:51:51] bronson: has joined #RubyOnRails
[20:52:57] michael_mbp: My issue with Refinery is an odd one. On the frontend if I try to use a custom manifest, it borks out.
[20:53:25] jowiar: has joined #RubyOnRails
[20:53:38] michael_mbp: ironically, getting Refinery booting with Rails 5 was a whole lot easier.
[20:54:01] GodFather: has joined #RubyOnRails
[20:55:01] arup_r: I am facing some issues when running specs. I ran the full spec in my computer 3 times, and all is green. But when my co worker is running it in his machine 6-7 tests are failing at his machine.. So how do I solve this? Any idea what could be the reason?
[20:55:18] havenwood: arup_r: State "works on my machine" firmly.
[20:55:42] havenwood: arup_r: Are you both prefixing `bundle exec` to your test-running command?
[20:56:08] arup_r: I am seeing in his machine 6-7 tests failing.. havenwood, in my machine all tests are green. We both ran like `rspec ./spec`
[20:56:27] havenwood: arup_r: bundle exec rspec ./spec
[20:56:42] kitsuneyo: has joined #RubyOnRails
[20:56:45] havenwood: (To use the exact gems from the Gemfile.lock file)
[20:56:49] michael_mbp: lol this seems to have died in terms of adoption https://github.com/comfy/comfortable-mexican-sofa/tree/rails5
[20:57:02] universa1: and also look at the errors...
[20:57:16] havenwood: universa1: :)
[20:57:45] polyidus: has joined #RubyOnRails
[20:58:13] sypheren: has joined #RubyOnRails
[20:58:20] stannard: has joined #RubyOnRails
[20:58:41] tgeeky: has joined #RubyOnRails
[20:58:42] michael_mbp: this one looks dead too https://github.com/russellquinn/casein
[20:58:43] arup_r: errors are like I expected [array[0], array[3]] and he got [array[0], array[2]] like that
[20:58:52] michael_mbp: So the most promising seems Spina.
[20:58:59] arup_r: all tests that failed are this kind of expectation mismatch
[20:59:00] michael_mbp: it at least has Rails 5 compatiblity.
[20:59:11] tgeeky: can someone elaborate on what exactly 'sqlite/sqlite3_native' is? I have a good installed copy of sqlite, and I can't find any such file or directory.
[20:59:28] havenwood: arup_r: gist the errors?
[20:59:36] tgeeky: i've looked at about 5 or 6 stackoverflow solutions, and they don't seem to match what I'm seeing (I'm in Windows).
[21:00:25] arup_r: havenwood: https://gist.github.com/aruprakshit/4df787b215a5be71e410c00c9509b4e2
[21:00:33] michael_mbp: I suppose an argument in the favour of Refinery is there are people contributing to it, and there is active dev.
[21:01:56] havenwood: As someone once said, the two hard parts of programming are naming things, cache invalidation and off by one errors.
[21:02:38] Brando753: has joined #RubyOnRails
[21:03:33] greghoggard: has joined #RubyOnRails
[21:06:47] pwnd_nsfw: has joined #RubyOnRails
[21:07:47] pwnd_nsfw: has joined #RubyOnRails
[21:08:12] replay: has joined #RubyOnRails
[21:08:39] chouhoulis: has joined #RubyOnRails
[21:09:39] jancel: has joined #RubyOnRails
[21:10:38] DoctorMonocular: has joined #RubyOnRails
[21:11:00] Disavowed: has left #RubyOnRails: ()
[21:11:11] nickenchuggets: has joined #RubyOnRails
[21:11:11] nickenchuggets: has joined #RubyOnRails
[21:11:28] jhill: has joined #RubyOnRails
[21:12:55] diegoviola: has joined #RubyOnRails
[21:13:14] mattt: has joined #RubyOnRails
[21:13:27] mattt: is it possible to replay a request based on the exception email received?
[21:13:31] tubbo: michael_mbp: honestly man, i've seen people go through this BS before...and they landed on 100s of wasted hours and writing their own "CMS".
[21:13:36] mattt: someone keeps triggering exceptions which i have no idea how to replicate :(
[21:13:40] tubbo: i mean what do you really want in a CMS?
[21:13:52] hcnewsom: has joined #RubyOnRails
[21:14:25] tubbo: mattt: i use airbrake (actually errbit), so at least for errors that occur in the controller or view layer, i can see all the parameters and the URL that was visited.
[21:14:32] ur5us: has joined #RubyOnRails
[21:14:36] tubbo: exception_notifier probably doesn't do that
[21:14:46] mattt: tubbo: it does i think
[21:14:56] smathy: tgeeky, it's not clear what you're talking about.
[21:14:57] mattt: tubbo: but i have no idea how to replicate this :(
[21:15:13] sypheren: has joined #RubyOnRails
[21:15:44] arup_r: we used Rollbar and errbit, both..
[21:16:04] tubbo: mattt: so when you visit that URL and pass in the given parameters, it doesn't throw the error?
[21:16:11] arup_r: Rollbar logs browser type also.. :) and all everything I need to reporduce it
[21:16:17] tubbo: arup_r: why both?
[21:16:31] arup_r: different projects
[21:16:47] DoctorMonocular: has joined #RubyOnRails
[21:17:23] kitsuneyo: has joined #RubyOnRails
[21:17:36] mattt: tubbo: the host isn't even on my server
[21:19:02] idefine: has joined #RubyOnRails
[21:19:20] startupality: has joined #RubyOnRails
[21:19:33] chipotle: has joined #RubyOnRails
[21:20:31] snowy: has joined #RubyOnRails
[21:20:45] sypheren: has joined #RubyOnRails
[21:20:58] GodFather: has joined #RubyOnRails
[21:22:36] prgmmr: has joined #RubyOnRails
[21:23:06] kgrz: has joined #RubyOnRails
[21:24:56] tgeeky: smathy: yeah, I'm sure. I sort of got it to work, by chaning my gemspec. It's bizzare that it does work, becuase I can't find a file named sqlite3_native.[any extension] anywhere
[21:25:00] tgeeky: but it worked
[21:25:14] tgeeky: after I 1. manually built the sqlite3.dll, and 2. edited the gemspec to point to lib/sqlite3_native
[21:25:19] sypheren: has joined #RubyOnRails
[21:25:20] tgeeky: which doesn't exist anywhere.
[21:25:47] pawnbox: has joined #RubyOnRails
[21:26:42] sypheren: has joined #RubyOnRails
[21:26:59] drale2k: I have a typical show action on my controller with smth like "@upload = Upload.find params[:id]" but when i try to visit with a non-existent ID, i don't get a 404 but it renders the show template
[21:27:04] drale2k: is this normal? am i nuts?
[21:28:01] davidw: has joined #RubyOnRails
[21:28:54] FailBit: has joined #RubyOnRails
[21:29:31] FailBit: starting our migration to rails 5. installed r5 rc1 and ruby 2.3.1. getting this message when running tests: 'No such middleware to insert after: ActionDispatch::ParamsParser'
[21:29:45] FailBit: a grep for ParamsParser in our code... nothing
[21:29:52] FailBit: backtrace provided is completely unhelpful
[21:30:27] mdw: has joined #RubyOnRails
[21:30:44] idefine: has joined #RubyOnRails
[21:30:59] FailBit: https://paste.debian.net/plainh/e080b440
[21:32:56] jancel: has joined #RubyOnRails
[21:34:30] jowiar: has joined #RubyOnRails
[21:36:38] smathy: drale2k, definitely not normal, no.
[21:37:42] emachnic: has joined #RubyOnRails
[21:38:04] drale2k: smathy: i have no idea how to debug this
[21:38:19] drale2k: this is almost a fresh app, nothing special in the controller
[21:38:59] smathy: drale2k, !gist your controller and routes.
[21:38:59] helpa: drale2k: http://gist.github.com - Put your codes online with pretty syntax highlighting and the ability to embed it into other pages.
[21:39:21] smathy: drale2k, also the exact URL you're seeing this on.
[21:39:56] stannard: has joined #RubyOnRails
[21:40:05] startupality: has joined #RubyOnRails
[21:41:13] drale2k: smathy: i found the issue. Gonna gist the code
[21:42:05] Ebok: Question. I had a project I threw together to play with some code, and I discovered that ad blocker intervened and basically destroyed the site. There wasnt any real advertisements on it, but I did use the "ads" as a model name.
[21:42:17] drale2k: smathy https://gist.github.com/drale2k/28021ed8b73970162f189418bf7702b4
[21:43:01] startupality: has joined #RubyOnRails
[21:43:02] drale2k: i have file uploads and i search by file_id (random generated hash). When i use find_by it renders the show template always. When i just use .find it returns 404
[21:43:28] FailBit: drale2k: do you have a rescue_from in your controller
[21:43:29] Ebok: I was using paperclip and storing the ads on AWS. Those urls also all contain the word /ads/ within the url. I'm not so concerned about their naming structure. I assume it was based off somethign within the rails pipeline.
[21:43:36] smathy: drale2k, you're confusing me now, that's not what you said you had.
[21:43:47] Ebok: So my question: How does rails store the assets?
[21:43:48] drale2k: what i have is in the gist
[21:43:54] smathy: drale2k, find_by returns nil if it can't find the record, quite different to find.
[21:44:06] FailBit: find throws an exception, annoyingly
[21:44:08] drale2k: ok that makes sense than
[21:44:18] drale2k: so with find_by i have to manually display a 404 ?
[21:45:07] FailBit: any help with my migration woes
[21:45:52] drale2k: FailBit: i am running rc1 and 2.3.0 just fine
[21:46:10] drale2k: but i have no tests yet. Just implementation code
[21:46:18] Ebok: My question is too broad. Would the model name, or perhaps any image stored directly to the model, affect the final url after the image goes through the asset pipeline. (y/n)
[21:46:18] FailBit: thanks that's exactly what I needed to solve my issue
[21:46:31] Ebok: (sorry for talking through your convo)
[21:46:32] smathy: drale2k, if that's what you want, yes, although you can just raise an ActiveRecord::RecordNotFound error if you wanted.
[21:46:48] drale2k: smathy: yep i think i am gonna do that
[21:50:56] sypheren: has joined #RubyOnRails
[21:54:05] polyidus: has joined #RubyOnRails
[21:54:58] drale2k: find_by! with a bang did the job
[21:55:25] jgt: has joined #RubyOnRails
[21:55:39] smathy: Heh, nice, TIL
[21:55:54] FailBit: forgot that one
[21:56:09] startupality: has joined #RubyOnRails
[21:56:22] bruno-: has joined #RubyOnRails
[22:01:29] Darmani: has joined #RubyOnRails
[22:01:38] sypheren: has joined #RubyOnRails
[22:02:37] Criten: has joined #RubyOnRails
[22:04:14] ftj: has joined #RubyOnRails
[22:05:22] kitsuneyo: has joined #RubyOnRails
[22:06:06] sypheren: has joined #RubyOnRails
[22:07:39] FailBit: I'm going to be afk for a while but if anyone has any suggestions for when I'm back please voice them
[22:07:57] bronson: has joined #RubyOnRails
[22:08:10] rakm: has joined #RubyOnRails
[22:10:53] ftj: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[22:10:54] ftj: has joined #RubyOnRails
[22:11:03] benlieb: has joined #RubyOnRails
[22:15:24] ftj: has joined #RubyOnRails
[22:16:17] bruno-: has joined #RubyOnRails
[22:18:06] jowiar: has joined #RubyOnRails
[22:22:49] replay: has joined #RubyOnRails
[22:24:03] jenrzzz: has joined #RubyOnRails
[22:24:03] jenrzzz: has joined #RubyOnRails
[22:24:06] epetkus: has joined #RubyOnRails
[22:24:06] ivanskie: has joined #RubyOnRails
[22:24:34] wethu: has joined #RubyOnRails
[22:25:31] DoctorMonocular: has joined #RubyOnRails
[22:25:51] kitsuneyo: has joined #RubyOnRails
[22:26:46] jancel: has joined #RubyOnRails
[22:28:20] DoctorMonocular: has joined #RubyOnRails
[22:29:47] smathy: FailBit, look at your initializers and the difference between the 4.2 and 5.0 empty apps.
[22:30:19] akshat: has joined #RubyOnRails
[22:33:15] epetkus: has joined #RubyOnRails
[22:38:50] pawnbox: has joined #RubyOnRails
[22:40:35] epetkus: has joined #RubyOnRails
[22:41:06] idefine: has joined #RubyOnRails
[22:42:23] Rixius: has joined #RubyOnRails
[22:42:25] w09x: has joined #RubyOnRails
[22:47:30] idefine_: has joined #RubyOnRails
[22:50:16] FCser: has joined #RubyOnRails
[22:50:51] tgeeky: now, I've done the same install process with postgres instead of sqlib, and I'm getting a similar type of error
[22:51:27] tgeeky: cannot load such file -- 2.3/pg_ext
[22:51:54] tgeeky: do I really need to downgrade to ruby 2.0 on Windows to get rails to work at all?
[22:51:59] Radar: tgeeky: what OS is this?
[22:52:07] Radar: Oh it's WIndows. I'm so sorry.
[22:52:47] smathy: tgeeky, no, you don't need to downgrade ruby, you need to upgrade your OS.
[22:53:06] tgeeky: I can totally sympathize with that, but I have no choice.
[22:53:18] tgeeky: I was told I can't install a VM on this server, and it must be running windows because of the program I'm interacting with.
[22:53:21] smathy: tgeeky, my strongest recommendation is to use a VM then.
[22:53:48] smathy: Sounds like the person giving the orders has a problem then.
[22:53:51] tgeeky: my main frustration is I don't get what is actually happening.
[22:54:03] tgeeky: Two different adapters fail to load, despite the fact they are obviously there
[22:54:03] smathy: That describes 90% of my Windows usage.
[22:54:44] Radar: tgeeky: Out of interest, what version of the pg gem are you using there?
[22:54:52] Radar: tgeeky: Did you see https://bitbucket.org/ged/ruby-pg/issues/192/pg_ext-load-error yet ?
[22:55:02] tgeeky: 0.8.14 x86-mingw32
[22:55:08] epetkus: has joined #RubyOnRails
[22:55:47] Radar: Ok, that's the latest as at Nov 13 2015...
[22:56:10] smathy: :) It's the latest as at today too.
[22:56:24] Radar: Yup, if you don't count the prerelease there which doesn't seemingly have a Windows version
[22:56:38] tgeeky: I noticed there was a -pre, and I tried it, but it failed to install. I presume I'd need to build it by hand.
[22:56:45] Radar: tgeeky: very likely.
[22:56:59] tgeeky: But i've already wasted 2 hours building sqlite3 by hand (and I got that to work, but Rails still refused to use it)
[22:57:37] smathy: It'll be about trying to point the gem at the right headers etc.
[22:58:24] Radar: tgeeky: Are you new to Ruby / Rails?
[22:58:33] tgeeky: sort of. I used it a lot about 4-5 years ago.
[22:58:45] Radar: Ruby on Windows is a complete pain int he bum and it's been that way for a loooong time and doesn't look like it's going to get any better any time soon.
[22:58:47] tgeeky: and then stopped, and am trying it again.
[22:59:08] tgeeky: i used to be happy with it on windows. I'd have no problem getting stuff to work in linux, but it's not an option for this job
[22:59:30] Radar: Do you have the error for sqlite3 handy?
[22:59:43] Radar: If we can get one of them working then you might be able to progress.
[23:00:08] tgeeky: yep: Could not load 'active_record/connection_adapters/sqlite3_adapter'.
[23:00:36] tgeeky: (the database.yml is valid)
[23:05:24] tgeeky: i'm thinking of breaking down and just using Sequel and not making a UI at all :/
[23:06:24] jgt: has joined #RubyOnRails
[23:10:40] epetkus: has joined #RubyOnRails
[23:12:54] arBmind1: has joined #RubyOnRails
[23:14:14] dalbusch1t: has joined #RubyOnRails
[23:18:40] mwlang: nice warning: “warning: else without rescue is useless”
[23:18:42] FailBit: >not being a pain in the ass
[23:23:40] macsteps: has joined #RubyOnRails
[23:27:11] eljimbo: has joined #RubyOnRails
[23:27:20] jancel: has joined #RubyOnRails
[23:27:34] Radar: tgeeky: What version of AR are you using?
[23:28:14] zarubin: has joined #RubyOnRails
[23:28:14] pawnbox: has joined #RubyOnRails
[23:28:23] epetkus: has joined #RubyOnRails
[23:28:29] xlegoman: has joined #RubyOnRails
[23:29:29] Radar: And what version of the sqlite3 gem?
[23:29:39] polyidus: has joined #RubyOnRails
[23:30:30] GodFather: has joined #RubyOnRails
[23:30:37] Radar: Ok, that check out.
[23:31:33] Radar: I have no idea what could be wrong. I'd need to tinker with it to figure it out.
[23:31:42] Radar: And it's not like I can just fire up a Windows VM
[23:32:19] jstransky: has joined #RubyOnRails
[23:34:05] helpa-bot: has joined #RubyOnRails
[23:35:24] _Sypheren: has joined #RubyOnRails
[23:36:56] tgeeky: radar: i am rebooting and installing postgre in a path-with-no spaces way
[23:37:04] watersoul_: has joined #RubyOnRails
[23:37:04] bbrowning_: has joined #RubyOnRails
[23:37:04] proboszc1: has joined #RubyOnRails
[23:37:05] macsteps: has joined #RubyOnRails
[23:37:10] shinobi_one: has joined #RubyOnRails
[23:37:45] shinobi_one: So, now that Rails 5 moved to integration tests exclusively for controllers, do we not have access to @request object in tests?
[23:38:14] helpa: has joined #RubyOnRails
[23:38:48] shinobi_one: I'm using devise and trying to set the @request.env property for resource mapping, but I can't since @request is nil.
[23:38:59] idefine: has joined #RubyOnRails
[23:39:11] hxegon: I'm trying to set up SendGrid to handle outgoing mail only, and it says it processes the mail, but I'm not getting it. How do I narrow down the issue?
[23:41:10] emachnic: has joined #RubyOnRails
[23:43:36] adre: has joined #RubyOnRails
[23:44:38] _Sypheren: has joined #RubyOnRails
[23:46:12] Radar: hxegon: No errors in your logs?
[23:46:20] idefine: has joined #RubyOnRails
[23:47:15] epetkus: has joined #RubyOnRails
[23:48:29] idefine: has joined #RubyOnRails
[23:49:21] deadhound1: has joined #RubyOnRails
[23:49:51] deadhound1: has joined #RubyOnRails
[23:50:14] hxegon: Radar: none. I'm going to redo it my test (taken from here: https://gist.github.com/tansengming/101141) with the logs tailed to double check.
[23:50:16] deadhound1: has joined #RubyOnRails
[23:50:20] deadhound1: has left #RubyOnRails: ()
[23:50:34] Radar: hxegon: hm, ok
[23:51:15] stardiviner: has joined #RubyOnRails
[23:52:34] polyidus: has joined #RubyOnRails
[23:53:03] manfrin: has joined #RubyOnRails
[23:53:39] hxegon: nothing at all in the logs about it actually. weird
[23:57:39] hnanon: has joined #RubyOnRails
[23:59:36] ensyde__: has joined #RubyOnRails