« Back to channel list

#RubyOnRails - 10 April 2016

« Back 1 day Forward 1 day »
[00:03:06] blackmesa: has joined #RubyOnRails
[00:05:28] Inside: has joined #RubyOnRails
[00:05:28] Inside: has joined #RubyOnRails
[00:06:05] jenrzzz: has joined #RubyOnRails
[00:07:31] alex88: has joined #RubyOnRails
[00:10:03] fedexo_: has joined #RubyOnRails
[00:12:57] flashpoint9: has joined #RubyOnRails
[00:13:04] nettoweb: has joined #RubyOnRails
[00:15:26] rake_db_migrate: has joined #RubyOnRails
[00:19:45] _Tariq: has joined #RubyOnRails
[00:27:59] SteenJobs: has joined #RubyOnRails
[00:28:46] ensyde__: has joined #RubyOnRails
[00:29:03] sleungcy: has joined #RubyOnRails
[00:31:39] chipotle: has joined #RubyOnRails
[00:32:04] Denart_: Building an API on RoR watch live! https://www.livecoding.tv/edge_tor/
[00:32:14] nettoweb: has joined #RubyOnRails
[00:32:18] ensyde_: has joined #RubyOnRails
[00:32:58] RegulationD: has joined #RubyOnRails
[00:36:49] patrick-sartent: has joined #RubyOnRails
[00:37:14] diego1: has joined #RubyOnRails
[00:38:42] lightheaded: has joined #RubyOnRails
[00:40:05] diego1: has joined #RubyOnRails
[00:46:00] bronson: has joined #RubyOnRails
[00:50:50] jgt4: has joined #RubyOnRails
[01:02:23] bruno-: has joined #RubyOnRails
[01:03:49] stannard: has joined #RubyOnRails
[01:05:40] flashpoint9: has joined #RubyOnRails
[01:06:29] yohle: has joined #RubyOnRails
[01:06:43] ensyde: has joined #RubyOnRails
[01:08:10] yohle: has joined #RubyOnRails
[01:09:42] Sawbones: has joined #RubyOnRails
[01:24:50] petor: has joined #RubyOnRails
[01:27:09] baweaver: has joined #RubyOnRails
[01:31:25] Rubie: has joined #RubyOnRails
[01:34:50] ekinmur: has joined #RubyOnRails
[01:36:07] cpruitt: has joined #RubyOnRails
[01:39:29] lightheaded: has joined #RubyOnRails
[01:42:20] Rodya_: has joined #RubyOnRails
[01:42:57] flashpoint9: has joined #RubyOnRails
[01:55:08] Sawbones: has joined #RubyOnRails
[02:07:52] chagel: has joined #RubyOnRails
[02:07:57] Sawbones: has joined #RubyOnRails
[02:09:00] alex88: has joined #RubyOnRails
[02:11:53] jtong: has joined #RubyOnRails
[02:15:57] Sawbones: has joined #RubyOnRails
[02:25:05] eyeamaye: has joined #RubyOnRails
[02:27:06] greenride: has left #RubyOnRails: ()
[02:39:23] braincra-: has joined #RubyOnRails
[02:40:12] lightheaded: has joined #RubyOnRails
[02:41:41] alex88: has joined #RubyOnRails
[02:49:41] ur5us: has joined #RubyOnRails
[02:54:53] dfockler: has joined #RubyOnRails
[03:08:38] _Tariq: has joined #RubyOnRails
[03:09:20] drbayer: has joined #RubyOnRails
[03:16:19] Dimik: has joined #RubyOnRails
[03:17:44] braincrash: has joined #RubyOnRails
[03:19:30] ur5us: has joined #RubyOnRails
[03:25:57] petor: has joined #RubyOnRails
[03:27:31] JDeen: has joined #RubyOnRails
[03:28:22] baweaver: has joined #RubyOnRails
[03:28:30] JDeen: Hi there. I am intersted in logging changes done to a table. I wold particularly be interested in saving dat/exit
[03:28:54] chipotle_: has joined #RubyOnRails
[03:28:54] JDeen: has joined #RubyOnRails
[03:29:17] JDeen: sorry aout the previous (^^^) message, issue with client
[03:29:38] arBmind: has joined #RubyOnRails
[03:30:05] JDeen: I am interested in logging changes happening to a table. For example if I do `user.update(password: 'abc')`, in an after save I would like to get `{ password: 'abc' }`
[03:30:26] JDeen: is there a way to get the options passed in to an update, create method etc from callbacks?
[03:31:32] silentpost: has joined #RubyOnRails
[03:31:33] Rodya_: has joined #RubyOnRails
[03:31:40] owenjones: has joined #RubyOnRails
[03:31:44] jhack: has joined #RubyOnRails
[03:34:06] crameth: has joined #RubyOnRails
[03:35:20] crameth: has joined #RubyOnRails
[03:37:29] Rodya_: has joined #RubyOnRails
[03:39:54] ur5us: has joined #RubyOnRails
[03:40:58] lightheaded: has joined #RubyOnRails
[03:41:08] moeabdol4: has joined #RubyOnRails
[03:42:44] chipotle: has joined #RubyOnRails
[03:45:37] adavia: has joined #RubyOnRails
[03:49:29] Oog: has joined #RubyOnRails
[03:49:38] diegoviola: has joined #RubyOnRails
[03:49:46] bronson: has joined #RubyOnRails
[03:50:35] Tempesta_: has joined #RubyOnRails
[03:50:41] emchamp-dt: has joined #RubyOnRails
[03:51:53] blackhuey: has joined #RubyOnRails
[03:52:08] sleungcy: has joined #RubyOnRails
[03:52:41] Rodya_: has joined #RubyOnRails
[03:58:10] qejk: has joined #RubyOnRails
[03:59:40] Tempesta: has joined #RubyOnRails
[03:59:52] Cohedrin: has joined #RubyOnRails
[04:05:47] d0nn1e: has joined #RubyOnRails
[04:08:40] davee_: has joined #RubyOnRails
[04:11:54] baweaver: has joined #RubyOnRails
[04:13:04] chagel: has joined #RubyOnRails
[04:13:27] jfelchner: has joined #RubyOnRails
[04:14:29] shmoon_: has joined #RubyOnRails
[04:17:14] view_rails_chann: has joined #RubyOnRails
[04:18:56] Technodrome: has joined #RubyOnRails
[04:20:48] view_rails_chann: hello. This is my first time on here. Can people read my message ok?
[04:21:47] flashpoint9: has joined #RubyOnRails
[04:22:26] Ropeney: yes view_rails_chann
[04:23:13] cabargas: has joined #RubyOnRails
[04:24:49] code2Learn: has joined #RubyOnRails
[04:26:01] jgt4: has joined #RubyOnRails
[04:29:19] Rodya_: has joined #RubyOnRails
[04:34:48] RegulationD: has joined #RubyOnRails
[04:34:51] rake_db_migrate: has joined #RubyOnRails
[04:36:44] existensil: has joined #RubyOnRails
[04:41:47] lightheaded: has joined #RubyOnRails
[04:44:55] owenjones: has joined #RubyOnRails
[04:47:04] Technodrome: has joined #RubyOnRails
[04:48:00] Rodya_: has joined #RubyOnRails
[04:50:28] Devalo: has joined #RubyOnRails
[04:51:31] Rodya_: has joined #RubyOnRails
[04:53:11] sleungcy: has joined #RubyOnRails
[04:57:19] troys: has joined #RubyOnRails
[04:57:56] Rodya_: has joined #RubyOnRails
[04:58:42] joshkovach: has joined #RubyOnRails
[05:03:24] sevenseacat: has joined #RubyOnRails
[05:13:50] bronson: has joined #RubyOnRails
[05:14:06] t27duck: has joined #RubyOnRails
[05:14:12] ramfjord: has joined #RubyOnRails
[05:14:33] t27duck: has left #RubyOnRails: ()
[05:15:26] merida: has joined #RubyOnRails
[05:23:40] SteenJobs: has joined #RubyOnRails
[05:24:08] bronson: has joined #RubyOnRails
[05:27:03] hahuang65: has joined #RubyOnRails
[05:27:09] petor: has joined #RubyOnRails
[05:28:13] Megamos: has joined #RubyOnRails
[05:29:48] JDeen: I am interested in logging changes happening to a table. For example if I do `user.update(password: 'abc')`, in an after save I would like to get `{ password: 'abc' }`. Is there a way to get the parameters passed ot an update/create method?
[05:30:08] crameth: has joined #RubyOnRails
[05:30:57] Radar: jdeen: You can get them from the controller, or if you just want the changed ones, @record.changes
[05:32:28] crameth: has joined #RubyOnRails
[05:35:40] JDeen: Radar: thanks, i was thinking of handling it in a before / after hook. If the attribute hasn't changed then `@record.changes` wouldn't show it. I think its best to do watch it in the controller. Thanks. Have a nice Sunday
[05:36:17] Radar: jdeen: Sounds like you're trying to implement something similar to Event Sourcing. I don't know much about it other than I've watched a few talks about it, but the concept might be useful to you.
[05:36:45] yfeldblum: has joined #RubyOnRails
[05:40:21] Sawbones: has joined #RubyOnRails
[05:42:30] lightheaded: has joined #RubyOnRails
[05:44:02] JDeen: Radar: thanks, let me search about it
[05:44:49] robbyoconnor: has joined #RubyOnRails
[05:46:25] Rodya_: has joined #RubyOnRails
[05:46:45] tvw: has joined #RubyOnRails
[05:49:56] chipotle: has joined #RubyOnRails
[05:50:49] naftilos76: has joined #RubyOnRails
[05:55:17] sleungcy: has joined #RubyOnRails
[05:55:21] G: has joined #RubyOnRails
[05:56:22] dionysus69: has joined #RubyOnRails
[05:57:54] barajasfab: has joined #RubyOnRails
[06:00:26] merida: has joined #RubyOnRails
[06:13:15] chagel: has joined #RubyOnRails
[06:13:56] kadoppe: has joined #RubyOnRails
[06:14:55] Palsson: has joined #RubyOnRails
[06:15:06] bronson: has joined #RubyOnRails
[06:16:55] PedramT: has joined #RubyOnRails
[06:18:45] chipotle: has joined #RubyOnRails
[06:23:35] agit0: has joined #RubyOnRails
[06:25:16] stupidystupid: has joined #RubyOnRails
[06:26:01] barajasfab: has joined #RubyOnRails
[06:27:30] merida_: has joined #RubyOnRails
[06:28:22] GnuYawk: has joined #RubyOnRails
[06:28:44] GnuYawk: has joined #RubyOnRails
[06:30:10] SolarSailor: has joined #RubyOnRails
[06:30:50] djbkd: has joined #RubyOnRails
[06:34:36] Palsson: has joined #RubyOnRails
[06:35:49] RegulationD: has joined #RubyOnRails
[06:35:58] darkdave: has joined #RubyOnRails
[06:38:09] darkdave: America is sending bombers to Syria - no war for oil! we should all protest infront of u.s embassies!
[06:38:17] darkdave: make love not war!
[06:39:55] chipotle: has joined #RubyOnRails
[06:41:56] PedramT: has joined #RubyOnRails
[06:42:20] sevenseacat: darkdave: seems nothing to do with rails.
[06:43:15] lightheaded: has joined #RubyOnRails
[06:43:40] PedramT_: has joined #RubyOnRails
[06:43:58] darkdave: Black lives matter!
[06:44:07] lxsameer: has joined #RubyOnRails
[06:44:53] sandelius: has joined #RubyOnRails
[06:45:08] sevenseacat: darkdave: let's keep the politics out of here.
[06:45:29] arup_r: has joined #RubyOnRails
[06:45:34] njero: has joined #RubyOnRails
[06:45:50] helpa: http://i.imgur.com/tyViD.gif
[06:46:27] owenjones: has joined #RubyOnRails
[06:47:34] darkdave: Vote Hilary
[06:47:38] ChanServ: +q *!*@218.24.88.126
[06:49:18] sevenseacat: works for me.
[06:49:19] Rodya_: has joined #RubyOnRails
[06:51:32] ur5us: has joined #RubyOnRails
[06:51:44] Devalo: has joined #RubyOnRails
[06:52:36] kadoppe: has joined #RubyOnRails
[06:52:49] arup_r: wanted to check my ror experience. :)
[06:52:58] darkdave: has left #RubyOnRails: ()
[06:52:59] arup_r: not works for me that command.. :D
[06:53:41] GnuYawk: has joined #RubyOnRails
[06:54:26] GnuYawk: has joined #RubyOnRails
[06:55:46] Radar: arup_r: Just authorized you for helpa usage. With great power comes great responsibility and all that.
[06:55:56] sleungcy: has joined #RubyOnRails
[06:56:01] arup_r: ok thanks Radar!
[06:56:22] apotry: has joined #RubyOnRails
[06:57:10] arup_r: I will update my CV, but was not sure how long I have been practicing rails. Now, I will update. Thanks again.
[06:59:14] PedramT: has joined #RubyOnRails
[07:00:48] chipotle: has joined #RubyOnRails
[07:01:29] tildes: has joined #RubyOnRails
[07:03:28] PedramT_: has joined #RubyOnRails
[07:04:03] arup_r: has joined #RubyOnRails
[07:05:49] dionysus69: has joined #RubyOnRails
[07:06:33] Macaveli: has joined #RubyOnRails
[07:08:13] ashishsingh173: has joined #RubyOnRails
[07:09:56] jstransky: has joined #RubyOnRails
[07:10:50] drbayer: has joined #RubyOnRails
[07:20:57] sp1rs: has joined #RubyOnRails
[07:21:11] johnflux: has joined #RubyOnRails
[07:21:55] chipotle: has joined #RubyOnRails
[07:28:18] petor: has joined #RubyOnRails
[07:28:20] darutoko: has joined #RubyOnRails
[07:31:40] johnflux_: has joined #RubyOnRails
[07:31:55] adavia: has joined #RubyOnRails
[07:32:53] bronson: has joined #RubyOnRails
[07:32:55] PedramT: has joined #RubyOnRails
[07:35:26] moeabdol: has joined #RubyOnRails
[07:39:16] PedramT: has joined #RubyOnRails
[07:41:05] PedramT_: has joined #RubyOnRails
[07:41:40] lightheaded: has joined #RubyOnRails
[07:50:28] yfeldblum: has joined #RubyOnRails
[07:50:49] PedramT: has joined #RubyOnRails
[07:51:39] sp1rs: has joined #RubyOnRails
[07:53:32] PedramT_: has joined #RubyOnRails
[07:54:38] PedramT: has joined #RubyOnRails
[07:56:18] Devalo: has joined #RubyOnRails
[07:56:46] sleungcy: has joined #RubyOnRails
[07:59:44] tvw: has joined #RubyOnRails
[08:00:12] valetudo: has joined #RubyOnRails
[08:03:48] sandelius: has joined #RubyOnRails
[08:05:39] Lingo: has joined #RubyOnRails
[08:06:03] PedramT: has joined #RubyOnRails
[08:06:39] PedramT_: has joined #RubyOnRails
[08:07:25] mhoungbo: has joined #RubyOnRails
[08:07:54] mikecmpbll: has joined #RubyOnRails
[08:08:16] baweaver: has joined #RubyOnRails
[08:08:22] PedramT_: has joined #RubyOnRails
[08:11:39] arup_r: has joined #RubyOnRails
[08:13:57] jtong: has joined #RubyOnRails
[08:19:00] dgncn: has joined #RubyOnRails
[08:21:04] dannyguk: has joined #RubyOnRails
[08:24:32] TheGreatGudsby: has joined #RubyOnRails
[08:24:43] yfeldblum: has joined #RubyOnRails
[08:29:50] pawnbox: has joined #RubyOnRails
[08:35:39] futilegames: has joined #RubyOnRails
[08:37:17] AzaToth: has joined #RubyOnRails
[08:39:59] blackmesa: has joined #RubyOnRails
[08:40:18] srinidhi: has joined #RubyOnRails
[08:40:43] jerohm: has joined #RubyOnRails
[08:44:40] dannyguk: has joined #RubyOnRails
[08:45:23] dionysus69: has joined #RubyOnRails
[08:45:34] yfeldblum: has joined #RubyOnRails
[08:45:37] pawnbox: has joined #RubyOnRails
[08:50:07] akshat: has joined #RubyOnRails
[08:57:26] sleungcy: has joined #RubyOnRails
[08:57:48] ur5us: has joined #RubyOnRails
[08:59:19] jtong: has joined #RubyOnRails
[08:59:39] mhoungbo: has joined #RubyOnRails
[09:01:01] akshat: has joined #RubyOnRails
[09:06:26] Tempesta: has joined #RubyOnRails
[09:10:56] dangerousdave: has joined #RubyOnRails
[09:17:41] antgel: has joined #RubyOnRails
[09:19:02] moeabdol: has joined #RubyOnRails
[09:19:17] nodejunkie: has joined #RubyOnRails
[09:21:11] DoubleMalt: has joined #RubyOnRails
[09:29:29] petor: has joined #RubyOnRails
[09:30:20] snowy: has joined #RubyOnRails
[09:31:23] pawnbox: has joined #RubyOnRails
[09:34:53] Palsson: has joined #RubyOnRails
[09:37:45] jerohm: has joined #RubyOnRails
[09:38:11] Begi: has joined #RubyOnRails
[09:41:13] pawnbox: has joined #RubyOnRails
[09:43:33] jstransky: has joined #RubyOnRails
[09:43:44] agit0: has joined #RubyOnRails
[09:44:50] arup_r: has joined #RubyOnRails
[09:45:18] tildes: has joined #RubyOnRails
[09:45:21] akshat: has joined #RubyOnRails
[09:45:43] siaW: Radar: I want some of that super powers :D
[09:46:12] siaW: :D :D :D :D
[09:47:33] merida: has joined #RubyOnRails
[09:48:44] darkxploit: has joined #RubyOnRails
[09:50:34] darkxploit: hello can someone explain me the difference between bundle install and gem install ?
[09:52:26] Secretmapper: has joined #RubyOnRails
[09:53:49] bruno-: has joined #RubyOnRails
[09:54:33] one_zero: has joined #RubyOnRails
[09:54:39] jgt4: has joined #RubyOnRails
[09:55:54] blackmesa: has joined #RubyOnRails
[09:58:18] sleungcy: has joined #RubyOnRails
[10:00:50] arup_r: darkxploit: see if http://stackoverflow.com/questions/7273853/why-bundle-install-a-gem-instead-of-gem-install-for-a-rails-3-app helps.
[10:03:33] njero: arup_r: and final installation path will depend on bundler configuration or sys ruby version setup rt?
[10:06:45] darkxploit: i just made a gem install puma
[10:07:31] darkxploit: how do i run puma
[10:08:01] zpe: has joined #RubyOnRails
[10:08:59] tbuehlmann: darkxploit: is this in a rails application?
[10:09:55] darkxploit: i should admit that i dont know
[10:10:01] darkxploit: from the website http://puma.io/
[10:10:08] darkxploit: i dont think so
[10:10:31] ramfjord: has joined #RubyOnRails
[10:10:31] tbuehlmann: what do you want to serve using puma?
[10:10:40] JonasOSDever_: has left #RubyOnRails: ("Leaving")
[10:10:56] JonasOSDever_: has joined #RubyOnRails
[10:11:14] njero: u don't know what you're trying to do .. seems weired :)
[10:12:45] darkxploit: i want to make capistrano deploy rails application to a puma web server
[10:14:19] tbuehlmann: so you have a rails application, right?
[10:14:35] darkxploit: n_e_o, in fact i got a server at work already having puma capistrano rvm etc.. the problem is that each time the server is rebooted a cap deploy need to be launched. I want to make a script which will deploy it automatically. Prior to that i want to reproduce the same error on my labo
[10:15:51] darkxploit: my problem is that i dont have any notion of rails etc.. i have all the trace of ps -faux history etc.. in front of me.. im just trying to adjust myself a bit to that environment
[10:16:54] darkxploit: we have these actually running on the server http://pastebin.com/AHu62DB0
[10:18:04] darkxploit: http://pastie.org/10792133
[10:18:40] darkxploit: i have already installed postgres / rvm / ruby and did a gem install puma.
[10:19:07] darkxploit: how i want to know how do i start puma and deploy an application with capistrano
[10:20:08] eyeamaye: has joined #RubyOnRails
[10:21:47] chagel: has joined #RubyOnRails
[10:22:50] darkxploit: does it have any sense what im talking
[10:23:00] njero: darkxploit: not familiar with capistrano.. seems like https://github.com/puma/puma explains things..
[10:23:46] njero: have u tried https://github.com/puma/puma#capistrano-deployment
[10:25:23] darkxploit: no i did not
[10:26:01] darkxploit: from what i understand bundle is used to install gems locally for a project
[10:26:09] darkxploit: and gem install is system wide
[10:26:51] darkxploit: why the doc said to use bundle ?
[10:27:28] dionysus69: has joined #RubyOnRails
[10:33:16] unused: has joined #RubyOnRails
[10:34:14] bronson: has joined #RubyOnRails
[10:34:30] unused: has left #RubyOnRails: ()
[10:34:51] unused: has joined #RubyOnRails
[10:35:03] darkxploit: n_e_o, .. well looks like i will to learnn lots more before understanding how these things work
[10:36:46] njero: darkxploit: I'm not sure how cap works, but i think bundle install need not be installing gems locally
[10:39:20] mikecmpbll: has joined #RubyOnRails
[10:40:07] sandelius: has joined #RubyOnRails
[10:48:37] jstransky: has joined #RubyOnRails
[10:58:34] akkmaxon: has joined #RubyOnRails
[10:58:59] sleungcy: has joined #RubyOnRails
[11:02:41] yfeldblum: has joined #RubyOnRails
[11:07:44] PedramT: has joined #RubyOnRails
[11:08:41] petor: has joined #RubyOnRails
[11:08:46] ur5us: has joined #RubyOnRails
[11:12:14] drbayer: has joined #RubyOnRails
[11:15:10] renegadeandy: has joined #RubyOnRails
[11:15:37] Meow-J: has joined #RubyOnRails
[11:16:07] renegadeandy: Hello. can somebody who has experience help with this problem which is around storing images in a specific file system path and still generated the correct links to the image : http://stackoverflow.com/questions/36528990/rails-and-paperclip-storing-images-in-a-specific-path-sets-wrong-url
[11:16:47] diegoaguilar: has joined #RubyOnRails
[11:20:41] merida: has joined #RubyOnRails
[11:22:10] kadoppe: has joined #RubyOnRails
[11:23:54] Radar: renegadeandy: why are you storing them at `/opt/www/myapp/images` and not `/opt/www/myapp/public/images`?
[11:24:04] Radar: renegadeandy: is there a special reason for not storing them in public?
[11:24:18] renegadeandy: Radar: well for some reason my capistrano deploy seems to nuke them there...
[11:24:19] Radar: renegadeandy: because public is where nginx/apache is configured to serve files (like images) from
[11:24:30] Radar: renegadeandy: That's because you're not symlinking that directory upon deployment.
[11:25:19] renegadeandy: Radar: so on which file do i add that in?
[11:25:32] Radar: the symlinking? config/deploy.rb
[11:25:40] Radar: config :symlinked_dirs, %w(public/images) think
[11:25:48] Radar: dunno. Very late here.
[11:26:33] renegadeandy: Is it this maybe :
[11:26:34] renegadeandy: # Default value for linked_dirs is []
[11:26:34] renegadeandy: set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')
[11:31:51] agit0: has joined #RubyOnRails
[11:32:36] ur5us: has joined #RubyOnRails
[11:32:38] GnuYawk: has joined #RubyOnRails
[11:33:02] GnuYawk: has joined #RubyOnRails
[11:35:38] sp1rs: has joined #RubyOnRails
[11:42:18] xcesariox: has joined #RubyOnRails
[11:44:13] Coldblackice_: has joined #RubyOnRails
[11:44:32] merida: has joined #RubyOnRails
[11:47:54] moeabdol: has joined #RubyOnRails
[11:48:59] TheGreatGudsby: has joined #RubyOnRails
[11:50:03] TheGreatGudsby: has joined #RubyOnRails
[11:50:33] FooMunki: has joined #RubyOnRails
[11:53:11] merida: has joined #RubyOnRails
[11:53:40] dionysus69: has joined #RubyOnRails
[11:55:49] stannard: has joined #RubyOnRails
[11:57:25] valetudo: has joined #RubyOnRails
[11:59:50] sleungcy: has joined #RubyOnRails
[12:02:55] moeabdol: has joined #RubyOnRails
[12:03:06] mikecmpbll: has joined #RubyOnRails
[12:07:56] WilfredTheGreat: has joined #RubyOnRails
[12:14:36] agit0: has joined #RubyOnRails
[12:15:14] krz: has joined #RubyOnRails
[12:17:17] renegadeandy: Radar: Thank you - that fixed it.
[12:29:29] kadoppe: has joined #RubyOnRails
[12:30:53] sandelius: has joined #RubyOnRails
[12:33:27] blackmes1: has joined #RubyOnRails
[12:36:53] arup_r: has joined #RubyOnRails
[12:37:15] netzfisch: has joined #RubyOnRails
[12:38:11] RegulationD: has joined #RubyOnRails
[12:43:09] arup_r: n_e_o: I was busy with my Git. I was trying to rewrite history, but git was not letting me do that. :( .. but all set now. Regarding the question, I never dig to that part, so no idea. I dig when I get kick :p
[12:44:44] tildes: has joined #RubyOnRails
[12:44:51] TheGreatGudsby: has joined #RubyOnRails
[12:49:41] nfk: has joined #RubyOnRails
[12:49:57] jstransky: has joined #RubyOnRails
[12:51:56] xcesariox: has joined #RubyOnRails
[12:53:41] triangles: has joined #RubyOnRails
[12:54:56] sonOfRa: has left #RubyOnRails: ("Leaving")
[12:57:02] edwinvdgraaf: has joined #RubyOnRails
[12:59:52] jtong: has joined #RubyOnRails
[13:00:40] sleungcy: has joined #RubyOnRails
[13:05:42] qejk: has joined #RubyOnRails
[13:07:46] snowy: has joined #RubyOnRails
[13:15:02] aloneintheworld: has joined #RubyOnRails
[13:16:58] stannard: has joined #RubyOnRails
[13:18:53] edwinvdgraaf: has joined #RubyOnRails
[13:19:24] petor: has joined #RubyOnRails
[13:21:09] GnuYawk`: has joined #RubyOnRails
[13:26:38] snowy: has joined #RubyOnRails
[13:30:21] petor: has joined #RubyOnRails
[13:31:56] Malgorath: has joined #RubyOnRails
[13:37:47] shmoon_: has joined #RubyOnRails
[13:37:52] nettoweb: has joined #RubyOnRails
[13:38:15] Malgorath: has joined #RubyOnRails
[13:39:41] shmoon_: has left #RubyOnRails: ()
[13:42:38] cashnguns: has joined #RubyOnRails
[13:43:29] cashnguns: has joined #RubyOnRails
[13:51:21] jhack: has joined #RubyOnRails
[13:56:11] PedramT: has joined #RubyOnRails
[13:56:43] edwinvdgraaf: has joined #RubyOnRails
[13:57:22] diegoaguilar: has joined #RubyOnRails
[13:58:24] PedramT: has joined #RubyOnRails
[14:01:32] sleungcy: has joined #RubyOnRails
[14:06:25] rake_db_migrate: has joined #RubyOnRails
[14:09:24] owenjones: has joined #RubyOnRails
[14:09:37] hervie: has joined #RubyOnRails
[14:10:17] hinbody: has joined #RubyOnRails
[14:10:56] sandelius: has joined #RubyOnRails
[14:12:08] ramfjord: has joined #RubyOnRails
[14:19:18] King_Rex: has joined #RubyOnRails
[14:20:59] fernandomm: has joined #RubyOnRails
[14:21:16] snowy: has joined #RubyOnRails
[14:22:01] jhack: has joined #RubyOnRails
[14:23:13] Rubie: has joined #RubyOnRails
[14:23:39] fernandomm: has joined #RubyOnRails
[14:25:28] GodFather: has joined #RubyOnRails
[14:25:51] Sylario: has joined #RubyOnRails
[14:31:31] dblessing: has joined #RubyOnRails
[14:31:50] rake_db_migrate: has joined #RubyOnRails
[14:32:56] quazimodo: has joined #RubyOnRails
[14:32:56] quazimod1: has joined #RubyOnRails
[14:36:10] bronson: has joined #RubyOnRails
[14:36:35] petor: has joined #RubyOnRails
[14:40:19] snowy: has joined #RubyOnRails
[14:41:47] _Tariq: has joined #RubyOnRails
[14:42:00] AmiMoench: has joined #RubyOnRails
[14:42:06] xcesariox: has joined #RubyOnRails
[14:43:37] MuffinPimp: has joined #RubyOnRails
[14:44:12] xMopxShell: has joined #RubyOnRails
[14:45:17] mikecmpbll: has joined #RubyOnRails
[14:47:26] Malgorath: has joined #RubyOnRails
[14:48:05] bmf: has joined #RubyOnRails
[14:52:24] fernandomm: has joined #RubyOnRails
[14:53:00] fernandomm: has joined #RubyOnRails
[14:53:55] Malgorath: has joined #RubyOnRails
[14:55:40] akshat: has joined #RubyOnRails
[14:59:19] silentpost: has joined #RubyOnRails
[15:02:20] sleungcy: has joined #RubyOnRails
[15:06:32] PedramT: has joined #RubyOnRails
[15:08:20] srinidhi: has joined #RubyOnRails
[15:12:05] czerasz2: has joined #RubyOnRails
[15:15:55] jgt4: has joined #RubyOnRails
[15:19:51] Meow-J: has joined #RubyOnRails
[15:19:56] djbkd: has joined #RubyOnRails
[15:22:26] WilfredTheGreat: has joined #RubyOnRails
[15:26:44] Malgorath: mikecmpbll: if your here, good news, I got my templates to show the changes finally :D
[15:27:00] mikecmpbll: Malgorath : heh, wd!
[15:27:04] Palsson: has joined #RubyOnRails
[15:28:38] Malgorath: now I just gotta find the right .erb to but my stuff in
[15:30:20] futilegames: has joined #RubyOnRails
[15:32:04] snowy: has joined #RubyOnRails
[15:33:57] ql6wlld: has joined #RubyOnRails
[15:35:45] netzfisch: has joined #RubyOnRails
[15:38:52] Sawbones: has joined #RubyOnRails
[15:39:14] kadoppe: has joined #RubyOnRails
[15:39:39] Rodya_: has joined #RubyOnRails
[15:41:54] sp1rs: has joined #RubyOnRails
[15:42:34] adavia: has joined #RubyOnRails
[15:45:00] jottr: has joined #RubyOnRails
[15:45:06] _Tariq: has joined #RubyOnRails
[15:45:08] joshkovach: has joined #RubyOnRails
[15:47:25] sandelius: has joined #RubyOnRails
[15:47:27] triangles: has joined #RubyOnRails
[15:53:30] ramfjord: has joined #RubyOnRails
[15:54:02] emchamp-dt: has joined #RubyOnRails
[15:55:04] _Tariq: has joined #RubyOnRails
[16:00:57] edwinvdgraaf: has joined #RubyOnRails
[16:01:24] ekinmur: has joined #RubyOnRails
[16:02:59] sleungcy: has joined #RubyOnRails
[16:05:00] srinidhi: has joined #RubyOnRails
[16:09:08] dici: has joined #RubyOnRails
[16:09:18] Dimik: has joined #RubyOnRails
[16:09:56] roelof: has joined #RubyOnRails
[16:11:01] edwinvdgraaf: has joined #RubyOnRails
[16:11:08] roelof: Is there a way Rails will put a red * if a input is required ? I did validates :body , presence: true but then no red * is being seen
[16:12:55] njero: roelof: are you using any form helpers? like simple_form
[16:13:49] roelof: yes, im using this helper : <%= form_for
[16:13:52] Rodya_: has joined #RubyOnRails
[16:14:57] fryguy: roelof: form_for won't add it for you
[16:15:38] roelof: fryguy: oke, which form helper can I then use the best . Im just beginning with rails
[16:15:39] njero: yeah, you may try simple_form gem
[16:19:02] roelof: n_e_o: oke, and how can I do this with the simple_form gem. I just skimmed trought the readme but could not find how to achieve this ?
[16:19:49] njero: maybe your skimming wasn't good enough :P
[16:19:53] Sawbones: has joined #RubyOnRails
[16:21:14] roelof: no, I use the search function and found that simple_form does this automatically when looking at the model
[16:21:21] roelof: Thanks, I will try that way
[16:21:35] darkxploit: has joined #RubyOnRails
[16:21:37] joshsmith: has joined #RubyOnRails
[16:26:57] merida: has joined #RubyOnRails
[16:26:59] GnuYawk: has joined #RubyOnRails
[16:28:45] akkmaxon: has joined #RubyOnRails
[16:30:09] joshkovach: has joined #RubyOnRails
[16:31:34] snowy: has joined #RubyOnRails
[16:33:02] jstransky: has joined #RubyOnRails
[16:34:38] edwinvdgraaf: has joined #RubyOnRails
[16:35:04] jottr: has joined #RubyOnRails
[16:42:25] dvinciguerra_: has joined #RubyOnRails
[16:44:30] dvinciguerra_: has joined #RubyOnRails
[16:44:38] forcer: has joined #RubyOnRails
[16:45:42] arup_r: has joined #RubyOnRails
[16:46:09] dvinciguerra_: has joined #RubyOnRails
[16:46:14] bruno-: has joined #RubyOnRails
[16:46:45] roelof: has joined #RubyOnRails
[16:49:08] roelof: why do I not see the red * on the required field here : https://gist.github.com/rwobben/ee6e3dbaf3db9d0474a4c052a25037f5
[16:52:42] petor: has joined #RubyOnRails
[16:53:23] arup_r: roelof: due to the validation https://gist.github.com/rwobben/ee6e3dbaf3db9d0474a4c052a25037f5#file-comment-rb-L4
[16:53:30] chipotle: has joined #RubyOnRails
[16:53:43] arup_r: simple_form_for automatically does the job for you.
[16:53:50] nodejunkie: has joined #RubyOnRails
[16:53:57] arup_r: not see.. :p
[16:54:05] arup_r: 1 min again
[16:54:14] njero: roelof: the * symbol u talking about might be part of html5 validation, I think it's turned of by default in the simple_form initializer. go through readme.
[16:55:19] njero: * symbol in that usually stands for required fields and not for errors
[16:55:44] arup_r: well I am right: *By default all inputs are required. When the form object has presence validations attached to its fields, Simple Form tells required and optional fields apart. For performance reasons, this detection is skipped on validations that make use of conditional options, such as :if and :unless*
[16:55:51] arup_r: https://github.com/plataformatec/simple_form
[16:56:12] arup_r: but then you are saying you are not seeing.. you should see though.
[16:56:38] johnflux_: has joined #RubyOnRails
[16:57:48] arup_r: ok.. got it
[16:57:56] roelof: I do not see it. See this page : https://learning-rails-wissel-1.c9users.io/articles/13
[16:58:30] sp1rs: has joined #RubyOnRails
[16:58:33] arup_r: roelof: you have to use their helpers like *<%= f.input :name %>*
[16:58:36] scope: has joined #RubyOnRails
[16:58:49] arup_r: You used Rails form_for helpers.. change them to like simple_form helpers
[16:58:55] flashpoint9: has joined #RubyOnRails
[16:59:00] roelof: oke, then I have to rewrite that part too
[16:59:00] scope: if i have .less files do you need to inport them into stylesheets too
[16:59:13] kailido: has joined #RubyOnRails
[16:59:18] njero: arup_r: roelof rt.. I completely missed it
[16:59:36] kailido: is it possible to run two projets at the same time? each one with different rails versions?
[16:59:58] arup_r: roelof: yes.. <%= f.text_area(:body , cols: "45", rows: "8") %> to go as <%= f.input :body , html: { cols: "45", rows: "8"} %>
[17:00:40] havenwood: kailido: yes
[17:01:21] kailido: when i opened other project and installed other rails and ruby version, it changed the version of the other
[17:01:21] roelof: thanks, I now see it like this : * Body
[17:01:46] jtong: has joined #RubyOnRails
[17:02:02] arup_r: roelof: -> correction <%= f.input :body , as: :text, input_html: { cols: "45", rows: "8"} %>
[17:02:05] havenwood: kailido: What are you using for Ruby version management?
[17:02:14] icedp: has joined #RubyOnRails
[17:02:17] arup_r: cool.. dinner time
[17:02:21] kailido: im running my projets in rubymine
[17:03:04] havenwood: kailido: Doesn't Rubymine support chruby/rvm/rbenv?
[17:03:10] havenwood: kailido: I dunno.
[17:03:43] sleungcy: has joined #RubyOnRails
[17:04:51] roelof: Another question : are there people that use cloud providers to develop in Rails. I use now c9.io but that one seems sometimes to be sluggish
[17:05:47] kailido: i have windows
[17:06:34] moeabdol: has joined #RubyOnRails
[17:07:29] dvinciguerra_: has joined #RubyOnRails
[17:07:48] roelof: o, and is it good working. Which ide do you use. I work on a Windows 10 machine with 4G memory
[17:09:34] dvinciguerra_: has joined #RubyOnRails
[17:09:49] havenwood: kailido: Ah, the plot thickens! See: https://www.jetbrains.com/help/ruby/2016.1/pik-support.html?origin=old_help
[17:09:53] Technodrome: has joined #RubyOnRails
[17:10:06] jgt4: has joined #RubyOnRails
[17:10:48] havenwood: kailido: Or better yet, see if Uru has RubyMine support.
[17:11:45] srinidhi: has joined #RubyOnRails
[17:12:07] pawnbox: has joined #RubyOnRails
[17:12:21] kailido: i dont think so
[17:12:54] havenwood: kailido: Appears not, but you could upvote this request to add it: https://youtrack.jetbrains.com/issue/RUBY-16942
[17:14:46] drbayer: has joined #RubyOnRails
[17:14:49] kailido: without pik i cant have multiple versions?
[17:15:31] havenwood: kailido: You can build as many versions of Ruby as you'd like. Without RedMine support, RedMine won't support it.
[17:15:52] havenwood: kailido: You could use the beta version of Windows in Development mode to get Bash. :P
[17:15:57] flashpoint9: has joined #RubyOnRails
[17:16:27] flashpoi_: has joined #RubyOnRails
[17:16:32] kailido: on the edit configurations of development i can select the ruby version in rubymine
[17:17:10] owenjones: has joined #RubyOnRails
[17:17:26] djbkd: has joined #RubyOnRails
[17:19:12] d0nn1e: has joined #RubyOnRails
[17:20:54] pawnbox: has joined #RubyOnRails
[17:20:55] havenwood: I'm glad Windows is finally shipping bash. At the moment the best advice is "switch OSes before you start using the language," which is a tough pill to swallow.
[17:21:38] nettoweb: has joined #RubyOnRails
[17:22:04] havenwood: kailido: https://blogs.windows.com/windowsexperience/2016/04/06/announcing-windows-10-insider-preview-build-14316/
[17:24:16] djbkd_: has joined #RubyOnRails
[17:27:03] baweaver: has joined #RubyOnRails
[17:37:33] _Tariq: has joined #RubyOnRails
[17:38:09] petor: has joined #RubyOnRails
[17:39:27] sandelius: has joined #RubyOnRails
[17:39:59] arup_r: has joined #RubyOnRails
[17:42:47] fedexo: has joined #RubyOnRails
[17:43:53] edwinvdgraaf: has joined #RubyOnRails
[17:45:22] hervie: has joined #RubyOnRails
[17:47:36] fernandomm: has joined #RubyOnRails
[17:47:38] stupidystupid: has joined #RubyOnRails
[17:48:09] flopsec: has joined #RubyOnRails
[17:49:23] stupidystupid: has joined #RubyOnRails
[17:52:26] roelof: one last question: with simple_form I see this *comment . Can I somehow change it to comment* ?
[17:53:02] ctrlrsf: has joined #RubyOnRails
[17:53:27] stupidystupid: has joined #RubyOnRails
[17:55:14] rafaelfranca: has joined #RubyOnRails
[17:55:38] blackmes1: has joined #RubyOnRails
[17:56:20] Palsson: has joined #RubyOnRails
[17:57:02] Sawbones: has joined #RubyOnRails
[17:58:26] cac: has joined #RubyOnRails
[17:58:39] sandelius: has joined #RubyOnRails
[18:00:01] arup_r: roelof: use CSS?
[18:00:46] arup_r: but the default one looks good to me. :D
[18:04:04] _Tariq: has joined #RubyOnRails
[18:04:31] sleungcy: has joined #RubyOnRails
[18:05:51] amgs: has joined #RubyOnRails
[18:06:04] Sawbones: has joined #RubyOnRails
[18:07:01] blackmes1: has joined #RubyOnRails
[18:07:34] n008f4g_: has joined #RubyOnRails
[18:07:40] sergey_makagon: has joined #RubyOnRails
[18:12:32] shinnya: has joined #RubyOnRails
[18:15:21] Technodrome: has joined #RubyOnRails
[18:18:11] arup_r: has joined #RubyOnRails
[18:22:04] petor: has joined #RubyOnRails
[18:22:49] nettoweb: has joined #RubyOnRails
[18:23:06] roelof: is there a good linux distro for rails development ?
[18:23:20] Palsson: has joined #RubyOnRails
[18:23:31] roelof: I thiink I switch from a cloud development to a linux dev enviroment
[18:25:25] scope: has joined #RubyOnRails
[18:25:28] tbuehlmann: I'm pretty okay with ubuntu
[18:26:11] RegulationD: has joined #RubyOnRails
[18:26:14] smathy: has joined #RubyOnRails
[18:29:56] roelof: tbuehlmann: thanks
[18:30:24] flashpoint9: has joined #RubyOnRails
[18:30:36] roelof: tbuehlmann: and then the lastest 15.x ?
[18:30:51] tbuehlmann: wait a few days and go for 16.04
[18:31:02] roelof: tbuehlmann: and which ide do you se hen ?
[18:31:14] tbuehlmann: not an IDE, but I'm using sublime text
[18:31:36] roelof: oke, I use now the ide from c9.io but it feels a little bit sluggish
[18:33:48] jstransky: has joined #RubyOnRails
[18:36:58] roelof: tbuehlmann: any idea when 16.04 will be out ?
[18:38:07] bronson: has joined #RubyOnRails
[18:38:15] maxdoubt: has joined #RubyOnRails
[18:41:50] nettoweb: has joined #RubyOnRails
[18:48:29] gxmlJP: has joined #RubyOnRails
[18:50:32] FooMunki: has joined #RubyOnRails
[18:53:46] patrick_star_3: has joined #RubyOnRails
[18:57:08] choke: has joined #RubyOnRails
[18:57:10] darkxploit: has joined #RubyOnRails
[18:57:47] Rodya_: has joined #RubyOnRails
[18:57:55] dionysus69: has joined #RubyOnRails
[18:59:14] wilsonc91: has joined #RubyOnRails
[18:59:33] wilsonc91: Hey guys, if I'm starting a new project today and im fairly new to RoR, should I start with 4 or use the 5 beta?
[18:59:37] maxdoubt: has joined #RubyOnRails
[19:00:37] Devalo: has joined #RubyOnRails
[19:01:13] Dimik: how can i pass value of textfield from one page to another in ruby on rails ?
[19:01:37] jhass: not too bad of a idea to start with the beta at this point, but if you're fairly new 4 will get you more support still and there should be decent 4 to 5 migration guides coming up
[19:02:15] jhass: Dimik: store it somewhere, in your database or the session for example, or fake the multi page form client side with JS
[19:03:25] AmiMoench: Dimik: or just in memory. Page one's textfield can be in a form that posts to a controller's action. user the param variable in the action that has Page 2
[19:03:43] AmiMoench: Dimik: depends on the overall purpose of doing what you asked
[19:04:28] Dimik: just looking to pass ARGV to .rb script via webpage
[19:04:34] Dimik: with a text field
[19:05:10] jhass: doesn't sound like a good idea ;)
[19:05:13] sleungcy: has joined #RubyOnRails
[19:05:17] netzfisch: has joined #RubyOnRails
[19:05:23] AmiMoench: Dimik: that is a strange use case
[19:06:11] Cohedrin: has joined #RubyOnRails
[19:06:16] jhass: well, what did you try so far, where are you stuck?
[19:06:43] WilfredTheGreat: has joined #RubyOnRails
[19:06:45] Dimik: i am stuck with gui :) everything else works
[19:06:49] baweaver: has joined #RubyOnRails
[19:07:11] jhass: you've read http://guides.rubyonrails.org/form_helpers.html ?
[19:07:38] Dimik: i made a script that analyzes fantasy football players from multiple sites so i just wanted to make a webpage with ruby on rails that will pass ARGV to that script
[19:07:51] jhass: also keep in mind it's user input, if you really really need to make a system or whatever call with it, use the array form, don't interpolate
[19:08:13] Sawbones: has joined #RubyOnRails
[19:08:20] Dimik: yeah i looked at all that there's zero custom examples it's all about creating users, storing data, search options etc.
[19:08:21] jhass: it'd be better to make your code reusable though and just load it inside your app and call it from the controller
[19:08:42] Dimik: yeah i call it from controller it works
[19:09:04] jhass: I don't think you're thinking about what I'm trying to say
[19:09:09] Dimik: i'm just struggling to pass the ARGV to it, i guess storing link in sqlite3 is a good idea
[19:09:18] jhass: not really, no
[19:09:45] jhass: try to turn your script into a library
[19:09:46] petor: has joined #RubyOnRails
[19:09:59] Dimik: yeah i did, a part of it
[19:10:15] jhass: so that the command line version only parses ARGV and then does things like FootballStats.create_player(player) etc
[19:10:37] jhass: and then just require the library in your rails app and do those calls from the controller
[19:11:09] jhass: don't use system or `` or spawn or whatever to do ruby bla.rb 123 from the controller
[19:12:12] AmiMoench: Dimik: me things ARGV in a web context is what's throwing you off
[19:12:57] AmiMoench: Dimik: jhass is suggesting making your script into a Ruby object. Then use that object in your web page.
[19:13:28] AmiMoench: Dimik: no need to pipe the code through the command shell
[19:14:11] flashpoint9: has joined #RubyOnRails
[19:14:19] Dimik: it just seemed like the easiest way out for a while
[19:14:39] Dimik: and i just ended up confusing myself
[19:15:35] Dimik: so i did make a library that still pipes the code through command shell and that works just not with the parameters i need it to
[19:15:36] wilsonc91: Anyone know why all my rails g commands hang when I create a new rails project? Seems like somethings wonky with my setup.
[19:17:34] Dimik: the idea was a short term fix
[19:17:49] AmiMoench: Dimik: so, you want to run your script from a webpage... and you use the textfield to pass the script arguments?
[19:19:08] Dimik: that's the idea, temporarily, yes
[19:20:07] owenjones: has joined #RubyOnRails
[19:21:30] n008f4g_: has joined #RubyOnRails
[19:21:53] diegoviola: has joined #RubyOnRails
[19:21:57] morenoh149: has joined #RubyOnRails
[19:22:04] AmiMoench: Dimik: well, if you can get a web page up with Rails... the rest is just Ruby. A little warning, tho. You're basically opening up the computer to the world that way... but... check out Kernel#system
[19:22:09] AmiMoench: and Kernel#exec
[19:23:11] jhass: don't form bad habits please -.-
[19:23:34] pawnbox: has joined #RubyOnRails
[19:23:43] AmiMoench: jhass: I know... moral qualms but... he'll learn :D
[19:23:48] jhass: (just for completeness, the array forms of those calls (documented at Kernel#spawn) is perfectly fine for user input)
[19:24:50] helpa: has joined #RubyOnRails
[19:26:24] Dimik: ok i'll look into it thank you
[19:27:09] Dimik: and this project won't be available to the web
[19:27:29] cac: has joined #RubyOnRails
[19:27:37] jhass: doesn't mean you shouldn't take the opportunity to figure out how to do it the right way ;)
[19:28:20] Dimik: we all been there ;)
[19:32:03] smathy: wilsonc91, sounds like you have a rogue spring process running. This most often happens when you have a project in a certain directory, then delete it, then create a new project with the same path/directory/name. The old `spring` is still running and messes with all your commands. `pkill -f spring`
[19:33:29] Dimik: this whole idea is so ghetto i love it heh
[19:33:32] wilsonc91: I'll give that a shot thanks
[19:34:38] jstransky: has joined #RubyOnRails
[19:35:36] wilsonc91: Anyone using rails on OSX? having some issues doing gem install: ERROR: While executing gem ... (Errno::EACCES)
[19:36:19] SteenJobs: has joined #RubyOnRails
[19:36:57] Dimik: bundle install
[19:39:41] AmiMoench: wilsonc91: sudo bundle install ... maybe
[19:39:57] owenjones: has joined #RubyOnRails
[19:44:36] smathy: wilsonc91, that suggests that you're not using a ruby version manager of some sort, ie. you're using the ruby that came with OSX. For many reasons, it's better to install your own ruby, my recommendation is chruby or rbenv (or if you know it well rvm) and then your gems will be installed locally in your own ~
[19:45:22] Begi: has left #RubyOnRails: ()
[19:45:31] SteenJobs: has joined #RubyOnRails
[19:45:58] havenwood: wilsonc91: http://ryanbigg.com/2015/06/mac-os-x-ruby-ruby-install-chruby-and-you/
[19:46:45] Technodrome: has joined #RubyOnRails
[19:46:53] wilsonc91: should i uninstall ruby first?
[19:46:57] wilsonc91: Before following those instructions
[19:47:25] havenwood: wilsonc91: Ruby ships with OS X. Don't uninstall system Ruby.
[19:48:05] havenwood: wilsonc91: What do you get for?: type -a ruby
[19:48:59] wilsonc91: ruby is /opt/boxen/rbenv/shims/ruby ruby is /opt/boxen/rbenv/shims/ruby ruby is /usr/bin/ruby
[19:49:02] wilsonc91: was in the process of trying rbenv
[19:49:28] havenwood: wilsonc91: Okay, so you could rm -rf rbenv and switch to chruby or carry on with rbenv.
[19:50:25] maxdoubt: has joined #RubyOnRails
[19:52:36] havenwood: wilsonc91: If you don't need your rbenv-installed Rubies, I'd personally suggest `rm -rf ~/.rbenv` and remove any lines from your shell startup dotfiles, restart your terminal and follow the ruby-install/chruby instructions above.
[19:52:49] wilsonc91: Okay, is chruby better?
[19:53:17] wilsonc91: should i remove it from my boxen dir?
[19:54:57] dangerousdave: has joined #RubyOnRails
[19:54:58] havenwood: Radar: I think you should change the tutorial to recommend: brew install chruby ruby-install
[19:56:04] havenwood: Now that ruby-install supports the --latest option the latest are always available from the stable brew version.
[19:56:31] havenwood: wget is optional
[19:56:50] pawnbox: has joined #RubyOnRails
[19:57:56] havenwood: And less versioned stuff in the tutorial to get dated.
[19:58:25] chipotle: has joined #RubyOnRails
[19:58:45] havenwood: (With the brew install.) And you get updates from the package manager that way.
[19:58:51] Devalo: has joined #RubyOnRails
[19:59:40] wilsonc91: That worked, thanks :)
[19:59:41] SteenJobs: when using strong params, is there a way to permit a param in a model_params method, separate from the required hash?
[20:01:23] arup_r: what is model_params method ?
[20:01:27] bmf: has joined #RubyOnRails
[20:02:32] SteenJobs: arup_r: just the classic - def <your_model>_params; params.require(:your_model).permit(:your_params); end;
[20:03:34] arup_r: ok.. your question is not clear.. can you tell what you meant by "separate from the required hash?" ?
[20:03:35] njero: SteenJobs: can't u directly call permit?
[20:03:49] draig: has joined #RubyOnRails
[20:03:49] cac: has joined #RubyOnRails
[20:04:04] arup_r: ^ possible
[20:04:22] SteenJobs: arup_r: required hash == the hash from using .require. thought that was clear. and “separate” being an adjective not a verb.
[20:04:44] SteenJobs: n_e_o: i’m passing the params to service in my app
[20:04:58] bronson: has joined #RubyOnRails
[20:05:15] SteenJobs: n_e_o: so i pass the method “MyModel_params”, but there’s an extra param not part of that model’s hash that i need to permit to pass thru
[20:05:21] SteenJobs: problem is, my method isn’t quite returning it
[20:05:51] fryguy: maybe you can give an example data structure or something
[20:06:34] fryguy: and hopefully provide that data structure to a test case
[20:09:08] Sawbones: has joined #RubyOnRails
[20:09:14] DoctorMonocular: has joined #RubyOnRails
[20:10:06] ur5us: has joined #RubyOnRails
[20:12:30] qejk: has joined #RubyOnRails
[20:12:51] yfeldblum: has joined #RubyOnRails
[20:15:18] SteenJobs: fryguy: thanks - went another way, i just added that param as a virtual attribute for the relevant models, and then passed it as part of the model’s hash in params
[20:15:26] renegadeandy: has joined #RubyOnRails
[20:15:58] renegadeandy: Hey guys. How can I sort the tickets association by the passes date ? This doesnt appear to work anymore : has_many :tickets,:include => :passes, :order => "passes.date DESC", dependent: :destroy
[20:17:32] arup_r: is it in Pass model?
[20:17:56] arup_r: in which model you have the has_many declaration?
[20:18:02] arup_r: renegadeandy: ^
[20:22:02] dangerousdave: has joined #RubyOnRails
[20:22:23] diegoaguilar: has joined #RubyOnRails
[20:22:30] qejk: has joined #RubyOnRails
[20:22:53] qejk: has joined #RubyOnRails
[20:23:34] petor: has joined #RubyOnRails
[20:25:40] baweaver: has joined #RubyOnRails
[20:30:45] eyeamaye: has joined #RubyOnRails
[20:31:00] Sawbones: has joined #RubyOnRails
[20:33:57] Cohedrin_: has joined #RubyOnRails
[20:34:15] njero: has joined #RubyOnRails
[20:34:35] njero: Bye folks.. nt
[20:35:33] tvon: has joined #RubyOnRails
[20:36:30] petor_: has joined #RubyOnRails
[20:37:43] cac: has joined #RubyOnRails
[20:38:32] Terens: ACTION is eating monkey meat
[20:39:10] helpa: has joined #RubyOnRails
[20:39:16] Radar: GOOD MORNING
[20:40:46] maxdoubt: has joined #RubyOnRails
[20:40:52] owenjones: has joined #RubyOnRails
[20:42:40] giantoctopus: has joined #RubyOnRails
[20:43:33] chouhoulis: has joined #RubyOnRails
[20:47:54] Terens: good night
[20:47:59] diegoaguilar: has joined #RubyOnRails
[20:49:51] treaki: has joined #RubyOnRails
[20:50:37] Inside: has joined #RubyOnRails
[20:52:58] renegadeandy: arup_r: So this model is User, it has many tickets, and a ticket has many passes. I want to order the tickets association by the passes , date column desc :)
[20:54:31] Mia: has joined #RubyOnRails
[20:54:31] Mia: has joined #RubyOnRails
[20:57:02] arup_r: renegadeandy: has_many :tickets, -> { includes(:passes).order(passes: { date: :desc}) }, dependent: :destroy try something like this
[20:57:17] DoctorMonocular: has joined #RubyOnRails
[20:57:43] eyeamaye: has joined #RubyOnRails
[21:03:28] jhack: has joined #RubyOnRails
[21:08:48] nettoweb: has joined #RubyOnRails
[21:15:17] cac: has joined #RubyOnRails
[21:15:39] Kamuela: has left #RubyOnRails: ()
[21:15:57] nickenchuggets: has joined #RubyOnRails
[21:15:57] dvinciguerra_: has joined #RubyOnRails
[21:17:12] djbkd: has joined #RubyOnRails
[21:20:01] renegadeandy: arup_r: looks close, but i get : Direction "{:date=>:desc}" is invalid. Valid directions are: [:asc, :desc, :ASC, :DESC, "asc", "desc", "ASC", "DESC"]
[21:24:37] Cohedrin: has joined #RubyOnRails
[21:26:43] pawnbox: has joined #RubyOnRails
[21:27:53] cac: has joined #RubyOnRails
[21:30:22] Begi1: has joined #RubyOnRails
[21:32:25] zpe: has joined #RubyOnRails
[21:33:05] full_throttle: has joined #RubyOnRails
[21:35:18] jstransky: has joined #RubyOnRails
[21:35:58] nickenchuggets: rvm update has been replaced with: rvm get head
[21:36:04] Begi: has left #RubyOnRails: ()
[21:36:41] nickenchuggets: am I the only one who finds that funny
[21:41:27] differentreality: has joined #RubyOnRails
[21:43:45] pwnd_nsfw`: nickenchuggets, rbenv doesn't get the bitches
[21:46:08] Rubie: has joined #RubyOnRails
[21:46:28] owenjones: has joined #RubyOnRails
[21:46:35] differentreality: has joined #RubyOnRails
[21:48:27] differentreality: has joined #RubyOnRails
[21:52:46] blackmesa: has joined #RubyOnRails
[21:56:39] pawnbox: has joined #RubyOnRails
[21:56:59] _3by8: has joined #RubyOnRails
[21:57:22] _3by8: Has anyone had any success installing Rails on the new Windows Subsystem for Linux?
[21:59:51] markfletcher: has joined #RubyOnRails
[22:01:58] Radar: HELPA HAS SPOKEN
[22:02:08] Radar: _3by8: In fact, I believe they demonstrate that with their video
[22:02:43] _3by8: Radar: I'll have to look... I'm having a heck of a time.
[22:02:50] markfletcher: has joined #RubyOnRails
[22:03:21] cac: has joined #RubyOnRails
[22:03:57] _Tariq: has joined #RubyOnRails
[22:04:05] kailido: has joined #RubyOnRails
[22:04:15] kailido: how can i change the rails version??
[22:04:29] kailido: i have 3 rails versions installed
[22:04:57] chouhoulis: has joined #RubyOnRails
[22:05:26] kailido: if I do rails g ... it appears the help, like this: "Usage: rails new APP_PATH [options]" ...
[22:06:02] cac: has joined #RubyOnRails
[22:06:07] Dimik: if i have an sqlite3 db
[22:06:22] Dimik: how can i copy it to ruby on rails project
[22:07:28] sleungcy: has joined #RubyOnRails
[22:07:35] kadoppe: has joined #RubyOnRails
[22:07:50] GodFather: has joined #RubyOnRails
[22:08:25] Dimik: nvm got it thx
[22:13:01] kadoppe: has joined #RubyOnRails
[22:15:18] Rubie: has joined #RubyOnRails
[22:19:14] cac: has joined #RubyOnRails
[22:20:21] marr: has joined #RubyOnRails
[22:21:50] pwnd_nsfw`: Dimik, make sure you have the appropriate migrations
[22:23:14] bronson: has joined #RubyOnRails
[22:23:35] cac: has joined #RubyOnRails
[22:26:40] pawnbox: has joined #RubyOnRails
[22:26:48] petor: has joined #RubyOnRails
[22:27:06] flashpoint9: has joined #RubyOnRails
[22:30:09] baweaver: has joined #RubyOnRails
[22:30:14] stupidystupid: has joined #RubyOnRails
[22:32:38] Radar: kailido: `bundle exec rails`
[22:35:12] cac: has joined #RubyOnRails
[22:35:46] kailido: it worked thks
[22:35:53] kailido: but why is this happening??
[22:36:05] kailido: i never used bundle exec so far
[22:38:25] Radar: I don't know why it's happening. Use `bundle exec rails` to prevent it from happening.
[22:48:14] wilsonc91: has joined #RubyOnRails
[22:48:36] wilsonc91: Could someone help me with something? I generated a model that is basically a page, and it can have multiple categories assigned to it
[22:48:47] wilsonc91: Is the appropriate thing to just do has_many :categories in the model for my page?
[22:48:56] wilsonc91: Do I need to do the opposite relationship in page?
[22:49:01] IceBear: has joined #RubyOnRails
[22:49:38] DoctorMonocular: has joined #RubyOnRails
[22:50:40] kadoppe: has joined #RubyOnRails
[22:50:49] jstransky: has joined #RubyOnRails
[22:52:16] supernova: has joined #RubyOnRails
[22:52:34] baweaver: has joined #RubyOnRails
[22:52:42] quazimodo: has joined #RubyOnRails
[22:52:44] quazimod1: has joined #RubyOnRails
[22:55:14] ensyde: has joined #RubyOnRails
[22:56:41] pawnbox: has joined #RubyOnRails
[22:57:52] enitiz: has joined #RubyOnRails
[22:59:21] FooMunki: has joined #RubyOnRails
[23:00:50] superlou: has joined #RubyOnRails
[23:01:34] kailido1: has joined #RubyOnRails
[23:01:41] kailido1: anyone knows if with acts_as_votable gem I can have two voting systems for the same object?
[23:03:27] morenoh149: has joined #RubyOnRails
[23:04:35] jtong: has joined #RubyOnRails
[23:05:36] Darmani: has joined #RubyOnRails
[23:08:20] sleungcy: has joined #RubyOnRails
[23:18:50] flashpoint9: has joined #RubyOnRails
[23:21:56] Sawbones: has joined #RubyOnRails
[23:24:46] SteenJobs: has joined #RubyOnRails
[23:25:24] Inside: has joined #RubyOnRails
[23:27:40] Radar: wilsonc91: You might want a has_and_belongs_to_many association because I think categories can have many pages, as well as pages having many categories.
[23:30:13] Gkj8899: has joined #RubyOnRails
[23:36:51] stannard: has joined #RubyOnRails
[23:36:52] _Tariq: has joined #RubyOnRails
[23:39:30] nodejunkie: has joined #RubyOnRails
[23:40:40] Ropeney: has joined #RubyOnRails
[23:40:55] jstransky: has joined #RubyOnRails
[23:42:50] hahuang61: has joined #RubyOnRails
[23:43:17] FailBit: has joined #RubyOnRails
[23:43:31] FailBit: obligatory "is it done yet"
[23:44:05] Radar: Yes it is done.
[23:44:27] xcesariox: has joined #RubyOnRails
[23:44:51] jstransky: has joined #RubyOnRails
[23:45:17] Radar: HELPA HAS SPOKEN
[23:45:25] stupidystupid: has joined #RubyOnRails
[23:45:51] FailBit: https://github.com/rails/rails/issues?q=is:issue+is:open+milestone:5.0.0 :(
[23:46:12] Radar: FailBit: patches welcome
[23:46:23] Radar: FailBit: See also: http://railsconf.com/
[23:46:46] pawnbox: has joined #RubyOnRails
[23:47:22] hnanon: has joined #RubyOnRails
[23:47:41] hnanon: Should mailers be called from controllers or models?
[23:48:14] Radar: hnanon: por que no los dos
[23:50:26] morenoh149: has joined #RubyOnRails
[23:51:27] Radar: hnanon: I would typically call them in controllers because I want the mail to be sent after a successful AR something or other
[23:51:54] delgiudices: has joined #RubyOnRails
[23:53:53] RahulT: has joined #RubyOnRails
[23:54:43] flashpoint9: has joined #RubyOnRails
[23:55:39] Technodrome: has joined #RubyOnRails
[23:55:40] delgiudices: What's the average salary for a junior and senior rails developer remotely?
[23:55:55] SteenJobs: Radar: do you have a personal philosophy for determining when it’s acceptable to break RESTful convention in a rails app?
[23:55:57] hnanon: Radar: Ok, cool. Thanks.
[23:56:14] Radar: delgiudices: I've seen anything from 45k up to 250k.
[23:56:47] hnanon: Radar: What do you use for background jobs?
[23:57:28] flashpoint9: has joined #RubyOnRails
[23:58:57] dgncn: has joined #RubyOnRails