« Back to channel list

#RubyOnRails - 26 November 2015

« Back 1 day Forward 1 day »
[00:00:25] claytonzaugg: So it's a different version of RVM essentially?
[00:00:55] Radar: RVM without the bloat.
[00:01:08] Prasun: has joined #RubyOnRails
[00:01:09] annlewis: has joined #RubyOnRails
[00:01:13] diegoviola: chruby/ruby-install is great
[00:01:19] diegoviola: I just install both to ~/.local
[00:01:24] rhizome: i read it as "charuby" fwiw
[00:01:29] StaticVoid: has joined #RubyOnRails
[00:01:36] diegoviola: and add ~/.local/bin to my path
[00:01:54] rhizome: cha-dir cha-mod. chown is one syllable tho
[00:03:51] Grundell: has joined #RubyOnRails
[00:05:58] willardg: has joined #RubyOnRails
[00:06:39] claytonzaugg: okay so now that I added the two lines to .bashrc and I entered . ~/.bashrc in the command line, how can I make sure . ~/.bashrc gets run each time I restart the computer?
[00:06:57] Radar: claytonzaugg: It should be loaded every time you start your terminal.
[00:07:13] claytonzaugg: Okay, is that what loading those two lines of code in bashrc does?
[00:07:30] Radar: ~/.bashrc is loaded as part of starting bash, which starts when you open the terminal
[00:07:39] claytonzaugg: okay cool, thanks
[00:07:41] craysiii: has joined #RubyOnRails
[00:07:42] Radar: The two lines that you added, load chruby and its autoswitching capabiilities.
[00:07:58] K_r3aPeR: has joined #RubyOnRails
[00:08:54] roshanavand: has joined #RubyOnRails
[00:09:41] shibabu: has joined #RubyOnRails
[00:12:45] workmaster2n: has joined #RubyOnRails
[00:14:38] diegoviola: hrm, I wonder if I should use something like sidekiq for the curl requests
[00:15:08] diegoviola: shelling out to run rake would be bad, no?
[00:15:37] diegoviola: system("rake ... &")
[00:15:49] _djbkd: has joined #RubyOnRails
[00:16:06] arcanez: how should one sanitize ORDER BY values for use in ActiveRecord? (rails 2.3.8)
[00:16:24] badoo: rails 2.3 ? :o
[00:17:21] diegoviola: sounds like a time for a upgrade
[00:17:25] K_r3aPeR: has joined #RubyOnRails
[00:17:27] kimegede: has joined #RubyOnRails
[00:18:00] arcanez: it's always a good time for an upgrade
[00:18:29] badoo: yea I think so
[00:18:40] lacuna: has joined #RubyOnRails
[00:19:22] arcanez: I think I'll just check if .column_names.include?(params[:sort_by]) and %(asc desc).include?(params[:dir].downcase)
[00:20:32] KnownSyntax: has joined #RubyOnRails
[00:20:37] Ropeney: has joined #RubyOnRails
[00:21:00] _3dwardsharp: has joined #RubyOnRails
[00:21:59] Aasha: has joined #RubyOnRails
[00:22:16] diegoviola: my client is a lot into microservices, so I'm not sure he will be happy when he finds out I wrote his app in rails
[00:22:21] beauby: has joined #RubyOnRails
[00:22:30] bitbendr: has joined #RubyOnRails
[00:23:36] badoo: arcanez you might find a solution but rails 2 still has a lot of security vulnerabilities, you really should try to upgrade your app
[00:23:44] diegoviola: he was like "I want you to do this in a week" so I don't think there's enough time for me to learn something else and also write his project
[00:23:45] Aeyrix: Did you... not check that with the client before going ahead?
[00:23:54] diegoviola: Aeyrix: he said I can use whatever
[00:24:09] maloik: has joined #RubyOnRails
[00:24:13] pwnd_nsfw: then he should be happy with what he gets
[00:24:22] davidw: has joined #RubyOnRails
[00:24:24] pydave6367: has joined #RubyOnRails
[00:24:42] one_zero: has joined #RubyOnRails
[00:24:54] pwnd_nsfw: buutttttttttt
[00:25:46] jahbrewski: has joined #RubyOnRails
[00:26:25] moei: has joined #RubyOnRails
[00:27:01] kies: has joined #RubyOnRails
[00:27:13] pwnd_nsfw: hate dealing with clients
[00:27:21] diegoviola: pwnd_nsfw: why?
[00:27:31] badoo: I'm gonna sign my first contract with a client in a few days
[00:27:42] badoo: do you guys have any tips ? I'm a junior dev
[00:27:43] nso95: has joined #RubyOnRails
[00:27:50] pwnd_nsfw: diegoviola, mostly because everything is subject to change......
[00:28:10] diegoviola: pwnd_nsfw: yes, they are never happy... they want changes, changes and more changes... and we get paid
[00:28:11] pwnd_nsfw: and depending how you've set that contract up, you may be getting boned
[00:28:12] Scriptonaut: I vaguely remember there being a ruby method that allows you to change self to an object inside a block. I need to create an array from my address object, but it's really long/ugly to type: [address.street_address, address.city, ...]
[00:28:20] smathy: Pfft, contracts.
[00:28:24] B1n4r10: has joined #RubyOnRails
[00:28:27] Scriptonaut: does anybody remember that method, if it exists?
[00:28:30] pwnd_nsfw: or they don't have a solid understanding of what they want from the start
[00:29:03] diegoviola: pwnd_nsfw: the best clients I had were with people who were also programmers, so they at least understood some things
[00:29:13] pwnd_nsfw: that'd be great
[00:29:23] smathy: Scriptonaut, you want an array of the values of your model object's attributes?
[00:29:24] pwnd_nsfw: But stingy ass holes... well, way different story.
[00:29:29] roshanavand: has joined #RubyOnRails
[00:29:45] Scriptonaut: smathy, not every single attribute, but yes
[00:30:34] djbkd: has joined #RubyOnRails
[00:31:03] diegoviola: pwnd_nsfw: just make sure you get paid regularly
[00:32:01] pwnd_nsfw: I'm trying ot get junior dev job full time
[00:32:13] diegoviola: worst thing is working for a month or 2 and not getting paid
[00:32:38] pwnd_nsfw: for sure lol
[00:32:44] Scriptonaut: is that even legal?
[00:32:47] beauby: has joined #RubyOnRails
[00:32:50] Scriptonaut: depends on the country I suppose
[00:33:04] diegoviola: happened to me when working for some lowlifes on the internet
[00:33:06] Scriptonaut: They kinda disguise that with internships here in the US
[00:33:06] pwnd_nsfw: and if you could prove
[00:33:08] smathy: Scriptonaut, address.attributes.slice("street_address", "city", "etc").values
[00:33:19] Scriptonaut: thanks smathy :)
[00:33:43] arcanez: Badoo: are there utilities that are still relevant to help migrate from 2.x to say 3.x? 4.x might be too big of a leap
[00:33:55] smathy: Scriptonaut, or .except("attr","to","exclude").values instead of slice if a blacklist is simpler.
[00:34:11] Scriptonaut: I will take a look, thanks
[00:34:45] crdpink2: has joined #RubyOnRails
[00:37:47] Yomero3: has joined #RubyOnRails
[00:38:16] rakm: has joined #RubyOnRails
[00:38:45] nopolitica: has joined #RubyOnRails
[00:38:53] Scripore: has joined #RubyOnRails
[00:39:45] drale2k: has joined #RubyOnRails
[00:40:22] nopolitica: hello! my rails application in development mode exits with Killed message, can it be some kind of memory related issue or something else? )
[00:41:32] hardtail: has joined #RubyOnRails
[00:42:49] s2013: has joined #RubyOnRails
[00:43:33] nopolitica: jhass: memory related? ))
[00:43:52] nopolitica: http://pastebin.ca/3271917
[00:44:16] jhass: check dmesg
[00:45:16] nopolitica: jhass: oh damn it, i forgot about dmesg ))) http://pastebin.ca/3271922
[00:45:25] nopolitica: jhass: thank you so much )
[00:47:40] Pazician: has joined #RubyOnRails
[00:47:48] djbkd: has joined #RubyOnRails
[00:50:05] iateadonut: has joined #RubyOnRails
[00:50:09] roshanavand: has joined #RubyOnRails
[00:51:40] rickmasta: has joined #RubyOnRails
[00:53:06] atomical: has joined #RubyOnRails
[00:54:42] sevenseacat: has joined #RubyOnRails
[00:54:45] tuelz: has joined #RubyOnRails
[00:55:11] yfeldblum: has joined #RubyOnRails
[00:56:43] pawnbox: has joined #RubyOnRails
[00:57:18] Scriptonaut: Hi y'all, so I either got my routes wrong or I'm calling my path helper wrong. Here is a gist with the route, where I call the route helper, and the path it outputs: https://gist.github.com/robins35/acc5fadd6cf417ead0e9
[00:57:41] Scriptonaut: it outputs "/exports/new.Person" instead of "/exports/new/Person"
[00:58:04] Grundell: has joined #RubyOnRails
[00:58:10] jhass: Scriptonaut: wrong helper I guess, check rake routes
[00:58:45] Scriptonaut: ah, dang, it doesn't make a helper for me
[00:58:48] Scriptonaut: when I do that route
[00:58:58] jhass: name conflict I guess
[00:59:05] jhass: try passing as: explicitly
[00:59:49] rubyonrailed: has joined #RubyOnRails
[01:02:32] gustav__: has joined #RubyOnRails
[01:02:51] robbyoconnor: has joined #RubyOnRails
[01:03:05] willardg: has joined #RubyOnRails
[01:03:19] rclanan: has joined #RubyOnRails
[01:03:51] pydave6367: has joined #RubyOnRails
[01:07:39] annlewis: has joined #RubyOnRails
[01:07:49] blackhuey: has joined #RubyOnRails
[01:08:32] nyaa: has joined #RubyOnRails
[01:09:25] nso95-: has joined #RubyOnRails
[01:09:25] nso95-: has joined #RubyOnRails
[01:13:36] threeminutemonta: has joined #RubyOnRails
[01:14:52] lessless: has joined #RubyOnRails
[01:16:14] willardg: has joined #RubyOnRails
[01:20:22] ewnd9: has joined #RubyOnRails
[01:20:26] maloik: has joined #RubyOnRails
[01:21:03] sankaber: has joined #RubyOnRails
[01:22:33] penguinpowernz: has joined #RubyOnRails
[01:26:08] pawnbox: has joined #RubyOnRails
[01:26:11] nso95-: has joined #RubyOnRails
[01:27:38] Scriptonaut: can anybody tell me if I'm using send_data incorrectly? It's used on line 15 here: https://gist.github.com/robins35/0654143d0acae957401a
[01:27:49] Scriptonaut: I expect it to download the csv file, but nothing happens (it renders 200 ok)
[01:28:35] Scriptonaut: it's a remote form, if that matters
[01:29:09] davidw: has joined #RubyOnRails
[01:29:09] davidw: has joined #RubyOnRails
[01:29:53] Aasha: has joined #RubyOnRails
[01:29:58] sevenseacat: it does indeed
[01:30:20] Spami: has joined #RubyOnRails
[01:30:57] roshanavand: has joined #RubyOnRails
[01:32:18] bersimoes: has joined #RubyOnRails
[01:38:49] Scripore: has joined #RubyOnRails
[01:39:00] hnanon_: has joined #RubyOnRails
[01:41:16] nso95-: has joined #RubyOnRails
[01:45:13] hnanon_: I have "status" as an enum.
[01:45:25] alex88: has joined #RubyOnRails
[01:45:32] sevenseacat: good to know.
[01:45:35] hnanon_: When I update the status field in a form I get an error: '1' is not a valid status
[01:45:52] sevenseacat: because you've assigned names to those integers. use the names.
[01:47:07] flip_digits: has joined #RubyOnRails
[01:47:18] willardg: has joined #RubyOnRails
[01:47:57] hnanon_: Working. Thanks.
[01:50:50] braincrash: has joined #RubyOnRails
[01:51:41] gambl0re: has joined #RubyOnRails
[01:51:48] roshanavand: has joined #RubyOnRails
[01:52:23] Grundell: has joined #RubyOnRails
[01:53:05] nickenchuggets: has joined #RubyOnRails
[01:53:33] threeminutemonta: has joined #RubyOnRails
[01:56:15] djbkd: has joined #RubyOnRails
[01:56:44] nyanz: has joined #RubyOnRails
[01:57:59] framling: has joined #RubyOnRails
[01:59:09] threeminutemonta: has joined #RubyOnRails
[01:59:26] willardg: has joined #RubyOnRails
[02:01:25] joshkovach: has joined #RubyOnRails
[02:04:36] pvertenten: has joined #RubyOnRails
[02:05:27] jimbeaudoin: has joined #RubyOnRails
[02:06:19] diegoviola: I have to create an app where I will be showing some graphs/charts and I also need to run a script every 15 minutes that will be fetching data from a server and adding data to my DB (I'll use that data to plot the graphics), will rails be ok for that?
[02:06:34] Spami: has joined #RubyOnRails
[02:06:34] diegoviola: I mean, I don't think I'll need CRUD or anything for that
[02:06:37] diegoviola: soudns overkill for rails
[02:06:51] diegoviola: I mean, rails sounds overkill for it
[02:06:57] diegoviola: but I never know if the app will grow later
[02:07:09] rhizome: cron + rake task for the data updates
[02:08:14] nso95: has joined #RubyOnRails
[02:08:27] annlewis: has joined #RubyOnRails
[02:09:09] hnanon_: I have a strip_currency method in my model that gsubs out nonnumerics.
[02:09:53] hnanon_: I have three attributes that are currency values that I want to pass to that method on create, before saving.
[02:10:28] hnanon_: Can I do something like @deposit.strip_currency(actual_amount)
[02:11:01] hnanon_: Where actual_amount is the name of one of the attributes.
[02:11:33] hnanon_: And strip_currency is strip_currency(currency)
[02:12:23] roshanavand: has joined #RubyOnRails
[02:14:10] SteenJobs: has joined #RubyOnRails
[02:14:52] nettoweb: has joined #RubyOnRails
[02:15:25] FailBit: rails is very CRUDdy
[02:15:28] hnanon_: When I try that I get: undefined method `gsub!' for :actual_amount:Symbol
[02:15:56] FailBit: then you might want to convert it to a string, hnanon_
[02:16:05] FailBit: that may be helpful.
[02:16:31] hnanon_: Then back to a decimal?
[02:16:38] diegoviola: FailBit: indeed, I just don't want to go write some JS in node
[02:17:06] FailBit: hnanon_: .....................
[02:17:12] FailBit: okay I'm done for tonight
[02:19:09] sevenseacat: hnanon_: !debug
[02:19:09] helpa: hnanon_: You have not provided enough information to debug your problem. Please provide this information: https://gist.github.com/radar/5384431
[02:19:31] maloik: has joined #RubyOnRails
[02:20:48] hnanon_: I used currency.to_s.gsub!(/[^0-9,\.]/, '').to_d and it's working fine now.
[02:20:54] workmaster2n: has joined #RubyOnRails
[02:21:12] colleenmcguckin: has joined #RubyOnRails
[02:21:27] helpa: has joined #RubyOnRails
[02:21:55] noodman: has joined #RubyOnRails
[02:22:10] helpa: has joined #RubyOnRails
[02:22:29] helpa: has joined #RubyOnRails
[02:22:49] craysiii: does devise use bcrypt or do i have to enable the bcrypt gem
[02:24:24] helpa: has joined #RubyOnRails
[02:27:34] helpa: has joined #RubyOnRails
[02:28:15] helpa: has joined #RubyOnRails
[02:28:53] th0m_: has joined #RubyOnRails
[02:29:39] helpa: has joined #RubyOnRails
[02:30:05] helpa: has joined #RubyOnRails
[02:31:10] helpa: has joined #RubyOnRails
[02:31:22] Cohedrin: has joined #RubyOnRails
[02:32:13] koprom: has joined #RubyOnRails
[02:32:57] roshanavand: has joined #RubyOnRails
[02:34:00] DanielN: has joined #RubyOnRails
[02:34:06] davidw: has joined #RubyOnRails
[02:34:06] davidw: has joined #RubyOnRails
[02:34:17] Bit_Bendr1: has joined #RubyOnRails
[02:35:03] dikaio: has joined #RubyOnRails
[02:37:47] atomical: has joined #RubyOnRails
[02:38:10] helpa: has joined #RubyOnRails
[02:38:29] njero: what can be the possible reason if i can't access helper methods inside model within class methods starting self.method, while it's available in instance methods :(
[02:38:52] Radar: n_e_o: !rule0
[02:38:52] helpa: n_e_o: 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.
[02:39:24] djbkd: has joined #RubyOnRails
[02:40:07] michaeldeol: has joined #RubyOnRails
[02:40:09] kp666: has joined #RubyOnRails
[02:40:11] Guest11: has joined #RubyOnRails
[02:40:50] hnanon_: I'm splitting the date_select components with: https://gist.github.com/anonymous/a5afa1a7d1d6674e2b4e
[02:41:29] hnanon_: However, the :selected option doesn't seem to be supported. Is that the case?
[02:42:04] Radar: not mentioned in the docs
[02:42:08] Radar: All is forgiven.
[02:42:24] sevenseacat: seems to be supported to me.
[02:42:33] pydave6367: has joined #RubyOnRails
[02:43:03] hnanon_: It's supported when using date_select.
[02:43:29] Radar: hnanon_: I'm actually reluctant to help you because I feel like I offered you the best solution that I could think of and now you're going against that.
[02:43:34] Radar: hnanon_: That kinda shit hurts tbf.
[02:43:55] Radar: hnanon_: (I recommended Bootstrap Datepicker, btw.)
[02:44:14] hnanon_: Radar: I looked at that. It throws off my design.
[02:44:28] njero: Radar: https://gist.github.com/NeoElit/af0885cc1e8400c271c2
[02:44:34] hnanon_: Is it really bothering you that I tried something else?
[02:44:47] Radar: hnanon_: Yup.
[02:44:56] hnanon_: Radar: strange.
[02:45:00] tubbo: your design probably sucks
[02:45:02] Radar: n_e_o: Why are you including ApplicationHelper in your models. Helpers are for views.
[02:45:22] Radar: Ok, time to go do some work and not feel like I'm giving advice nobody cares about. Bye.
[02:45:23] tubbo: oh i thought you meant code design
[02:45:25] tubbo: never mind
[02:45:32] _djbkd: has joined #RubyOnRails
[02:45:48] matthewd: hnanon_: What do you want a :selected option to do? :/
[02:46:09] hnanon_: tubbo: Wow.
[02:46:12] njero: Radar: i'm just doing a dirty work reading formatting and writing to another db
[02:46:27] tubbo: what, i thought u knew me by now
[02:46:36] Grundell: has joined #RubyOnRails
[02:46:46] sevenseacat: hnanon_: the *first option* to select_year is the value to select.
[02:46:52] sevenseacat: how hard is that?
[02:47:40] Radar: It's probably more like @deposit.sales_date is nil and that is the value that's being passed there
[02:48:13] hnanon_: Radar: I apologize for coming off as unappreciative. I think you know by now that I appreciate all the help you've been giving me.
[02:48:14] Radar: and hnanon_ hasn't done due diligence debugging to prove that the date is actually set... so we'll spend 30 minutes discussing how to pass the selected value, but then eventually come to the conclusion that the data is broke.
[02:48:28] Radar: Be there, seen that.
[02:48:30] tubbo: lol you guys
[02:48:32] Pazician: has joined #RubyOnRails
[02:48:35] tubbo: with your not real problems
[02:48:46] tubbo: i'm editing code on production because the payment processor is a piece of shit
[02:48:53] Radar: hnanon_: So. Prove that @deposit.sales_date is not `nil`.
[02:49:00] Radar: hnanon_: Thanks for appreciating the help.
[02:49:17] hnanon_: Radar: No need to thank me for that, if you're serious.
[02:49:35] hnanon_: Radar: It's a form at /new.
[02:49:43] Radar: hnanon_: !ncnh
[02:49:43] helpa: hnanon_: If you don't provide any code, it becomes really difficult for us to help you. Providing code to reproduce the problem increases your chances of getting great, accurate help immensely.
[02:49:51] Radar: You've shown one line. Show us the whole story please.
[02:49:55] Radar: Action, view, etc.
[02:50:07] hnanon_: Radar: Did you see my gist above?
[02:50:16] Radar: https://gist.github.com/anonymous/a5afa1a7d1d6674e2b4e
[02:50:17] Radar: This one?
[02:50:24] Radar: The one-line-of-code that I just referenced?
[02:50:39] matthewd: hnanon_: Or, start by explaining what you're actually trying to do
[02:50:49] helpa: http://i.imgur.com/m9m3wr9.gif
[02:50:49] hnanon_: Hahaha. I can't win.
[02:50:52] matthewd: > However, the :selected option doesn't seem to be supported. Is that the case?
[02:50:58] Radar: [13:49:53] <Radar> You've shown one line. Show us the whole story please.
[02:50:58] Radar: [13:49:57] <Radar> Action, view, etc.
[02:50:59] Radar: hnanon_: ^
[02:51:12] Radar: hnanon_: Show us how the new action initializes the @deposit variable.
[02:51:16] sevenseacat: [10:46:46] sevenseacat: hnanon_: the *first option* to select_year is the value to select.
[02:51:35] hnanon_: sevenseacat: I'm getting to that, thanks...just busy defending myself.
[02:52:02] sevenseacat: ACTION goes back to work
[02:52:23] Radar: hnanon_: Code now please?
[02:52:30] atomical: has joined #RubyOnRails
[02:53:33] roshanavand: has joined #RubyOnRails
[02:56:43] rory096: has joined #RubyOnRails
[02:57:07] Radar: hnanon_: C'mon.
[02:57:19] hnanon_: Radar: Sorry...battery's almost dead...
[02:57:20] Radar: hnanon_: All I'm asking for us the code to the `new` action and the view. It doesn't take 5 mins to get that stuff together.
[02:57:26] hnanon_: I'll be back shortly.
[02:57:31] Radar: ACTION sighs
[02:57:46] hnanon_: Radar: Sorry. But thanks, though. Seriously.
[02:58:46] craysiii: the disdain emanates like a pungent aroma
[03:01:34] tjbiddle: has joined #RubyOnRails
[03:04:32] tubbo: craysiii: stings the nostrils
[03:06:41] Ropeney: has joined #RubyOnRails
[03:09:10] annlewis: has joined #RubyOnRails
[03:11:00] ja: why does ActiveRecord::AttributeMethods#attributes return a hash with string keys instead of symbol keys?
[03:11:07] Radar: ja: Why not?
[03:11:09] ja: I don't get it. Rails seems so in love with strings over symbols.
[03:11:17] ja: Radar: Because symbols are the best thing ever!
[03:11:23] Radar: ja: how little you know :)
[03:11:25] ja: One less character to type, hooray!
[03:11:38] jhass: ja: symbols weren't garbage collected at all prior Ruby 2.2
[03:11:39] Radar: ja: they also leak memory as you assign them
[03:11:41] ja: Radar: Please enlighten me.
[03:11:51] ja: Really???
[03:11:59] Radar: jhass knows more about this than I do
[03:12:16] ja: :| that's??? disconcerting
[03:12:52] jhass: so dynamically creating symbols, especially from user input, is a nice DoS vector
[03:13:19] ja: good to know!
[03:13:33] ja: but it's fixed in 2.2?
[03:13:41] jhass: kinda, yes
[03:14:07] jhass: dynamically created symbols are garbage collected now
[03:14:13] roshanavand: has joined #RubyOnRails
[03:14:20] shibabu: has joined #RubyOnRails
[03:14:33] jhass: but I still like to avoid dynamically creating them, for semantic reasons
[03:14:37] ja: ???dynamically created??? as opposed to the ones created through symbol literals?
[03:14:43] atomical: has joined #RubyOnRails
[03:14:50] jhass: literal vs to_sym / intern
[03:15:06] ja: alright. cool.
[03:15:19] jhass: well and :"foo_#{bar}" counts as dynamic too I guess
[03:15:30] ja: yeah, I suppose
[03:15:30] qejk: has joined #RubyOnRails
[03:15:42] jhass: anyway, IME 90% of the time where somebody calls to_sym they abuse Symbols IME & IMO
[03:15:51] hardtail: has joined #RubyOnRails
[03:15:58] someninja: has joined #RubyOnRails
[03:16:05] jhass: in semantic manner, too
[03:16:33] ja: ACTION goes to cry in a corner
[03:16:33] jhass: I use symbols as identifiers, where you use an enum in other languages
[03:16:35] maloik: has joined #RubyOnRails
[03:16:46] Radar: hnanon: wb
[03:16:48] Radar: hnanon: Code time?
[03:17:07] jhass: its string value should be completely uninteresting to the program, it's only for the reader
[03:17:12] Radar: Oh, probably a persisted connection. nm.
[03:18:43] tjbiddle: Hey everyone - What are options for fallback read-only databases, and queueing writes to the main until a connection is restored - In ActiveRecord?
[03:19:50] someninja: has left #RubyOnRails: ()
[03:20:03] worknick: has joined #RubyOnRails
[03:20:16] worknick: how can i sumbit form without redirection? e.g. to submit comment.
[03:21:04] jhass: remote: true
[03:21:49] matthewd: tjbiddle: I'd probably start looking at pgbouncer or similar to handle a readonly fallback. Queuing writes sounds like something you'd really have to handle yourself, because it's going to be full of business rules.
[03:27:01] lacuna: has joined #RubyOnRails
[03:27:01] lacuna: has joined #RubyOnRails
[03:27:03] ja: thanks for the enlightenment, jhass
[03:27:33] worknick: Aeyrix: ok, so do display and to submit for both to happen without redirection we have to use ajax? right
[03:28:26] njero: thanks for the nice mng Radar ..
[03:29:36] jhass: to wikipedia! https://en.wikipedia.org/wiki/Mng
[03:30:44] ja: MNG ftw
[03:31:16] jhass: https://en.wikipedia.org/wiki/Methylnitronitrosoguanidine is nice too
[03:31:23] ja: how can a ???support status??? be ???easily???? :B
[03:31:48] ja: jhass: that sounds delicious
[03:32:11] maloik: has joined #RubyOnRails
[03:32:51] jhass: it does, if you like cancer I guess
[03:33:28] Prasun: has joined #RubyOnRails
[03:34:28] atomical: has joined #RubyOnRails
[03:34:40] roshanavand: has joined #RubyOnRails
[03:35:41] pvertenten: has joined #RubyOnRails
[03:35:57] stannard: has joined #RubyOnRails
[03:39:02] davidw: has joined #RubyOnRails
[03:39:02] davidw: has joined #RubyOnRails
[03:40:07] atomical: has joined #RubyOnRails
[03:40:54] Grundell: has joined #RubyOnRails
[03:46:15] djbkd: has joined #RubyOnRails
[03:46:20] moeabdol1: has joined #RubyOnRails
[03:53:26] s2013: has joined #RubyOnRails
[03:53:37] edj: has joined #RubyOnRails
[03:53:53] edj: how do i know when i know enough ruby to do a rails tutorial?
[03:54:19] ja: maybe try start writing it from the end to the beginning :B
[03:54:30] ja: oh. crap. I should sleep.
[03:54:37] ja: I thought you said ???know enough rails to write a rails tutorial???
[03:54:45] sevenseacat: if you start the tutorial and your questions are about the rails methods, not the ruby syntax,
[03:54:46] xcesariox: has joined #RubyOnRails
[03:54:46] ja: ACTION implodes
[03:55:12] edj: ja:niiiiiiiiice lmao
[03:55:15] roshanavand: has joined #RubyOnRails
[03:55:52] michaeldeol: has joined #RubyOnRails
[03:56:50] Radar: edj: What sevenseacat said.
[03:57:40] yoongkang: has joined #RubyOnRails
[03:57:41] edj: ok that makes since. so just syntax is needed?
[03:57:49] Bloomer: has joined #RubyOnRails
[03:57:52] Radar: edj: !r4ia
[03:57:52] helpa: edj: Rails 4 in Action - http://manning.com/bigg2 - An excellent book combining Rails and TDD/BDD development. Written by Rebecca Skinner, Steve Klabnik, Ryan Bigg, Yehuda Katz
[03:57:55] edj: radar: could you link me to your book
[03:57:55] Radar: edj: First 3 chapters are there
[03:58:00] Radar: edj: One step ahead.
[03:58:13] Radar: edj: Read through the first 3 chapters and see if there's anything in there that is confusing for you.
[03:58:45] edj: alright.
[03:59:09] Radar: Sorry, first 3 chapters are there _for free_. You don't even need to buy the book to read those chapters.
[03:59:36] mary5030: has joined #RubyOnRails
[03:59:42] tuelz: has joined #RubyOnRails
[03:59:42] edj: thanks guys
[04:00:26] fedexo: has joined #RubyOnRails
[04:02:20] djbkd: has joined #RubyOnRails
[04:03:16] Coldblackice: has joined #RubyOnRails
[04:03:25] riskish: has joined #RubyOnRails
[04:06:23] owenjones: has joined #RubyOnRails
[04:07:50] B1n4r10: has joined #RubyOnRails
[04:08:47] pawnbox: has joined #RubyOnRails
[04:09:53] ss_much: has joined #RubyOnRails
[04:09:57] annlewis: has joined #RubyOnRails
[04:12:06] brycesenz: has joined #RubyOnRails
[04:13:28] brycesenz: hi all - question for anyone who has worked with a project with lots of environment variables: in your .env files, how do your organize things? Do you break things out into logical groups of similar vars, or just keep things in alphabetical order?
[04:13:53] stannard: has joined #RubyOnRails
[04:14:59] braincrash: has joined #RubyOnRails
[04:15:49] roshanavand: has joined #RubyOnRails
[04:16:28] mary5030: has joined #RubyOnRails
[04:19:50] threeminutemonta: has joined #RubyOnRails
[04:20:15] atomical: has joined #RubyOnRails
[04:21:31] Radar: How many ENV vars do you have? :|
[04:21:49] Radar: Logical groups
[04:25:17] _3by8: Is there a special name for the type of form that allows you to select a category from a dropdown style menu which then loads the appropriate options from the next dropdown menu? Is there a gem for that?
[04:26:29] pawnbox: has joined #RubyOnRails
[04:26:33] htmldrum: has joined #RubyOnRails
[04:29:24] arup_r: has joined #RubyOnRails
[04:30:07] brycesenz: Radar - I only have like, 50 vars
[04:30:33] brycesenz: Enough that organization is worth considering, but not on overwhelming amount
[04:30:47] Radar: brycesenz: yeah, then logical groups and then inside those groups it'd be alphabetical
[04:31:21] annlewis: has joined #RubyOnRails
[04:31:22] brycesenz: Ok, that seems like a good call. It's nice to just be able to ask around in case the overwhelming bias is against grouping. Thanks!
[04:32:24] annlewis_: has joined #RubyOnRails
[04:34:05] atomical: has joined #RubyOnRails
[04:35:14] Grundell: has joined #RubyOnRails
[04:36:29] roshanavand: has joined #RubyOnRails
[04:40:17] _3by8: Haven't see this before: @cities = City.where("country_id = ?", Country.first.id) is this equal to City.where(country_id: Country.first.id) ?
[04:43:24] lacuna: has joined #RubyOnRails
[04:43:58] davidw: has joined #RubyOnRails
[04:43:58] davidw: has joined #RubyOnRails
[04:45:52] srinidhi: has joined #RubyOnRails
[04:48:13] owenjones: has joined #RubyOnRails
[04:49:10] Pazician: has joined #RubyOnRails
[04:51:37] Scripore: has joined #RubyOnRails
[04:52:34] owenjones: has joined #RubyOnRails
[04:53:02] Trynemjoel: has joined #RubyOnRails
[04:54:46] DanielN: has joined #RubyOnRails
[04:54:54] Guest52138: has joined #RubyOnRails
[04:56:54] jetpackjoe: has joined #RubyOnRails
[04:56:57] roshanavand: has joined #RubyOnRails
[04:57:48] pawnbox: has joined #RubyOnRails
[04:59:17] iateadonut: has joined #RubyOnRails
[04:59:36] rory0962: has joined #RubyOnRails
[04:59:57] rory0962: has left #RubyOnRails: ()
[05:00:07] rory096: has joined #RubyOnRails
[05:00:24] tuelz: has joined #RubyOnRails
[05:00:55] pawnbox: has joined #RubyOnRails
[05:00:58] RegulationD: has joined #RubyOnRails
[05:03:18] Radar: _3by8: I think that would be easy to test.
[05:03:29] htmldrum: has joined #RubyOnRails
[05:03:36] _3by8: Radar: I think you're right.
[05:03:47] Radar: Happens occasionally.
[05:03:48] _3by8: Apparently it has something to do with escaping the input.
[05:03:54] _3by8: Makes it safer.
[05:05:40] matthewd: _3by8: It's safer than a different, unsafe spelling. It's no safer than the other, nicer looking, version you mentioned.
[05:06:13] _3by8: matthewd: thanks!
[05:06:18] maloik: has joined #RubyOnRails
[05:08:16] dkam: has joined #RubyOnRails
[05:14:09] banister: has joined #RubyOnRails
[05:15:10] lacuna: has joined #RubyOnRails
[05:15:41] maloik: has joined #RubyOnRails
[05:17:09] shibabu: has joined #RubyOnRails
[05:17:31] roshanavand: has joined #RubyOnRails
[05:18:02] pawnbox: has joined #RubyOnRails
[05:20:15] htmldrum: has joined #RubyOnRails
[05:26:17] Maletor: has joined #RubyOnRails
[05:26:27] dideler: has joined #RubyOnRails
[05:27:36] User458764: has joined #RubyOnRails
[05:27:48] owenjones: has joined #RubyOnRails
[05:29:26] yfeldblum: has joined #RubyOnRails
[05:29:27] Grundell: has joined #RubyOnRails
[05:30:23] atomical: has joined #RubyOnRails
[05:32:58] annlewis: has joined #RubyOnRails
[05:34:28] arup_r: has joined #RubyOnRails
[05:34:48] annlewis_: has joined #RubyOnRails
[05:35:34] ace05: has joined #RubyOnRails
[05:35:57] maloik: has joined #RubyOnRails
[05:38:07] roshanavand: has joined #RubyOnRails
[05:38:26] exadeci: has joined #RubyOnRails
[05:39:28] sandstrom: has joined #RubyOnRails
[05:40:42] juddey: has joined #RubyOnRails
[05:46:00] mary5030: has joined #RubyOnRails
[05:46:24] pawnbox_: has joined #RubyOnRails
[05:46:42] willardg: has joined #RubyOnRails
[05:48:57] davidw: has joined #RubyOnRails
[05:48:57] davidw: has joined #RubyOnRails
[05:51:32] maloik: has joined #RubyOnRails
[05:51:42] pawnbox: has joined #RubyOnRails
[05:52:14] trosborn: has joined #RubyOnRails
[05:52:41] atomical: has joined #RubyOnRails
[05:56:37] mary5030: has joined #RubyOnRails
[05:57:03] m3_del: has joined #RubyOnRails
[05:57:21] lxsameer: has joined #RubyOnRails
[05:57:35] m3_del: has joined #RubyOnRails
[05:58:51] roshanavand: has joined #RubyOnRails
[05:59:08] yoongkang: has joined #RubyOnRails
[05:59:56] Fire-Dragon-DoL: sevenseacat: your post about "2015 -> start a blog" pushed me toward finishing my website! Yay! ;)
[06:00:03] sevenseacat: Fire-Dragon-DoL: \o/
[06:00:20] sevenseacat: Fire-Dragon-DoL: your mentioning my blog yesterday made me write up a post about video games.
[06:00:34] Fire-Dragon-DoL: sevenseacat: checking it
[06:00:55] Fire-Dragon-DoL: I love videogames too so I guess it fits
[06:01:10] tuelz: has joined #RubyOnRails
[06:03:01] atomical: has joined #RubyOnRails
[06:03:03] srinidhi: has joined #RubyOnRails
[06:04:17] pawnbox: has joined #RubyOnRails
[06:05:15] sevenseacat: i'll have to write another programming-related one soon so it knocks that ESO post off the front page lol
[06:06:29] arathald: evening ladies and gents
[06:06:41] arathald: also those not worthy of an aristocratic title
[06:06:41] sevenseacat: afternoon arathald
[06:06:49] helpa: You are not worthy of this bot!
[06:08:29] arathald: eh, I'm worthy of other things that i prefer
[06:08:37] arathald: I'm not particularly into bots anyway
[06:11:43] maloik: has joined #RubyOnRails
[06:12:13] Fire-Dragon-DoL: sevenseacat: ESO post, now we know your real job :P
[06:12:24] sevenseacat: ACTION secretly a fisherman
[06:12:28] lacuna: has joined #RubyOnRails
[06:13:06] arathald: cool. I secretly milk squids for their ink for a living
[06:14:21] Fire-Dragon-DoL: my CSS skills are definitely rusy. It's like more than a year since I wrote it
[06:15:01] B1n4r10: has joined #RubyOnRails
[06:17:18] Scripore: has joined #RubyOnRails
[06:23:24] Guest11: has joined #RubyOnRails
[06:23:44] Grundell: has joined #RubyOnRails
[06:25:12] Fire-Dragon-DoL: time to sleep for me, good night everyone
[06:26:37] dhjondoh: has joined #RubyOnRails
[06:26:46] dionysus69: has joined #RubyOnRails
[06:27:20] maloik: has joined #RubyOnRails
[06:28:21] pawnbox: has joined #RubyOnRails
[06:32:24] colleenmcguckin: has joined #RubyOnRails
[06:35:58] arup_r: I have a uniq validation on name field. So when I am trying to save a duplicate record is saying "Name has already been taken" Which is correct, but I want to add the name of the group also, like if the group name "Group1" is someone attempting to save which exist already, the message should come as "Name Group1 has already been taken"
[06:36:05] dionysus69: has joined #RubyOnRails
[06:36:10] trosborn: has joined #RubyOnRails
[06:36:12] arup_r: my try https://gist.github.com/aruprakshit/ad01236632e7e75aacba didn't work..
[06:36:19] arup_r: What is the way to do this ?
[06:37:43] helpa: What "didn't work"? Did your server not start? Did your computer explode? Did your webpage turn bright pink? Did your client not pay your bill on time? You may have to be more specific. A Gist (http://gist.github.com) of the code that doesn't work (and the error you are getting) will be helpful.
[06:38:31] Macaveli: has joined #RubyOnRails
[06:38:51] arup_r: My attempt give me: "Group has already been taken"
[06:39:17] arup_r: which is wrong. You got the question, still you are tempting.. anyway. leave it
[06:39:39] arup_r: any way to achieve what I am looking for..
[06:42:01] pawnbox: has joined #RubyOnRails
[06:43:57] annlewis: has joined #RubyOnRails
[06:45:59] sevenseacat: ACTION leaves it
[06:46:24] arup_r: nvm, I figured it out.. thanks
[06:46:27] srinidhi: has joined #RubyOnRails
[06:46:55] rvanlieshout: has joined #RubyOnRails
[06:47:45] tagrudev: has joined #RubyOnRails
[06:48:54] zpe: has joined #RubyOnRails
[06:49:54] vestinst: has joined #RubyOnRails
[06:50:01] Pazician: has joined #RubyOnRails
[06:50:09] juddey: has joined #RubyOnRails
[06:50:23] tofee: has joined #RubyOnRails
[06:51:08] vestinst: has joined #RubyOnRails
[06:51:43] vestinst: has joined #RubyOnRails
[06:52:28] vestinst: has joined #RubyOnRails
[06:52:29] pawnbox: has joined #RubyOnRails
[06:53:09] dionysus69: has joined #RubyOnRails
[06:53:52] Pazician: has joined #RubyOnRails
[06:53:54] tibra: has joined #RubyOnRails
[06:54:17] davidw: has joined #RubyOnRails
[06:54:23] Pazician: has joined #RubyOnRails
[06:55:09] tibra_: has joined #RubyOnRails
[06:56:23] bersimoes: has joined #RubyOnRails
[06:56:34] timbrandes: has joined #RubyOnRails
[06:56:48] alphaatom: has joined #RubyOnRails
[06:57:23] Macaveli: has joined #RubyOnRails
[06:57:53] norc: has joined #RubyOnRails
[06:58:08] m3_del: has joined #RubyOnRails
[06:58:30] tibra: has joined #RubyOnRails
[06:59:19] tibra_: has joined #RubyOnRails
[07:00:11] vestinst: has joined #RubyOnRails
[07:00:24] yoongkang: has joined #RubyOnRails
[07:01:26] norc: Are there any bootstrap wrappers for ransack search forms around?
[07:01:32] build22: has joined #RubyOnRails
[07:01:44] RegulationD: has joined #RubyOnRails
[07:01:52] sevenseacat: what makes ransack so special it needs its own wrappers?
[07:02:19] nocontrol: has joined #RubyOnRails
[07:03:23] tuelz: has joined #RubyOnRails
[07:03:24] norc: I would just like to have my search_forms styled nicely with Bootstrap classes and tags out of the box like simple_form
[07:03:25] dhjondoh: has joined #RubyOnRails
[07:04:27] sevenseacat: got an example of a ransack form that isnt being sty;ed with bootstrap?
[07:07:59] vestinst: has joined #RubyOnRails
[07:08:05] norc: That question just made me look at everything again. Be back in a few when I'm sure about this.
[07:11:30] dionysus69: has joined #RubyOnRails
[07:11:49] annlewis: has joined #RubyOnRails
[07:12:32] norc: sevenseacat: https://gist.github.com/anonymous/56292d322b11db2c4176
[07:12:51] norc: This is what I'm doing at the moment. It is a bit annoying to have to add the form-control class every time.
[07:13:08] norc: ACTION would really like to have the simple_form bootstrap builder here
[07:14:06] sevenseacat: didnt realize ransack provided its own search_form_for builder
[07:14:49] sevenseacat: https://github.com/activerecord-hackery/ransack/blob/master/lib/ransack/helpers/form_builder.rb#L22 try setting that ENV var to be simple_form's form builder class?
[07:14:56] norc: Already tried
[07:16:28] eoy: has joined #RubyOnRails
[07:17:08] annlewis: has joined #RubyOnRails
[07:17:59] Grundell: has joined #RubyOnRails
[07:18:41] norc: sevenseacat: Well I get correct styling for my button in that particular case and the labels, but my input fields are not styled.
[07:18:58] sevenseacat: right, because you're not using simple_form's helpers
[07:20:03] flip_digits: has joined #RubyOnRails
[07:20:05] shibabu: has joined #RubyOnRails
[07:20:21] AzaToth: has joined #RubyOnRails
[07:21:10] norc: sevenseacat: It's all clear now. Is there any particular reason to use the form builder by ransack or its helpers at least?
[07:21:27] sevenseacat: i dont know. i dont use ransack.
[07:21:31] norc: Fair enough.
[07:23:57] artto: has joined #RubyOnRails
[07:24:31] norc: sevenseacat: Thank you for your pointer, it's all working as expected now.
[07:24:39] build22_: has joined #RubyOnRails
[07:24:55] helpa: has joined #RubyOnRails
[07:25:18] Contigi777: has joined #RubyOnRails
[07:25:22] thomasfedb: Anybody here speak Indonesian? Need some translations verified. https://github.com/carrierwaveuploader/carrierwave/pull/1762
[07:43:24] helpa: has joined #RubyOnRails
[07:43:35] htmldrum: has joined #RubyOnRails
[07:43:36] mozzarella: has joined #RubyOnRails
[07:43:41] ur5us: has joined #RubyOnRails
[07:43:51] srinidhi: has joined #RubyOnRails
[07:44:48] Pro|: has joined #RubyOnRails
[07:44:56] Avon: has joined #RubyOnRails
[07:45:06] doge__: has joined #RubyOnRails
[07:45:06] atrius: has joined #RubyOnRails
[07:45:18] cubny: has joined #RubyOnRails
[07:45:22] DanKnox[away]: has joined #RubyOnRails
[07:45:30] svkurowski: has joined #RubyOnRails
[07:45:33] nizmow: has joined #RubyOnRails
[07:46:41] digneety: has joined #RubyOnRails
[07:46:43] darutoko: has joined #RubyOnRails
[07:47:26] zpe_: has joined #RubyOnRails
[07:47:26] nightsh: has joined #RubyOnRails
[07:47:30] czetter: has joined #RubyOnRails
[07:47:41] Rikle_S: has joined #RubyOnRails
[07:47:45] quazimodo: nah, it's not leading hte config/puma :(
[07:47:52] lessless: has joined #RubyOnRails
[07:47:57] helpa: You have not provided enough information to debug your problem. Please provide this information: https://gist.github.com/radar/5384431
[07:48:05] ivanyk: has joined #RubyOnRails
[07:48:11] sevenseacat: provide *something* for us to work with other than 'it doesnt work'
[07:48:15] quazimodo: i guess one has to do $ puma -C config/puma.rb
[07:48:49] yardenbar: has joined #RubyOnRails
[07:49:17] kiez0rd: has joined #RubyOnRails
[07:49:24] Bit_Bendr1: has joined #RubyOnRails
[07:49:54] quazimodo: i don't knowwhat to provide
[07:49:57] Davey: has joined #RubyOnRails
[07:49:58] Davey: has joined #RubyOnRails
[07:50:20] quazimodo: it's a noraml regular app with puma, and when using puma -c config/puma.rb all the puma settings in that config are used correctly
[07:50:28] quazimodo: rails s Puma doesn't use that config
[07:50:41] MuffinPimp_: has joined #RubyOnRails
[07:50:56] pwnd_nsfw: has joined #RubyOnRails
[07:50:56] llakey_: has joined #RubyOnRails
[07:50:59] Jamo_: has joined #RubyOnRails
[07:51:01] Kingdutch: has joined #RubyOnRails
[07:51:04] dustinm`: has joined #RubyOnRails
[07:51:09] leeky: has joined #RubyOnRails
[07:51:09] DefV: has joined #RubyOnRails
[07:51:29] ur5us_: has joined #RubyOnRails
[07:51:34] nya: has joined #RubyOnRails
[07:51:35] troyreadyy: has joined #RubyOnRails
[07:51:54] \13k_: has joined #RubyOnRails
[07:51:59] avelldiroll: has joined #RubyOnRails
[07:52:03] itkin-: has joined #RubyOnRails
[07:52:06] lorn: has joined #RubyOnRails
[07:52:24] ekem: has joined #RubyOnRails
[07:52:43] camilasann: has joined #RubyOnRails
[07:53:43] cgfbee: has joined #RubyOnRails
[07:53:45] jetpackjoe: has joined #RubyOnRails
[07:53:49] Uptime: has joined #RubyOnRails
[07:54:05] artto: has joined #RubyOnRails
[07:54:44] gbailey: has joined #RubyOnRails
[07:54:52] kitallis: has joined #RubyOnRails
[07:55:04] eduardodeoh_: has joined #RubyOnRails
[07:55:21] RTG`: has joined #RubyOnRails
[07:55:40] pawnbox: has joined #RubyOnRails
[07:55:51] koprom: has joined #RubyOnRails
[07:56:21] thorgi: has joined #RubyOnRails
[07:56:41] pawnbox_: has joined #RubyOnRails
[07:56:41] kumavis: has joined #RubyOnRails
[07:56:48] adam_: has joined #RubyOnRails
[07:56:57] alevy: has joined #RubyOnRails
[07:56:58] fluchtreflex: has joined #RubyOnRails
[07:56:58] fluchtreflex: has joined #RubyOnRails
[07:57:00] LBRapid: has joined #RubyOnRails
[07:58:33] G: has joined #RubyOnRails
[07:58:47] redondo: has joined #RubyOnRails
[07:58:57] svkurowski: has joined #RubyOnRails
[07:59:35] eoy: has joined #RubyOnRails
[07:59:59] iamdevnul: has joined #RubyOnRails
[08:00:00] m3_del: has joined #RubyOnRails
[08:00:01] th0m_: has joined #RubyOnRails
[08:00:11] SuppliedRelic: has joined #RubyOnRails
[08:00:43] unreal: has joined #RubyOnRails
[08:01:05] existensil: has joined #RubyOnRails
[08:01:27] maloik: has joined #RubyOnRails
[08:01:31] bphogan: has joined #RubyOnRails
[08:01:54] coffeejunk: has joined #RubyOnRails
[08:02:21] andatche: has joined #RubyOnRails
[08:02:49] ss_much: has joined #RubyOnRails
[08:03:06] w0bni: has joined #RubyOnRails
[08:04:43] tuelz: has joined #RubyOnRails
[08:04:50] stevenleeg: has joined #RubyOnRails
[08:05:52] pawnbox: has joined #RubyOnRails
[08:06:03] vigasdeep: has joined #RubyOnRails
[08:06:28] xcesariox: has joined #RubyOnRails
[08:06:29] lbotos: has joined #RubyOnRails
[08:06:38] lord4163: has joined #RubyOnRails
[08:07:53] waka: has joined #RubyOnRails
[08:08:01] justinweiss_: has joined #RubyOnRails
[08:08:17] wenchenx_: has joined #RubyOnRails
[08:08:31] mclee: has joined #RubyOnRails
[08:08:44] spectra: has joined #RubyOnRails
[08:08:49] Ratler: has joined #RubyOnRails
[08:08:54] spastorino: has joined #RubyOnRails
[08:09:00] triptec: has joined #RubyOnRails
[08:09:01] prasselpikachu: has joined #RubyOnRails
[08:09:21] arBmind: has joined #RubyOnRails
[08:09:21] Lauer: has joined #RubyOnRails
[08:09:21] Kuukunen: has joined #RubyOnRails
[08:09:26] dshoreman: has joined #RubyOnRails
[08:09:42] BLuEGoD: has joined #RubyOnRails
[08:10:07] eoy: has joined #RubyOnRails
[08:10:07] jozan: has joined #RubyOnRails
[08:10:25] daxroc: has joined #RubyOnRails
[08:10:28] Brando753: has joined #RubyOnRails
[08:11:08] zrl: has joined #RubyOnRails
[08:11:18] markelite: has joined #RubyOnRails
[08:11:28] jonathanwallace: has joined #RubyOnRails
[08:11:41] shinenelson: has joined #RubyOnRails
[08:11:54] sekrit: has joined #RubyOnRails
[08:12:14] tpendragon: has joined #RubyOnRails
[08:12:34] Radar: Steps to reproduce in a new app
[08:12:38] sunya7a: has joined #RubyOnRails
[08:12:41] Radar: bro we've played this game so many times
[08:12:55] CornishPasty: has joined #RubyOnRails
[08:12:58] skarn: has joined #RubyOnRails
[08:13:04] vayan: has joined #RubyOnRails
[08:13:04] toydestroyer: has joined #RubyOnRails
[08:13:04] GarethAdams: has joined #RubyOnRails
[08:13:04] waldi_: has joined #RubyOnRails
[08:13:05] thoraxe: has joined #RubyOnRails
[08:13:11] newton: has joined #RubyOnRails
[08:13:14] Radar: You know, last week I muted mices because he kept doing this too.
[08:13:19] Radar: Thinking it might be time to enforce that for other people too.
[08:13:30] GarethAdams: has joined #RubyOnRails
[08:13:48] corioliss: has joined #RubyOnRails
[08:14:15] alphaatom: has joined #RubyOnRails
[08:14:37] dhjondoh: has joined #RubyOnRails
[08:14:43] gremax: has joined #RubyOnRails
[08:16:32] aganov: has joined #RubyOnRails
[08:17:00] DoubleMalt: has joined #RubyOnRails
[08:17:29] wldcordeiro: has joined #RubyOnRails
[08:17:36] krainboltgreene: has joined #RubyOnRails
[08:17:51] jayne: has joined #RubyOnRails
[08:17:52] nomadicoder: has joined #RubyOnRails
[08:17:52] Iacobus: has joined #RubyOnRails
[08:17:52] brainslug: has joined #RubyOnRails
[08:17:52] jpterry: has joined #RubyOnRails
[08:17:52] gthank: has joined #RubyOnRails
[08:18:18] annlewis: has joined #RubyOnRails
[08:18:25] baweaver: has joined #RubyOnRails
[08:18:43] ebryn: has joined #RubyOnRails
[08:18:44] csmb: has joined #RubyOnRails
[08:18:57] gthank: has joined #RubyOnRails
[08:19:48] Radar: Legit interested to see when mices +q expires tomorrow if they've learned anything or not.
[08:19:58] bodie_: has joined #RubyOnRails
[08:20:14] sevenseacat: given I told him off for PMing me directly yesterday, it is unlikely.
[08:20:21] alphaatom: has joined #RubyOnRails
[08:20:28] Radar: Heh. What'd he ask?
[08:20:41] sevenseacat: some random help question, I ignored it
[08:21:50] ruurd: has joined #RubyOnRails
[08:22:15] Pumukel: has joined #RubyOnRails
[08:22:19] Phoop: has joined #RubyOnRails
[08:22:20] flip_digits: has joined #RubyOnRails
[08:22:42] nyandoge: has joined #RubyOnRails
[08:22:42] pfg: has joined #RubyOnRails
[08:22:42] dotty: has joined #RubyOnRails
[08:23:16] Hosh: has joined #RubyOnRails
[08:23:20] arathald: has joined #RubyOnRails
[08:23:35] cubny: has joined #RubyOnRails
[08:23:42] czetter: has joined #RubyOnRails
[08:23:59] Radar: Did the same to me earlier in the week and I said just to read the first 8 chapters of Rails 4 in Action
[08:24:09] kumavis: has joined #RubyOnRails
[08:24:18] akosednar: has joined #RubyOnRails
[08:24:22] iamdevnul: has joined #RubyOnRails
[08:24:23] SuppliedRelic: has joined #RubyOnRails
[08:24:28] ss_much: has joined #RubyOnRails
[08:24:34] lbotos: has joined #RubyOnRails
[08:24:37] justinweiss_: has joined #RubyOnRails
[08:24:38] spastorino: has joined #RubyOnRails
[08:24:43] BLuEGoD: has joined #RubyOnRails
[08:24:43] zrl: has joined #RubyOnRails
[08:24:48] markelite: has joined #RubyOnRails
[08:24:49] shinenelson: has joined #RubyOnRails
[08:24:51] CornishPasty: has joined #RubyOnRails
[08:24:53] vayan: has joined #RubyOnRails
[08:24:53] newton: has joined #RubyOnRails
[08:24:54] corioliss: has joined #RubyOnRails
[08:24:59] krainboltgreene: has joined #RubyOnRails
[08:25:00] Guest4184: has joined #RubyOnRails
[08:25:01] nomadicoder: has joined #RubyOnRails
[08:25:18] ebryn: has joined #RubyOnRails
[08:25:23] ruurd: has joined #RubyOnRails
[08:26:38] agit0: has joined #RubyOnRails
[08:27:09] jas02: has joined #RubyOnRails
[08:27:34] trosborn: has joined #RubyOnRails
[08:27:55] jas02: has left #RubyOnRails: ()
[08:28:32] mikajo: has joined #RubyOnRails
[08:28:35] Radar: dinner time. goodnight
[08:29:22] nya: has joined #RubyOnRails
[08:29:22] p8m: has joined #RubyOnRails
[08:29:22] joelsmith: has joined #RubyOnRails
[08:29:22] atomical: has joined #RubyOnRails
[08:29:22] swhitt: has joined #RubyOnRails
[08:29:22] w5isp: has joined #RubyOnRails
[08:32:30] pawnbox: has joined #RubyOnRails
[08:32:37] sunya7a_: has joined #RubyOnRails
[08:32:45] annlewis_: has joined #RubyOnRails
[08:32:52] loechel: has joined #RubyOnRails
[08:33:40] CornishPasty_: has joined #RubyOnRails
[08:34:06] krainboltgreene_: has joined #RubyOnRails
[08:34:23] jas02_: has joined #RubyOnRails
[08:34:48] shinenelson_: has joined #RubyOnRails
[08:35:08] lemur: has joined #RubyOnRails
[08:35:15] juddey: has joined #RubyOnRails
[08:36:14] AntiSpamMeta: has joined #RubyOnRails
[08:36:38] newton__: has joined #RubyOnRails
[08:36:39] trautwein: has joined #RubyOnRails
[08:36:57] corioliss_: has joined #RubyOnRails
[08:39:01] Brando753-o_O_o: has joined #RubyOnRails
[08:39:58] lxsameer: has joined #RubyOnRails
[08:42:51] nettoweb: has joined #RubyOnRails
[08:43:48] riskish: has joined #RubyOnRails
[08:45:25] A124: has joined #RubyOnRails
[08:45:49] marr: has joined #RubyOnRails
[08:45:53] defsdoor: has joined #RubyOnRails
[08:46:02] alphaatom: has joined #RubyOnRails
[08:47:53] sekrit: has joined #RubyOnRails
[08:48:46] AimlessRAven: has joined #RubyOnRails
[08:49:16] AimlessRAven: good mornin guys
[08:49:28] AimlessRAven: i have colleection select: = f.select :category_id_eq, options_from_collection_for_select(Category.all, :id, :name), {include_blank: true}, class: 'form-control'
[08:49:47] AimlessRAven: but i want when i submit, rails keep my selected values in select menu
[08:49:49] AimlessRAven: how to do this
[08:54:52] CornishPasty_: has left #RubyOnRails: ()
[08:55:02] kp666: has joined #RubyOnRails
[08:55:25] Grundell: has joined #RubyOnRails
[08:55:25] CornishPasty: has joined #RubyOnRails
[08:55:40] gr3yR0n1n: has joined #RubyOnRails
[08:55:57] sameerynho: has joined #RubyOnRails
[08:58:28] lampe2: has left #RubyOnRails: ("WeeChat 1.3")
[08:59:22] mark4: has joined #RubyOnRails
[09:00:46] m3_del: has joined #RubyOnRails
[09:01:44] yoongkang: has joined #RubyOnRails
[09:01:52] bersimoes: has joined #RubyOnRails
[09:04:50] davidw: has joined #RubyOnRails
[09:04:50] davidw: has joined #RubyOnRails
[09:04:52] tuelz: has joined #RubyOnRails
[09:06:20] zoras: has joined #RubyOnRails
[09:06:24] skarn: has joined #RubyOnRails
[09:07:25] brunto: has joined #RubyOnRails
[09:07:30] eoy: has joined #RubyOnRails
[09:08:09] tpendragon: has joined #RubyOnRails
[09:09:24] kimegede: has joined #RubyOnRails
[09:10:11] arBmind: has joined #RubyOnRails
[09:10:12] jsrn: has joined #RubyOnRails
[09:10:24] s2013: has joined #RubyOnRails
[09:10:46] s2013: happy thanksgiving
[09:12:45] jsrn_: has joined #RubyOnRails
[09:12:51] wpp: has joined #RubyOnRails
[09:12:59] adre: has joined #RubyOnRails
[09:13:02] alphaatom: has joined #RubyOnRails
[09:20:22] dhjondoh: has joined #RubyOnRails
[09:22:36] flip_digits: has joined #RubyOnRails
[09:22:49] shibabu: has joined #RubyOnRails
[09:23:18] Klumben: has joined #RubyOnRails
[09:24:56] ruurd: has joined #RubyOnRails
[09:28:23] jozan: has joined #RubyOnRails
[09:28:23] eoy: has joined #RubyOnRails
[09:30:07] Didac: has joined #RubyOnRails
[09:30:10] Contigi777: has joined #RubyOnRails
[09:31:19] Gustavo: has joined #RubyOnRails
[09:31:22] pawnbox: has joined #RubyOnRails
[09:31:59] artto: has joined #RubyOnRails
[09:32:00] blackhuey1: has joined #RubyOnRails
[09:32:01] jas02: has joined #RubyOnRails
[09:32:11] Lauer: has joined #RubyOnRails
[09:32:11] Kuukunen: has joined #RubyOnRails
[09:32:23] goldbug: has joined #RubyOnRails
[09:32:33] triptec: has joined #RubyOnRails
[09:32:37] rromanch_: has joined #RubyOnRails
[09:32:37] nightsh_: has joined #RubyOnRails
[09:32:52] lubekpl: has joined #RubyOnRails
[09:32:56] r0bby_: has joined #RubyOnRails
[09:33:17] johnflux: has joined #RubyOnRails
[09:33:17] johnflux: has joined #RubyOnRails
[09:33:37] bruce_lee2: has joined #RubyOnRails
[09:33:44] shinnya: has joined #RubyOnRails
[09:33:46] gambl0re: has joined #RubyOnRails
[09:33:56] Puffball_: has joined #RubyOnRails
[09:33:58] bruce_lee2: has joined #RubyOnRails
[09:34:29] ubersapiens: has joined #RubyOnRails
[09:34:35] _3by8: I just moved a script from a template to a .js.erb file in the assets/javascripts folder and now all of the sudden, my app is complaining that a path that was working perfectly in the template is suddenly an "undefined method"
[09:34:47] stannard: has joined #RubyOnRails
[09:34:48] phon: has joined #RubyOnRails
[09:35:04] _3by8: Anyone know what that's all about?
[09:35:10] Signum: has joined #RubyOnRails
[09:35:10] Signum: has joined #RubyOnRails
[09:35:16] masscrx: has joined #RubyOnRails
[09:35:22] hive-mind: has joined #RubyOnRails
[09:35:24] GragHarker: has joined #RubyOnRails
[09:35:29] weckl: has joined #RubyOnRails
[09:36:28] sevenseacat: has joined #RubyOnRails
[09:37:05] _3by8: I guess routes aren't available to assets?
[09:38:13] chridal: has joined #RubyOnRails
[09:38:23] andatche: has joined #RubyOnRails
[09:38:44] JoshL: has joined #RubyOnRails
[09:38:44] shinenelson: has joined #RubyOnRails
[09:38:48] thejoecarroll: has joined #RubyOnRails
[09:38:49] sevenseacat: definitely not.
[09:39:48] Paradox: has joined #RubyOnRails
[09:40:26] shtirlic: has joined #RubyOnRails
[09:40:30] segy: has joined #RubyOnRails
[09:40:55] nettoweb: has joined #RubyOnRails
[09:41:12] Kingdutch: has joined #RubyOnRails
[09:41:44] gr3yR0n1n: has joined #RubyOnRails
[09:42:16] baweaver: has joined #RubyOnRails
[09:42:48] annlewis: has joined #RubyOnRails
[09:43:36] tvw: has joined #RubyOnRails
[09:45:41] Spami: has joined #RubyOnRails
[09:46:01] coffeejunk: has joined #RubyOnRails
[09:46:36] hendricius: has joined #RubyOnRails
[09:47:16] wldcordeiro: has joined #RubyOnRails
[09:47:22] aganov: has joined #RubyOnRails
[09:47:36] digneety: has joined #RubyOnRails
[09:47:48] _3by8: Okay, here's something else that's been stumping me. A similar process worked in another part of the app but this one doesn't seem to work. I'm calling form_for passing a model called Ownership which has two columns: user_id and printer_id. If I try to call a collection_select for the instance of that form, passing :printer_id, for example, as the method, it tells me that it's undefined. What am I doing wrong?
[09:48:04] ewnd9: has joined #RubyOnRails
[09:48:25] jsrn_: has joined #RubyOnRails
[09:48:36] comrad: has joined #RubyOnRails
[09:48:46] _3by8: I'll post a gist
[09:48:49] solars: has joined #RubyOnRails
[09:49:25] mark4: has joined #RubyOnRails
[09:49:37] bmalum: has joined #RubyOnRails
[09:49:39] Grundell: has joined #RubyOnRails
[09:50:16] bersimoes: has joined #RubyOnRails
[09:50:19] _3by8: https://gist.github.com/threebyeight/adfe22109f2abb103299 that's the view
[09:50:22] elton: has joined #RubyOnRails
[09:51:03] _3by8: https://gist.github.com/threebyeight/1b94f12e12e75a36e812 the controller
[09:51:06] DrShoggoth: has joined #RubyOnRails
[09:52:42] AimlessRAven: has joined #RubyOnRails
[09:53:04] rclements: has joined #RubyOnRails
[09:53:24] sevenseacat: is that all the code? ok, if so, what is the problem with that code?
[09:53:43] AimlessRAven: hi guys, i have = f.select :category_id_eq, options_from_collection_for_select(Category.all, :id, :name), {include_blank: :tru??}, class: 'form-control' and i want to keep my selected value after submit, how to do that
[09:54:14] pawnbox: has joined #RubyOnRails
[09:54:33] sevenseacat: AimlessRaven: depends on the object you pass into the form. also, for the record, we're not all guys here.
[09:54:38] sekrit: has joined #RubyOnRails
[09:55:46] _3by8: sevenseacat: I'm sorry if I'm frustrating, I'll be honest with you like I am with my coworkers. I'm schizophrenic and I've got a bevy of other cognitive issues that cause me to act first, think later. I'm super impulsive. So if I rub you the wrong way with my endless questions that don't make any sense and/or ability to forget to post Gists, that could be why. Just sayin'.
[09:55:54] AimlessRAven: heh ok, but how can i do that
[09:56:30] _3by8: I think I've got it figured out.
[09:57:08] nfk|laptop: has joined #RubyOnRails
[09:57:32] Ergo: has joined #RubyOnRails
[09:57:34] _3by8: So, interesting fact, I thought I was Jesus Christ for like an entire month before anyone (including myself) realized I needed help.
[09:58:08] sevenseacat: _3by8: to be honest with you also, don't take my bluntness for frustration. if people have a problem, i want to see the code, then help get to the bottom of it. i'm quite happy to ask for gist of code, but I do expect you to figure out *eventually* that we need to see the code. I also have a lot on my plate, am often helpingmultiple people at the same time as doing my own work.
[09:58:33] sevenseacat: so if you get sidetracked and go off and do whatever, thats fine, but don't expect me to sit around waiting to help you.
[09:58:40] _3by8: sevenseacat: I appreciate your time spent volunteering.
[09:59:53] User458764: has joined #RubyOnRails
[10:03:07] Rikle_S: has joined #RubyOnRails
[10:03:16] RegulationD: has joined #RubyOnRails
[10:04:48] build22: has joined #RubyOnRails
[10:05:06] Peg-leg: has joined #RubyOnRails
[10:05:21] noodman: has joined #RubyOnRails
[10:05:39] tuelz: has joined #RubyOnRails
[10:08:24] alphaatom: has joined #RubyOnRails
[10:09:04] davidw: has joined #RubyOnRails
[10:10:37] User458764: has joined #RubyOnRails
[10:11:01] rodfersou: has joined #RubyOnRails
[10:12:59] null__: has joined #RubyOnRails
[10:12:59] null__: has joined #RubyOnRails
[10:17:08] norc: Does it make sense to use a polymorphic association for an attachment model?
[10:17:23] cookiez: has joined #RubyOnRails
[10:18:03] MissionCritical: has joined #RubyOnRails
[10:18:18] artto_: has joined #RubyOnRails
[10:18:20] worknick: has joined #RubyOnRails
[10:18:38] goldbug: Okay, conceptual problem. I have a partial form on a page which is reloaded whenever someone selects a locale from a dropdown. The fields (finally!) change dynamically to show what the data for that locale is. However, if I make a change and hit submit, it saves the data only in the :en (default) locale, because the submit button is not contained within the fields that get reloaded.
[10:18:47] worknick: how can i automate rake db:migrate on my production whenever i add any new migration?
[10:19:22] goldbug: The fields in question are enclosed in a <% Globalize.with_locale(@language) do %> <% end %> wrapper. Any thoughts about how I need to restructure this?
[10:20:14] norc: worknick: I don't think you want that happening automatically whenever you add a new migration.
[10:21:11] brunto: has joined #RubyOnRails
[10:22:47] worknick: norc: why not? currently i first face error then realizes than i added new migration and then i do rake db: migration maunally.
[10:23:12] brunto: has joined #RubyOnRails
[10:23:12] bersimoes: has joined #RubyOnRails
[10:23:30] ubersapiens: has joined #RubyOnRails
[10:23:36] flip_digits: has joined #RubyOnRails
[10:23:41] m3_del: has joined #RubyOnRails
[10:27:07] norc: worknick: Chances are you will modify the migration.
[10:27:24] norc: Rails just generates some template for you to work with
[10:27:31] htmldrum: has joined #RubyOnRails
[10:30:13] zpe: has joined #RubyOnRails
[10:30:25] dhjondoh: has joined #RubyOnRails
[10:31:23] ql6wlld: has joined #RubyOnRails
[10:31:51] akosednar: has joined #RubyOnRails
[10:32:17] worknick: has joined #RubyOnRails
[10:32:32] worknick: norc: why not? currently i first face error then realizes than i added new migration and then i do rake db: migration maunally.
[10:32:55] brunto: has joined #RubyOnRails
[10:33:05] worknick: norc: ii am talking about test productiion. not production productiion!
[10:33:29] mikajo: has joined #RubyOnRails
[10:38:23] yoongkang: has joined #RubyOnRails
[10:39:23] blackmesa: has joined #RubyOnRails
[10:42:24] norc: test production.. wow. o_o
[10:43:24] annlewis: has joined #RubyOnRails
[10:43:59] Grundell: has joined #RubyOnRails
[10:44:21] threeminutemonta: has joined #RubyOnRails
[10:44:25] worknick: has joined #RubyOnRails
[10:44:58] antgel: has joined #RubyOnRails
[10:45:32] pydave6367: has joined #RubyOnRails
[10:45:54] ldnunes: has joined #RubyOnRails
[10:51:23] elton: has joined #RubyOnRails
[10:54:21] Gustavo: has joined #RubyOnRails
[10:55:07] srinidhi: has joined #RubyOnRails
[10:55:18] lubekpl: has joined #RubyOnRails
[10:57:03] njero: has joined #RubyOnRails
[11:00:37] arup_r: has joined #RubyOnRails
[11:02:09] bersimoes: has joined #RubyOnRails
[11:04:06] yfeldblum: has joined #RubyOnRails
[11:05:10] nfk|laptop: has joined #RubyOnRails
[11:06:23] tuelz: has joined #RubyOnRails
[11:07:49] artto: has joined #RubyOnRails
[11:10:48] worknick: has joined #RubyOnRails
[11:12:45] trbox: has joined #RubyOnRails
[11:12:45] lubekpl: has joined #RubyOnRails
[11:12:53] drale2k: has joined #RubyOnRails
[11:13:31] ldnunes_: has joined #RubyOnRails
[11:14:00] davidw: has joined #RubyOnRails
[11:17:33] alphaatom: has joined #RubyOnRails
[11:18:52] quazimodo: has joined #RubyOnRails
[11:19:25] suchness_: has joined #RubyOnRails
[11:20:10] lipoqil: has joined #RubyOnRails
[11:20:49] matthewd: worknick: It's not unusual to have a production deployment script automatically run db:migrate after it updates the git clone
[11:21:41] suchness_: has left #RubyOnRails: ()
[11:21:43] suchness_: has joined #RubyOnRails
[11:22:29] stamina: has joined #RubyOnRails
[11:23:18] brt: has joined #RubyOnRails
[11:24:26] m3_del: has joined #RubyOnRails
[11:24:35] suchness_: I am building an rails backend that serves an angular2.0 static frontend. ANyone have best practive of sending the "current user" representation as json? Ideally it would only happen once (or again later if changes are made). I would like to store some sort of permissions on the current_user json object, like what part of the sites they have access to and such.
[11:24:37] flip_digits: has joined #RubyOnRails
[11:24:42] suchness_: CurrentUserController or something?
[11:24:48] suchness_: Return the current user json included in every json request? (seems like a lot of overhead)
[11:25:32] shibabu: has joined #RubyOnRails
[11:26:31] alphaatom: has joined #RubyOnRails
[11:27:33] agit0: has joined #RubyOnRails
[11:29:50] matthewd: suchness: Wouldn't that be suitable for the response from your login/authentication request?
[11:32:38] dhjondoh: has joined #RubyOnRails
[11:32:46] suchness: matthewd: I thought about that at first, but if I am authenticated, then I load the page again, that 'transaction' isn't happening again since I am already authenticated.
[11:33:09] matthewd: How does the app know you're authenticated?
[11:34:14] suchness: The session?
[11:34:28] suchness: I am hoping. Haven't quite jumped into proof of concept yet.
[11:34:53] matthewd: How does the *angular* app know you're authenticated, without making a request to ask the server?
[11:35:38] Kedare: has joined #RubyOnRails
[11:35:39] matthewd: I would expect that on load, the app would ask the server "are we currently authenticated?" if yes, the server tells you your current user identity; if not, you know to show a login, and you'll get the currentuser info in response to that
[11:35:42] suchness: Hrm. I suppose up until now I assumed it was the same way a regular rails app does it, but it's not...
[11:35:59] suchness: Yeah, that makes sense.
[11:36:12] ebbflowgo: has joined #RubyOnRails
[11:38:44] LiquidInsect: has joined #RubyOnRails
[11:38:59] bersimoes: has joined #RubyOnRails
[11:39:14] rodfersou: has joined #RubyOnRails
[11:41:21] weihan: has joined #RubyOnRails
[11:44:09] annlewis: has joined #RubyOnRails
[11:46:13] tibra: has joined #RubyOnRails
[11:52:10] elton: has joined #RubyOnRails
[11:52:30] Sephyros: has joined #RubyOnRails
[11:53:48] marr: has joined #RubyOnRails
[11:54:05] Sephyros: Hello everyone!
[11:55:51] arup_r: has joined #RubyOnRails
[12:01:05] brunto: has joined #RubyOnRails
[12:02:49] tibra_: has joined #RubyOnRails
[12:02:53] bmalum: has joined #RubyOnRails
[12:05:38] Sephyros: I have this STI situation:
[12:05:38] Sephyros: class Foo < ActiveRecord::Base
[12:05:38] Sephyros: validates :attribute_X, presence: true
[12:05:38] Sephyros: class FooBar < Foo
[12:05:39] Sephyros: def next_status
[12:05:41] Sephyros: update_attributes(type: FooBarBar.to_s, attribute_Z: 'Bar')
[12:05:47] Sephyros: class FooBarBar < foo
[12:05:49] Sephyros: validates :attribute_Z, presence: true
[12:05:53] Sephyros: What is the Rubish way to change type ONLY if the FooBarBar has passed on validation?
[12:05:55] Sephyros: I could remove the FooBarBar validation and manually validate on FooBar but i dont think this is correct...
[12:05:57] quazimodo: has joined #RubyOnRails
[12:06:07] adaedra: Sephyros: use gist to paste code, don't do it in the channel.
[12:06:14] Sephyros: sorry i will do this
[12:07:07] tuelz: has joined #RubyOnRails
[12:10:53] Gustavo: has joined #RubyOnRails
[12:13:11] bersimoes: has joined #RubyOnRails
[12:14:53] arup_r1: has joined #RubyOnRails
[12:15:16] Cervajz: has joined #RubyOnRails
[12:17:38] srinidhi: has joined #RubyOnRails
[12:18:56] davidw: has joined #RubyOnRails
[12:18:56] davidw: has joined #RubyOnRails
[12:19:38] Sephyros: How i can fix this situation https://gist.github.com/9908fe1c77b6e36a90ee.git
[12:20:22] rvanlieshout: what situation?
[12:20:53] Sephyros: i need run validation before change status (type) on STI
[12:20:57] moeabdol1: has joined #RubyOnRails
[12:21:14] rvanlieshout: that url gives me a 404
[12:22:44] Sephyros: https://gist.github.com/Sephyros/9908fe1c77b6e36a90ee
[12:22:58] Sephyros: sorry for the 404 =P
[12:23:10] helpa: Please do not use fake values, as they can be confusing or misleading. Sometimes both.
[12:23:28] rvanlieshout: and what's wrong with normal validations?
[12:25:46] flip_digits: has joined #RubyOnRails
[12:27:25] drale2k: has joined #RubyOnRails
[12:27:52] trosborn: has joined #RubyOnRails
[12:29:23] Sephyros: the FooBar class should change its own state but only if the "next" status become validated
[12:29:59] Sephyros: i will try to remove the fake values... hang on
[12:30:09] rvanlieshout: this makes no sense whatsoever
[12:31:06] tk_: has joined #RubyOnRails
[12:33:20] roshanavand: has joined #RubyOnRails
[12:34:49] colleenmcguckin: has joined #RubyOnRails
[12:35:06] Sephyros: hope now makes more sense =/ > https://gist.github.com/Sephyros/9908fe1c77b6e36a90ee
[12:36:19] sevenseacat: has joined #RubyOnRails
[12:37:18] rvanlieshout: aah like that
[12:37:32] rvanlieshout: iirc validations on a subclass are not properly executed
[12:37:36] rvanlieshout: another reason why you shouldn't use STI :)
[12:37:57] blackmesa: has joined #RubyOnRails
[12:38:10] Sephyros: What alternatives to STI i have? i am new on this =/
[12:38:44] rvanlieshout: just a status attribute
[12:39:29] Sephyros: this wont make controllers and models very big?
[12:39:34] artto: has joined #RubyOnRails
[12:39:47] rvanlieshout: you can use concerns and all kinds of sane stuff to organize
[12:40:05] matthewd: Sephyros: It sounds like you're building a state machine... one of the gems in that area might help
[12:41:31] Sephyros: People here discourage the use of "State Machines" =/ they like STI
[12:41:48] kitsuneyo: has joined #RubyOnRails
[12:41:57] rvanlieshout: Sephyros: who did?
[12:42:06] bersimoes: has joined #RubyOnRails
[12:42:09] rvanlieshout: I've not yet seen any use case of STI over here that was valid
[12:42:11] Sephyros: here i mean on my work!
[12:42:37] nettoweb: hello guys, today I upgraded this gem 'bootstrap-sass' to last release and now I tried to start rails and Im getting this error: ... aws/s3/extensions.rb:212:in `const_missing_from_s3_library': uninitialized constant Sprockets::Rails (NameError)
[12:42:47] roshanavand: has joined #RubyOnRails
[12:43:10] rvanlieshout: Sephyros: ah right. well. then you have to include all your validations in your main model
[12:43:15] rvanlieshout: you might want to check with_options
[12:43:42] Sephyros: thank you, i will read about that :D
[12:44:04] rvanlieshout: and slowly remove STI from that application
[12:44:08] carlosd: has joined #RubyOnRails
[12:44:53] bensarz: has joined #RubyOnRails
[12:44:56] annlewis: has joined #RubyOnRails
[12:45:56] jsrn_: has joined #RubyOnRails
[12:45:59] B1n4r10: has joined #RubyOnRails
[12:46:11] lemur: has joined #RubyOnRails
[12:46:33] nettoweb: any idea what I can do to fix this? I searched this error but cant find much results
[12:46:56] sevenseacat: nettoweb: seems unrelated to bootstrap-sass.
[12:47:12] sevenseacat: and again, we're *not* all guys here. please don't call us such.
[12:47:55] camonz: has joined #RubyOnRails
[12:48:36] m3_del: has joined #RubyOnRails
[12:49:55] bensarz: hey guys, RoR n00b here, simple question about the recommended approach when it comes to returning errors from a RoR REST API. Would you return the error as part of the HTTP protocol (return 404 if a resource is not found) or would you include an error field in the response but still return 200 OK as far as the response goes?
[12:50:40] gaussblurinc1: has joined #RubyOnRails
[12:50:40] Sigfrid: has joined #RubyOnRails
[12:50:45] DoubleMalt: has joined #RubyOnRails
[12:50:54] trosborn: has joined #RubyOnRails
[12:51:32] medright: has joined #RubyOnRails
[12:51:49] adaedra: I'd HTTP status code + error message in response.
[12:51:53] sevenseacat: bensarz: don't return 200 OK if the response is not okay.
[12:52:02] sevenseacat: thats what status codes are for.
[12:52:45] nettoweb: sevenseacat here is a screenshot of my Gemfile.lock last changes: http://snag.gy/CLuR5.jpg
[12:52:53] elton: has joined #RubyOnRails
[12:52:59] gaussblurinc1: Hi! what is the right way to check environment variables hash for false value for key? is ENV['some_key'].present? a good decision? It doesn't cover 1 and 0 values as true or false :/
[12:53:03] nettoweb: maybe some of these changes
[12:53:11] sevenseacat: nettoweb: can you gist the changes?
[12:53:34] adaedra: gaussblurinc1: ENV.key?
[12:53:53] adaedra: Ah no wait, misread
[12:53:55] bensarz: sevenseacat, thanks for the quick answer, how would you return a meaningful error message? through a custom header? or by returning an error JSON entity in the body?
[12:54:03] flip_digits: has joined #RubyOnRails
[12:54:34] sevenseacat: in the response body if i had to, though a 404 is pretty straightforward, I don't know what message you would give
[12:54:46] nettoweb: sevenseacat I dont know if I can show you the difference pasting in gist
[12:54:59] adaedra: nettoweb: git diff
[12:55:10] User458764: has joined #RubyOnRails
[12:55:11] sevenseacat: nettoweb: errr, why not?
[12:55:20] adaedra: or git diff Gemfile.lock for just the file
[12:56:22] kitsuneyo: has joined #RubyOnRails
[12:56:26] kp666: has joined #RubyOnRails
[12:56:33] nettoweb: sevenseacat sorry I never had did it, https://gist.github.com/osnysantos/541f3003bc633597fce1
[12:57:24] bensarz: I used 404 as an example but say I was posting and expecting a 201 but something when wrong like an invalid value, I would like to return say a 400 with a message that says which value was invalid.
[12:58:18] pvertenten: has joined #RubyOnRails
[12:59:33] nettoweb: sevenseacat maybe something related with aws: ruby-2.0.0-p643/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:212:in `const_missing_from_s3_library': uninitialized constant Sprockets::Rails (NameError)
[12:59:36] sevenseacat: well a 400 isnt for invalid values, a 400 is for a malformed request
[12:59:52] User4587_: has joined #RubyOnRails
[13:00:07] sevenseacat: nettoweb: looks possible.
[13:00:15] bensarz: ^^ my point exactly about being a n00b :P
[13:00:47] kitsuneyo: recently been trying to get a jquery google maps form plugin (placecomplete) to work in my rails app. well i got it working but my solution creates jquery objects for each bit of data and sends them to hidden fields, which is not ideal. is there a better way to do this? https://gist.github.com/kitsuneyo/c3450a373ef3d4993db7
[13:03:50] Peg-leg: has joined #RubyOnRails
[13:06:31] gaussblurinc1: am I right that good check is: ENV['key'].present? && (!ENV['key'].kind_of?(Numeric) ||. ENV['key'].to_i != 0), means: should be present and if it is a number, it should be not equal to zero?
[13:07:30] matthewd: gaussblurinc1: Does it work?
[13:07:54] tuelz: has joined #RubyOnRails
[13:09:50] squiercaster: has joined #RubyOnRails
[13:09:51] noobda: has joined #RubyOnRails
[13:10:21] lacuna: has joined #RubyOnRails
[13:10:43] noobda: hey guys so I recently taught my sister programming. Can you suggest some useful projects she can dig into?
[13:10:53] medright: has joined #RubyOnRails
[13:11:45] yuujinlee: has joined #RubyOnRails
[13:13:18] gaussblurinc1: noobda: what kind of tasks/puzzles should like to solve?
[13:13:38] gaussblurinc1: *she likes to solve
[13:14:13] bersimoes: has joined #RubyOnRails
[13:14:14] B1n4r10: has joined #RubyOnRails
[13:15:08] Hates_: noobda: she can work through the Ruby Koans if she wants to improve her skills
[13:15:27] Hates_: noobda: no wait, that's not what I meant
[13:15:29] noobda: gaussblurinc1: well she wants to just build something useful but dunno where to look
[13:16:16] Hates_: noobda: ah, maybe just get her to build a basic CMS/Blog? that's what most people start with.
[13:16:41] weckl: noobda: To do list :)
[13:17:14] noobda: weckl: oh yeah that's a good idea I think. Something small and simple!
[13:17:24] noobda: Hates_: man, CMS is too boring haha
[13:18:17] yoongkang: has joined #RubyOnRails
[13:19:04] gaussblurinc1: matthewd: http://pastie.org/10582130
[13:19:50] gaussblurinc1: noobda: which os do you have in usage/programming?
[13:20:18] noobda: gaussblurinc1: ubuntu
[13:20:52] matthewd: gaussblurinc1: ENV isn't (quite) a hash
[13:21:54] Hates_: noobda: I had to write a web app recently for a programming test that generated and solved mazes
[13:24:00] davidw: has joined #RubyOnRails
[13:24:00] davidw: has joined #RubyOnRails
[13:25:09] gaussblurinc1: matthewd: dynamic typing wil work
[13:25:49] Sephyros: I had a problem and found a solution, but I need someone tell me if this solution is at least acceptable. https://gist.github.com/Sephyros/9908fe1c77b6e36a90ee (Solution is on comment)
[13:25:56] gaussblurinc1: Hates_: is this app useful for you?
[13:26:54] rvanlieshout: Sephyros: yeah, that makes sense
[13:27:03] rvanlieshout: and clears a path to remove the WaitingOrder and CanceledOrder
[13:27:16] gaussblurinc1: noobda: maybe should would like to start with ubuntu extensions? She could build a widget that would display some necessary information.
[13:27:33] Hates_: gaussblurinc1: Useful in the respect that it got me the job ;)
[13:27:45] Hates_: gaussblurinc1: it was a good programming exercise too
[13:28:16] shibabu: has joined #RubyOnRails
[13:30:25] gaussblurinc1: Hates_: you calculate 'usefulness' in knowledge points :) But as I understand noobda's sister: She wants to learn programming for building necessary things for her ( for example, maybe for others too ). Extensions, for example, could bring useful informations/functionality to desktop and could be useful for many peoples
[13:32:40] beauby: has joined #RubyOnRails
[13:33:12] dionysus69: has joined #RubyOnRails
[13:34:44] annlewis: has joined #RubyOnRails
[13:34:46] Hates_: gaussblurinc1: yes of course, but if you're learning how useful can you really be. if you're starting out you should be writing throw away applications.
[13:35:18] pawnbox: has joined #RubyOnRails
[13:35:54] Hates_: gaussblurinc1: we can never answer what might be useful for her. only what might be useful in terms of improving her abilities
[13:37:18] ubersapiens: has joined #RubyOnRails
[13:38:43] bmalum: has joined #RubyOnRails
[13:38:54] gaussblurinc1: Hates_: yes, however, we should help noobda's sister, not talking about usefulness :)
[13:39:55] Hates_: gaussblurinc1: you brought up the subject of usefullness. I simply gave an example of something she could try making.
[13:40:43] Hates_: gaussblurinc1: perhaps you should give a suggestion to
[13:41:19] drale2k: has joined #RubyOnRails
[13:41:27] siaW: has joined #RubyOnRails
[13:42:15] siaW: i have a file saved as .evn.sample and contains APP_NAME=???name of app??? how do i save this .sample extension so my rails application can see and use it?
[13:42:21] rickmasta: has joined #RubyOnRails
[13:46:28] lacuna: has joined #RubyOnRails
[13:49:55] goldbug: rvanlieshout, are you about mate?
[13:50:51] goldbug: Cool. So that thing I've been working on has a fundamental problem.
[13:51:23] goldbug: You know how there's a partial form enclosed in a I18n.with_locale wrapper?
[13:51:57] goldbug: When I hit submit on the main form, the data seems to be going through as if there was no wrapper.
[13:52:21] rvanlieshout: then gist what you have again, with the log for that ajax request
[13:53:03] goldbug: Okay, just a minute.
[13:53:46] medright: has joined #RubyOnRails
[13:53:51] elton: has joined #RubyOnRails
[13:54:41] flip_digits: has joined #RubyOnRails
[13:55:41] goldbug: https://gist.github.com/classicgoldbug/dd0f0250d2900b9d84a8
[13:56:23] goldbug: I think the problem is that the Submit button is beyond the scope of the locale wrapper, so it is being submitted as if it was :en (the default)
[13:56:32] kmckelvin: has joined #RubyOnRails
[13:57:13] silverash: has joined #RubyOnRails
[14:02:08] masscrx: I have given params: Parameters: { "offer"=>{"name"=>"example offer", "limits"=>{"shops"=>"1", "items"=>"15"}}, "commit"=>"Create Offer"}
[14:02:17] masscrx: and params.require(:offer).permit(:id, :name).tap { |whitelisted| whitelisted[:limits] = params[:offer][:limits] }
[14:02:23] diegoviola: has joined #RubyOnRails
[14:02:32] masscrx: but there is still info about unpermitted parameters
[14:03:01] masscrx: any advice?
[14:03:20] sevenseacat: masscrx: and the error is?
[14:03:31] masscrx: Unpermitted parameter: limits
[14:03:55] rvanlieshout: goldbug: one moment
[14:04:27] rvanlieshout: goldbug: so what's the problem?
[14:04:27] sevenseacat: masscrx: where are you permitting limits ?
[14:04:43] masscrx: what do you mean where?
[14:04:53] masscrx: in controller by params.require(:offer).permit(:id, :name).tap { |whitelisted| whitelisted[:limits] = params[:offer][:limits] }
[14:05:04] Gustavo: has joined #RubyOnRails
[14:06:34] sevenseacat: so you're just moving one user-supplied-but-not-permitted value
[14:06:39] sevenseacat: and not explicitly permitting it
[14:06:47] sevenseacat: so it's still unpermitted
[14:07:06] rickmasta: has joined #RubyOnRails
[14:07:18] masscrx: so how to permit that hash ?
[14:07:44] goldbug: rvanlieshout: I change the locale to, say, :nl, change a field and hit submit. But the change is applied to :en.
[14:07:46] sevenseacat: same way you'd permit any other hash
[14:08:22] rvanlieshout: goldbug: define 'change is applied to en'?
[14:08:37] tuelz: has joined #RubyOnRails
[14:09:00] goldbug: rvanlieshout: So if I reload the form, with default locale :en, I get the fields I supposedly only changed for :nl.
[14:09:15] build22: has joined #RubyOnRails
[14:09:40] rvanlieshout: goldbug: and what's saved in the db?
[14:09:44] masscrx: sevenseacat: so now my request: params.require(:offer).permit(:id, :name, :price, :feauture_id, :limits) and params.require(:offer).permit(:id, :name, :price, :feauture_id, :limits) still :
[14:09:56] sevenseacat: thats not how you permit a hash
[14:10:11] masscrx: limits: [] ?
[14:10:26] masscrx: but keys will be dynamic
[14:10:29] sevenseacat: thats an array. do you really have unstructured data in :limits ?
[14:10:44] masscrx: so I need to permit a hash with unknown keys
[14:10:48] goldbug: rvanlieshout: The changes I made, but only to :en.
[14:11:14] goldbug: rvanlieshout: Yes, I've double checked via console.
[14:11:47] masscrx: sevenseacat: yeah it can be limits: {"shops" => "1"} or limits: {"sales" => "1000"}
[14:11:54] naftilos76: has joined #RubyOnRails
[14:11:59] goldbug: Person.find_by(surname: 'Beethoven').surname_nl
[14:12:03] sevenseacat: thats fine, thats not unstructured data. permit both.
[14:12:25] rvanlieshout: goldbug: and that returns nil?
[14:12:41] masscrx: but keys are fetched from DB, and are defined by user
[14:12:53] goldbug: rvanlieshout: It returns the value of surname (AKA surname_en), as that is set as a fallback language.
[14:13:08] roshanavand: has joined #RubyOnRails
[14:13:08] rvanlieshout: goldbug: how are you sure that's the fallback and not what's in the db?
[14:13:29] masscrx: sevenseacat: so I need to permit hash without providing keys
[14:13:39] sevenseacat: I don't think you do, but anyway
[14:13:40] goldbug: rvanlieshout: Because it is the same for any language I try whether I've added data or not.
[14:13:48] sevenseacat: read through http://guides.rubyonrails.org/action_controller_overview.html#strong-parameters
[14:13:59] rvanlieshout: goldbug: that's not enough
[14:14:01] rvanlieshout: verify it in the db
[14:14:51] ramortegui: has joined #RubyOnRails
[14:15:10] goldbug: rvanlieshout: Also, in console I can type Person.find_by(surname: 'Beethoven').surname_nl = 'Beeeeethoven', save the record, switch to NL with the front end dropdown and the correct result comes up - only for NL.
[14:15:38] rvanlieshout: so it's only the save part that fails?
[14:16:09] goldbug: It could be the update or the save, I'm not sure.
[14:16:20] rvanlieshout: get sure :) you cannot make asumptions
[14:16:31] rvanlieshout: and with save i meant update
[14:16:43] goldbug: Ah, in that case: Yes (:
[14:16:44] rvanlieshout: look at the differences in queries between editing via console and via website
[14:16:47] tibra: has joined #RubyOnRails
[14:17:06] goldbug: Hmm good idea.
[14:17:09] goldbug: Lemme see.
[14:17:16] goldbug: (SQL! I know this!)
[14:17:37] rvanlieshout: and how should the update action know what language it should save?
[14:18:06] doublemalt_: has joined #RubyOnRails
[14:18:12] timbrandes: has joined #RubyOnRails
[14:18:32] ewnd9: has joined #RubyOnRails
[14:18:45] uri: has joined #RubyOnRails
[14:18:59] goldbug: Theoretically it should be handled by Globalize.
[14:19:11] goldbug: Theoretically.
[14:19:18] rvanlieshout: but how should it know what language you're editing?
[14:19:19] Sephyros: This chat in only for RAILS related conversations or any gem or code involved on Rails development?
[14:19:21] dhjondoh: has joined #RubyOnRails
[14:19:28] tibra_: has joined #RubyOnRails
[14:19:44] goldbug: rvanlieshout: The wrapper ought to do it, according to the documentation.
[14:19:49] rvanlieshout: look at the params you get for that patch request and what params you send to the model
[14:20:00] rvanlieshout: and see the query differences
[14:20:04] goldbug: Yes, I can see the problem. No locale being sent to person_translations table
[14:21:06] goldbug: And I think the reason is because the Submit button, which triggers the Save action, is being done outside the with_locale wrapper.
[14:21:14] atomical: has joined #RubyOnRails
[14:21:42] goldbug: As far as the save action is concerned, I'm saving in the default locale.
[14:21:53] rvanlieshout: no assumptions
[14:22:02] rvanlieshout: query executed in console = ?
[14:22:05] rvanlieshout: query executed in update = ?
[14:22:16] goldbug: Let me gist them, hang on.
[14:22:19] Sephyros: i have some issues with cucumber... some scenarios only pass if i run them separately...
[14:22:23] bmalum_: has joined #RubyOnRails
[14:22:43] bmalum_: has left #RubyOnRails: ()
[14:23:12] bersimoes: has joined #RubyOnRails
[14:23:41] nya: has joined #RubyOnRails
[14:25:29] n1lo: has joined #RubyOnRails
[14:25:56] njero: hey.. any idea how serialization scope can be passed to ams from console?..
[14:26:58] atomical: has joined #RubyOnRails
[14:28:03] moeabdol: has joined #RubyOnRails
[14:28:57] davidw: has joined #RubyOnRails
[14:28:58] davidw: has joined #RubyOnRails
[14:29:45] goldbug: rvanlieshout: Here it is, https://gist.github.com/classicgoldbug/047db07948775935c448
[14:30:54] rvanlieshout: noticed those queries are not the same?
[14:33:47] goldbug: rvanlieshout: Yep. Just done a side-by-side comparison, and added it to the gist.
[14:35:14] bersimoes: has joined #RubyOnRails
[14:35:34] rvanlieshout: so find out how globalize should know what language to edit
[14:39:17] scrooloose: has joined #RubyOnRails
[14:39:42] goldbug: Two ways: Either it will save to whatever the locale is set as; or (using Globalize_accessors) using virtual attributes ending with _en or _nl etc.
[14:40:04] rvanlieshout: or just find out what you should do to tell globalize to update a specific language
[14:40:52] yoongkang: has joined #RubyOnRails
[14:41:20] annlewis: has joined #RubyOnRails
[14:42:05] goldbug: Either change the locale (using I18n.locale = :nl) before setting the field, use with_locale (I18n.with_locale(@languages)), or add the locale onto the end of the attribute as above.
[14:42:35] goldbug: But the method I've gone for (with_locale) is exited out of before the save event is triggered.
[14:42:55] goldbug: Though I'm not sure that should make a difference.
[14:43:47] lacuna: has joined #RubyOnRails
[14:43:57] goldbug: I do note that with_locale is only suggested as a means of viewing data in the documentation: https://github.com/globalize/globalize#show-different-languages
[14:43:58] tuelz: has joined #RubyOnRails
[14:45:22] rickmasta: has joined #RubyOnRails
[14:46:23] rickmasta: has joined #RubyOnRails
[14:46:33] Gargron: has joined #RubyOnRails
[14:46:53] diegoviola: how do I store seconds on a model? like 5.894854497
[14:46:58] diegoviola: what type of field do I use?
[14:47:28] rickmasta: has joined #RubyOnRails
[14:47:38] diegoviola: I'm doing start_time = Time.now and then Time.now - start_time
[14:47:51] diegoviola: to get that value
[14:48:09] atomical: has joined #RubyOnRails
[14:48:22] Gargron: diegoviola, float
[14:48:31] Gargron: double if you need precision
[14:48:33] pawnbox: has joined #RubyOnRails
[14:48:43] rickmasta: has joined #RubyOnRails
[14:48:43] draken: has joined #RubyOnRails
[14:49:24] Gargron: i have a more unusual question. suppose i need to update a reverse proxy configuration from within rails based on dynamic data in there. how should i do it?
[14:49:38] Gargron: seems unwise to let the rails app execute sudo commands
[14:49:43] pawnbox: has joined #RubyOnRails
[14:49:49] diegoviola: don't do that
[14:50:51] diegoviola: run your app as a unprivileged user or in a container
[14:52:15] matthewd: Gargron: !xy
[14:52:15] helpa: Gargron: It seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
[14:52:16] norc: Gargron: Your proxy server might understand HUP or maybe it defines USR1/USR2 for that purpose.
[14:52:20] diegoviola: Gargron: reverse proxy configuration?
[14:52:27] rickmasta: has joined #RubyOnRails
[14:52:39] Gargron: like nginx yes
[14:52:52] Gargron: norc, but doesn't HUP require sudo too?
[14:53:25] diegoviola: run nginx as a user
[14:53:53] diegoviola: then you might be able to send signals to that process
[14:53:56] norc: Gargron: As matthewd said though, it sounds like an XY problem.
[14:54:09] Gargron: yes but that's why i came here and didn't go to SO instead
[14:54:23] Gargron: because i needed actual fellow developer input
[14:54:35] norc: Gargron: Fellow developer input tells you that you need to present your problem.
[14:54:37] rickmasta: has joined #RubyOnRails
[14:54:37] elton: has joined #RubyOnRails
[14:54:57] norc: Maybe your approach is right, maybe it's not. But without understanding the context it's really hard to give you adequate help
[14:54:58] Gargron: anyway currently considering saving info to consul and running consul-template to update nginx
[14:55:18] Gargron: norc, i am writing a cluster orchestration app for an internal network
[14:55:30] diegoviola: controlling your web server from your app doesn't sound right
[14:55:47] drale2k: has joined #RubyOnRails
[14:55:58] Gargron: there's exceptions to every rule
[14:56:14] rickmasta: has joined #RubyOnRails
[14:56:18] Gargron: my app is an admin UI for a docker swarm
[14:56:18] diegoviola: it doesn't make it less stupid
[14:56:43] norc: Gargron: Truth be told, I have actually no idea about permissions. But sending HUP to your nginx whenever you change something is by far the most reasonable thing to do.
[14:57:01] norc: Gargron: Using signals for reloading config files and even applications is about the most common way.
[14:57:16] rickmasta: has joined #RubyOnRails
[14:57:49] Gargron: norc, i guess. i think using consul will be most reasonable though. kinda regret not thinking of it sooner
[14:57:56] matthewd: If the app's purpose is to control nginx, I don't think I'd necessarily rule out giving it (carefully cut out) sudo access
[14:58:06] worknick: has joined #RubyOnRails
[14:58:27] matthewd: But something like consul will indeed presumably scale better for wider control
[14:58:36] worknick: i am doing background:url('puppy1.jpeg') #A98436 no-repeat; in my welcom.scss and this image appears in localhost but not in production.
[14:59:17] matthewd: worknick: You probably want to use the asset URL helpers (so, `image-url('puppy1.jpeg')`)
[14:59:28] rickmasta: has joined #RubyOnRails
[14:59:34] worknick: matthewd: thanks. will try that.
[14:59:55] goldbug: rvanlieshout: What seems to be going on is the webpage is not triggering an INSERT INTO when a new translation is made: https://gist.github.com/classicgoldbug/047db07948775935c448
[15:00:30] rickmasta: has joined #RubyOnRails
[15:00:32] eoy_: has joined #RubyOnRails
[15:01:25] photek: has joined #RubyOnRails
[15:01:47] tvw: has joined #RubyOnRails
[15:02:07] photek: has left #RubyOnRails: ()
[15:02:36] rickmasta: has joined #RubyOnRails
[15:02:47] rvanlieshout: goldbug: because it doesn't know what language you're editing
[15:03:53] rickmasta: has joined #RubyOnRails
[15:04:43] goldbug: rvanlieshout: Yep, so the with_locale is not working.
[15:05:02] rvanlieshout: globalize does not know what language it should update
[15:05:08] rvanlieshout: so either the inputs have a wrong name
[15:05:14] rvanlieshout: or it should be presented differently
[15:05:18] rvanlieshout: what do the globalize docs say about this?
[15:05:42] goldbug: They're not very comprehensive, but this is where I pinched the with_locale idea from: https://github.com/globalize/globalize#show-different-languages
[15:06:25] goldbug: But note that is for viewing data not updating it.
[15:08:28] roKin14: has joined #RubyOnRails
[15:08:35] goldbug: rvanlieshout: I think the first example on this page is why it's going wrong: https://translation.io/blog/rails-i18n-with-locale
[15:08:47] rvanlieshout: i've never used globalize
[15:08:53] rickmasta: has joined #RubyOnRails
[15:08:55] rvanlieshout: but i woudn't if their docs fail
[15:08:56] goldbug: As soon as you end the with_locale block, the locale is changed. By the time you hit 'Submit', locale = :en
[15:09:14] rvanlieshout: what's different about this inputs
[15:09:17] rvanlieshout: if you change language?
[15:09:17] siaW: has left #RubyOnRails: ()
[15:09:21] rclanan: has joined #RubyOnRails
[15:09:41] goldbug: Nothing at all as far as the web server is concerned.
[15:09:48] goldbug: They have the same name.
[15:09:52] goldbug: It's only the locale that changes.
[15:10:05] norc: I am looking for a simple to use way of attaching multiple files to my records. CarrierWave is giving me a serious headache when using multiple file uploads. What are my options here?
[15:10:05] rvanlieshout: and the locale id isn't in the name of those inputs?
[15:10:13] annlewis: has joined #RubyOnRails
[15:12:09] Guest6988: has joined #RubyOnRails
[15:12:43] goldbug: rvanlieshout: No.
[15:13:25] rvanlieshout: is it somewhere?
[15:13:34] rvanlieshout: cause how else would globalize know?
[15:14:25] goldbug: Only in the with_locale setting. That's the only way Globalize knows.
[15:14:37] rvanlieshout: that information is lost when you submit your form
[15:14:48] rvanlieshout: the only information you have is the info in the params
[15:14:49] goldbug: Yes, because the submit is outside the with_locale block.
[15:14:55] rvanlieshout: no not because of that
[15:14:59] rvanlieshout: because of client side -> server side
[15:15:04] rvanlieshout: but i'm sining off again
[15:15:11] rvanlieshout: you should fix this in the controller based on the params
[15:15:25] goldbug: Okay mate, thanks for helping me brainstorm - I have an idea on how to fix it.
[15:15:31] goldbug: (Three ideas actually.)
[15:16:56] rickmasta: has joined #RubyOnRails
[15:16:56] kitsuneyo: has joined #RubyOnRails
[15:20:16] roshanavand: has joined #RubyOnRails
[15:20:52] Scripore: has joined #RubyOnRails
[15:21:29] robise: has joined #RubyOnRails
[15:21:31] thejoecarroll: has joined #RubyOnRails
[15:23:14] nettoweb: has joined #RubyOnRails
[15:26:39] sandstrom: has joined #RubyOnRails
[15:29:00] banister: has joined #RubyOnRails
[15:31:12] shibabu: has joined #RubyOnRails
[15:31:55] ildarsafin: has joined #RubyOnRails
[15:32:24] rickmasta: has joined #RubyOnRails
[15:32:46] worknick: has joined #RubyOnRails
[15:33:04] worknick: matthewd: i am now doing background-image: image-url('puppy1.jpeg') #A98436 no-repeat; and still no image in production
[15:33:14] worknick: but its there in dev
[15:33:43] worknick: its not there in dev too now.
[15:33:44] DoubleMalt: has joined #RubyOnRails
[15:33:47] annlewis: has joined #RubyOnRails
[15:33:59] davidw: has joined #RubyOnRails
[15:34:04] matthewd: worknick: Where is the file?
[15:34:09] matthewd: Err, the image
[15:34:16] Gustavo: has joined #RubyOnRails
[15:34:23] worknick: it appears in dev if i change it from backnground-image to background
[15:34:23] worknick: matthewd: assets/images/
[15:34:57] rickmasta: has joined #RubyOnRails
[15:35:11] worknick: and i am writing this code in welcome.scss
[15:35:19] matthewd: Oh, right... that's a CSS error. Where did background-image come from?
[15:35:33] worknick: http://stackoverflow.com/questions/16843143/rails-4-image-path-image-url-and-asset-url-no-longer-work-in-scss-files
[15:35:54] worknick: matthewd: with "background" it works in dev but not in prudoction.
[15:36:18] Gustavo: has joined #RubyOnRails
[15:36:46] adavia_: has joined #RubyOnRails
[15:37:10] matthewd: Is there a public/assets/puppy1-{{digest}}.jpeg in production?
[15:37:43] shock_one: has joined #RubyOnRails
[15:37:45] atomical: has joined #RubyOnRails
[15:38:05] worknick: matthewd: no
[15:38:10] Yomero3: has joined #RubyOnRails
[15:38:50] matthewd: What URL is getting generated in the final CSS, in production?
[15:39:01] worknick: how to check that?
[15:39:08] medright: has joined #RubyOnRails
[15:39:14] Bugson: has joined #RubyOnRails
[15:39:31] matthewd: Inspect the CSS via your browser, or just open the file in public/assets/
[15:39:57] rickmasta: has joined #RubyOnRails
[15:40:48] djbkd: has joined #RubyOnRails
[15:41:02] rickmasta: has joined #RubyOnRails
[15:41:13] Bugson: hello guys I've created new instance of ActiveRecord model, I can show that it's proper instance and params have been correctly passed to the object, problem is that when I try to use model.save method it says that: *** NoMethodError Exception: undefined method `overall' for #<Item:0x00000004b8b330 any help on the subject?
[15:41:38] Bugson: I'm using byebug to debug
[15:42:30] matthewd: Bugson: !gist relevant code and the full error, please
[15:42:30] helpa: Bugson: http://gist.github.com - Put your codes online with pretty syntax highlighting and the ability to embed it into other pages.
[15:42:30] worknick: matthewd: i noticed that in dev, there is "background" code in body css. but in prod the "background" code itself it absent from css for body.
[15:43:13] matthewd: worknick: Have you rerun the precompile since you changed things?
[15:43:18] Bugson: ok I need to leave the office right now but I'll be back later
[15:43:54] worknick: matthewd: i ran RAILS_ENV=production rake assets:precompile again and still no puppy image in public/assets
[15:44:11] worknick: matthewd: oh wait! but now its appearing on page!
[15:44:58] kitsuneyo: i'm just gonna post my Q from earlier since i had to leave
[15:45:34] worknick: matthewd: my code in production in vps is showing my "old" code. even after RAILS_ENV=production rake assets:precompile. how to force it to read new code?
[15:45:49] tvw: has joined #RubyOnRails
[15:46:09] nettoweb: has joined #RubyOnRails
[15:46:33] kitsuneyo: i finally got a jquery google maps form plugin (placecomplete) to work in my rails app. but my solution creates jquery objects for each bit of data and sends them to hidden fields, which is not ideal. is there another way to do it, like sending a hash to a rails method or something? https://gist.github.com/kitsuneyo/c3450a373ef3d4993db7
[15:47:04] djbkd: has joined #RubyOnRails
[15:47:49] matthewd: worknick: If you're deploying with capistrano or similar, maybe the directory you're looking in is no longer the one it's running out of?
[15:49:02] worknick: matthewd: no capistrano. simple git push. nginx passenger.
[15:49:11] Pazician: has joined #RubyOnRails
[15:50:20] matthewd: worknick: If you're saying the application is now responding as you expect, but looking straight in the directory shows the file not there, I have no possible explanation other than "you're looking in the wrong place" ??\_(???)_/??
[15:52:50] alphaatom: has joined #RubyOnRails
[15:57:44] badhatter: has joined #RubyOnRails
[15:57:44] badhatter: has joined #RubyOnRails
[15:57:49] tuelz: has joined #RubyOnRails
[15:57:55] Prasun: has joined #RubyOnRails
[16:02:49] shock_one: has joined #RubyOnRails
[16:03:16] djbkd: has joined #RubyOnRails
[16:03:23] djellemah: has joined #RubyOnRails
[16:04:51] cornerma1: has joined #RubyOnRails
[16:05:01] diegoviola: I'm trying to login to some site using curl -F "username=foo" "password=bar" but is not working, it just renders the same page again
[16:05:10] diegoviola: I wonder what I'm doing wrong
[16:05:16] DanielN: has joined #RubyOnRails
[16:08:36] uris: has joined #RubyOnRails
[16:09:40] drale2k: has joined #RubyOnRails
[16:10:06] defsdoor: has joined #RubyOnRails
[16:14:23] kitsuneyo: diegoviola, sometimes curl doesn't work for me, how many times did you try it?
[16:14:49] diegoviola: about 10 times
[16:15:11] kitsuneyo: probably some other issue then
[16:16:02] kitsuneyo: what site is it?
[16:16:02] diegoviola: I just checked the <form> and only those params are being send
[16:16:04] diegoviola: not sure what else
[16:16:15] diegoviola: http://54.94.199.66/qualicorp/index.php?r=site/login
[16:16:32] defsdoor_: has joined #RubyOnRails
[16:16:45] maloik_: has joined #RubyOnRails
[16:17:13] djbkd: has joined #RubyOnRails
[16:19:00] solenoids: has joined #RubyOnRails
[16:19:45] arup_r: has joined #RubyOnRails
[16:20:37] solenoids: in my migrations, if I have a table `posts` that belongs_to a `user`, should I also put a has_many in the `users` schema?
[16:20:54] nfk: has joined #RubyOnRails
[16:21:06] sandstrom: has joined #RubyOnRails
[16:21:12] solenoids: will doing this essentially just cache a list of all posts on each user row?
[16:21:42] rickmasta: has joined #RubyOnRails
[16:23:21] bmalum: has joined #RubyOnRails
[16:25:53] rickmasta: has joined #RubyOnRails
[16:25:54] ubersapiens: has joined #RubyOnRails
[16:27:07] rickmasta: has joined #RubyOnRails
[16:27:13] medright: has joined #RubyOnRails
[16:27:42] pvertenten: has joined #RubyOnRails
[16:27:43] krz: has joined #RubyOnRails
[16:29:41] rickmasta: has joined #RubyOnRails
[16:30:39] kitsuneyo: has joined #RubyOnRails
[16:31:59] bmalum_: has joined #RubyOnRails
[16:32:38] Pazician: has joined #RubyOnRails
[16:32:41] shinenelson_: has joined #RubyOnRails
[16:33:42] rickmasta: has joined #RubyOnRails
[16:34:27] zrl_: has joined #RubyOnRails
[16:34:46] The_Kingdutch: has joined #RubyOnRails
[16:35:01] shtirlic_: has joined #RubyOnRails
[16:35:08] prakriti: has joined #RubyOnRails
[16:35:18] djellemah_: has joined #RubyOnRails
[16:35:44] G: has joined #RubyOnRails
[16:35:45] G: has joined #RubyOnRails
[16:35:45] existensil_: has joined #RubyOnRails
[16:35:53] mclee: has joined #RubyOnRails
[16:35:54] n1lo: has joined #RubyOnRails
[16:36:01] Bugson: has joined #RubyOnRails
[16:36:23] dionysus69: has joined #RubyOnRails
[16:36:29] solars: has joined #RubyOnRails
[16:36:31] Sephyros: has joined #RubyOnRails
[16:36:57] alevy: has joined #RubyOnRails
[16:37:12] djbkd: has joined #RubyOnRails
[16:38:09] nickenchuggets: has joined #RubyOnRails
[16:38:24] kitsuneyo: solenoids, how can you put has_many in the db schema?
[16:38:49] kitsuneyo: do you mean in the model?
[16:38:53] The_Phoenix: has joined #RubyOnRails
[16:39:02] rickmasta: has joined #RubyOnRails
[16:39:16] spectra: has joined #RubyOnRails
[16:39:22] davidw: has joined #RubyOnRails
[16:39:40] kitsuneyo: even then i don't think this would cache anything, it just defines a relationship
[16:39:56] Gustavo: has joined #RubyOnRails
[16:40:31] unreal: has joined #RubyOnRails
[16:40:36] solenoids: in the migration that creates the schema
[16:40:58] rickmasta: has joined #RubyOnRails
[16:41:45] kitsuneyo: solenoids: i may be a noob myself, but those kinds of relationships are set in the model, i.e. user.rb
[16:41:48] solenoids: I tested it out and it stores the relationship as an index
[16:42:02] annlewis: has joined #RubyOnRails
[16:42:13] rickmasta: has joined #RubyOnRails
[16:42:26] solenoids: hmm? I assumed relationships have to be defined in the schema, too
[16:42:34] yoongkang: has joined #RubyOnRails
[16:42:36] solenoids: http://guides.rubyonrails.org/association_basics.html
[16:42:37] kitsuneyo: how does it differ from adding an index to the db?
[16:42:42] diego2: has joined #RubyOnRails
[16:42:48] diego2: has joined #RubyOnRails
[16:43:42] solenoids: it makes an index named "index_posts_on_user_id", which your model detects and uses
[16:43:54] solenoids: from what I see
[16:43:55] kitsuneyo: you're right
[16:44:09] MissionCritical: has joined #RubyOnRails
[16:44:20] kitsuneyo: i see it on that page
[16:44:22] Macaveli: has joined #RubyOnRails
[16:45:07] kitsuneyo: shit, i've never done it like that but my relationships have worked
[16:45:12] kitsuneyo: now i'm confused
[16:45:17] rickmasta: has joined #RubyOnRails
[16:46:24] solenoids: interesting, it works without the relationship being defined in the schema?
[16:46:33] solenoids: wonder how it's storing it
[16:46:46] kitsuneyo: with a references/foreign key column
[16:46:52] solenoids: I just started learning RoR this morning :P
[16:47:00] kitsuneyo: i guess it works effectively the same
[16:47:05] shock_one: has joined #RubyOnRails
[16:47:21] rickmasta: has joined #RubyOnRails
[16:47:46] kitsuneyo: i learned my basics from hartl rails tutorial and there was no putting relationships in migrations like that
[16:48:43] rickmasta: has joined #RubyOnRails
[16:49:24] rickmasta: has joined #RubyOnRails
[16:49:35] gaussblurinc1: has joined #RubyOnRails
[16:50:26] rickmasta: has joined #RubyOnRails
[16:50:55] solenoids: so the model just inserts the necessary columns for relationships?
[16:52:03] Cervajz: has joined #RubyOnRails
[16:52:06] kitsuneyo: no, you do have to create a column like rails g migration users references:posts (or something like that)
[16:52:30] kitsuneyo: but you don't define the specific relationship like has_many, belongs_to in the migration
[16:52:51] rickmasta: has joined #RubyOnRails
[16:53:37] kitsuneyo: somebody more knowledgeable might pipe up and tell me i'm wrong any moment ;)
[16:53:45] rickmasta: has joined #RubyOnRails
[16:54:07] shock_one: has joined #RubyOnRails
[16:54:12] solenoids: well yeah, you define the relationship in the actual model class
[16:54:27] solenoids: I just didn't know doing that would change the actual schema
[16:54:28] rickmasta: has joined #RubyOnRails
[16:57:15] elton: has joined #RubyOnRails
[16:57:36] JulienITARD: has joined #RubyOnRails
[16:57:39] Cervajz: has joined #RubyOnRails
[16:57:39] kitsuneyo: "t.belongs_to :customer, index: true" - this looks like you could also define it in the schema itself
[16:58:06] rickmasta: has joined #RubyOnRails
[16:58:17] styx_: has joined #RubyOnRails
[16:58:33] tuelz: has joined #RubyOnRails
[16:59:10] styx_: hi! im currently reversing a rails project (without ruby knowledge, lol) and i wonder, if you can tell me how i can singlestep in the 'rails c' console. i'm using ruby version 1.9.1
[16:59:45] goldbug: solenoids: You should only need to define the relationship in the dependent table - as per kitsuneyo's example above.
[17:00:00] rickmasta: has joined #RubyOnRails
[17:00:44] kitsuneyo: goldbug, do you recommend doing that?
[17:01:11] rickmasta: has joined #RubyOnRails
[17:01:26] kitsuneyo: maybe it's because i use has_many through so often that i never came across this yet
[17:01:34] goldbug: kitsuneyo: Where appropriate, yes.
[17:02:09] rickmasta: has joined #RubyOnRails
[17:02:33] solenoids: goldbug: unsure about terminology here, do you mean relationships should be defined only in app/models/*.rb and not db/migrate/*.rb?
[17:03:05] djbkd: has joined #RubyOnRails
[17:03:20] goldbug: solenoids: You don't need to define them in the database, but personally I would to ensure referential integrity.
[17:03:24] goldbug: Have a read here: http://guides.rubyonrails.org/association_basics.html#updating-the-schema
[17:03:41] bensarz: has joined #RubyOnRails
[17:04:24] tuelz: has joined #RubyOnRails
[17:05:02] atomical: has joined #RubyOnRails
[17:05:18] uri: has joined #RubyOnRails
[17:06:17] RegulationD: has joined #RubyOnRails
[17:06:21] orikremer: has joined #RubyOnRails
[17:07:56] rickmasta: has joined #RubyOnRails
[17:08:44] dans: has joined #RubyOnRails
[17:09:31] rickmasta: has joined #RubyOnRails
[17:10:05] Maletor: has joined #RubyOnRails
[17:10:34] atomical_: has joined #RubyOnRails
[17:11:37] ubersapiens: has joined #RubyOnRails
[17:11:44] bersimoes: has joined #RubyOnRails
[17:11:56] rickmasta: has joined #RubyOnRails
[17:12:01] User458764: has joined #RubyOnRails
[17:13:04] rickmasta: has joined #RubyOnRails
[17:13:08] fedexo: has joined #RubyOnRails
[17:15:39] jessej: has joined #RubyOnRails
[17:17:44] rory096: has joined #RubyOnRails
[17:18:13] goodcodeguy: has joined #RubyOnRails
[17:20:04] Coldblackice: has joined #RubyOnRails
[17:21:10] dici: has joined #RubyOnRails
[17:23:59] drale2k: has joined #RubyOnRails
[17:25:50] pwnd_nsfw: Someone's only argument as to why ruby was shit was because "it's lowercase not downcase"
[17:25:58] pwnd_nsfw: I suppose I won't be talking to that person anymore
[17:28:34] njero: has joined #RubyOnRails
[17:29:21] Sigma01: has left #RubyOnRails: ()
[17:29:31] Sigma00: has joined #RubyOnRails
[17:29:51] codelahoma: has joined #RubyOnRails
[17:30:21] User4587_: has joined #RubyOnRails
[17:31:01] codelaho-: has joined #RubyOnRails
[17:34:25] shibabu: has joined #RubyOnRails
[17:34:53] spiman: has joined #RubyOnRails
[17:37:05] atomical: has joined #RubyOnRails
[17:37:25] spiman: hello, how can i use custom fonts in rails 4? i've been following this guide ( http://aokolish.me/blog/2011/12/24/at-font-face-with-the-asset-pipeline/ ) but the font path called from the browser in development misses the fonts part
[17:38:16] pvertenten: has joined #RubyOnRails
[17:38:56] atomical_: has joined #RubyOnRails
[17:39:59] smathy: has joined #RubyOnRails
[17:42:50] annlewis: has joined #RubyOnRails
[17:43:08] yoongkang: has joined #RubyOnRails
[17:43:16] diegoviola: I'm using rails because I'm lazy, I don't want to set up all my models and migrations manually, etc
[17:43:46] diegoviola: although Sequel is nice
[17:44:06] diegoviola: well, that's just one reason
[17:44:21] davidw: has joined #RubyOnRails
[17:47:10] diegoviola: rails is nice to work with
[17:48:12] blackmesa: has joined #RubyOnRails
[17:49:02] bersimoes: has joined #RubyOnRails
[17:50:12] nightsh: has joined #RubyOnRails
[17:53:24] mrtomme: has joined #RubyOnRails
[17:55:50] peterppp: has joined #RubyOnRails
[17:56:37] peterppp: I want to learn how to create a well-structured single page app in vanilla js, does anyone have helpful pointers?
[17:56:42] maokomioko: has joined #RubyOnRails
[17:56:55] Detch: has joined #RubyOnRails
[17:57:55] roshanavand: has joined #RubyOnRails
[17:57:58] Ergo: has joined #RubyOnRails
[17:58:06] spiman: https://xkcd.com/138/ sorry, couldn't resist
[17:58:15] kitsuneyo: peterppp, i'm reading this book at the moment, it's quite good: http://www.javascriptbook.com
[17:58:17] elton: has joined #RubyOnRails
[17:58:58] kitsuneyo: as for how to use js in rails, i dunno
[17:59:23] marr: has joined #RubyOnRails
[18:00:08] kitsuneyo: the usual places like railscasts, http://guides.rubyonrails.org etc
[18:00:10] diegoviola: just enabled some zram because my swap to disk is slow
[18:00:57] brunto: has joined #RubyOnRails
[18:02:38] ruurd: has joined #RubyOnRails
[18:03:18] DoubleMalt: has joined #RubyOnRails
[18:05:46] tildes: has joined #RubyOnRails
[18:08:21] toydestroyer: has joined #RubyOnRails
[18:09:26] lorn: has joined #RubyOnRails
[18:11:02] atomical: has joined #RubyOnRails
[18:14:55] Macaveli: has joined #RubyOnRails
[18:16:32] maloik: has joined #RubyOnRails
[18:17:35] atomical_: has joined #RubyOnRails
[18:18:28] kp666: has joined #RubyOnRails
[18:20:56] Gustavo: has joined #RubyOnRails
[18:21:18] atomical_: has joined #RubyOnRails
[18:21:42] peterppp: kitsuneyo: hey, thanks, I'll look into it!
[18:22:22] kitsuneyo: no worries peterppp, it's a really nice full colour book, reminds me of a school book :)
[18:22:36] kp666: has joined #RubyOnRails
[18:22:55] elton: has joined #RubyOnRails
[18:23:17] peterppp: yeah, actually I'd be fine with a book that's a bit more technical and presumes more background
[18:23:25] orikremer: has joined #RubyOnRails
[18:24:25] codelahoma: has joined #RubyOnRails
[18:25:36] apotry: has joined #RubyOnRails
[18:26:03] elton_: has joined #RubyOnRails
[18:27:08] nomadicoder_: has joined #RubyOnRails
[18:27:17] gustav__: has joined #RubyOnRails
[18:27:20] akhkharu: has joined #RubyOnRails
[18:27:58] jayne_: has joined #RubyOnRails
[18:28:06] Guest4184_: has joined #RubyOnRails
[18:28:24] Prasun: has joined #RubyOnRails
[18:29:43] lacuna: has joined #RubyOnRails
[18:29:43] lacuna: has joined #RubyOnRails
[18:32:18] meoblast001: has joined #RubyOnRails
[18:32:22] sankaber: has joined #RubyOnRails
[18:33:12] Pumukel: has joined #RubyOnRails
[18:34:30] Prasun: has joined #RubyOnRails
[18:35:02] arathald: has joined #RubyOnRails
[18:35:04] bersimoes: has joined #RubyOnRails
[18:35:08] jpterry: has joined #RubyOnRails
[18:35:34] rory096: has joined #RubyOnRails
[18:35:39] csmb: has joined #RubyOnRails
[18:38:04] tuelz: has joined #RubyOnRails
[18:38:07] drale2k: has joined #RubyOnRails
[18:38:19] brunto: has joined #RubyOnRails
[18:40:16] atomical: has joined #RubyOnRails
[18:40:41] kadoppe: has joined #RubyOnRails
[18:42:46] ubersapiens: has joined #RubyOnRails
[18:42:48] User458764: has joined #RubyOnRails
[18:43:35] annlewis: has joined #RubyOnRails
[18:43:58] hnanon: has joined #RubyOnRails
[18:45:51] Pazician: has joined #RubyOnRails
[18:48:08] elton: has joined #RubyOnRails
[18:48:53] Gustavo: has joined #RubyOnRails
[18:48:57] bmalum: has joined #RubyOnRails
[18:49:15] davidw: has joined #RubyOnRails
[18:49:16] davidw: has joined #RubyOnRails
[18:50:04] moeabdol1: has joined #RubyOnRails
[18:50:41] srinidhi: has joined #RubyOnRails
[18:53:11] helpa-bot: has joined #RubyOnRails
[18:54:05] LiquidIn1ect: has joined #RubyOnRails
[18:54:56] matthewd_: has joined #RubyOnRails
[18:55:03] russt_: has joined #RubyOnRails
[18:55:13] based_pdev_: has joined #RubyOnRails
[18:55:23] brainslug: has joined #RubyOnRails
[18:55:25] maxmanders_: has joined #RubyOnRails
[18:55:28] llakey_: has joined #RubyOnRails
[18:56:04] LiquidIn1ect: has joined #RubyOnRails
[18:56:18] bruce_lee2: has joined #RubyOnRails
[18:56:31] monoprotic: has joined #RubyOnRails
[18:56:31] monoprotic: has joined #RubyOnRails
[18:57:13] sonOfRa_: has joined #RubyOnRails
[18:57:23] Gm4n_: has joined #RubyOnRails
[18:57:45] proboszc1: has joined #RubyOnRails
[18:58:01] rarruda_: has joined #RubyOnRails
[18:58:05] uxp: has joined #RubyOnRails
[18:58:08] okdas_: has joined #RubyOnRails
[18:58:31] crdpink: has joined #RubyOnRails
[18:58:31] xMopxShe-: has joined #RubyOnRails
[18:58:40] LiquidIn1ect: has left #RubyOnRails: ()
[18:58:40] brunto_: has joined #RubyOnRails
[18:59:11] targaf_: has joined #RubyOnRails
[18:59:15] kramsee: has joined #RubyOnRails
[18:59:36] unreal_: has joined #RubyOnRails
[18:59:43] kadoppe_: has joined #RubyOnRails
[18:59:52] PaulePan1er: has joined #RubyOnRails
[18:59:53] jbermudes_: has joined #RubyOnRails
[18:59:53] jbermudes_: has joined #RubyOnRails
[18:59:56] ajb-: has joined #RubyOnRails
[19:00:14] FastJack_: has joined #RubyOnRails
[19:00:30] FaresKAlaboud: has joined #RubyOnRails
[19:01:04] elem: has joined #RubyOnRails
[19:01:38] chridal_: has joined #RubyOnRails
[19:01:41] tomaw_: has joined #RubyOnRails
[19:02:10] lacuna: has joined #RubyOnRails
[19:02:10] lacuna: has joined #RubyOnRails
[19:02:14] tweeeaks: has joined #RubyOnRails
[19:02:20] icedp: has joined #RubyOnRails
[19:02:37] matt_d_: has joined #RubyOnRails
[19:02:38] Caius: has joined #RubyOnRails
[19:02:38] xardion: has joined #RubyOnRails
[19:02:38] thomasfedb: has joined #RubyOnRails
[19:02:50] solars: has joined #RubyOnRails
[19:03:07] herenow: has joined #RubyOnRails
[19:03:08] Yomero3: has joined #RubyOnRails
[19:03:24] jonathanwallace: has joined #RubyOnRails
[19:03:42] LateralOctober: has joined #RubyOnRails
[19:03:47] AntiSpamMeta: has joined #RubyOnRails
[19:03:55] AlHafoudh: has joined #RubyOnRails
[19:03:58] \13k: has joined #RubyOnRails
[19:04:02] herpless: has joined #RubyOnRails
[19:04:41] sheepman: has joined #RubyOnRails
[19:04:52] djellemah_: has joined #RubyOnRails
[19:05:03] redondos: has joined #RubyOnRails
[19:05:09] ramortegui: has joined #RubyOnRails
[19:05:13] ruurd: has joined #RubyOnRails
[19:05:36] Detch: has joined #RubyOnRails
[19:05:38] DefV: has joined #RubyOnRails
[19:05:55] Junaos: has joined #RubyOnRails
[19:07:49] mhenrixon: has joined #RubyOnRails
[19:08:08] gregf__: has joined #RubyOnRails
[19:08:08] rory096: has joined #RubyOnRails
[19:08:08] codelahoma: has joined #RubyOnRails
[19:08:08] dionysus69: has joined #RubyOnRails
[19:08:08] nfk: has joined #RubyOnRails
[19:08:08] solenoids: has joined #RubyOnRails
[19:08:08] thejoecarroll: has joined #RubyOnRails
[19:08:08] build22: has joined #RubyOnRails
[19:08:08] rclements: has joined #RubyOnRails
[19:08:08] hive-mind: has joined #RubyOnRails
[19:08:08] masscrx: has joined #RubyOnRails
[19:08:08] phon: has joined #RubyOnRails
[19:08:08] rromanch_: has joined #RubyOnRails
[19:08:08] adre: has joined #RubyOnRails
[19:08:08] trautwein: has joined #RubyOnRails
[19:08:08] sunya7a_: has joined #RubyOnRails
[19:08:08] thoraxe: has joined #RubyOnRails
[19:08:08] bphogan: has joined #RubyOnRails
[19:08:08] adam_: has joined #RubyOnRails
[19:08:08] Jamo_: has joined #RubyOnRails
[19:08:08] Encapsulation: has joined #RubyOnRails
[19:08:08] dlitz_: has joined #RubyOnRails
[19:08:08] fumduq-: has joined #RubyOnRails
[19:08:08] raidiant_: has joined #RubyOnRails
[19:08:08] timmyBsd-: has joined #RubyOnRails
[19:08:08] mduca_: has joined #RubyOnRails
[19:08:08] alvaro_o: has joined #RubyOnRails
[19:08:08] Zackio: has joined #RubyOnRails
[19:08:09] nonmadden: has joined #RubyOnRails
[19:08:09] kiki_lamb: has joined #RubyOnRails
[19:08:09] tercenya: has joined #RubyOnRails
[19:08:09] cydrobolt: has joined #RubyOnRails
[19:08:09] eyck: has joined #RubyOnRails
[19:08:09] zvive: has joined #RubyOnRails
[19:08:09] joeytwiddle: has joined #RubyOnRails
[19:08:09] Gizmokid2005: has joined #RubyOnRails
[19:08:09] Fire-Dragon-DoL: has joined #RubyOnRails
[19:08:09] OmegaA_: has joined #RubyOnRails
[19:08:09] jalcine: has joined #RubyOnRails
[19:08:09] svkurowsl: has joined #RubyOnRails
[19:08:09] n88_: has joined #RubyOnRails
[19:08:09] insu_: has joined #RubyOnRails
[19:08:09] Scient: has joined #RubyOnRails
[19:08:09] melonstorm: has joined #RubyOnRails
[19:08:09] davidcelis: has joined #RubyOnRails
[19:08:09] confact: has joined #RubyOnRails
[19:08:09] danneu: has joined #RubyOnRails
[19:08:09] raldu_: has joined #RubyOnRails
[19:08:09] chaas: has joined #RubyOnRails
[19:08:09] xybre: has joined #RubyOnRails
[19:08:09] sung: has joined #RubyOnRails
[19:08:09] bahar: has joined #RubyOnRails
[19:08:09] apeiros: has joined #RubyOnRails
[19:08:09] spekode: has joined #RubyOnRails
[19:08:09] slash_nick: has joined #RubyOnRails
[19:08:09] amitchellbullard: has joined #RubyOnRails
[19:08:09] a1fa: has joined #RubyOnRails
[19:08:09] DylanJ: has joined #RubyOnRails
[19:08:09] royvandermeij: has joined #RubyOnRails
[19:08:09] aujt74: has joined #RubyOnRails
[19:08:09] execute: has joined #RubyOnRails
[19:08:10] shawnacscott: has joined #RubyOnRails
[19:08:10] sami: has joined #RubyOnRails
[19:08:10] clamstar: has joined #RubyOnRails
[19:08:10] iamayam: has joined #RubyOnRails
[19:08:10] BaNzounet: has joined #RubyOnRails
[19:08:10] jiriki: has joined #RubyOnRails
[19:08:10] Marquel: has joined #RubyOnRails
[19:08:10] iszak: has joined #RubyOnRails
[19:08:10] sethetter: has joined #RubyOnRails
[19:08:10] blowmage: has joined #RubyOnRails
[19:08:10] jtdowney: has joined #RubyOnRails
[19:08:10] capin: has joined #RubyOnRails
[19:08:10] RandyT: has joined #RubyOnRails
[19:08:14] segy: has joined #RubyOnRails
[19:08:33] dmz: has joined #RubyOnRails
[19:08:52] ynonp: has joined #RubyOnRails
[19:09:44] avelldiroll: has joined #RubyOnRails
[19:10:03] erich__: has joined #RubyOnRails
[19:10:03] veloutin: has joined #RubyOnRails
[19:10:03] ngr: has joined #RubyOnRails
[19:10:03] cornerma1: has joined #RubyOnRails
[19:10:03] wwalker_: has joined #RubyOnRails
[19:10:03] dfoolz_: has joined #RubyOnRails
[19:10:03] pawnbox_: has joined #RubyOnRails
[19:10:03] ltd: has joined #RubyOnRails
[19:10:03] erichmenge_: has joined #RubyOnRails
[19:10:03] pragmatism_: has joined #RubyOnRails
[19:10:03] ejimz: has joined #RubyOnRails
[19:10:03] ArTiSTiX: has joined #RubyOnRails
[19:10:07] AntiSpamMeta: has joined #RubyOnRails
[19:10:22] Cork: has joined #RubyOnRails
[19:10:23] roxtrongo: has joined #RubyOnRails
[19:10:37] sunya7a: has joined #RubyOnRails
[19:10:39] humd1ng3r: has joined #RubyOnRails
[19:10:42] solenoids: has joined #RubyOnRails
[19:10:57] constantinexvi: has joined #RubyOnRails
[19:11:12] tildes_: has joined #RubyOnRails
[19:11:12] drupald_: has joined #RubyOnRails
[19:11:12] bersimoes: has joined #RubyOnRails
[19:11:12] srinidhi: has joined #RubyOnRails
[19:11:12] tw1sted_: has joined #RubyOnRails
[19:11:12] macq: has joined #RubyOnRails
[19:11:12] Gustavo: has joined #RubyOnRails
[19:11:12] sankaber: has joined #RubyOnRails
[19:11:12] marr: has joined #RubyOnRails
[19:11:12] nightsh: has joined #RubyOnRails
[19:11:12] styx_: has joined #RubyOnRails
[19:11:12] alevy: has joined #RubyOnRails
[19:11:12] mclee: has joined #RubyOnRails
[19:11:12] prakriti: has joined #RubyOnRails
[19:11:12] shtirlic_: has joined #RubyOnRails
[19:11:12] The_Kingdutch: has joined #RubyOnRails
[19:11:12] badhatter: has joined #RubyOnRails
[19:11:13] scrooloose: has joined #RubyOnRails
[19:11:13] brt: has joined #RubyOnRails
[19:11:13] ldnunes_: has joined #RubyOnRails
[19:11:13] hendricius: has joined #RubyOnRails
[19:11:13] gr3yR0n1n: has joined #RubyOnRails
[19:11:13] Paradox: has joined #RubyOnRails
[19:11:13] Signum: has joined #RubyOnRails
[19:11:13] Puffball_: has joined #RubyOnRails
[19:11:13] spastorino: has joined #RubyOnRails
[19:11:13] w0bni: has joined #RubyOnRails
[19:11:13] koprom: has joined #RubyOnRails
[19:11:13] RTG`: has joined #RubyOnRails
[19:11:13] kitallis: has joined #RubyOnRails
[19:11:13] kiez0rd: has joined #RubyOnRails
[19:11:13] darutoko: has joined #RubyOnRails
[19:11:13] atrius: has joined #RubyOnRails
[19:11:13] hightower4: has joined #RubyOnRails
[19:11:13] kies^: has joined #RubyOnRails
[19:11:13] hyperdrive: has joined #RubyOnRails
[19:11:13] jkwood_: has joined #RubyOnRails
[19:11:13] arthurnn_: has joined #RubyOnRails
[19:11:13] knight-: has joined #RubyOnRails
[19:11:13] WhereIsMySpoon__: has joined #RubyOnRails
[19:11:13] hackeron_: has joined #RubyOnRails
[19:11:13] gavit: has joined #RubyOnRails
[19:11:13] Mession: has joined #RubyOnRails
[19:11:13] michael_mbp: has joined #RubyOnRails
[19:11:13] kanzure: has joined #RubyOnRails
[19:11:13] Dreeg: has joined #RubyOnRails
[19:11:14] badeball: has joined #RubyOnRails
[19:11:14] leslie: has joined #RubyOnRails
[19:11:14] marcoceppi: has joined #RubyOnRails
[19:11:14] waseem_: has joined #RubyOnRails
[19:11:14] pontiki: has joined #RubyOnRails
[19:11:14] epitron: has joined #RubyOnRails
[19:11:14] loglaunch: has joined #RubyOnRails
[19:11:14] sloggerkhan: has joined #RubyOnRails
[19:11:14] six: has joined #RubyOnRails
[19:11:14] Radar: has joined #RubyOnRails
[19:11:14] rtl_: has joined #RubyOnRails
[19:11:14] shaman42: has joined #RubyOnRails
[19:11:14] Sirecote: has joined #RubyOnRails
[19:11:14] _fortis: has joined #RubyOnRails
[19:11:14] Skelz0r_: has joined #RubyOnRails
[19:11:14] [dmp]: has joined #RubyOnRails
[19:11:14] alexblom: has joined #RubyOnRails
[19:11:14] wkoszek: has joined #RubyOnRails
[19:11:14] elaptics`away: has joined #RubyOnRails
[19:11:14] Papierkorb: has joined #RubyOnRails
[19:11:14] alol: has joined #RubyOnRails
[19:11:14] weltzooo: has joined #RubyOnRails
[19:11:14] mosez: has joined #RubyOnRails
[19:11:14] ebertx: has joined #RubyOnRails
[19:11:14] mist: has joined #RubyOnRails
[19:11:14] Siyo: has joined #RubyOnRails
[19:11:14] troyreadyy: has joined #RubyOnRails
[19:11:14] njero: has joined #RubyOnRails
[19:11:14] Siyo: has joined #RubyOnRails
[19:11:14] SanguineAnomaly: has joined #RubyOnRails
[19:11:14] oddalot: has joined #RubyOnRails
[19:11:26] akshat: has joined #RubyOnRails
[19:12:09] Mchl: has joined #RubyOnRails
[19:12:29] smathy: has joined #RubyOnRails
[19:12:53] AntiSpamMeta: has joined #RubyOnRails
[22:42:56] helpa: has joined #RubyOnRails
[22:43:06] centrx: meatchicken, SQL fragment is one way: .where("x = 5 OR y = 'hi'")
[22:45:45] Radar: diegoviola: !ncnh
[22:45:45] helpa: diegoviola: If you don't provide any code, it becomes really difficult for us to help you. Providing code to reproduce the problem increases your chances of getting great, accurate help immensely.
[22:48:47] MEATCHICKEN: thanks - I guess I should ask my base problem.
[22:48:48] MEATCHICKEN: https://gist.githubusercontent.com/anonymous/28677870f7f46692be50/raw/6599bc0e0e696fc05109944090bc73a021e2043a/gistfile1.txt
[22:49:00] MEATCHICKEN: I can't figure out a way to query this
[22:49:00] blackmesa: has joined #RubyOnRails
[22:50:27] diegoviola: Radar: I don't have any problem, I was just wondering the differences between resource and resources
[22:52:26] mikajo: has joined #RubyOnRails
[22:52:35] Pazician: has joined #RubyOnRails
[22:54:23] kmckelvin: has joined #RubyOnRails
[22:54:26] solars: I need something that let's me run jobs (persisted) at a given time. I'm setting the time and job in an action from outside. Is ActiveJob suitable for this? the jobs are one-time. I also found rufus-scheduler but it's not persistant
[22:55:50] nickenchuggets: has joined #RubyOnRails
[22:55:50] nickenchuggets: has joined #RubyOnRails
[22:56:39] JarekTkaczyk: has joined #RubyOnRails
[22:57:07] elton: has joined #RubyOnRails
[22:57:14] JarekTkaczyk: has left #RubyOnRails: ()
[23:01:24] badhatter: has joined #RubyOnRails
[23:01:25] badhatter: has joined #RubyOnRails
[23:03:59] hnanon: Radar: Sorry about last night.
[23:04:10] hnanon: Or...your monring.
[23:04:45] blackmesa: has joined #RubyOnRails
[23:05:44] kitsuneyo: i want to use geocoder and the google maps api, but i need an api key. i'm just running my app on my mac localhost right now. is it easy to generate a key and how do i do it? i googled but haven't found an answer yet.
[23:05:48] yfeldblum: has joined #RubyOnRails
[23:06:14] Radar: hnanon: Did you get an answer to your question yet?
[23:06:16] Radar: diegoviola: !routing
[23:06:16] helpa: diegoviola: http://guides.rubyonrails.org/routing.html - Rails Routing From the Outside In - Rails Guide - by Mike Gunderloy
[23:06:30] Radar: kitsuney_: !g google maps api key
[23:06:32] diegoviola: Radar: yep ty
[23:06:55] MEATCHICKEN: kitsuney_, https://github.com/alexreisner/geocoder#google-google
[23:07:03] quazimod1: has joined #RubyOnRails
[23:07:04] kapowaz: has joined #RubyOnRails
[23:07:06] kitsuneyo: radar, my question was wrong
[23:07:08] hnanon: Radar: I abandoned my approach and just used date_select with a bunch of css to make the individual fields match the rest of the view.
[23:07:52] Radar: hnanon: right
[23:09:00] davidw_: has joined #RubyOnRails
[23:09:22] RegulationD: has joined #RubyOnRails
[23:09:23] kitsuneyo: nevermind, i figured it out
[23:09:37] tuelz: has joined #RubyOnRails
[23:10:43] MEATCHICKEN: https://gist.github.com/anonymous/1d135dc4078363afa32a
[23:10:52] MEATCHICKEN: ^Why is that behaviour being exhibited?
[23:11:51] centrx: meatchicken, Is the query using an INNER JOIN? which returns only results in both tables?
[23:12:07] MEATCHICKEN: centrx, yeah the default for .joins is an inner join
[23:12:15] krainboltgreene: has joined #RubyOnRails
[23:12:18] MEATCHICKEN: I am joining multiple tables though
[23:12:30] MEATCHICKEN: I guess I need to do more reading on sql joins - what sort of join should I use?
[23:12:41] centrx: meatchicken, Outer join
[23:12:53] kmckelvin: has joined #RubyOnRails
[23:12:56] MEATCHICKEN: centrx, Can you explain why the inner join isn't working? By all logic -> it should
[23:13:04] MEATCHICKEN: or point me to some reading - thanks
[23:13:37] centrx: meatchicken, Inner join only returns rows where there is a corresponding row in all the inner-joined tables
[23:13:56] centrx: meatchicken, So if a stack has no comments, there will be no result for that stack
[23:14:36] hnanon: Radar: What, in your opinion, is lacking from the Rails Guides?
[23:14:44] nettoweb: has joined #RubyOnRails
[23:14:47] trbox: has joined #RubyOnRails
[23:14:49] Radar: hnanon: Everything that was lacking I put into Rails 4 in Action :)
[23:16:10] MEATCHICKEN: centrx, Thank you. very helpful
[23:16:25] hnanon: Radar: Looking through your TOC.
[23:16:39] hnanon: No ActiveJob content?
[23:16:51] kitsuneyo: i'm soooo happy i found geocoder
[23:18:00] machty: has joined #RubyOnRails
[23:18:07] kitsuneyo: geocoder is still good right?
[23:18:10] Radar: hnanon: ActiveJob wasn't really a thing when we were writing it. The AJ guide covers it well enough
[23:18:16] Radar: kitsuneyo: I hope so. We're using it at Marketplacer :)
[23:18:53] kitsuneyo: awesome Radar, do you use it with google maps? do you find yourself having to pay because you exceed the limit?
[23:19:17] Radar: kitsuneyo: We use it for looking up people's addresses
[23:19:22] Radar: I don't know if we pay for it or not.
[23:19:29] Radar: Geokit::Geocoders::GoogleGeocoder3.geocode(transliterate_text(full_address))
[23:19:31] Radar: That's our code :)
[23:20:34] hnanon: Radar: Ok. What do you suggest as an AJ adapter? I'm uploading images and shrinking them.
[23:20:40] kitsuneyo: ok, it sounds like heavier usage than mine would be. thanks for sharing :)
[23:20:48] Radar: hnanon: I love Sidekiq
[23:21:26] hnanon: You know me well enough by now, I think; will I have trouble implementing it?
[23:21:30] waka: has joined #RubyOnRails
[23:21:39] hnanon: It's my first rodeo with background jobs.
[23:22:06] lacrosse: has joined #RubyOnRails
[23:26:15] pydave6367: has joined #RubyOnRails
[23:30:44] triptec: has joined #RubyOnRails
[23:30:57] wethu: has joined #RubyOnRails
[23:31:42] StaticVoid: has joined #RubyOnRails
[23:32:42] nickenchuggets: has joined #RubyOnRails
[23:33:07] annlewis: has joined #RubyOnRails
[23:33:19] Radar: Sidekiq is dead simple.
[23:34:48] badoo: has joined #RubyOnRails
[23:34:51] bersimoes: has joined #RubyOnRails
[23:36:51] shinenelson: has joined #RubyOnRails
[23:37:40] SuppliedRelic: has joined #RubyOnRails
[23:39:28] nso95-: has joined #RubyOnRails
[23:39:29] nso95-: has joined #RubyOnRails
[23:41:45] lxkm: has joined #RubyOnRails
[23:42:27] shibabu: has joined #RubyOnRails
[23:44:39] moeabdol2: has joined #RubyOnRails
[23:45:22] FCser: has joined #RubyOnRails
[23:45:25] blackmes1: has joined #RubyOnRails
[23:45:53] arBmind1: has joined #RubyOnRails
[23:46:57] Mia: has joined #RubyOnRails
[23:47:26] yoongkang: has joined #RubyOnRails
[23:47:27] glennt: has joined #RubyOnRails
[23:47:34] johnflux_: has joined #RubyOnRails
[23:47:34] johnflux_: has joined #RubyOnRails
[23:51:29] lacuna: has joined #RubyOnRails
[23:51:30] lacuna: has joined #RubyOnRails
[23:51:37] one_zero: has joined #RubyOnRails
[23:53:23] dfoolz_: has joined #RubyOnRails
[23:54:34] owenjones: has joined #RubyOnRails
[23:54:38] jamto11: has joined #RubyOnRails
[23:55:02] VeryBewitching: has joined #RubyOnRails
[23:55:36] thomasfedb: has joined #RubyOnRails
[23:55:36] thomasfedb: has joined #RubyOnRails
[23:56:25] matthewd: has joined #RubyOnRails
[23:56:53] sunya7a: has joined #RubyOnRails
[23:57:21] jamto11: how do i find out what bundle install --local does?
[23:57:38] jamto11: like how do i get documentation on that? "bundle install --help" doesnt work
[23:57:52] adaedra: bundle help install
[23:57:52] elton: has joined #RubyOnRails
[23:58:31] brt: has joined #RubyOnRails