« Back to channel list

#RubyOnRails - 10 June 2017

« Back 1 day Forward 1 day »
[00:08:59] nesoi: no one? I don't know what kind of structure it is
[00:12:33] centrx: has joined #RubyOnRails
[00:20:43] ekinmur: has joined #RubyOnRails
[00:24:32] Rodya_: has joined #RubyOnRails
[00:25:17] aajjbb: has joined #RubyOnRails
[00:26:08] Aeyris: nesoi: its an array fam
[00:26:49] Aeyris: https://ruby-doc.org/core-2.4.1/Array.html#method-i-first
[00:27:29] nesoi: Aeyris: thanks. I tried orders(2) and it doesn't like that
[00:27:30] DLSteve: has joined #RubyOnRails
[00:27:37] Aeyris: orders[1] will be the second one
[00:27:40] Aeyris: [0] being first
[00:27:57] nesoi: it didn't like orders[2] either, and there are supposed to be 100
[00:28:29] Aeyris: interadesting, i could be wrong
[00:30:34] Aeyris: that should work tbh, looking at the tests
[00:30:39] Aeyris: just make sure there's actually 100
[00:30:43] Aeyris: https://github.com/hakanensari/mws-orders/blob/master/test/mws/orders/test_orders.rb#L11
[00:30:59] nesoi: how do I make sure of that? It returns a count of 100 the 1st time I try it and 4 the 2nd time, so it should be right
[00:33:06] nesoi: Aeyris: sorry, I'm a novice at Ruby so not sure what I'm looking at on that link
[00:34:54] nesoi: it says: undefined method `[]' for #<MWS::Orders::Orders:0x007f895adc0790> (NoMethodError)
[00:35:43] psylone: has joined #RubyOnRails
[00:38:35] elomatreb: nesoi: If you really want it to be an Array you can do .each.to_a, on which [] should then work
[00:39:45] nesoi: elomatreb: I just want to be able to access the elements after .first
[00:39:53] nesoi: how would I best do that?
[00:43:09] roamingdog: has joined #RubyOnRails
[00:44:37] nesoi: elomatreb: ie: not converting it to anything, what would be the way of accessing elements after .first?
[00:45:02] elomatreb: I'm reading the code, I don't really see an elegant way that's better than just converting it
[00:45:10] nesoi: ah thanks
[00:45:21] nesoi: something like pop?
[00:45:24] nesoi: would that work?
[00:45:28] nahtnam: has joined #RubyOnRails
[00:45:37] nesoi: I just need to get each element and process them one at a time
[00:46:42] elomatreb: The problem is that there is no "second" element, it just yields them in an order without knowing how many there are in advance
[00:47:02] Jameser: has joined #RubyOnRails
[00:47:13] nesoi: it has orders.count
[00:47:26] nesoi: so I was going to use that number to iterate or pop off elements or however
[00:48:25] elomatreb: It includes Enumerable, so you may find a method that's useful in here: https://ruby-doc.org/core-2.4.1/Enumerable.html
[00:48:59] nesoi: oh so just iterate using .each perhaps?
[00:49:27] Technodrome: has joined #RubyOnRails
[00:50:01] elomatreb: If you need them one after the other, yes. You could build something to break on an index with .each_with_index, but that does not feel very nice
[00:52:41] nesoi: I don't need them in any order, just need to get to all of them
[00:52:48] nesoi: thanks for looking, I'll try .each!
[00:54:28] ascarter_: has joined #RubyOnRails
[01:00:31] ResidentBiscuit: has joined #RubyOnRails
[01:01:07] maxdoubt: has joined #RubyOnRails
[01:02:31] nesoi: elomatreb: it doesn't list .each on that page exactly. It has a lot of variations. would .each work?
[01:03:00] elomatreb: On the Enumerable docs?
[01:03:40] elomatreb: Oh, that's how it's supposed to be. You defined each on your class and then include Enumerable to get all the listed methods in addition to each
[01:04:18] nesoi: cool, thanks
[01:04:19] elomatreb: https://github.com/hakanensari/mws-orders/blob/master/lib/mws/orders/orders.rb#L10
[01:04:36] elomatreb: (Enumerable is included by the parent class)
[01:06:45] nesoi: ok, thanks again
[01:11:35] quazimodo: has joined #RubyOnRails
[01:25:21] Rodya_: has joined #RubyOnRails
[01:29:18] ekinmur: has joined #RubyOnRails
[01:29:40] aajjbb: has joined #RubyOnRails
[01:31:42] irishfromua: has joined #RubyOnRails
[01:33:14] irishfromua: has joined #RubyOnRails
[01:33:14] br0d1n: has joined #RubyOnRails
[01:37:12] renegadeandy: I am getting 'couldn't find file 'journeys.source.js'. My manifest.js has : "//= link controllers/journeys/journeys.js" and i have app/assets/javascripts/journeys/journeys.js. My view code has: <%= javascript_include_tag "controllers/journeys/journeys" %> I have also restarted the server. Can anybody spot my mistake?
[01:43:52] roamingdog: has joined #RubyOnRails
[01:48:23] fryguy: renegadeandy: why is the word controllers in the javascript_include_tag
[01:48:45] fryguy: why are you looking for journeys.js whe it's included in manifest.js
[01:49:27] nesoi: has joined #RubyOnRails
[01:49:34] renegadeandy: fryguy: I have the source javascript file in /app/assets/javascripts/controllers/journeys/journeys.js -> I thought I would match each controller / model up to a specific js file in a tidy folder structure? I see I have got things wrong, what is the best way to fix this?
[01:50:26] ascarter: has joined #RubyOnRails
[01:50:59] fryguy: renegadeandy: where is this manifest.js file?
[01:51:54] renegadeandy: fryguy: app/assets/config/manifest.js and it contains : https://gist.github.com/anonymous/5580641b232dac87e98cf524a370fdce
[01:52:40] fryguy: and what is in journeys.js, where is this journeys.source trying to be linked from?
[01:55:19] renegadeandy: <%= javascript_include_tag "controllers/journeys/journeys" %>
[01:55:24] renegadeandy: journeys.js just contains a bunch of js and one function. i don't know what journeys.source is -- I am trying to include the journeys.js in a view - journeys/show.html.erb with this code
[01:55:53] fryguy: well, find the reference to journeys.source for starters
[01:59:19] renegadeandy: I searched my entire project for 'journeys.source.js' and it doesn't exist - so this is perhaps a rails 'inferred' name?
[02:04:00] xall: has joined #RubyOnRails
[02:05:10] renegadeandy: fryguy: well, when I add : //= link controllers/journeys/journeys.js to app/assets/config/manifest.js i get this complete error : https://gist.github.com/anonymous/0af75cc0a3c8c5472729a2649c0a240e
[02:10:36] mcr431: has joined #RubyOnRails
[02:11:00] renegadeandy: fryguy: if i remove ' //= link controllers/journeys/journeys.js ' from manifest.js i get this error : https://gist.github.com/anonymous/9a85332de3e38d57ec75a263a49f961c
[02:11:12] renegadeandy: so i added that - then i get the error i reported to you previously
[02:11:53] mcr431: Hey all I'm having some issues with versioning mismatch. How do I clear out the PATH env variables as they're linking to an improper version
[02:13:24] fryguy: mcr431: start a new shell
[02:15:51] mcr431: fryguy: any helpful links for someone that has no clue about that?
[02:16:54] desnudopenguino: fryguy: close the terminal window you are using and open a new one
[02:20:41] desnudopenguino: mcr431: see my comment to fryguy, that was meant for you, sorry fryguy
[02:22:31] mcr431: That doesnt do anything. my ```rvm info``` command says I'm using 2.4.1. my ```bundle env``` says i'm using 2.4.1. but when I load my website it says my current ruby version is 2.4.0
[02:23:23] mcr431: but my error output on my website says 2.4.0
[02:24:12] fryguy: 1. probably stop using rvm. 2. how are you running the site
[02:24:12] desnudopenguino: i don't run rvm so I don't know if i'll be of much help there
[02:26:07] mcr431: VPS running Passenger
[02:26:08] Rodya_: has joined #RubyOnRails
[02:26:34] fryguy: is passenger configured to use rvm?
[02:28:50] mcr431: fryguy: I'm an idiot
[02:33:23] cjhowe7: has joined #RubyOnRails
[02:39:42] nesoi: hey so I'm trying to use this gem https://github.com/hakanensari/mws-orders and I have it working, but need to sort the result set by last_updated_at date. The gem does not seem to define a .sort of any kind. How would I get this to work?
[02:41:11] nesoi: elomatreb: you already looked at it… what do you think?
[02:42:16] elomatreb: nesoi: Have you seen sort_by ? http://ruby-doc.org/core-2.4.1/Enumerable.html#method-i-sort_by
[02:42:32] nesoi: elomatreb: I tried that and it gave me an error
[02:43:55] elomatreb: May I ask what the error was? Because it should be exactly what you want here
[02:44:41] roamingdog: has joined #RubyOnRails
[02:46:04] nesoi: the code I am trying is:
[02:46:04] nesoi: orders.sort_by{ |orders| orders[:last_updated_at] }.each do |r|
[02:46:23] ResidentBiscuit: has joined #RubyOnRails
[02:46:28] nesoi: the error is:
[02:46:28] nesoi: mwstest.rb:84:in `block in <main>': undefined method `[]' for #<MWS::Orders::Order:0x007fce6b0b7ed0> (NoMethodError)
[02:47:01] elomatreb: So the problem isn't sort_by, it's how you get the last_updated_at
[02:48:20] elomatreb: Ah yes, it seems the gem defines an accessor method. Try `order.last_updated_at` instead of `orders[:last_updated_at`
[02:49:33] elomatreb: Protip: If some code you work with isn't properly or nicely documented, checking out the tests can be a decent approximation to docs: https://github.com/hakanensari/mws-orders/blob/master/test/mws/orders/test_order.rb#L18
[02:50:55] nesoi: elomatreb: thanks, that's great advice
[02:51:26] nesoi: so when I try this, it doesn't complain but also doesn't sort:
[02:51:27] nesoi: orders.sort_by{ |orders| 'orders.last_updated_at' }.each do |r|
[02:52:00] elomatreb: Uh, yeah. Because you're comparing a static string, remove the quotes in the block
[02:52:02] nesoi: oops without the quotes
[02:52:11] nesoi: that's odd, when I tried it before it complained there was no method
[02:52:14] psylone: has joined #RubyOnRails
[02:52:14] nesoi: but now it works!
[02:52:17] nesoi: thank you very much
[02:53:29] Jameser: has joined #RubyOnRails
[02:59:51] renegadeandy: Rails appears to be removing my input when it renders the html.erb -- i am trying to follow the google maps places autocomplete article : https://gist.github.com/anonymous/706e74da77f1aa6559bcc3b2e47d36c0
[03:00:02] renegadeandy: article is here : https://developers.google.com/maps/documentation/javascript/examples/places-searchbox
[03:00:19] sandstrom: has joined #RubyOnRails
[03:00:21] renegadeandy: How do i stop rails from removing my input (guessing it classes it as invalid outside of a form)
[03:08:54] fschuindt2: has joined #RubyOnRails
[03:09:50] ResidentBiscuit: has joined #RubyOnRails
[03:11:06] agent_white: has joined #RubyOnRails
[03:12:05] dblessing: has joined #RubyOnRails
[03:14:10] kies: has joined #RubyOnRails
[03:27:05] Rodya_: has joined #RubyOnRails
[03:32:08] renegadeandy: If anybody has some time - and fancies helping - please read and answer this : https://stackoverflow.com/questions/44469244/using-google-places-search-autocomplete-in-a-rails-app
[03:32:15] ar1a_: has joined #RubyOnRails
[03:33:08] hahuang65: has joined #RubyOnRails
[03:34:38] username1: has joined #RubyOnRails
[03:46:28] ascarter: has joined #RubyOnRails
[03:53:29] xall: has joined #RubyOnRails
[04:02:24] ascarter: has joined #RubyOnRails
[04:08:33] psylone: has joined #RubyOnRails
[04:11:06] Technodrome: has joined #RubyOnRails
[04:15:26] roamingdog: has joined #RubyOnRails
[04:27:50] Rodya_: has joined #RubyOnRails
[04:50:17] ascarter: has joined #RubyOnRails
[05:05:35] quazimodo: has joined #RubyOnRails
[05:16:09] roamingdog: has joined #RubyOnRails
[05:22:07] urkle: has joined #RubyOnRails
[05:28:37] Rodya_: has joined #RubyOnRails
[05:44:44] hahuang65: has joined #RubyOnRails
[05:46:19] nahtnam: has joined #RubyOnRails
[05:53:33] sandstrom: has joined #RubyOnRails
[05:59:12] cjhowe7: has joined #RubyOnRails
[06:06:11] urkle: has joined #RubyOnRails
[06:12:27] dionysus69: has joined #RubyOnRails
[06:19:28] ascarter: has joined #RubyOnRails
[06:29:11] Rodya_: has joined #RubyOnRails
[06:34:13] ar1a: has joined #RubyOnRails
[06:36:20] pLaTo0n: has joined #RubyOnRails
[06:37:33] defsdoor: has joined #RubyOnRails
[06:42:38] ar1a: has joined #RubyOnRails
[07:03:11] ar1a_: has joined #RubyOnRails
[07:15:14] ar1a: has joined #RubyOnRails
[07:21:54] ar1a: has joined #RubyOnRails
[07:22:18] urkle: has joined #RubyOnRails
[07:25:20] ar1a_: has joined #RubyOnRails
[07:26:13] nesoi: has joined #RubyOnRails
[07:28:30] roamingdog: has joined #RubyOnRails
[07:30:03] Rodya_: has joined #RubyOnRails
[07:35:57] ar1a: has joined #RubyOnRails
[07:39:19] ar1a_: has joined #RubyOnRails
[07:40:47] ar1a-: has joined #RubyOnRails
[07:45:30] hahuang65: has joined #RubyOnRails
[07:47:00] ar1a: has joined #RubyOnRails
[07:51:37] ascarter: has joined #RubyOnRails
[07:56:17] cjhowe7: has joined #RubyOnRails
[07:57:07] cjhowe7: has joined #RubyOnRails
[07:59:55] ar1a_: has joined #RubyOnRails
[08:01:43] cjhowe7: has joined #RubyOnRails
[08:02:33] Axsuul: has joined #RubyOnRails
[08:05:10] ar1a: has joined #RubyOnRails
[08:09:44] psylone: has joined #RubyOnRails
[08:14:58] ar1a: has joined #RubyOnRails
[08:17:29] sandstrom: has joined #RubyOnRails
[08:20:54] urkle: has joined #RubyOnRails
[08:25:33] ar1a_: has joined #RubyOnRails
[08:27:23] marr: has joined #RubyOnRails
[08:29:46] ar1a: has joined #RubyOnRails
[08:30:49] Rodya_: has joined #RubyOnRails
[08:31:58] patarr: has joined #RubyOnRails
[08:45:16] arBmind: has joined #RubyOnRails
[08:45:36] ar1a_: has joined #RubyOnRails
[08:48:01] ar1a-: has joined #RubyOnRails
[08:49:15] sevenseacat: has joined #RubyOnRails
[08:50:46] lxsameer: has joined #RubyOnRails
[08:54:32] ascarter: has joined #RubyOnRails
[08:57:11] ar1a: has joined #RubyOnRails
[09:00:28] quazimodo: has joined #RubyOnRails
[09:08:27] ar1a_: has joined #RubyOnRails
[09:14:14] ar1a: has joined #RubyOnRails
[09:25:12] arup_r: has joined #RubyOnRails
[09:27:32] irishfromua: has joined #RubyOnRails
[09:31:32] Rodya_: has joined #RubyOnRails
[09:39:20] ar1a: has joined #RubyOnRails
[09:44:33] ar1a_: has joined #RubyOnRails
[09:46:22] hahuang65: has joined #RubyOnRails
[09:48:49] ar1a: has joined #RubyOnRails
[09:50:01] urkle: has joined #RubyOnRails
[09:54:46] brent__: has joined #RubyOnRails
[09:56:11] mikecmpbll: has joined #RubyOnRails
[09:56:24] ascarter: has joined #RubyOnRails
[10:07:34] patarr: has joined #RubyOnRails
[10:13:33] ar1a: has joined #RubyOnRails
[10:18:19] Technodrome: has joined #RubyOnRails
[10:21:59] ar1a: has joined #RubyOnRails
[10:24:02] roshanavand: has joined #RubyOnRails
[10:26:17] psylone: has joined #RubyOnRails
[10:32:18] Rodya_: has joined #RubyOnRails
[10:38:00] S1kx: has joined #RubyOnRails
[10:44:41] Ergo: has joined #RubyOnRails
[10:49:39] ar1a: has joined #RubyOnRails
[10:51:56] AzaToth: has joined #RubyOnRails
[11:07:04] ar1a: has joined #RubyOnRails
[11:11:03] marr: has joined #RubyOnRails
[11:15:07] ar1a: has joined #RubyOnRails
[11:19:17] jrgifford: has joined #RubyOnRails
[11:23:42] mikecmpbll: has joined #RubyOnRails
[11:33:05] Rodya_: has joined #RubyOnRails
[11:47:12] hahuang65: has joined #RubyOnRails
[11:51:04] LightStalker: has joined #RubyOnRails
[11:53:00] dkk_: has joined #RubyOnRails
[11:53:44] dkk_: hi, while rails test im getting this error .rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/mysql2-0.4.6/lib/mysql2/client.rb:89:in `connect': Unknown MySQL server host 'mysql'
[11:53:54] dkk_: can someone help?
[11:54:42] ekinmur: has joined #RubyOnRails
[11:54:53] Fernando-Basso: has joined #RubyOnRails
[11:56:53] dkk__: has joined #RubyOnRails
[11:57:16] dkk__: hi, while rails test im getting this error .rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/mysql2-0.4.6/lib/mysql2/client.rb:89:in `connect': Unknown MySQL server host 'mysql'
[11:57:21] dkk__: can someone help?
[11:57:50] dkk_: using rails version 5.0.3
[11:58:30] sevenseacat: looks like misconfigured db connection settings
[11:59:13] dkk_: database,yml looks like this
[11:59:16] dkk_: default: &default
[11:59:17] dkk_: adapter: mysql2
[11:59:19] dkk_: encoding: utf8
[11:59:19] durango: has joined #RubyOnRails
[11:59:22] dkk_: username: root
[11:59:23] dkk_: password: *****
[11:59:25] dkk_: socket: /var/run/mysqld/mysqld.sock
[11:59:26] dkk_: development:
[11:59:28] dkk_: <<: *default
[11:59:28] ChanServ: +q *!*@183.82.18.103
[11:59:30] sevenseacat: please don't spam the channel
[11:59:38] ascarter: has joined #RubyOnRails
[11:59:56] durango: Whats the recommended way of starting (automatically) resque with passenger? Is it capistrano?
[12:01:00] ekinmur: has joined #RubyOnRails
[12:04:04] durango: Or is god also recommended?
[12:27:07] psylone: has joined #RubyOnRails
[12:29:51] ekinmur: has joined #RubyOnRails
[12:30:31] babykosh: has joined #RubyOnRails
[12:31:20] S007: has joined #RubyOnRails
[12:31:21] arup_r: has joined #RubyOnRails
[12:31:55] arup_r: How can I update the cache for each create/update/delete https://gist.github.com/aruprakshit/72991715a2ca14fa6e55891fefd4e99f ?
[12:31:59] babykosh: anyone have issues with postfix sending email to gmail accounts over DigitalOcean?
[12:33:46] Rodya_: has joined #RubyOnRails
[12:46:48] Tempesta: has joined #RubyOnRails
[12:49:44] jhass: has joined #RubyOnRails
[12:54:57] ekinmur: has joined #RubyOnRails
[12:56:07] arup_r: has joined #RubyOnRails
[12:57:19] tbuehlmann: arup_r: you can add Contact.all to the cache key, like ['contacts_index', Contact.all]
[12:58:41] arup_r: tbuehlmann: Thanks for your reply. Can you explain how it invalidates the cache entry and recalculates?
[12:59:41] tbuehlmann: sure: https://github.com/rails/rails/blob/a625292c793cd1fffdcf7576ac860c259493b140/activerecord/lib/active_record/collection_cache_key.rb
[13:00:40] pwnd_nsfw: has joined #RubyOnRails
[13:00:50] ascarter: has joined #RubyOnRails
[13:00:55] uks: has joined #RubyOnRails
[13:01:49] arup_r: tbuehlmann: nice.. :) code is very expressive how it is doing.. wowow
[13:04:04] arup_r: I was trying to do similar like Rails.cache.fetch("contacts_index", force: Contact.force?) { Contact.all.to_a } :) But that implementation saves the time a lot. Where it is documented by the way tbuehlmann ?
[13:04:27] arup_r: I was reading this guide http://guides.rubyonrails.org/caching_with_rails.html#sql-caching .. but didn't find any clue :)
[13:06:26] arup_r: tbuehlmann: 👍 thanks mate
[13:06:30] tbuehlmann: I don't know where that's documented
[13:07:03] arup_r: ok so it came out of your experience. That is why this community is very important .. :D
[13:08:45] pLaTo0n: has joined #RubyOnRails
[13:10:35] dkk_: has joined #RubyOnRails
[13:11:26] weathermaker: has joined #RubyOnRails
[13:15:30] ruurd: has joined #RubyOnRails
[13:27:59] Technodrome: has joined #RubyOnRails
[13:28:51] srinidhi: has joined #RubyOnRails
[13:34:29] Rodya_: has joined #RubyOnRails
[13:48:50] weathermaker: has joined #RubyOnRails
[13:48:59] hahuang65: has joined #RubyOnRails
[13:51:06] workmad3: has joined #RubyOnRails
[13:55:46] mikecmpb_: has joined #RubyOnRails
[13:57:01] Technodrome: has joined #RubyOnRails
[14:02:47] DLSteve: has joined #RubyOnRails
[14:08:54] drale2k_: has joined #RubyOnRails
[14:22:55] dionysus69: has joined #RubyOnRails
[14:29:35] psylone: has joined #RubyOnRails
[14:34:37] psylone: has joined #RubyOnRails
[14:35:21] Rodya_: has joined #RubyOnRails
[14:42:11] maxdoubt: has joined #RubyOnRails
[14:44:19] username1: has joined #RubyOnRails
[14:45:52] cpruitt: has joined #RubyOnRails
[14:46:16] ascarter: has joined #RubyOnRails
[14:47:29] weathermaker: has joined #RubyOnRails
[14:51:26] maxdoubt: has joined #RubyOnRails
[15:00:10] quazimodo: has joined #RubyOnRails
[15:03:02] ar1a: has joined #RubyOnRails
[15:09:22] cjhowe7: has joined #RubyOnRails
[15:14:43] ar1a: has joined #RubyOnRails
[15:17:18] renegadeandy: has joined #RubyOnRails
[15:17:42] renegadeandy: Can somebody take a hand at helping with this : https://stackoverflow.com/questions/44469244/using-google-places-search-autocomplete-in-a-rails-app
[15:17:59] Abhijit: has joined #RubyOnRails
[15:18:11] Abhijit: whats equivalent HAML for this <%= react_component("Post", {title: "Hello World"}) %>
[15:18:15] mbuf: has joined #RubyOnRails
[15:18:35] sevenseacat: remove the <% %>, done
[15:22:35] nahtnam: has joined #RubyOnRails
[15:26:20] mbuf: Are there any alternatives for ActiveAdmin?
[15:26:38] HoierM: has joined #RubyOnRails
[15:29:28] quazimodo: has joined #RubyOnRails
[15:31:22] renegadeandy: Help please! Can somebody take a hand at helping with this : https://stackoverflow.com/questions/44469244/using-google-places-search-autocomplete-in-a-rails-app
[15:36:01] Rodya_: has joined #RubyOnRails
[15:49:11] quazimodo: renegadeandy: what's wrong
[15:49:21] renegadeandy: quazimodo: thanks for replying
[15:49:25] renegadeandy: actually i just solved it
[15:49:46] hahuang65: has joined #RubyOnRails
[15:50:02] renegadeandy: the map had been given no size, so it was not visible, and the line map.controls[google.maps.ControlPosition.TOP_LEFT].push(input); was pushing the textbox onto the map - which was therefore also hidden
[15:50:20] renegadeandy: so by commenting out : map.controls[google.maps.ControlPosition.TOP_LEFT].push(input); and by giving the map div a size - it suddenly worked as designed
[15:50:40] quazimodo: wow yielding JS
[15:53:44] nesoi: has joined #RubyOnRails
[16:00:54] zacts: has joined #RubyOnRails
[16:09:53] arup_r: has joined #RubyOnRails
[16:18:34] lxsameer: has joined #RubyOnRails
[16:18:38] dionysus70: has joined #RubyOnRails
[16:23:02] username1: has joined #RubyOnRails
[16:28:02] ekinmur: has joined #RubyOnRails
[16:35:59] Technodrome: has joined #RubyOnRails
[16:36:43] Rodya_: has joined #RubyOnRails
[16:39:33] DLSteve: has joined #RubyOnRails
[16:41:11] beccamorgan: has joined #RubyOnRails
[16:43:56] br0d1n: has joined #RubyOnRails
[16:54:51] xx00__: has joined #RubyOnRails
[16:58:14] dionysus69: has joined #RubyOnRails
[17:14:42] username1: has joined #RubyOnRails
[17:35:47] noob_on_rails: has joined #RubyOnRails
[17:36:56] noob_on_rails: i have an Band model , which has many artists through Bandmembers. Also the Artist has_many albums through Bandmembers
[17:37:05] noob_on_rails: has many *bands sorry
[17:37:41] Rodya_: has joined #RubyOnRails
[17:37:44] noob_on_rails: when i create the Band , i have a multiselect dropdown , that i use to insert the artists that are in a band
[17:37:47] noob_on_rails: to the band model
[17:37:54] noob_on_rails: but now i have trouble updating that
[17:38:56] noob_on_rails: https://gist.github.com/frcake/4df9df1901c94e13b18fb141a753d9c3
[17:39:01] noob_on_rails: this is the new & create actions
[17:43:48] username1: has joined #RubyOnRails
[17:48:15] drale2k_: has joined #RubyOnRails
[17:50:35] hahuang65: has joined #RubyOnRails
[18:12:24] arup_r: has joined #RubyOnRails
[18:25:42] psylone_: has joined #RubyOnRails
[18:37:16] nesoi: has joined #RubyOnRails
[18:38:16] Rodya_: has joined #RubyOnRails
[18:52:46] username1: has joined #RubyOnRails
[18:56:21] arup_r: has joined #RubyOnRails
[18:58:04] xx00__: has joined #RubyOnRails
[19:00:30] armyriad: has joined #RubyOnRails
[19:00:44] srinidhi: has joined #RubyOnRails
[19:18:13] HoierM: has joined #RubyOnRails
[19:39:00] Rodya_: has joined #RubyOnRails
[19:46:07] segy_: has joined #RubyOnRails
[19:49:32] cjhowe7: has joined #RubyOnRails
[19:51:40] hahuang65: has joined #RubyOnRails
[19:56:05] srinidhi: has joined #RubyOnRails
[20:05:15] jottr: has joined #RubyOnRails
[20:16:25] Technodrome: has joined #RubyOnRails
[20:30:43] Nick501: has joined #RubyOnRails
[20:39:46] Rodya_: has joined #RubyOnRails
[20:39:58] nesoi: hello, anyone here an op on #ruby?
[20:40:19] apeiros: every op here is op in #ruby, why, what's up?
[20:40:53] nesoi: I was blocked on #ruby because people said I should ask a question here instead. so I did. but that was a few days ago and I'm still blocked on #ruby. Could you unblock me please?
[20:41:46] apeiros: a ban should redirect you to #ruby-banned, which is the place to discuss your bans. not here.
[20:42:00] nesoi: nothing redirected me, I'm just not voiced there
[20:42:10] nesoi: I was asking a question about activerecord not within rails
[20:42:15] nesoi: so I didn't think I should ask here
[20:42:21] nesoi: but apparently I should have
[20:42:38] apeiros: -> #ruby-banned
[20:42:52] apeiros: I'm not discussing this here
[20:42:56] nesoi: ok, in the meantime, I have some old code that uses Time.parse, which apparently is now no longer supported. What current method would produce identical output?
[20:43:35] apeiros: supported by what?
[20:44:25] nesoi: I don't see it in the documentation, did I just miss it?
[20:45:40] ruurd: has joined #RubyOnRails
[20:47:05] matthewd: nesoi: https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html#method-c-parse
[20:51:57] psylone: has joined #RubyOnRails
[20:53:36] gambl0re: has joined #RubyOnRails
[21:00:11] Rodya_: has joined #RubyOnRails
[21:16:00] Technodrome: has joined #RubyOnRails
[21:16:11] agent_white: has joined #RubyOnRails
[21:25:33] username1: has joined #RubyOnRails
[21:31:33] psylone: has joined #RubyOnRails
[21:36:18] hahuang65: has joined #RubyOnRails
[21:38:23] marr: has joined #RubyOnRails
[21:48:02] otherj: has joined #RubyOnRails
[21:48:56] renegadeandy: has joined #RubyOnRails
[21:54:37] segy: has joined #RubyOnRails
[21:57:58] banisterfiend: has joined #RubyOnRails
[21:58:48] ur5us: has joined #RubyOnRails
[22:10:46] ahrs: has joined #RubyOnRails
[22:21:16] psylone_: has joined #RubyOnRails
[22:59:18] segy: has joined #RubyOnRails
[23:05:41] Rodya_: has joined #RubyOnRails
[23:13:51] Rodya_: has joined #RubyOnRails
[23:17:24] psylone: has joined #RubyOnRails
[23:37:08] hahuang65: has joined #RubyOnRails
[23:55:27] username1: has joined #RubyOnRails