Denarii

Activity Graph

Page 1 of 2 | Next »

2016-04-07

[13:35:58] Denarii: Ping timeout: 248 seconds

2016-04-04

[07:41:13] Denarii: Ping timeout: 250 seconds
[07:41:30] Denarii: has joined #RubyOnRails

2016-04-01

[21:05:31] Denarii: has joined #RubyOnRails

2016-03-31

[06:46:40] Denarii: Ping timeout: 264 seconds

2016-03-11

[16:32:35] Denarii: Quit: -=SysReset 2.55=-
[16:39:33] Denarii: has joined #RubyOnRails

2016-03-09

[08:29:51] Denarii: Quit: -=SysReset 2.55=-
[15:16:08] Denarii: has joined #RubyOnRails

2016-03-06

[17:59:03] Denarii: has joined #RubyOnRails

2016-03-05

[15:52:37] Denarii: Quit: -=SysReset 2.55=-

2016-03-03

[02:23:47] Denarii: Ping timeout: 248 seconds
[02:23:56] Denarii: has joined #RubyOnRails
[03:25:50] Denarii: Quit: -=SysReset 2.55=-
[03:47:04] Denarii: has joined #RubyOnRails

2016-02-29

[13:51:20] Denarii: Quit: -=SysReset 2.55=-
[14:02:05] Denarii: has joined #RubyOnRails

2016-02-28

[12:52:40] Denarii: Ping timeout: 264 seconds
[12:57:54] Denarii: has joined #RubyOnRails

2016-02-27

[22:54:01] Denarii: Ping timeout: 244 seconds
[22:54:06] Denarii: has joined #RubyOnRails

2016-02-26

[17:20:40] Denarii: *.net *.split
[17:21:36] Denarii: has joined #RubyOnRails

2016-02-22

[14:20:25] Denarii: Quit: -=SysReset 2.55=-
[14:28:32] Denarii: has joined #RubyOnRails
[18:27:47] Denarii: Ping timeout: 248 seconds
[18:31:25] Denarii: has joined #RubyOnRails

2016-02-15

[07:03:44] Denarii: *.net *.split
[07:04:24] Denarii: has joined #RubyOnRails
[14:24:37] Denarii: *.net *.split
[14:26:38] Denarii: has joined #RubyOnRails

2016-02-04

[10:39:07] Denarii: Ping timeout: 245 seconds
[10:39:21] Denarii: has joined #RubyOnRails
[23:45:56] Denarii: Yes, especially with smaller apps.

2016-02-03

[23:47:37] Denarii: Read error: Connection reset by peer
[23:51:12] Denarii: has joined #RubyOnRails

2016-02-02

[19:12:02] Denarii: *.net *.split
[19:12:44] Denarii: has joined #RubyOnRails

2016-01-31

[12:25:04] Denarii: *.net *.split
[12:29:41] Denarii: has joined #RubyOnRails

2016-01-30

[01:04:01] Denarii: *.net *.split
[01:22:32] Denarii: has joined #RubyOnRails
[23:10:46] Denarii: Ping timeout: 240 seconds
[23:11:37] Denarii: has joined #RubyOnRails

2016-01-29

[05:39:11] Denarii: Ping timeout: 264 seconds
[05:42:42] Denarii: has joined #RubyOnRails

2016-01-23

[04:07:23] Denarii: Ping timeout: 264 seconds
[04:12:35] Denarii: has joined #RubyOnRails

2016-01-22

[20:34:14] Denarii: link says they're websockets

2016-01-20

[13:56:01] Denarii: *.net *.split
[13:56:51] Denarii: has joined #RubyOnRails

2016-01-17

[21:29:57] Denarii: *.net *.split
[22:05:57] Denarii: has joined #RubyOnRails

2016-01-16

[19:41:22] Denarii: Argorok: Are you using spring?
[19:43:06] Denarii: Well it might cause your route change to not be reflected until you restart it. Do `spring status`
[19:46:37] Denarii: Did you restart the server after adding the route, and did you check the registered routes with `rake routes`?
[19:50:42] Denarii: Ah. Right, try `curl -H 'Accept: application/api.v1' http://localhost:3000/api/universities.json`
[19:52:05] Denarii: take out the v1
[19:55:11] Denarii: Argorok: Open a console and do app.api_universities_path
[19:57:16] Denarii: huh, /api/universities.json should work
[20:02:33] Denarii: Because you used scope instead of namespace. scope changes where it looks for the controller, but doesn't change the url. namespace changes both. And yeah, you should be able to add another scope that would use the same url but route differently based on the header.
[20:06:21] Denarii: Argorok: Yeah, so when you have nested modules like that it's a better practice to do the following: https://gist.github.com/babelfish/1008c2edf1ed3245f49a
[20:11:58] Denarii: Argorok: It would look like this: https://gist.github.com/babelfish/c4d589babef092cf92f5
[20:16:38] Denarii: never trust something copy and pasted

2016-01-12

[09:52:05] Denarii: Ping timeout: 250 seconds
[09:56:01] Denarii: has joined #RubyOnRails

2016-01-07

[19:41:37] Denarii: mrbubbles: http://api.rubyonrails.org/classes/ActiveRecord/Callbacks.html
[19:41:46] Denarii: But if you value your sanity, just don't even go there.
[19:43:25] Denarii: Not joking. Unless your app is very small and will stay that way, callbacks are more trouble than they're worth. I work on a large Rails app full of callbacks. Some models have dozens, and trying to reason about its behavior is insane.
[19:49:54] Denarii: brycesenz: I prefer to just avoid them entirely. We've been trying to move toward using service objects that handle all of the side effects that need to happen when changing a model or processing a request. The only place we use callbacks where I don't really mind it is a pubsub system we have that we use for updating elasticsearch when things change.
[19:59:38] Denarii: brycesenz: Yeah, fair enough. I guess if it's not doing anything outside the model it's not too bad.

2016-01-04

[22:12:32] Denarii: Quit: -=SysReset 2.55=-
[22:33:09] Denarii: has joined #RubyOnRails

2016-01-02

[01:16:23] Denarii: gambl0re: eh?

2015-12-26

[02:35:50] Denarii: has joined #RubyOnRails

2015-12-25

[21:30:45] Denarii: Ping timeout: 255 seconds

2015-12-24

[02:47:12] Denarii: Read error: Connection reset by peer
[02:48:08] Denarii: has joined #RubyOnRails

2015-12-18

[08:30:01] Denarii: Quit: -=SysReset 2.55=-
[14:10:38] Denarii: has joined #RubyOnRails

2015-12-16

[18:30:24] Denarii: Quit: -=SysReset 2.55=-
[18:36:33] Denarii: has joined #RubyOnRails

2015-12-14

[15:35:34] Denarii: Quit: -=SysReset 2.55=-
[16:30:36] Denarii: has joined #RubyOnRails

2015-12-13

[02:49:44] Denarii: has joined #RubyOnRails
[18:16:34] Denarii: Ping timeout: 272 seconds
[18:21:46] Denarii: has joined #RubyOnRails

2015-12-12

[10:10:59] Denarii: Ping timeout: 240 seconds

2015-12-09

[21:24:31] Denarii: Ping timeout: 260 seconds
[21:25:32] Denarii: has joined #RubyOnRails

2015-12-06

[03:05:11] Denarii: Ping timeout: 246 seconds
[14:26:46] Denarii: has joined #RubyOnRails

2015-12-04

[07:46:24] Denarii: Ping timeout: 250 seconds
[07:53:04] Denarii: has joined #RubyOnRails
[11:04:07] Denarii: Ping timeout: 260 seconds
[11:07:43] Denarii: has joined #RubyOnRails
[15:58:04] Denarii: Ping timeout: 245 seconds
[15:58:22] Denarii: has joined #RubyOnRails

2015-12-02

[15:35:22] Denarii: *.net *.split
[15:41:45] Denarii: has joined #RubyOnRails
[15:52:34] Denarii: *.net *.split
[16:48:05] Denarii: has joined #RubyOnRails
[22:37:51] Denarii: tubbo: You're lucky that you can go yell at the person responsible. Earlier I found methods being defined in a loop with class eval in our code, with the code that would be output by the eval displayed in comments, but it was written by some guy five years ago who's no longer with the company and it hasn't been touched since.
[22:41:49] Denarii: The most horrifying Rails codebase I've seen was at a meetup. There was a student or intern there asking for help, and the codebase they'd been given to work on was clearly created by a developmentally disabled Java developer with a drug problem.

2015-12-01

[11:39:10] Denarii: Ping timeout: 260 seconds
[11:46:30] Denarii: has joined #RubyOnRails
[12:05:18] Denarii: Ping timeout: 260 seconds
[12:10:38] Denarii: has joined #RubyOnRails

2015-11-30

[00:44:19] Denarii: Ping timeout: 245 seconds
[00:50:06] Denarii: has joined #RubyOnRails
[03:53:30] Denarii: Ping timeout: 245 seconds
[04:11:31] Denarii: has joined #RubyOnRails
[10:01:49] Denarii: Ping timeout: 245 seconds
[10:03:40] Denarii: has joined #RubyOnRails
[11:39:03] Denarii: Ping timeout: 260 seconds
[11:45:34] Denarii: has joined #RubyOnRails
[13:39:56] Denarii: Ping timeout: 262 seconds
[13:47:46] Denarii: has joined #RubyOnRails
[13:57:47] Denarii: Ping timeout: 240 seconds
[14:13:09] Denarii: has joined #RubyOnRails
[14:17:51] Denarii: Ping timeout: 244 seconds
[17:08:55] Denarii: has joined #RubyOnRails
[17:45:32] Denarii: lacrymology: there's an `anything` matcher you can use for the params you don't care about

2015-11-29

[22:18:35] Denarii: *.net *.split
[22:43:21] Denarii: has joined #RubyOnRails

2015-11-25

[00:19:37] Denarii: tubbo: (4.score + 7).years.ago :P

2015-11-24

[14:41:55] Denarii: Ping timeout: 240 seconds
[14:45:31] Denarii: has joined #RubyOnRails

2015-11-22

[01:08:23] Denarii: Quit: -=SysReset 2.55=-
[01:22:44] Denarii: has joined #RubyOnRails

2015-11-16

[19:56:30] Denarii: Disconnected by services
[19:57:10] Denarii: has joined #RubyOnRails

2015-11-09

[18:10:35] Denarii: Quit: -=SysReset 2.55=-
[18:18:18] Denarii: has joined #RubyOnRails

2015-11-02

[21:51:10] Denarii: has joined #RubyOnRails

2015-11-01

[01:18:16] Denarii: Quit: -=SysReset 2.55=-

2015-10-27

[13:28:06] Denarii: has joined #RubyOnRails
[15:44:16] Denarii: ACTION opened it in a VM

2015-10-26

[23:41:37] Denarii: Ping timeout: 252 seconds

2015-10-25

[17:37:53] Denarii: Quit: -=SysReset 2.55=-
[21:29:15] Denarii: has joined #RubyOnRails

2015-10-24

[02:08:52] Denarii: has joined #RubyOnRails

2015-10-23

[10:07:45] Denarii: *.net *.split

2015-10-21

[16:54:01] Denarii: Ping timeout: 252 seconds
[17:22:16] Denarii: has joined #RubyOnRails

2015-10-19

[05:08:30] Denarii: Ping timeout: 240 seconds
[13:42:17] Denarii: has joined #RubyOnRails

2015-10-16

[00:10:16] Denarii: has joined #RubyOnRails

2015-10-14

[06:06:22] Denarii: Ping timeout: 272 seconds
[06:09:33] Denarii: has joined #RubyOnRails

2015-10-13

[23:07:58] Denarii: has joined #RubyOnRails

2015-10-12

[00:03:58] Denarii: has joined #RubyOnRails
[23:19:11] Denarii: Ping timeout: 240 seconds

2015-10-11

[21:53:40] Denarii: Ping timeout: 255 seconds

2015-10-10

[00:36:52] Denarii: has joined #RubyOnRails

2015-10-09

[08:54:29] Denarii: Ping timeout: 272 seconds
[08:57:55] Denarii: has joined #RubyOnRails
[12:47:11] Denarii: decaff: If you want to be able to add foreign key constraints: https://github.com/matthuhiggins/foreigner
[12:48:26] Denarii: Ah, I'm still stuck on 3.2
[12:48:32] Denarii: At work anyway
[22:36:37] Denarii: Read error: Connection reset by peer

2015-09-30

[18:40:03] Denarii: EllisTAA: shouldn't sender and recipient be on the message, not the conversation?
[18:41:05] Denarii: yeah, but the sender and recipient is a message level concern. I send and receive some messages, you send and receive some messages
[18:42:11] Denarii: with how it is now a conversation is always entirely one-sided: one person sending and the other receiving
[18:56:47] Denarii: EllisTAA: https://gist.github.com/babelfish/7df7b3725af2e9262286
[19:02:49] Denarii: EllisTAA: because it's a bridge between the conversation and the user (the actual participant)

2015-09-28

[06:32:27] Denarii: Ping timeout: 240 seconds
[06:36:24] Denarii: has joined #RubyOnRails
[09:34:19] Denarii: Ping timeout: 255 seconds
[09:39:14] Denarii: has joined #RubyOnRails

2015-09-23

[22:04:11] Denarii: Ping timeout: 250 seconds
[22:08:31] Denarii: has joined #RubyOnRails

2015-09-12

[12:59:40] Denarii: Ping timeout: 246 seconds
[13:04:40] Denarii: has joined #RubyOnRails
[16:38:38] Denarii: nerium: You can pass custom SQL as a string to both joins and where.

2015-09-11

[04:34:37] Denarii: Ping timeout: 250 seconds
[04:39:35] Denarii: has joined #RubyOnRails
[04:55:33] Denarii: Ping timeout: 246 seconds
[04:56:42] Denarii: has joined #RubyOnRails

2015-09-06

[00:07:04] Denarii: GnuYawk: you want all Topics that are associated with a user?
[00:07:20] Denarii: Topic.joins(:user)
[00:07:53] Denarii: It will do an inner join which will ensure you only get topics that are associated with a user.
[00:10:32] Denarii: Then you could do Topic.where(user_id: users.map(&:id)) or, if you don't need anything out of that user relation except the ids, Topic.where(user_id: users.pluck(:id))

2015-09-02

[05:23:22] Denarii: Ping timeout: 252 seconds
[13:51:38] Denarii: has joined #RubyOnRails

2015-08-31

[16:21:20] Denarii: has joined #RubyOnRails

2015-08-29

[12:54:12] Denarii: Quit: -=SysReset 2.55=-

2015-08-26

[15:59:58] Denarii: Ping timeout: 255 seconds
[16:06:36] Denarii: has joined #RubyOnRails

2015-08-25

[18:17:46] Denarii: Ping timeout: 250 seconds
[22:26:19] Denarii: has joined #RubyOnRails

2015-08-22

[14:11:15] Denarii: Ping timeout: 240 seconds

2015-08-12

[02:02:31] Denarii: Ping timeout: 240 seconds
[02:08:22] Denarii: has joined #RubyOnRails
[03:24:37] Denarii: Ping timeout: 246 seconds
[03:24:45] Denarii: has joined #RubyOnRails

2015-08-09

[13:45:41] Denarii: Quit: -=SysReset 2.55=-
[13:48:56] Denarii: has joined #RubyOnRails

2015-08-02

[01:23:08] Denarii: I use vim for quite large rails app.

2015-07-29

[11:45:35] Denarii: Quit: -=SysReset 2.55=-
[14:03:41] Denarii: has joined #RubyOnRails

2015-07-26

[05:09:13] Denarii: Ping timeout: 244 seconds

2015-07-21

[09:29:53] Denarii: Read error: Connection reset by peer
[23:31:02] Denarii: has joined #RubyOnRails

2015-07-18

[12:23:47] Denarii: dbugger: https://github.com/creationix/nvm
[12:26:53] Denarii: or some other javascript runtime
[19:17:18] Denarii: FrankD__: your lack of adherence to Ruby naming standards makes me sad
[19:20:40] Denarii: Get rid of @directoryEntry and use self?
[19:23:46] Denarii: You've inherited from DirectoryEntry so when you use find_by on DirectoryEntryHelper you should be able to just use self instead of storing a separate instance of the directory entry in an instance variable.
[19:52:54] Denarii: FrankD__: snake case for variables and methods, pascal case for modules and classes
[19:53:46] Denarii: well, you've got the latter right

2015-07-15

[07:06:59] Denarii: Ping timeout: 246 seconds
[11:44:11] Denarii: has joined #RubyOnRails

2015-07-03

[01:03:45] Denarii: Read error: Connection reset by peer
[01:06:00] Denarii: has joined #RubyOnRails
[07:11:07] Denarii: Ping timeout: 250 seconds

2015-07-02

[01:21:27] Denarii: has joined #RubyOnRails
[22:30:22] Denarii: ght: Profile.includes(:user).where(users: { id: nil }) should do it I think.
[22:30:58] Denarii: or, rather, will query for profiles where the user doesn't exist
[23:08:42] Denarii: Ping timeout: 252 seconds
[23:09:16] Denarii: has joined #RubyOnRails

2015-07-01

[05:14:00] Denarii: Read error: Connection reset by peer

2015-06-23

[09:01:32] Denarii: Ping timeout: 246 seconds
[09:02:29] Denarii: has joined #RubyOnRails

2015-06-21

[00:39:21] Denarii: Read error: Connection reset by peer
[00:42:00] Denarii: has joined #RubyOnRails
[13:08:04] Denarii: *.net *.split
[13:10:13] Denarii: has joined #RubyOnRails

2015-06-20

[21:02:00] Denarii: Ping timeout: 244 seconds

2015-06-14

[22:47:16] Denarii: has joined #RubyOnRails

2015-06-06

[23:23:49] Denarii: has joined #RubyOnRails
[23:30:51] Denarii: Ping timeout: 256 seconds

2015-05-05

[12:09:01] Denarii: Can you add wherever participation_params is defined to the gist?
[12:12:44] Denarii: You're requiring that the participation field be present in the params hash, but it's not in the new action. Which makes sense. Try just changing line 5 of the controller to `@participation = Participation.new`
[12:15:32] Denarii: Right, you haven't actually set the @challenge variable in the new action.
[12:16:53] Denarii: Also, you shouldn't need the challenge_id hidden field since you're using nested routes. The challenge id will be in the url.

2015-05-03

[22:56:40] Denarii: hyperjuice: try `module Devise::SessionsHelper` rather than `module SessionsHelper`

2015-04-10

[01:54:18] Denarii: shippy: your not following naming conventions makes me twitchy
[02:04:27] Denarii: shippy: one sec
[02:06:51] Denarii: shippy: https://gist.github.com/babelfish/baadf9bf0cf6ed2003c2

2015-04-09

[21:53:02] Denarii: pancake-breakfas: can you share your code?
[22:01:26] Denarii: pancake-breakfas: are you using spring?
[22:01:54] Denarii: did you restart it as well?
[22:03:40] Denarii: that looks like a pretty old version of bourbon you're installing