rbr

Activity Graph

Page 1 of 2 | Next »

2016-07-28

[15:55:32] rbr: Ping timeout: 258 seconds

2016-07-27

[07:43:41] rbr: has joined #RubyOnRails
[07:43:41] rbr: has joined #ruby

2016-07-22

[15:38:54] rbr: Disconnected by services

2016-07-21

[10:14:41] rbr: kitsuneyo: The console returns the new CreativeCommons object. It's just that it has the cc_data instance_variable, which contains all the yaml-data, that causes it to be printed.
[10:15:35] rbr: kitsuneyo: You can use a class-method "def self.all".

2016-07-20

[07:07:49] rbr: has joined #RubyOnRails
[07:07:49] rbr: has joined #ruby
[08:18:23] rbr: alfiemax: Try absolute path
[08:20:45] rbr: alfiemax: Eg Rails.root.join('public', 'videos')
[08:21:00] rbr: Not sure about the recursive parth though
[08:34:39] rbr: Oh wait, you're talking about stuff in the assets-folder
[08:36:13] rbr: alfiemax: You can require those with the application.js file in app/assets/javascripts/
[09:01:27] rbr: _bart: Don't think so
[09:01:40] rbr: dminuoso: There is :P
[10:11:48] rbr: _bart: No problem, they are easy to create/query yourself though.

2016-07-19

[10:03:25] rbr: mr_hubot: !code
[10:09:13] rbr: helpa doesn't like me :/
[10:10:16] rbr: Hehe, I figured ;))
[10:21:48] rbr: universa1: Harsch!
[16:31:52] rbr: Ping timeout: 252 seconds

2016-07-15

[14:04:01] rbr: johnkpaul: Apart from if your case if valid, a with_options conditional would be a possibility for such a usecase: http://guides.rubyonrails.org/active_record_validations.html#grouping-conditional-validations
[14:20:55] rbr: You too!

2016-07-14

[15:38:15] rbr: Disconnected by services
[15:38:39] rbr: has joined #ruby
[15:38:40] rbr: has joined #RubyOnRails

2016-07-12

[13:50:42] rbr: has joined #ruby
[13:50:43] rbr: has joined #RubyOnRails

2016-07-03

[17:27:14] rbr: has joined #RubyOnRails
[17:27:14] rbr: has joined #ruby

2016-07-02

[01:08:01] rbr: has joined #RubyOnRails
[01:08:01] rbr: has joined #ruby
[01:44:16] rbr: Ping timeout: 264 seconds
[01:48:35] rbr: has joined #RubyOnRails
[01:48:35] rbr: has joined #ruby
[02:34:14] rbr: Ping timeout: 272 seconds
[13:07:12] rbr: has joined #RubyOnRails
[13:07:12] rbr: has joined #ruby
[22:41:32] rbr: Ping timeout: 244 seconds

2016-06-28

[09:25:41] rbr: has joined #RubyOnRails
[09:25:41] rbr: has joined #ruby
[10:38:40] rbr: Ping timeout: 252 seconds

2016-06-27

[13:44:41] rbr: has joined #RubyOnRails
[13:44:41] rbr: has joined #ruby
[14:08:04] rbr: Ping timeout: 260 seconds
[15:04:38] rbr: has joined #RubyOnRails
[15:04:38] rbr: has joined #ruby
[15:15:12] rbr: Ping timeout: 244 seconds

2016-06-25

[22:24:45] rbr: has joined #RubyOnRails
[22:24:45] rbr: has joined #ruby
[23:03:45] rbr: Ping timeout: 276 seconds

2016-06-24

[15:32:15] rbr: Ping timeout: 276 seconds
[18:15:05] rbr: has joined #RubyOnRails
[18:15:05] rbr: has joined #ruby
[18:44:33] rbr: Ping timeout: 240 seconds
[20:17:27] rbr: has joined #RubyOnRails
[20:17:27] rbr: has joined #ruby
[21:03:14] rbr: Ping timeout: 244 seconds
[23:19:37] rbr: has joined #RubyOnRails
[23:19:37] rbr: has joined #ruby
[23:52:24] rbr: Ping timeout: 260 seconds

2016-06-22

[11:01:16] rbr: Ping timeout: 244 seconds
[12:46:19] rbr: has joined #RubyOnRails
[12:46:19] rbr: has joined #ruby

2016-06-21

[09:47:02] rbr: lalalaaa: you're missing a function-call after the reject to which you passs the block
[09:47:24] rbr: eg: "...).each do |status|"
[11:43:51] rbr: lalalaaa universa1: there was a second block being passed so I assumed there was some secondary processing to be done after the reject ;)
[11:45:10] rbr: lalalaaa: the follow-emthod accepts a block, that;s where the 'do |status|'comes from: https://github.com/tweetstream/tweetstream/blob/27c5f411627dc30ce1268923fc9b408652f98050/lib/tweetstream/client.rb#L109
[11:45:41] rbr: and why reject appears to 'work'
[13:35:46] rbr: lalalaaa: I'm not sure. Is there even a way to know if a tweet is a retweet?
[13:36:24] rbr: lalalaaa: concerning retweets, as linked before, there is only a method to return all retweets
[13:48:37] rbr: lalalaaa: Where? In the status/message itself?
[13:49:13] rbr: lalalaaa: Can't you use that for filtering them then?
[13:50:31] rbr: lalalaaa: I very much agree, but other options seems to lack :P
[13:50:54] rbr: s/seems/seem/
[13:52:20] rbr: lalalaaa: Does it always appear at the same location within the string?
[13:54:33] rbr: lalalaaa: Lookup .start_with?
[13:54:47] rbr: Or .starts_with? if you're within Rails
[13:56:59] rbr: A regex wouldn't be wrong, but this is probably more clear/optimized.
[14:31:10] rbr: pontiki: But starts_with? isn't. Notice the extra s ;)
[14:39:41] rbr: arup_r: If newlines are the issue, it might help to \escape each line-end
[14:40:36] rbr: Not sure how that behaves within a heredoc though
[14:49:52] rbr: .companies.build I reckon ;)
[14:52:00] rbr: Ankhers: Cool. These docs might be handy for future reference to see what the posibilites are: http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_many

2016-06-15

[07:23:30] rbr: hanalsx: they shouldn't; 'cubed' stays 1 within the loop
[07:24:33] rbr: because 1 + 1 + 1 = 3 :))
[07:25:07] rbr: hehe, np

2016-06-14

[08:52:27] rbr: has joined #RubyOnRails
[08:52:27] rbr: has joined #ruby
[08:58:05] rbr: you might need rake assets:clobber
[11:34:11] rbr: ghr: can you show us the generated SQL?
[11:46:52] rbr: ghr: by any chance you had a default_scope on comments?
[12:36:46] rbr: ghr: Heh ok, I suspected something like that ;)
[13:35:57] rbr: voidDotClass: yup

2016-06-13

[06:36:24] rbr: Read error: Connection reset by peer
[06:39:01] rbr: has joined #ruby
[06:39:02] rbr: has joined #RubyOnRails
[13:20:27] rbr: Ping timeout: 276 seconds
[13:22:37] rbr: has joined #RubyOnRails
[13:22:37] rbr: has joined #ruby

2016-06-10

[07:08:20] rbr: has joined #RubyOnRails
[07:08:20] rbr: has joined #ruby
[09:14:57] rbr: vedu: config.paths['log'].first is also possible
[22:41:47] rbr: SteenJobs: image_path/image_url

2016-06-09

[11:47:54] rbr: has joined #RubyOnRails
[11:47:54] rbr: has joined #ruby
[16:16:57] rbr: Ping timeout: 276 seconds
[17:03:07] rbr: has joined #RubyOnRails
[17:03:07] rbr: has joined #ruby
[17:47:18] rbr: Ping timeout: 276 seconds

2016-06-08

[11:48:46] rbr: nettoweb: It can save you from a lot of future hassle ;)
[16:12:52] rbr: Ping timeout: 252 seconds

2016-06-07

[07:41:24] rbr: gamov: can you show us an example?
[08:31:48] rbr: gamov: how are you generating that query?
[09:48:00] rbr: gamov: in complex queries like that i sometimes .to_sql the AR-relation to correctly merge it in another
[09:49:17] rbr: I'm not saying it is good practise but it helped me reduce complexity while still using AR-functionality
[09:51:41] rbr: gamov: Hmm that sounds odd, I'm not familiar with rails 'analyzing' the plain-SQL you are trying to merge. Doesn't make sense
[09:52:28] rbr: gamov: how are you merging those queries? Can you show some code?
[10:09:55] rbr: gamov: If you only run "accessible(ShippingItem).joins(shipment: :shipment_booking).to_a", what is the generated sql?
[10:10:04] rbr: gamov: Alright :)
[10:12:08] rbr: gamov: Well, for the attempt then. No problem
[13:43:13] rbr: wilsonc91: Is it a single condition you want the list for or should there be multiple lists?
[13:57:28] rbr: wilsonc91: How about Store.joins(:account).where(account: { configuration_key: 'au' }) ?

2016-06-03

[12:16:37] rbr: Ping timeout: 244 seconds
[12:17:03] rbr: has joined #ruby
[12:17:04] rbr: has joined #RubyOnRails
[14:27:57] rbr: Ping timeout: 276 seconds
[14:31:13] rbr: has joined #RubyOnRails
[14:31:13] rbr: has joined #ruby

2016-06-02

[10:15:24] rbr: ACTION adds arup_r to ignore list.
[10:17:03] rbr: arup_r: ;)

2016-06-01

[07:03:14] rbr: has joined #RubyOnRails
[07:03:14] rbr: has joined #ruby

2016-05-31

[07:07:31] rbr: has joined #RubyOnRails
[07:07:31] rbr: has joined #ruby
[10:25:07] rbr: GreekFreak: the solution to the injection-question is already being used elsewhere in that query; placeholders (:company_id)
[10:25:37] rbr: queries*
[15:34:16] rbr: Disconnected by services
[15:34:40] rbr: has joined #RubyOnRails
[15:34:40] rbr: has joined #ruby
[16:43:02] rbr: Ping timeout: 244 seconds

2016-05-29

[19:55:11] rbr: has joined #ruby
[19:55:12] rbr: has joined #RubyOnRails
[20:20:35] rbr: Ping timeout: 258 seconds

2016-05-28

[21:00:35] rbr: has joined #RubyOnRails
[21:00:35] rbr: has joined #ruby
[21:56:40] rbr: Ping timeout: 260 seconds

2016-05-27

[15:33:17] rbr: Disconnected by services
[15:33:41] rbr: has joined #RubyOnRails
[15:33:41] rbr: has joined #ruby
[15:37:57] rbr: Ping timeout: 244 seconds
[15:48:14] rbr: has joined #RubyOnRails
[15:48:14] rbr: has joined #ruby
[16:50:04] rbr: Ping timeout: 240 seconds
[17:16:33] rbr: has joined #RubyOnRails
[17:16:33] rbr: has joined #ruby
[18:12:52] rbr: Ping timeout: 252 seconds
[18:16:51] rbr: has joined #RubyOnRails
[18:16:51] rbr: has joined #ruby
[21:39:17] rbr: Ping timeout: 244 seconds
[21:55:49] rbr: has joined #RubyOnRails
[21:55:49] rbr: has joined #ruby
[22:17:34] rbr: Ping timeout: 240 seconds

2016-05-24

[14:42:39] rbr: *.net *.split
[15:40:22] rbr: has joined #RubyOnRails
[15:40:22] rbr: has joined #ruby

2016-05-23

[11:48:49] rbr: That solnic-article caused quite some comments on HN: https://news.ycombinator.com/item?id=11749203
[11:49:03] rbr: Interesting to see the various viewpoints.
[12:00:00] rbr: you were using <% ?
[12:00:32] rbr: oh sorry, misread that one
[22:53:37] rbr: *.net *.split
[22:56:23] rbr: has joined #RubyOnRails
[22:56:23] rbr: has joined #ruby

2016-05-19

[12:30:44] rbr: just like in normal AR-usage

2016-05-18

[13:24:43] rbr: has joined #RubyOnRails
[13:24:43] rbr: has joined #ruby

2016-05-13

[15:36:25] rbr: Ping timeout: 252 seconds

2016-05-12

[07:25:48] rbr: has joined #RubyOnRails
[07:25:48] rbr: has joined #ruby

2016-05-11

[08:55:44] rbr: has joined #RubyOnRails
[08:55:44] rbr: has joined #ruby
[14:42:20] rbr: Ping timeout: 276 seconds
[14:42:47] rbr: has joined #ruby
[14:42:48] rbr: has joined #RubyOnRails
[14:47:07] rbr: Ping timeout: 252 seconds
[14:48:15] rbr: has joined #RubyOnRails
[14:48:15] rbr: has joined #ruby

2016-05-03

[11:23:36] rbr: Ping timeout: 240 seconds
[11:27:06] rbr: has joined #RubyOnRails
[11:27:06] rbr: has joined #ruby
[11:56:57] rbr: Ping timeout: 240 seconds
[11:58:04] rbr: has joined #RubyOnRails
[11:58:04] rbr: has joined #ruby
[15:32:36] rbr: Ping timeout: 240 seconds
[15:37:08] rbr: has joined #RubyOnRails
[15:37:08] rbr: has joined #ruby
[15:40:31] rbr: Disconnected by services
[15:43:26] rbr: has joined #RubyOnRails
[15:43:26] rbr: has joined #ruby
[15:47:36] rbr: Ping timeout: 244 seconds

2016-05-02

[07:04:35] rbr: has joined #RubyOnRails
[07:04:35] rbr: has joined #ruby

2016-04-29

[15:58:18] rbr: has joined #ruby
[15:58:19] rbr: has joined #RubyOnRails
[16:21:33] rbr: Ping timeout: 276 seconds
[16:56:34] rbr: has joined #RubyOnRails
[16:56:34] rbr: has joined #ruby
[21:01:13] rbr: Ping timeout: 252 seconds
[22:37:53] rbr: has joined #ruby
[22:37:54] rbr: has joined #RubyOnRails
[22:44:37] rbr: Ping timeout: 240 seconds

2016-04-24

[22:38:41] rbr: has joined #RubyOnRails
[22:38:41] rbr: has joined #ruby
[23:54:41] rbr: Ping timeout: 250 seconds

2016-04-23

[21:39:23] rbr: has joined #ruby
[21:39:24] rbr: has joined #RubyOnRails
[23:51:03] rbr: Ping timeout: 240 seconds

2016-04-22

[14:31:39] rbr: Disconnected by services
[14:32:03] rbr: has joined #RubyOnRails
[14:32:03] rbr: has joined #ruby
[14:36:21] rbr: Ping timeout: 246 seconds
[16:06:47] rbr: has joined #RubyOnRails
[16:06:47] rbr: has joined #ruby
[16:20:54] rbr: Ping timeout: 260 seconds

2016-04-20

[22:27:46] rbr: i4: depends on the case; is it a fixed list? Should it be dynamic?

2016-04-18

[08:02:34] rbr: has joined #RubyOnRails
[08:02:34] rbr: has joined #ruby
[08:05:27] rbr: Disconnected by services
[08:05:51] rbr: has joined #RubyOnRails
[08:05:51] rbr: has joined #ruby
[08:06:35] rbr: Client Quit
[08:20:50] rbr: has joined #RubyOnRails
[08:20:50] rbr: has joined #ruby
[09:30:08] rbr: Disconnected by services
[09:30:32] rbr: has joined #RubyOnRails
[09:30:32] rbr: has joined #ruby
[11:42:28] rbr: Ping timeout: 264 seconds
[11:42:58] rbr: has joined #ruby
[11:42:59] rbr: has joined #RubyOnRails