« Back to channel list

#RubyOnRails - 01 August 2016

« Back 1 day
[00:03:03] pawnbox: has joined #RubyOnRails
[00:05:37] macsteps: has joined #RubyOnRails
[00:06:55] LambdaSource: has joined #RubyOnRails
[00:09:02] pickandmix: has joined #RubyOnRails
[00:10:45] ecnalyr: has joined #RubyOnRails
[00:20:36] qguv: has joined #RubyOnRails
[00:21:58] adre: has joined #RubyOnRails
[00:22:43] douglascorrea: has joined #RubyOnRails
[00:25:22] evansparkman: has joined #RubyOnRails
[00:26:43] Oliphaunte: has joined #RubyOnRails
[00:28:49] King_Rex: has joined #RubyOnRails
[00:33:37] pawnbox: has joined #RubyOnRails
[00:35:58] qguv: has joined #RubyOnRails
[00:36:11] yfeldblum: has joined #RubyOnRails
[00:37:39] Rubie: has joined #RubyOnRails
[00:38:06] EasyRider0: has joined #RubyOnRails
[00:43:11] olausm: has joined #RubyOnRails
[00:45:01] rodfersou: has joined #RubyOnRails
[00:47:47] Rodya_: has joined #RubyOnRails
[00:49:20] pawnbox: has joined #RubyOnRails
[00:49:43] hahuang61: has joined #RubyOnRails
[00:52:48] A_Drone: has joined #RubyOnRails
[00:56:58] banisterfiend: has joined #RubyOnRails
[00:58:36] nacsurte: has joined #RubyOnRails
[00:59:25] oystersauce8: has joined #RubyOnRails
[01:01:57] Rodya_: has joined #RubyOnRails
[01:03:13] olausm: has left #RubyOnRails: ()
[01:06:33] pickandmix: has joined #RubyOnRails
[01:06:37] rubyonrails074: has joined #RubyOnRails
[01:09:01] pickandmix: has joined #RubyOnRails
[01:09:59] r3vDev: has joined #RubyOnRails
[01:11:36] adavia: i get this error "column "messages.created_at" must appear in the GROUP BY clause or be used in an aggregate function" in this query https://gist.github.com/adavia/599b1cbac1112618ecddff1de4b024bf
[01:11:39] adavia: is it related to postgres?
[01:15:08] pickandmix: Anyone can help on rvm issues?
[01:15:36] pawnbox: has joined #RubyOnRails
[01:15:47] adavia: wondering how i can order by messages.created_at date then
[01:16:40] beingjohnm: Isn't that the default?
[01:18:21] ekinmur: has joined #RubyOnRails
[01:24:02] pickandmix: has joined #RubyOnRails
[01:26:35] beingjohnm: adavia: I mean that your first record is going to be record 1. The next record is 2. So they aleady are sorted by their creation.
[01:28:13] adavia: beingjohnm: you meant conversations. But in this case i want to sort conversations by their last message
[01:28:19] groatyoats: has joined #RubyOnRails
[01:30:33] beingjohnm: adavia: I meant records. Regardless this seems to address your exact issue: TMBA339: Can You Invest in Property if You Don’t Have Much Money?
[01:31:08] pawnbox: has joined #RubyOnRails
[01:31:32] beingjohnm: TMBA339: Can You Invest in Property if You Don’t Have Much Money?
[01:31:43] beingjohnm: http://stackoverflow.com/questions/19865208/rails-query-join-order-by-group-by-issue
[01:31:46] adavia: i dont think so
[01:32:01] beingjohnm: for some reason cmd+c isn't working on my computer right now
[01:32:33] sevenseacat: has joined #RubyOnRails
[01:33:40] max1: has joined #RubyOnRails
[01:36:01] pickandmix: has joined #RubyOnRails
[01:36:05] adavia: beingjohnm: order("max(messages.created_at) DESC") was the trick
[01:40:55] roflmyeggo: has joined #RubyOnRails
[01:48:34] dlite_: has joined #RubyOnRails
[01:48:41] amperry: has joined #RubyOnRails
[01:49:30] renegadeandy: has joined #RubyOnRails
[01:50:28] hahuang61: has joined #RubyOnRails
[01:51:09] amperry: hi all, got a problem with cocoon and forms for nested models here: https://gist.github.com/amp108/e8f8093a806ba3925513db55307c9ee0
[01:53:24] A_Drone: has joined #RubyOnRails
[01:53:34] r3vDev: has joined #RubyOnRails
[01:57:24] EasyRider0: has joined #RubyOnRails
[01:57:45] Ropeney: has joined #RubyOnRails
[01:58:39] fernandomm: has joined #RubyOnRails