Duckily

Activity Graph

Page 1 of 7 | Next »

2019-08-11

[00:44:38] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:00:39] Duckily: has joined #elixir-lang
[03:02:17] Duckily: Client Quit
[03:27:15] Duckily: has joined #elixir-lang
[04:18:14] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:23:44] Duckily: has joined #elixir-lang
[04:30:54] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:34:15] Duckily: has joined #elixir-lang
[04:40:40] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:51:50] Duckily: has joined #elixir-lang
[04:53:29] Duckily: Client Quit
[04:55:11] Duckily: has joined #elixir-lang
[13:57:59] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:51:03] Duckily: has joined #elixir-lang
[21:36:03] Duckily: Ping timeout: 248 seconds

2019-08-10

[02:53:11] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:05:56] Duckily: has joined #elixir-lang
[03:40:21] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[06:30:43] Duckily: has joined #elixir-lang
[06:34:18] Duckily: Client Quit
[12:11:24] Duckily: has joined #elixir-lang
[12:19:31] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:21:46] Duckily: has joined #elixir-lang
[12:24:23] Duckily: Client Quit
[12:25:50] Duckily: has joined #elixir-lang
[12:31:34] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:35:29] Duckily: has joined #elixir-lang
[12:39:50] Duckily: Client Quit
[23:45:22] Duckily: has joined #elixir-lang

2019-08-09

[03:58:30] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:25:35] Duckily: has joined #elixir-lang
[07:26:35] Duckily: Quit: Textual IRC Client: www.textualapp.com
[07:37:55] Duckily: has joined #elixir-lang
[11:15:30] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:06:37] Duckily: has joined #elixir-lang

2019-08-08

[01:09:17] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:22:26] Duckily: has joined #elixir-lang
[05:34:43] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:11:29] Duckily: has joined #elixir-lang
[21:52:07] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:01:45] Duckily: has joined #elixir-lang
[23:38:37] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:41:56] Duckily: has joined #elixir-lang

2019-08-07

[00:30:46] Duckily: has joined #elixir-lang
[00:32:58] Duckily: Read error: Connection reset by peer
[08:00:13] Duckily: has joined #elixir-lang
[08:05:50] Duckily: has joined #RubyOnRails
[09:03:10] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:02:10] Duckily: has joined #elixir-lang
[18:34:46] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:36:54] Duckily: has joined #elixir-lang
[21:36:52] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:17:17] Duckily: has joined #elixir-lang
[22:21:15] Duckily: Client Quit
[22:22:25] Duckily: has joined #elixir-lang
[23:19:17] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:57:39] Duckily: has joined #elixir-lang

2019-08-06

[16:42:24] Duckily: has joined #elixir-lang
[17:14:43] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:15:22] Duckily: has joined #elixir-lang
[18:54:03] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:47:35] Duckily: has joined #elixir-lang
[20:06:42] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:05:29] Duckily: has joined #elixir-lang
[21:47:14] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:48:23] Duckily: has joined #elixir-lang
[21:56:16] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:59:45] Duckily: has joined #elixir-lang
[22:09:50] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:12:02] Duckily: has joined #elixir-lang
[22:14:04] Duckily: Client Quit
[22:14:32] Duckily: has joined #elixir-lang
[22:18:06] Duckily: Client Quit
[22:20:20] Duckily: has joined #elixir-lang
[22:27:13] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:39:06] Duckily: has joined #elixir-lang
[22:40:21] Duckily: Client Quit
[22:41:48] Duckily: has joined #elixir-lang
[22:42:56] Duckily: Client Quit
[22:46:17] Duckily: has joined #elixir-lang
[23:33:48] Duckily: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-08-01

[06:16:19] Duckily: has joined #elixir-lang
[06:16:51] Duckily: Is there another channel for phoenix?
[08:06:43] Duckily: Read error: Connection reset by peer

2017-04-12

[00:27:25] Duckily: Quit: Textual IRC Client: www.textualapp.com

2017-04-11

[23:55:44] Duckily: has joined #RubyOnRails

2017-04-01

[02:20:53] Duckily: Quit: ZZZzzz…
[02:55:34] Duckily: has joined #RubyOnRails
[03:11:02] Duckily: Quit: ZZZzzz…
[11:20:55] Duckily: has joined #RubyOnRails
[11:28:48] Duckily: Quit: Textual IRC Client: www.textualapp.com

2017-03-31

[02:09:50] Duckily: Quit: ZZZzzz…
[05:50:08] Duckily: has joined #RubyOnRails
[09:28:17] Duckily: Quit: ZZZzzz…
[18:07:18] Duckily: has joined #RubyOnRails
[18:18:58] Duckily: Quit: ZZZzzz…
[18:43:40] Duckily: has joined #RubyOnRails
[18:53:56] Duckily: Quit: ZZZzzz…
[20:01:21] Duckily: has joined #RubyOnRails
[21:56:47] Duckily: Quit: ZZZzzz…
[22:07:49] Duckily: has joined #RubyOnRails
[23:07:36] Duckily: Quit: ZZZzzz…
[23:20:47] Duckily: has joined #RubyOnRails

2017-03-30

[04:06:59] Duckily: Quit: ZZZzzz…
[06:21:28] Duckily: has joined #RubyOnRails
[09:45:12] Duckily: Quit: ZZZzzz…
[17:31:57] Duckily: has joined #RubyOnRails
[19:23:04] Duckily: Quit: ZZZzzz…
[19:23:24] Duckily: has joined #RubyOnRails

2017-03-29

[02:57:40] Duckily: Quit: ZZZzzz…
[04:16:48] Duckily: has joined #RubyOnRails
[12:46:10] Duckily: Quit: ZZZzzz…
[16:48:21] Duckily: has joined #RubyOnRails
[16:50:16] Duckily: Client Quit
[17:16:14] Duckily: has joined #RubyOnRails
[17:22:28] Duckily: Quit: ZZZzzz…
[17:57:18] Duckily: has joined #RubyOnRails
[17:58:40] Duckily: Client Quit
[18:00:57] Duckily: has joined #RubyOnRails

2017-03-28

[19:08:25] Duckily: has joined #RubyOnRails
[19:08:32] Duckily: I read something from DHH about having no more than 13 files in a folder one time and I can't find it, any ideas?
[19:56:05] Duckily: Quit: ZZZzzz…
[20:23:36] Duckily: has joined #RubyOnRails
[20:40:37] Duckily: Quit: ZZZzzz…
[20:51:22] Duckily: has joined #RubyOnRails

2017-03-24

[02:53:23] Duckily: has joined #RubyOnRails
[05:15:59] Duckily: Quit: ZZZzzz…
[05:33:09] Duckily: has joined #RubyOnRails
[07:24:10] Duckily: Quit: ZZZzzz…
[07:32:48] Duckily: has joined #RubyOnRails
[07:33:05] Duckily: Client Quit

2017-03-23

[05:24:54] Duckily: Quit: ZZZzzz…

2017-03-22

[01:58:58] Duckily: Quit: ZZZzzz…
[04:22:09] Duckily: has joined #RubyOnRails
[14:26:49] Duckily: Quit: ZZZzzz…
[20:49:47] Duckily: has joined #RubyOnRails

2017-03-21

[19:32:44] Duckily: Quit: ZZZzzz…
[22:04:57] Duckily: has joined #RubyOnRails

2017-03-20

[00:45:16] Duckily: has joined #RubyOnRails
[17:19:26] Duckily: Quit: ZZZzzz…
[23:29:14] Duckily: has joined #RubyOnRails

2017-03-19

[00:19:41] Duckily: has joined #RubyOnRails
[00:30:30] Duckily: Quit: ZZZzzz…
[03:52:32] Duckily: has joined #RubyOnRails
[14:22:51] Duckily: Quit: ZZZzzz…

2017-03-18

[14:09:40] Duckily: Quit: ZZZzzz…

2017-03-17

[13:30:27] Duckily: Quit: ZZZzzz…
[13:33:04] Duckily: has joined #RubyOnRails
[15:59:05] Duckily: Quit: ZZZzzz…
[16:01:21] Duckily: has joined #RubyOnRails
[16:01:56] Duckily: Client Quit
[16:03:28] Duckily: has joined #RubyOnRails
[16:06:43] Duckily: Client Quit
[23:32:11] Duckily: has joined #RubyOnRails

2017-03-16

[03:07:20] Duckily: Quit: ZZZzzz…
[04:43:04] Duckily: has joined #RubyOnRails
[13:44:57] Duckily: Quit: ZZZzzz…
[21:15:36] Duckily: has joined #RubyOnRails

2017-03-15

[12:31:38] Duckily: Quit: ZZZzzz…
[21:22:54] Duckily: has joined #RubyOnRails

2017-03-14

[03:14:43] Duckily: has joined #RubyOnRails
[18:28:58] Duckily: Quit: ZZZzzz…
[18:30:25] Duckily: has joined #RubyOnRails
[20:48:52] Duckily: Quit: ZZZzzz…
[20:52:54] Duckily: has joined #RubyOnRails

2015-08-20

[01:49:40] Duckily: has joined #RubyOnRails
[05:05:26] Duckily: Quit: Duckily
[05:27:44] Duckily: has joined #RubyOnRails
[08:09:25] Duckily: Quit: Duckily
[09:03:05] Duckily: has joined #RubyOnRails
[09:03:16] Duckily: Client Quit

2015-08-19

[06:52:38] Duckily: Quit: Duckily
[06:58:27] Duckily: has joined #RubyOnRails
[07:02:26] Duckily: Client Quit
[17:51:14] Duckily: has joined #RubyOnRails
[19:14:52] Duckily: Quit: Duckily
[21:27:01] Duckily: has joined #RubyOnRails
[23:35:23] Duckily: Ping timeout: 246 seconds
[23:38:14] Duckily: has joined #RubyOnRails
[23:50:56] Duckily: Quit: Duckily

2015-08-18

[10:31:36] Duckily: Quit: Duckily
[19:58:19] Duckily: has joined #RubyOnRails

2015-08-17

[22:00:15] Duckily: has joined #RubyOnRails
[22:01:26] Duckily: i have an integer attribute on an organization named ???plan_limit???, which i want to be able to set to nil, for an unlimitted plan
[22:02:12] Duckily: whats the best way for setting this to nil?
[22:02:19] Duckily: from a form
[22:05:38] Duckily: https://gist.github.com/anonymous/d0a26e76b5f3d39d0ff0
[22:05:50] Duckily: is this the best way to do it with a virtual attribute?
[22:06:08] Duckily: seems kind of hacky
[22:06:58] Duckily: having a random checkbox that you manage in the controller doesn???t seem too much better??? any other ideas?
[22:08:29] Duckily: smathy: yeah
[22:08:52] Duckily: so via javascript i thought id hide the number field depending on whether its checked
[22:09:35] Duckily: i could also just use pure js and have the checkbox/button not just hide the field but clear it and then the server can set to nil if it doesn???t get an attribute
[22:13:08] Duckily: smathy: wait really?
[22:13:25] Duckily: smathy: i though it just doesn???t update?
[22:14:28] Duckily: smathy: is that because its a number field
[22:14:41] Duckily: smathy: thats why i thought it, i suppose
[22:14:53] Duckily: smathy: ok so ill just handle it in js then, thanks!
[22:15:12] Duckily: smathy: right, i don???t know why i made that assumption

2015-06-02

[01:52:48] Duckily: Quit: Duckily
[03:22:23] Duckily: has joined #RubyOnRails
[10:53:16] Duckily: Quit: Duckily
[11:46:09] Duckily: has joined #RubyOnRails
[12:02:09] Duckily: Quit: Duckily
[13:14:56] Duckily: has joined #RubyOnRails
[14:01:51] Duckily: Read error: Connection reset by peer
[14:02:10] Duckily: has joined #RubyOnRails
[14:18:46] Duckily: Ping timeout: 264 seconds

2015-06-01

[06:53:43] Duckily: has joined #RubyOnRails
[06:54:05] Duckily: how do you use unscoped on the join model of a has_many :through ?
[06:55:42] Duckily: i essentially want to do has_many :books, through: libraries.unscoped
[12:37:52] Duckily: Quit: Duckily
[21:27:33] Duckily: has joined #RubyOnRails

2015-05-30

[00:59:28] Duckily: whats the best way to do a joins requiring a datetime
[00:59:44] Duckily: :created_at => "#{Time.now.strftime("%Y-%m-%d %H:%M:%S")}"
[01:00:02] Duckily: i meant ???created_at > #{Time.now.strftime("%Y-%m-%d %H:%M:%S")}"
[01:07:02] Duckily: Radar: its a join
[01:07:31] Duckily: @organizations.joins("LEFT OUTER JOIN orders AS created_orders ON (created_orders.organization_id = organizations.id AND created_orders.created_at > #{params[:from]} AND created_orders.created_at < #{params[:to]})")
[01:07:58] Duckily: the beast, i???m trying to figure out how to avoid injection attack and format date correctly
[01:08:18] Duckily: using a where clause will implicitly convert the query to an inner join
[01:12:29] Duckily: i wish rails supported inserting values into joins, i really don???t get why it doesn???t have the same syntax as the where clause for joins
[01:13:37] Duckily: i thought thats essentially what i???m doing. not sure i follow, can you give an example?
[01:15:37] Duckily: pipework: thats what im giving it in the example above, no?
[01:16:02] Duckily: @organizations.joins("LEFT OUTER JOIN orders AS created_orders ON (created_orders.organization_id = organizations.id AND created_orders.created_at > #{params[:from]} AND created_orders.created_at < #{params[:to]})")
[01:18:11] Duckily: pipework: its a joins query though
[01:18:24] Duckily: rails doesn???t support that syntax for joins queries
[01:18:29] Duckily: i don???t know why :-(
[01:22:08] Duckily: pipework: Organization.joins("LEFT OUTER JOIN orders AS created_orders ON (created_orders.organization_id = organizations.id AND created_orders.created_at > ?)", "2015-05-29 18:21:23")
[01:22:28] Duckily: ActiveRecord::StatementInvalid: SQLite3::SQLException: near "2015": syntax error: SELECT "organizations".* FROM "organizations" LEFT OUTER JOIN orders AS created_orders ON (created_orders.organization_id = organizations.id AND created_orders.created_at > ?) 2015-05-29 18:21:23
[01:22:48] Duckily: seems to concatenate the values together
[01:23:21] Duckily: really bizarre
[01:23:39] Duckily: i figured out what was wrong with the original query, needed quotes around the inserted datetimes
[01:24:15] Duckily: ??????#{params[:from]}')"
[01:24:22] Duckily: ?????? ???#{params[:from]}')"
[01:24:25] Duckily: like that i meant
[01:25:37] Duckily: now i just need to see if rails has a quick way of formatting the datetime so i don???t need strftime and also a way to prevent injections
[01:37:35] Duckily: pipework: so the solution seems to be sanitize_sql_array which also seems to no longer work in rails 4 :-(
[01:37:59] Duckily: https://github.com/Casecommons/pg_search/issues/7
[01:51:09] Duckily: it doesn???t seem deprecated but i can???t figure out how to use it http://api.rubyonrails.org/classes/ActiveRecord/Sanitization/ClassMethods.html#method-i-sanitize_sql_array
[10:40:04] Duckily: Quit: Duckily
[23:52:35] Duckily: has joined #RubyOnRails
[23:57:28] Duckily: Ping timeout: 256 seconds

2015-05-29

[22:53:04] Duckily: i think this should work
[23:00:20] Duckily: smathy: ok i have a little caveat i need to do the same for another model locations, (get the count) which is joined to organiizations through orders
[23:00:47] Duckily: but i don???t want to constrain orders in that join by the same conditions as the orders count
[23:05:37] Duckily: simpler: https://gist.github.com/anonymous/46320da3ebeab418f55e
[23:05:57] Duckily: will this only return locations for which their order was created in the last 30 days?