« Back to channel list

#RubyOnRails - 24 November 2018

« Back 1 day Forward 1 day »
[00:03:45] kapil____: has joined #RubyOnRails
[00:06:21] Arkantos: has joined #RubyOnRails
[00:13:41] jottr_: has joined #RubyOnRails
[01:02:10] Exuma: has joined #RubyOnRails
[01:11:42] orbyt_: has joined #RubyOnRails
[01:20:05] gambl0re: has joined #RubyOnRails
[01:36:10] orbyt_: has joined #RubyOnRails
[01:41:50] jottr_: has joined #RubyOnRails
[01:50:48] armyriad: has joined #RubyOnRails
[02:14:59] lexileo: has joined #RubyOnRails
[02:46:06] tdy: has joined #RubyOnRails
[02:52:34] Arkantos: has joined #RubyOnRails
[02:58:05] jaddison: has joined #RubyOnRails
[02:59:29] orbyt_: has joined #RubyOnRails
[03:36:31] Arkantos: has joined #RubyOnRails
[03:43:47] armyriad: has joined #RubyOnRails
[03:46:52] jottr: has joined #RubyOnRails
[03:57:33] jottr: has joined #RubyOnRails
[04:08:52] Exuma: has joined #RubyOnRails
[04:10:08] braincrash: has joined #RubyOnRails
[04:14:33] kapil____: has joined #RubyOnRails
[04:36:07] jaddison: has joined #RubyOnRails
[05:13:20] lexileo: has joined #RubyOnRails
[05:21:43] uksio: has joined #RubyOnRails
[05:58:37] jottr: has joined #RubyOnRails
[07:15:12] reber: has joined #RubyOnRails
[07:24:55] cnsvc: has joined #RubyOnRails
[07:45:29] lomex: has joined #RubyOnRails
[07:59:30] jottr: has joined #RubyOnRails
[08:10:18] jottr: has joined #RubyOnRails
[08:25:42] Exuma: has joined #RubyOnRails
[08:44:20] OrangeManBad: has joined #RubyOnRails
[08:51:56] Exuma: has joined #RubyOnRails
[08:55:31] cnsvc: has joined #RubyOnRails
[09:29:04] cnsvc: has joined #RubyOnRails
[09:35:53] cnsvc: has joined #RubyOnRails
[09:49:13] buyfn: has joined #RubyOnRails
[10:06:35] conta: has joined #RubyOnRails
[10:09:24] kapil____: has joined #RubyOnRails
[10:25:24] lxsameer: has joined #RubyOnRails
[10:28:46] mikecmpbll: has joined #RubyOnRails
[10:30:39] cnsvc: has joined #RubyOnRails
[10:48:17] jottr: has joined #RubyOnRails
[10:48:48] funnel: has joined #RubyOnRails
[10:59:13] jottr: has joined #RubyOnRails
[11:21:59] jottr: has joined #RubyOnRails
[11:36:23] Sylario: has joined #RubyOnRails
[11:43:18] Sylario: The way I understad Active Model Serializer, it includes relations if there is no serializer for said relation or it reference them if there is a serializer
[11:44:27] Sylario: I would like to be able to have a serializer for a parent and a children, and be able, say when I call the serializer from an index view, to only reference the relation
[11:45:14] Sylario: However when the serializer is called from a show action, I would like to include the whole childrens inside the JSON
[11:48:18] buyfn: has joined #RubyOnRails
[11:56:22] desperek: has joined #RubyOnRails
[12:02:29] cnsvc: has joined #RubyOnRails
[12:07:52] lankanmon: has joined #RubyOnRails
[12:08:21] conta: has joined #RubyOnRails
[12:21:23] roshanavand: has joined #RubyOnRails
[12:26:24] Ropeney: has joined #RubyOnRails
[12:54:18] buyfn: has joined #RubyOnRails
[13:36:08] lomex: has joined #RubyOnRails
[13:42:28] cnsvc: has joined #RubyOnRails
[13:55:22] buyfn: has joined #RubyOnRails
[14:39:58] buyfn: has joined #RubyOnRails
[14:41:36] Dbugger: has joined #RubyOnRails
[14:55:18] reber: has joined #RubyOnRails
[15:02:25] buyfn: has joined #RubyOnRails
[15:04:21] cnsvc: has joined #RubyOnRails
[15:31:45] mikecmpbll: has joined #RubyOnRails
[15:36:40] uks: has joined #RubyOnRails
[15:47:36] gambl0re: has joined #RubyOnRails
[15:55:15] gambl0re: has joined #RubyOnRails
[16:08:00] cnsvc: has joined #RubyOnRails
[17:14:31] Jervis_: has joined #RubyOnRails
[17:20:19] orbyt_: has joined #RubyOnRails
[17:27:01] cnsvc: has joined #RubyOnRails
[17:44:59] brkkyk: has joined #RubyOnRails
[17:48:25] GodFather: has joined #RubyOnRails
[17:49:58] Arkaniad: has joined #RubyOnRails
[18:02:13] gambl0re: has joined #RubyOnRails
[18:11:37] lomex: has joined #RubyOnRails
[18:24:04] buyfn: has joined #RubyOnRails
[18:30:40] za1b1tsu: has joined #RubyOnRails
[18:52:36] brkkyk: has joined #RubyOnRails
[18:58:01] cnsvc: has joined #RubyOnRails
[19:18:08] NpcOrangeManBad: has joined #RubyOnRails
[19:19:44] LiftLeft: has joined #RubyOnRails
[19:22:47] johnsillings: has joined #RubyOnRails
[19:31:07] TheRealMattM: has joined #RubyOnRails
[19:48:13] johnsillings: has joined #RubyOnRails
[19:48:52] tdy: has joined #RubyOnRails
[19:49:20] johnsillings: hey all - i'm trying to deploy my first rails app to my server (ubuntu 18.04) for the first time...
[19:49:42] johnsillings: can anyone point me in the right direction re: a tutorial or guide for total noobs?
[19:50:02] johnsillings: afaik i set up all the necessary dependencies on the server already.
[19:52:37] johnsillings: ah - and just like that, i'm getting pulled away from my computer. i'll try back later. :)
[20:13:35] dviola: has joined #RubyOnRails
[20:13:42] Exuma: has joined #RubyOnRails
[20:33:05] pd09041999: has joined #RubyOnRails
[20:45:46] cnsvc: has joined #RubyOnRails
[21:15:47] hightower3: has joined #RubyOnRails
[21:17:55] hightower3: Hey why does presence: true validation fails for a form input whose value is false? And/or how do I write a validation then for a field that is essentially a boolean
[21:30:36] armyriad: has joined #RubyOnRails
[21:34:35] Arkantos: has joined #RubyOnRails
[21:46:37] desperek: has joined #RubyOnRails
[22:05:11] cnsvc: has joined #RubyOnRails
[22:10:19] Arkantos: has joined #RubyOnRails
[22:38:02] hightower3: Hey I have a model Reservation which belongs to User and Product. When I do a link_to reservation, it generates URL in the form of /products/<reservation ID>/reservations ... Is this OK, and what might I be missing/doing wrong here?
[22:38:28] hightower3: I was expecting that the link would be either /reservations/:id or at worst /users/:userid/reservations/:reservationid
[22:38:58] hightower3: (this is for the DELETE action, if it matters)
[22:43:17] Arkantos: has joined #RubyOnRails
[22:47:42] Exuma: has joined #RubyOnRails
[22:58:19] cnsvc: hightower3: url generator depends on the route
[23:00:36] cnsvc: if you have 'resources :reservations' in routes, you could write like 'link_to "Reservation", reservation_path(@reservation)', which normally generates '/reservations/#id'
[23:01:43] hightower3: yeah, though I suspect my issue is that I need URL /users/:id/reservations/:id... I don't understand why my URL got created as /products/:reservation_id/reservations
[23:18:55] cnsvc: link_to 'xxx', user_reservation_path(user, reservation)
[23:19:14] cnsvc: it depends on how you design your routes
[23:22:12] hightower3: cnsvc, thanks, I got to something like this myself too
[23:22:32] hightower3: also another thing I was looking at was to define resources :user do resources :reservation ....
[23:50:07] jaddison: has joined #RubyOnRails