bphogan

Activity Graph

Page 1 of 2 | Next »

2019-06-24

[00:51:10] bphogan: Read error: Connection reset by peer
[00:51:22] bphogan: has joined #elixir-lang

2019-06-18

[05:36:56] bphogan: Ping timeout: 252 seconds
[05:38:05] bphogan: has joined #elixir-lang

2019-04-13

[16:50:10] bphogan: *.net *.split

2019-03-22

[12:14:37] bphogan: *.net *.split

2019-03-13

[20:17:40] bphogan: Hey folks. I have a silly Phoenix question. Do you absolutely have to have `postgres` as a database name on your postgres server? I ask cos I'm trying to connect to a remote managed db, and I've got this test app I made. When I try to mix ecto.create, it gives me "** (Postgrex.Error) FATAL 3D000 (invalid_catalog_name) database "postgres" does not exist" despite having changed all the credentials in the configs
[20:24:59] bphogan: I found https://github.com/cockroachdb/cockroach/issues/23893 which seems to suggest it's trying to look at information_schema/pg_catalog. Not really sure what's going on - I changed all occurrences of `postgres` in the configs to the actual name of the db. Same with the username. And yet, it's still giving that error.
[20:58:46] bphogan: Just following up - it really does appear that Postgrex or Ecto or something needs the `postgres` db to exist in order for it to run `mix ecto.create`. This managed db service I'm using doesn't have the postgres db. The act of simply running `CREATE DATABASE postgres WITH OWNER myuser` and then running the `mix ecto.create` again made it possible to create the actual database my app wants to use.
[22:00:59] bphogan: :) yes. And when I plugged all those in, Ecto barfed.
[22:01:20] bphogan: the managed database doesn't contain a postgres database. As soon as I created one, it worked.
[22:03:06] bphogan: it seems like the ecto.create task needs to connect to the postgres table before it can create the application's database. The alternative method is, yea, use the default db they set aside.

2019-03-12

[06:07:22] bphogan: Read error: Connection reset by peer

2018-08-29

[01:19:20] bphogan: *.net *.split

2018-08-13

[19:29:41] bphogan: Ping timeout: 255 seconds
[19:29:59] bphogan: has joined #RubyOnRails

2018-07-20

[00:07:16] bphogan: *.net *.split
[00:15:27] bphogan: has joined #RubyOnRails

2018-07-09

[05:58:42] bphogan: Read error: Connection reset by peer
[05:58:55] bphogan: has joined #RubyOnRails

2018-06-20

[03:51:48] bphogan: Ping timeout: 276 seconds
[05:25:02] bphogan: has joined #RubyOnRails
[05:56:52] bphogan: Ping timeout: 256 seconds
[06:25:17] bphogan: has joined #RubyOnRails

2018-06-01

[03:44:47] bphogan: *.net *.split
[07:47:37] bphogan: has joined #RubyOnRails

2018-05-29

[02:47:15] bphogan: *.net *.split
[02:47:46] bphogan: has joined #RubyOnRails

2018-05-19

[15:33:50] bphogan: Remote host closed the connection
[15:36:01] bphogan: has joined #RubyOnRails

2018-05-15

[19:26:13] bphogan: Quit: ZNC - http://znc.in
[20:20:54] bphogan: has joined #RubyOnRails

2018-05-07

[13:11:09] bphogan: *.net *.split

2018-05-02

[00:07:33] bphogan: Remote host closed the connection
[05:35:29] bphogan: has joined #RubyOnRails

2018-04-25

[12:25:49] bphogan: *.net *.split
[12:27:34] bphogan: has joined #RubyOnRails
[15:01:20] bphogan: *.net *.split
[15:03:04] bphogan: has joined #RubyOnRails

2018-04-05

[17:33:31] bphogan: has joined #RubyOnRails

2018-04-04

[10:15:58] bphogan: *.net *.split

2018-02-20

[15:38:08] bphogan: I solve this with an admin namespace. I’d have controllers/admin/shop_controller and controllers/shop_controller. The views and actions would be associated appropriately.

2018-01-21

[06:03:01] bphogan: has joined #RubyOnRails

2018-01-18

[04:03:34] bphogan: Remote host closed the connection

2017-12-06

[21:38:59] bphogan: *.net *.split
[22:02:08] bphogan: has joined #RubyOnRails

2017-08-16

[17:45:24] bphogan: has left #RubyOnRails: ()
[21:36:25] bphogan: has joined #RubyOnRails
[21:45:53] bphogan: crst: your query looks like self.odometer is another object. Don't you want to subtract a value on self.odometer rather than the object itself? Or am I reading it wrong?
[21:47:47] bphogan: yea I'd recommend doing this with SQL instead :)

2017-07-18

[02:13:58] bphogan: *.net *.split

2017-06-20

[00:17:31] bphogan: *.net *.split
[00:22:39] bphogan: has joined #RubyOnRails

2017-06-12

[14:22:24] bphogan: Quit: ZNC - http://znc.in
[14:33:58] bphogan: has joined #RubyOnRails

2017-05-24

[11:29:24] bphogan: Remote host closed the connection
[23:53:42] bphogan: has joined #RubyOnRails

2017-05-02

[14:45:57] bphogan: Ping timeout: 264 seconds
[14:51:03] bphogan: has joined #RubyOnRails

2017-03-12

[03:36:51] bphogan: *.net *.split
[03:36:52] bphogan: has joined #RubyOnRails

2016-07-29

[13:09:34] bphogan: Ping timeout: 240 seconds
[13:10:22] bphogan: has joined #RubyOnRails

2016-07-21

[19:12:26] bphogan: Mrpunkin: https://github.com/bblimke/webmock

2016-06-16

[16:54:36] bphogan: Remote host closed the connection
[17:04:57] bphogan: has joined #RubyOnRails

2016-05-24

[10:26:52] bphogan: Ping timeout: 260 seconds
[10:27:32] bphogan: has joined #RubyOnRails

2016-05-15

[01:37:35] bphogan: Ping timeout: 250 seconds
[01:37:42] bphogan: has joined #RubyOnRails

2016-05-13

[04:21:52] bphogan: Ping timeout: 260 seconds
[14:54:33] bphogan: has joined #RubyOnRails

2016-05-12

[04:43:48] bphogan: Quit: ZNC - http://znc.in
[04:44:19] bphogan: has joined #RubyOnRails
[15:09:33] bphogan: Ping timeout: 240 seconds
[15:16:30] bphogan: has joined #RubyOnRails
[15:20:59] bphogan: Ping timeout: 265 seconds
[16:27:21] bphogan: has joined #RubyOnRails

2016-05-03

[19:42:21] bphogan: *.net *.split
[19:51:40] bphogan: has joined #RubyOnRails

2016-05-01

[03:29:24] bphogan: Quit: ZNC - http://znc.in
[03:36:09] bphogan: has joined #RubyOnRails

2016-04-30

[00:54:16] bphogan: has joined #RubyOnRails
[15:11:52] bphogan: Remote host closed the connection
[15:19:41] bphogan: has joined #RubyOnRails
[15:19:45] bphogan: Read error: Connection reset by peer
[15:54:17] bphogan: has joined #RubyOnRails
[17:35:18] bphogan: Quit: ZNC - http://znc.in
[17:37:03] bphogan: has joined #RubyOnRails

2016-04-29

[01:38:30] bphogan: Remote host closed the connection
[01:39:00] bphogan: has joined #RubyOnRails
[01:53:02] bphogan: Quit: ZNC - http://znc.in
[01:55:02] bphogan: has joined #RubyOnRails
[04:18:01] bphogan: Remote host closed the connection
[04:18:34] bphogan: has joined #RubyOnRails
[04:27:27] bphogan: Quit: ZNC - http://znc.in
[04:31:26] bphogan: has joined #RubyOnRails
[04:39:21] bphogan: Quit: ZNC - http://znc.in
[04:41:11] bphogan: has joined #RubyOnRails
[04:50:44] bphogan: Quit: ZNC - http://znc.in
[04:51:17] bphogan: has joined #RubyOnRails
[04:58:17] bphogan: Quit: ZNC - http://znc.in
[04:58:47] bphogan: has joined #RubyOnRails
[05:01:58] bphogan: Client Quit
[05:02:29] bphogan: has joined #RubyOnRails
[13:08:17] bphogan: Quit: ZNC - http://znc.in
[13:08:29] bphogan: has joined #RubyOnRails
[13:18:42] bphogan: Ping timeout: 276 seconds
[13:19:15] bphogan: has joined #RubyOnRails
[16:57:32] bphogan: Remote host closed the connection
[16:58:04] bphogan: has joined #RubyOnRails
[17:02:43] bphogan: Ping timeout: 244 seconds

2016-04-28

[02:41:19] bphogan: Remote host closed the connection
[03:38:48] bphogan: Quit: ZNC - http://znc.in
[03:39:42] bphogan: has joined #RubyOnRails
[16:25:01] bphogan: Quit: ZNC - http://znc.in
[16:38:14] bphogan: Quit: ZNC - http://znc.in
[22:51:13] bphogan: has joined #RubyOnRails
[23:04:57] bphogan: Quit: ZNC - http://znc.in
[23:06:38] bphogan: has joined #RubyOnRails
[23:12:31] bphogan: Quit: ZNC - http://znc.in
[23:28:34] bphogan: Quit: ZNC - http://znc.in
[23:32:41] bphogan: has joined #RubyOnRails

2016-04-25

[12:59:27] bphogan: Ping timeout: 250 seconds
[13:05:27] bphogan: has joined #RubyOnRails

2016-04-19

[03:33:39] bphogan: Ping timeout: 250 seconds
[03:38:28] bphogan: has joined #RubyOnRails

2016-04-18

[13:56:02] bphogan: Remote host closed the connection
[14:07:17] bphogan: Quit: bphogan
[21:00:37] bphogan: has joined #RubyOnRails

2016-04-17

[08:12:05] bphogan: *.net *.split
[08:12:15] bphogan: has joined #RubyOnRails

2016-04-13

[20:47:16] bphogan: *.net *.split
[20:48:50] bphogan: has joined #RubyOnRails

2016-04-05

[16:24:45] bphogan: Ping timeout: 276 seconds
[16:26:42] bphogan: has joined #RubyOnRails

2016-03-31

[18:42:36] bphogan: has joined #ruby
[19:47:44] bphogan: has left #ruby: ()

2016-03-30

[00:27:31] bphogan: Remote host closed the connection
[03:37:29] bphogan: has joined #RubyOnRails

2016-03-09

[12:27:02] bphogan: Ping timeout: 240 seconds
[12:28:12] bphogan: has joined #RubyOnRails

2016-03-03

[04:10:55] bphogan: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[04:15:07] bphogan: has joined #RubyOnRails
[04:18:51] bphogan: Remote host closed the connection
[04:57:29] bphogan: has joined #RubyOnRails

2016-03-02

[20:46:54] bphogan: hello9: I don't.
[20:47:59] bphogan: hello9: I also go with the rule that a URL should express the content, regardless of what the model name is. So, if traffic/show/1 makes sense, cool.
[20:48:42] bphogan: but perhaps city/chicago/traffic might be more appropriate from a URL standpoint. (I have no idea what you are doing tho so ignore me)
[20:49:17] bphogan: hello9: but definitely add your own inflections for things and Rails will handle it all for ya. Just did that with criteria/criterion.
[20:49:45] bphogan: hello9: but are you doing city/1/traffics/25/edit/
[20:49:53] bphogan: or is traffic just a list of the traffic for a city
[20:50:22] bphogan: ok. Then yea… just use inflection and when you generate the controller all will be taken care of for you :)
[20:51:11] bphogan: hello9: see config/initializers/inflections.rb :)

2016-02-27

[22:40:58] bphogan: Ping timeout: 240 seconds
[22:53:56] bphogan: has joined #RubyOnRails

2016-02-23

[20:53:41] bphogan: Silly question…. when you do render: json @project, what is the method that gets invoked? Is it .as_json? I need to override it so it returns additional data. I saw there are gems I can add, but this should be possible within Rails itself, right? (can’t use jbuilder for this as the other library I’m using also delegates to the model for the serialization.
[20:58:25] bphogan: I’m not convinced more than 10% of the Rails developers in the world understand how the pipeline even works.
[20:58:47] bphogan: There is so much conflicting and contradictory stuff out there on how to solve problems with it :D
[20:59:37] bphogan: tubbo: I was thinking about that - if you put those folders back in public/ does Rails still route tings there?
[21:00:10] bphogan: tubbo: oh I’ve been using Rails for 10 years. :)
[21:00:18] bphogan: tubbo: I just took a break to do some Elixir for a while
[21:01:01] bphogan: tubbo: my first rails app was pre Migrations, and still has a dispatch.cgi file in the public folder :/
[21:01:55] bphogan: Radar: how ya doin, buddy?
[21:02:34] bphogan: tubbo: Wat?
[21:03:47] bphogan: tubbo: I’m not sure that’s true - I think Rails itself goes out of its way to keep you from doing JS. I’m tripping over turbolinks right now trying to get some react stuff to work. Fighting the framework a lot :(

2016-02-15

[07:03:56] bphogan: *.net *.split
[07:04:12] bphogan: has joined #RubyOnRails

2016-01-20

[18:22:04] bphogan: *.net *.split
[18:24:57] bphogan: has joined #RubyOnRails
[18:35:42] bphogan: *.net *.split
[18:37:50] bphogan: has joined #RubyOnRails
[18:48:18] bphogan: *.net *.split
[18:48:40] bphogan: has joined #RubyOnRails
[18:59:06] bphogan: *.net *.split
[20:18:04] bphogan: has joined #RubyOnRails
[20:28:39] bphogan: *.net *.split
[20:42:53] bphogan: has joined #RubyOnRails
[20:53:24] bphogan: *.net *.split
[21:47:37] bphogan: has joined #RubyOnRails

2015-12-27

[13:05:35] bphogan: Ping timeout: 245 seconds
[14:03:07] bphogan: has joined #RubyOnRails
[14:08:47] bphogan: Ping timeout: 246 seconds
[14:47:38] bphogan: has joined #RubyOnRails

2015-12-21

[10:13:00] bphogan: *.net *.split
[22:59:16] bphogan: has joined #RubyOnRails

2015-12-16

[03:37:49] bphogan: has joined #RubyOnRails

2015-12-15

[08:00:23] bphogan: Quit: ZNC - http://znc.in

2015-12-03

[00:44:16] bphogan: has joined #RubyOnRails

2015-12-02

[16:02:14] bphogan: Remote host closed the connection

2015-11-26

[07:56:19] bphogan: *.net *.split
[08:01:31] bphogan: has joined #RubyOnRails
[19:01:53] bphogan: *.net *.split
[19:08:08] bphogan: has joined #RubyOnRails

2015-11-04

[05:56:49] bphogan: has joined #RubyOnRails

2015-11-03

[01:19:00] bphogan: has left #RubyOnRails: ()

2015-10-24

[11:36:42] bphogan: Ping timeout: 255 seconds
[11:39:28] bphogan: has joined #RubyOnRails

2015-10-21

[01:42:46] bphogan: has joined #RubyOnRails
[22:31:00] bphogan: Quit: ZNC - http://znc.in

2015-10-20

[06:00:26] bphogan: Read error: Connection reset by peer

2015-10-16

[00:08:52] bphogan: has joined #RubyOnRails

2015-10-15

[19:06:36] bphogan: Ping timeout: 246 seconds
[19:12:21] bphogan: has joined #RubyOnRails
[23:34:48] bphogan: Ping timeout: 265 seconds
[23:40:16] bphogan: has joined #RubyOnRails

2015-10-06

[20:43:46] bphogan: *.net *.split
[20:46:17] bphogan: has joined #RubyOnRails

2015-09-28

[01:38:53] bphogan: Ping timeout: 250 seconds
[01:42:25] bphogan: has joined #RubyOnRails

2015-09-18

[01:30:31] bphogan: Ping timeout: 240 seconds
[01:31:00] bphogan: has joined #RubyOnRails

2015-08-29

[13:25:00] bphogan: *.net *.split
[13:25:57] bphogan: has joined #RubyOnRails

2015-08-27

2015-08-18

[14:59:43] bphogan: *.net *.split
[15:12:08] bphogan: has joined #RubyOnRails

2015-08-14

[00:49:59] bphogan: Ping timeout: 260 seconds
[00:50:37] bphogan: has joined #RubyOnRails

2015-08-13

[07:25:10] bphogan: Ping timeout: 255 seconds
[07:26:32] bphogan: has joined #RubyOnRails

2015-08-11

[11:48:51] bphogan: Ping timeout: 240 seconds
[11:49:42] bphogan: has joined #RubyOnRails

2015-08-07

[10:18:41] bphogan: Ping timeout: 244 seconds
[10:25:08] bphogan: has joined #RubyOnRails

2015-07-28

[20:25:42] bphogan: Ping timeout: 246 seconds
[20:40:46] bphogan: has joined #RubyOnRails

2015-07-15

[11:37:35] bphogan: Ping timeout: 250 seconds
[16:21:06] bphogan: has joined #RubyOnRails

2015-07-11

[02:29:07] bphogan: Ping timeout: 276 seconds
[02:31:48] bphogan: has joined #RubyOnRails

2015-06-21

[00:34:35] bphogan: has joined #RubyOnRails

2015-06-20

[21:38:08] bphogan: Ping timeout: 255 seconds

2015-03-27

[18:39:59] bphogan: dmcdonald: can you ssh to the server and create a new text file in your log folder? Because I???ve had my server get a corrupted FS that puts it in read-only mode :)
[18:40:10] bphogan: so you know, just to rule out problems

2014-11-02

[05:33:23] bphogan: but I???ve kinda scrapped all that and am now trying to redo it all in Elixir using the Phoenix framework.
[05:33:32] bphogan: s2013: you can see a demo of what I???m building in this video: https://www.youtube.com/watch?v=r-Ssdhk9Pgo&feature=youtu.be
[05:36:06] bphogan: gwho: huh???..
[05:36:29] bphogan: gwho: I???m confused tho
[05:36:35] bphogan: how come you have assets/bookshelf/assets
[05:36:47] bphogan: but you only have background: url("assets/my_image.jpg")
[05:37:41] bphogan: well at least it should have bookshelf/ in it
[05:37:59] bphogan: gwho: Oh I see what you???re doing
[05:38:00] bphogan: it???s late
[05:38:17] bphogan: the bookshelf folder???s not in the asset pipeline so it didn???t get pulled in
[05:38:25] bphogan: put the images in the images folder.
[05:38:41] bphogan: assets/images/bookshelf/