devdazed

Activity Graph

Page 1 of 3 | Next »

2016-02-10

[14:36:57] devdazed: has joined #RubyOnRails
[17:18:15] devdazed: Ping timeout: 260 seconds
[17:41:54] devdazed: has joined #RubyOnRails
[18:03:38] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???
[18:07:41] devdazed: has joined #RubyOnRails
[18:14:46] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???
[18:15:37] devdazed: has joined #RubyOnRails
[20:41:37] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???
[20:42:13] devdazed: has joined #RubyOnRails

2016-02-09

[01:27:36] devdazed: has joined #RubyOnRails
[13:56:55] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???
[14:30:19] devdazed: has joined #RubyOnRails
[16:49:35] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???
[16:50:11] devdazed: has joined #RubyOnRails
[17:05:20] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???
[17:07:50] devdazed: has joined #RubyOnRails
[22:44:36] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???

2016-02-08

[14:34:20] devdazed: has joined #RubyOnRails
[23:26:55] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???

2016-02-07

[16:16:12] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???

2016-02-06

[14:27:06] devdazed: has joined #RubyOnRails
[18:49:45] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???
[18:50:05] devdazed: has joined #RubyOnRails

2016-02-05

[14:35:33] devdazed: has joined #RubyOnRails
[23:04:52] devdazed: Quit: My Mac has gone to sleep. ZZZzzz???

2016-02-04

[21:23:28] devdazed: has joined #RubyOnRails
[21:24:37] devdazed: hi all, got a question on AREL. i am trying to do the equivalent of "(col_a, col_b) IN ..." I have the subquery predicate for the IN clause but not sure how to do the multiple columns as the left side of the infix
[21:30:51] devdazed: in AREL? i though arel supported all valid sql
[21:32:50] devdazed: because it is valid SQL is all SQL92 compliant dbs
[21:33:09] devdazed: SQL92 and above
[21:45:13] devdazed: smathy: well i guess i can just hack it with Arel.sql('(a, b)').in(...)
[21:45:39] devdazed: just thought Arel would have support for a list of attributes
[21:47:22] devdazed: not using AR
[21:47:29] devdazed: just raw Arel
[21:47:42] devdazed: the db im using doesnt have an AR adapter for rails 4
[21:49:04] devdazed: sure you can
[21:49:29] devdazed: the right side has to be a sub select
[21:49:35] devdazed: select * from users where (first_name, last_name) IN (select 'jon'::text, 'smith'::text);
[21:49:47] devdazed: or even a subselect from another table
[21:50:40] devdazed: tubbo: well the query works, and that is oversimplified, im actually selecting from another table
[21:50:50] devdazed: i just am having trouble translating it to Arel
[21:51:46] devdazed: yeah, i a am able to do everything except having two columns on the right side of the IN
[21:52:03] devdazed: rhizome: because it is easier to break it apart into pieces and test it
[21:52:14] devdazed: parts of the query are used for several different queries
[21:52:26] devdazed: and they are all custom
[23:24:12] devdazed: Ping timeout: 272 seconds

2015-10-21

[13:29:53] devdazed: has joined #RubyOnRails
[13:29:53] devdazed: has joined #ruby
[14:35:24] devdazed: Remote host closed the connection

2015-10-20

[13:49:36] devdazed: has joined #RubyOnRails
[13:49:36] devdazed: has joined #ruby
[14:58:55] devdazed: Quit: Computer has gone to sleep.
[14:59:14] devdazed: has joined #RubyOnRails
[14:59:14] devdazed: has joined #ruby
[18:26:42] devdazed: Ping timeout: 260 seconds
[18:29:53] devdazed: has joined #RubyOnRails
[18:29:53] devdazed: has joined #ruby
[22:03:06] devdazed: Ping timeout: 255 seconds

2015-10-19

[15:02:22] devdazed: has joined #ruby
[15:02:23] devdazed: has joined #RubyOnRails
[22:27:16] devdazed: Ping timeout: 268 seconds

2015-10-16

[13:03:51] devdazed: has joined #RubyOnRails
[13:03:51] devdazed: has joined #ruby

2015-10-15

[13:35:09] devdazed: has joined #RubyOnRails
[13:35:09] devdazed: has joined #ruby
[22:41:42] devdazed: Ping timeout: 268 seconds

2015-10-14

[13:38:58] devdazed: has joined #RubyOnRails
[13:38:58] devdazed: has joined #ruby
[18:01:18] devdazed: Quit: Computer has gone to sleep.
[18:02:22] devdazed: has joined #RubyOnRails
[18:02:22] devdazed: has joined #ruby
[21:56:30] devdazed: Quit: Computer has gone to sleep.
[22:26:14] devdazed: has joined #RubyOnRails
[22:26:14] devdazed: has joined #ruby
[22:26:50] devdazed: Client Quit

2015-10-09

[13:35:03] devdazed: has joined #RubyOnRails
[13:35:03] devdazed: has joined #ruby

2015-10-08

[13:38:45] devdazed: has joined #RubyOnRails
[13:38:45] devdazed: has joined #ruby
[21:19:37] devdazed: Ping timeout: 264 seconds

2015-10-07

[13:36:00] devdazed: has joined #RubyOnRails
[13:36:00] devdazed: has joined #ruby
[22:19:33] devdazed: Quit: Computer has gone to sleep.

2015-10-06

[13:32:00] devdazed: has joined #RubyOnRails
[13:32:00] devdazed: has joined #ruby
[21:49:00] devdazed: Ping timeout: 240 seconds

2015-10-05

[13:07:28] devdazed: Quit: Computer has gone to sleep.
[13:43:24] devdazed: has joined #RubyOnRails
[13:43:24] devdazed: has joined #ruby
[21:47:38] devdazed: Ping timeout: 256 seconds

2015-10-04

[21:28:52] devdazed: Quit: Computer has gone to sleep.
[21:30:05] devdazed: has joined #RubyOnRails
[21:30:05] devdazed: has joined #ruby

2015-10-02

[13:42:33] devdazed: has joined #RubyOnRails
[13:42:33] devdazed: has joined #ruby
[21:38:22] devdazed: Ping timeout: 255 seconds
[23:15:36] devdazed: has joined #RubyOnRails
[23:15:36] devdazed: has joined #ruby

2015-10-01

[13:29:55] devdazed: has joined #RubyOnRails
[13:29:55] devdazed: has joined #ruby
[21:35:25] devdazed: Ping timeout: 272 seconds

2015-09-30

[13:01:41] devdazed: Quit: Computer has gone to sleep.
[13:34:10] devdazed: has joined #RubyOnRails
[13:34:10] devdazed: has joined #ruby
[22:27:09] devdazed: Ping timeout: 272 seconds

2015-09-29

[13:39:40] devdazed: has joined #RubyOnRails
[13:39:40] devdazed: has joined #ruby
[18:16:01] devdazed: Ping timeout: 264 seconds
[18:53:59] devdazed: has joined #ruby
[18:54:00] devdazed: has joined #RubyOnRails

2015-09-28

[13:57:22] devdazed: has joined #RubyOnRails
[13:57:22] devdazed: has joined #ruby
[22:28:02] devdazed: Ping timeout: 246 seconds

2015-09-18

[13:36:46] devdazed: has joined #ruby
[13:36:47] devdazed: has joined #RubyOnRails
[21:55:57] devdazed: Quit: Computer has gone to sleep.

2015-09-17

[00:55:54] devdazed: has joined #RubyOnRails
[00:55:54] devdazed: has joined #ruby
[03:17:41] devdazed: Quit: Computer has gone to sleep.
[13:40:13] devdazed: has joined #ruby
[13:40:14] devdazed: has joined #RubyOnRails
[13:41:19] devdazed: Client Quit
[14:24:23] devdazed: has joined #RubyOnRails
[14:24:23] devdazed: has joined #ruby
[18:26:41] devdazed: Quit: Computer has gone to sleep.
[18:27:52] devdazed: has joined #ruby
[18:27:53] devdazed: has joined #RubyOnRails
[18:28:34] devdazed: Client Quit
[18:29:46] devdazed: has joined #RubyOnRails
[18:29:46] devdazed: has joined #ruby
[21:53:11] devdazed: Quit: Computer has gone to sleep.

2015-09-16

[00:47:43] devdazed: Quit: Computer has gone to sleep.

2015-09-15

[12:00:20] devdazed: has joined #RubyOnRails
[12:00:20] devdazed: has joined #ruby

2015-09-14

[13:56:30] devdazed: has joined #RubyOnRails
[13:56:30] devdazed: has joined #ruby
[18:02:49] devdazed: Ping timeout: 244 seconds
[18:04:24] devdazed: has joined #RubyOnRails
[18:04:24] devdazed: has joined #ruby
[19:28:28] devdazed: I am trying to write an rspec test for a rake task that I wrote. the rake file adds a prerequisite task to Rake::Task['db:drop']. The issue I am having is that when I run the spec I am getting " Don't know how to build task 'db:drop'"
[19:28:43] devdazed: my assumption here is that it isn't loading the rake tasks from activerecord
[19:30:02] devdazed: is there a way to tell rspec to load up all tasks includeing activerecord?
[20:43:25] devdazed: smathy: thanks, i tried the `YouApp::Application.load_tasks` method and still had the same issue. I'll take a look at define_task
[22:24:04] devdazed: Quit: Computer has gone to sleep.

2015-08-31

[13:05:52] devdazed: Quit: Computer has gone to sleep.
[13:37:33] devdazed: has joined #RubyOnRails
[13:37:33] devdazed: has joined #ruby

2015-08-29

[16:42:30] devdazed: has joined #ruby
[16:42:31] devdazed: has joined #RubyOnRails
[18:39:34] devdazed: Read error: Connection reset by peer
[18:41:11] devdazed: has joined #RubyOnRails
[18:41:11] devdazed: has joined #ruby
[20:13:07] devdazed: Quit: Computer has gone to sleep.
[20:24:45] devdazed: has joined #RubyOnRails
[20:24:45] devdazed: has joined #ruby

2015-08-28

[13:43:44] devdazed: has joined #RubyOnRails
[13:43:44] devdazed: has joined #ruby
[21:46:02] devdazed: Quit: Computer has gone to sleep.

2015-08-27

[13:24:14] devdazed: has joined #RubyOnRails
[13:24:14] devdazed: has joined #ruby
[20:59:11] devdazed: Ping timeout: 245 seconds

2015-08-26

[13:30:03] devdazed: has joined #RubyOnRails
[13:30:03] devdazed: has joined #ruby
[23:04:50] devdazed: Ping timeout: 252 seconds

2015-08-25

[00:42:10] devdazed: has joined #RubyOnRails
[00:42:10] devdazed: has joined #ruby
[02:57:01] devdazed: Quit: Computer has gone to sleep.
[12:34:03] devdazed: has joined #RubyOnRails
[12:34:03] devdazed: has joined #ruby
[12:35:03] devdazed: Client Quit
[13:38:14] devdazed: has joined #RubyOnRails
[13:38:14] devdazed: has joined #ruby
[21:34:29] devdazed: Quit: Computer has gone to sleep.

2015-08-24

[13:57:37] devdazed: has joined #RubyOnRails
[13:57:37] devdazed: has joined #ruby
[22:43:55] devdazed: Ping timeout: 244 seconds

2015-08-22

[07:34:19] devdazed: has joined #RubyOnRails
[07:34:19] devdazed: has joined #ruby
[08:51:34] devdazed: Quit: Computer has gone to sleep.
[13:19:06] devdazed: has joined #RubyOnRails
[13:19:06] devdazed: has joined #ruby
[13:48:07] devdazed: Ping timeout: 255 seconds

2015-08-21

[08:00:47] devdazed: has joined #RubyOnRails
[08:00:47] devdazed: has joined #ruby
[13:03:07] devdazed: Quit: Computer has gone to sleep.
[13:39:07] devdazed: has joined #RubyOnRails
[13:39:07] devdazed: has joined #ruby
[13:41:43] devdazed: Client Quit
[13:49:41] devdazed: has joined #RubyOnRails
[13:49:41] devdazed: has joined #ruby
[21:11:35] devdazed: Ping timeout: 244 seconds

2015-08-20

[00:36:59] devdazed: Quit: Computer has gone to sleep.
[13:44:10] devdazed: has joined #RubyOnRails
[13:44:10] devdazed: has joined #ruby
[21:54:33] devdazed: Quit: Computer has gone to sleep.
[22:59:50] devdazed: has joined #RubyOnRails
[22:59:50] devdazed: has joined #ruby

2015-08-19

[01:24:46] devdazed: has joined #RubyOnRails
[01:24:46] devdazed: has joined #ruby
[03:57:17] devdazed: Quit: Computer has gone to sleep.
[14:33:01] devdazed: has joined #ruby
[14:33:02] devdazed: has joined #RubyOnRails
[15:01:42] devdazed: Quit: Computer has gone to sleep.
[16:37:32] devdazed: has joined #RubyOnRails
[16:37:32] devdazed: has joined #ruby
[17:07:04] devdazed: Quit: Computer has gone to sleep.
[19:20:04] devdazed: has joined #ruby
[19:20:05] devdazed: has joined #RubyOnRails
[20:18:46] devdazed: Quit: Computer has gone to sleep.
[20:20:28] devdazed: has joined #ruby
[20:20:29] devdazed: has joined #RubyOnRails
[20:26:22] devdazed: Quit: Computer has gone to sleep.
[20:28:07] devdazed: has joined #RubyOnRails
[20:28:07] devdazed: has joined #ruby
[20:28:19] devdazed: Client Quit
[21:12:42] devdazed: has joined #RubyOnRails
[21:12:42] devdazed: has joined #ruby
[21:15:36] devdazed: Client Quit
[21:39:33] devdazed: has joined #ruby
[21:39:34] devdazed: has joined #RubyOnRails
[22:09:23] devdazed: Read error: Connection reset by peer
[22:10:22] devdazed: has joined #RubyOnRails
[22:10:22] devdazed: has joined #ruby

2015-08-18

[13:27:21] devdazed: has joined #RubyOnRails
[13:27:21] devdazed: has joined #ruby
[21:44:27] devdazed: Ping timeout: 240 seconds

2015-08-17

[15:31:40] devdazed: when including a module, is it possible to have the class it is getting included in evaluated first? the module I am including does an "alias_method" and the methods it is aliasing have yet to exist. I can put the call in the bottom of the class but that really looks awkward
[15:31:52] devdazed: basically, the pattern is "include Instrumenter" then "instrument :somemethod"
[15:32:04] devdazed: the "instrument" method is the one doing the aliasing
[15:32:06] devdazed: it aliases the method getting instrumented to "old_method_name" and calls out to it in the wrapped instrumented method
[15:35:28] devdazed: shevy: ill give that a shot, thanks
[15:38:00] devdazed: it looks like this isfor inheritance and net really mixing, or am i wrong?
[15:39:18] devdazed: i think the chain looks different with mixins
[17:56:10] devdazed: shevy: Antiarc: I was able to accomplish what i needed using ruby's new prepend
[18:02:18] devdazed: shevy: instead of aliasing the method, I override it and prepend the mixin so it comes first in the ancestor chain
[22:35:36] devdazed: Ping timeout: 256 seconds