chrissonar

Activity Graph

Page 1 of 2 | Next »

2016-06-20

[18:36:26] chrissonar: has joined #RubyOnRails
[20:24:26] chrissonar: Remote host closed the connection

2016-06-07

[08:23:59] chrissonar: has joined #RubyOnRails
[08:24:08] chrissonar: has joined #ruby
[08:24:40] chrissonar: is it valid to claim "classes are constants" from the Ruby perspective?
[08:26:15] chrissonar: jhass, well. classes are objects of the class Class.
[14:35:52] chrissonar: Remote host closed the connection

2016-04-28

[06:07:09] chrissonar: has joined #RubyOnRails

2016-04-01

[19:07:34] chrissonar: has joined #RubyOnRails
[20:15:29] chrissonar: Remote host closed the connection

2016-03-28

[16:56:22] chrissonar: has joined #RubyOnRails
[20:20:41] chrissonar: Remote host closed the connection

2016-03-27

[10:08:21] chrissonar: has joined #RubyOnRails
[10:08:21] chrissonar: has joined #ruby
[10:50:52] chrissonar: I use RSpec shared_examples for testing a module https://gist.github.com/christianrolle/31ccc0111ed96ea4ac36
[10:50:56] chrissonar: I use RSpec share_example for testing a module https://gist.github.com/christianrolle/31ccc0111ed96ea4ac36
[10:51:09] chrissonar: Running 'rspec spec/person_spec.rb I expected 1 failure since the module was not included in Person yet. But there is 1 green example instead?
[10:57:53] chrissonar: ropeney, I more suspect the test not running in the scope of Person, but HumanizableUnit instead. I seeem to screw it up, didn't I?
[10:58:41] chrissonar: what about described_class?
[11:02:12] chrissonar: ropeney, well. did you see that I was testing HumanizableUnit? O.K. those tests will always be alright, since the module was included there. But I didn't knew, I wanted wanted to test the class Person (and others) instead.
[11:02:20] chrissonar: described_class solves my issue. thank you
[13:06:06] chrissonar: Ping timeout: 246 seconds
[14:46:19] chrissonar: has joined #RubyOnRails
[14:46:20] chrissonar: has joined #ruby
[15:47:52] chrissonar: Remote host closed the connection

2016-03-15

[13:30:19] chrissonar: has joined #RubyOnRails
[13:45:22] chrissonar: How to work around immediate SQL statements when assigning has_many ids, like: https://gist.github.com/christianrolle/e65e7563735253b463da
[13:50:55] chrissonar: arup_r, attributes= is just an alias for assign_attributes
[13:51:43] chrissonar: arup_r, and therefore it does not work.
[13:52:29] chrissonar: arup_r, nice :)
[13:54:03] chrissonar: tbuehlmann, this is caught by the validation, which prevents it from saving. but the issue is the task_ids, which then at hits point are already removed.
[13:54:17] chrissonar: at this point
[13:54:52] chrissonar: tbuehlmann, is the only option to got the persistence-object-route?
[13:55:47] chrissonar: arup_r, all attributes are in just one hash. it think it is pretty nasty to slice the hash before assignment, isn't it?
[13:57:06] chrissonar: arup_r, because accepts_nested_attributes is for creating/ updating entire associated objects in the scope of (say Person). I only want to assign/remove ids.
[13:57:32] chrissonar: arup_r, what about a persistnce object then? is it overkill?
[15:24:30] chrissonar: Remote host closed the connection

2016-02-19

[07:55:41] chrissonar: has joined #RubyOnRails
[07:56:12] chrissonar: do you know any pre packaged (with Gems set up like RSpec, Devise ...) Ruby on Rails distributions?
[13:38:30] chrissonar: chrisarcand, already dealing with the rails_composer
[13:38:39] chrissonar: but thanks :)
[14:39:00] chrissonar: how to secure a destroy link with an authenticity_token?
[21:16:57] chrissonar: Remote host closed the connection

2016-02-17

[07:43:18] chrissonar: has joined #RubyOnRails

2016-01-16

[18:37:24] chrissonar: has joined #RubyOnRails
[22:10:43] chrissonar: Remote host closed the connection

2016-01-08

[13:57:01] chrissonar: has joined #RubyOnRails
[13:58:35] chrissonar: my twitter share link doesn't work despite existing meta tags: https://www.chrisrolle.com/blog/rendering-collections . the twitte rcard validator also claims everything is alrigt. but no sharing...
[14:00:36] chrissonar: it's weird, becuase on localhost the twitter sharing link opens the expected sharing window, but not in production.
[14:01:25] chrissonar: # Disallow: /
[14:01:25] chrissonar: my robots.txt looks like: # User-agent: *
[14:08:42] chrissonar: dbugger this stuff is presentation stuff.
[14:08:58] chrissonar: therefore I'd put it into a presenter/decorator.
[14:11:51] chrissonar: dbugger, yeah ddv is right. that would certainly be sufficient.
[14:12:05] chrissonar: maybe putting it into a presenter would be some kind of overhead.
[14:15:55] chrissonar: I guess ddv mean en-us de etc
[15:41:06] chrissonar: Remote host closed the connection

2015-11-19

[06:17:56] chrissonar: has joined #RubyOnRails
[06:17:56] chrissonar: has joined #ruby
[08:47:17] chrissonar: Quit: Verlassend

2015-11-18

[06:15:30] chrissonar: has joined #ruby
[06:15:31] chrissonar: has joined #RubyOnRails
[15:18:49] chrissonar: Read error: Connection reset by peer

2015-11-17

[05:32:57] chrissonar: has joined #RubyOnRails
[15:36:52] chrissonar: Remote host closed the connection

2015-11-16

[06:11:37] chrissonar: has joined #ruby
[06:11:38] chrissonar: has joined #RubyOnRails
[15:20:25] chrissonar: Remote host closed the connection

2015-11-13

[06:09:35] chrissonar: has joined #RubyOnRails
[18:02:15] chrissonar: Remote host closed the connection

2015-11-12

[06:23:30] chrissonar: has joined #ruby
[06:23:31] chrissonar: has joined #RubyOnRails
[15:21:08] chrissonar: Remote host closed the connection

2015-11-11

[06:13:31] chrissonar: has joined #RubyOnRails
[06:13:31] chrissonar: has joined #ruby
[15:22:08] chrissonar: Remote host closed the connection

2015-11-10

[05:59:57] chrissonar: has joined #RubyOnRails
[08:07:38] chrissonar: Remote host closed the connection
[08:14:13] chrissonar: has joined #RubyOnRails
[15:26:30] chrissonar: Remote host closed the connection

2015-11-09

[06:19:42] chrissonar: has joined #ruby
[06:19:43] chrissonar: has joined #RubyOnRails
[15:21:21] chrissonar: Remote host closed the connection

2015-11-06

[06:14:27] chrissonar: has joined #RubyOnRails
[15:20:27] chrissonar: Remote host closed the connection

2015-11-05

[06:01:21] chrissonar: has joined #RubyOnRails
[11:23:18] chrissonar: since the "scoped" method of ActiveRecord::NamedScope::ClassMethods was removed in rails4, what to return instead, when the named scope decides to do nothing?
[11:24:57] chrissonar: tbuehlmann, like e.g. if the passed argument is nil, then do not append a condition.
[11:25:47] chrissonar: tbuehlmann, e.g. in former times id did: def self.foo(tag_ids=[]); return scoped if tag_ids.empty?; where.not id: tag_ids; end
[11:26:00] chrissonar: tbuehlmann, but scoped is removed from rails4
[11:26:51] chrissonar: aah. I#ll try that
[11:30:10] chrissonar: tbuehlmann, thanks a lot! it works like a charm.
[15:42:29] chrissonar: Remote host closed the connection

2015-11-04

[06:20:33] chrissonar: has joined #RubyOnRails
[06:20:33] chrissonar: has joined #ruby
[15:20:52] chrissonar: Remote host closed the connection

2015-11-03

[12:13:46] chrissonar: has joined #ruby
[12:13:47] chrissonar: has joined #RubyOnRails
[15:18:57] chrissonar: Remote host closed the connection

2015-10-30

[05:10:29] chrissonar: has joined #RubyOnRails
[10:28:06] chrissonar: Quit: Verlassend
[10:30:34] chrissonar: has joined #RubyOnRails
[10:41:20] chrissonar: has joined #RubyOnRails
[20:52:43] chrissonar: Read error: Connection reset by peer

2015-10-29

[06:22:03] chrissonar: has joined #RubyOnRails
[06:22:03] chrissonar: has joined #ruby
[15:20:14] chrissonar: Remote host closed the connection

2015-10-28

[06:21:47] chrissonar: has joined #RubyOnRails
[06:21:47] chrissonar: has joined #ruby
[15:19:26] chrissonar: Remote host closed the connection

2015-10-27

[07:07:20] chrissonar: has joined #RubyOnRails
[15:00:39] chrissonar: Remote host closed the connection
[16:15:44] chrissonar: has joined #RubyOnRails
[20:18:42] chrissonar: Remote host closed the connection

2015-10-26

[06:26:23] chrissonar: has joined #ruby
[06:26:24] chrissonar: has joined #RubyOnRails
[15:18:21] chrissonar: Remote host closed the connection

2015-10-23

[05:18:10] chrissonar: has joined #RubyOnRails
[06:51:31] chrissonar: Remote host closed the connection
[06:51:53] chrissonar: has joined #RubyOnRails
[14:45:55] chrissonar: Remote host closed the connection

2015-10-22

[05:24:17] chrissonar: has joined #RubyOnRails
[05:24:17] chrissonar: has joined #ruby
[14:17:21] chrissonar: Remote host closed the connection

2015-10-21

[05:21:12] chrissonar: has joined #RubyOnRails
[05:21:12] chrissonar: has joined #ruby
[14:18:01] chrissonar: Remote host closed the connection

2015-10-20

[06:16:44] chrissonar: has joined #RubyOnRails
[14:33:31] chrissonar: Remote host closed the connection

2015-10-19

[05:54:01] chrissonar: has joined #ruby
[05:54:02] chrissonar: has joined #RubyOnRails
[14:20:26] chrissonar: Remote host closed the connection

2015-10-16

[06:20:15] chrissonar: has joined #RubyOnRails
[14:40:30] chrissonar: Remote host closed the connection

2015-10-15

[05:14:00] chrissonar: has joined #RubyOnRails
[05:14:00] chrissonar: has joined #ruby
[14:21:15] chrissonar: Remote host closed the connection

2015-10-14

[05:11:08] chrissonar: has joined #RubyOnRails
[05:11:08] chrissonar: has joined #ruby
[05:12:17] chrissonar: has joined #RubyOnRails
[05:12:17] chrissonar: has joined #ruby
[12:05:47] chrissonar: Ping timeout: 252 seconds
[12:22:30] chrissonar: has joined #ruby
[12:22:30] chrissonar: has joined #RubyOnRails
[14:21:12] chrissonar: Remote host closed the connection

2015-10-13

[05:46:10] chrissonar: has joined #RubyOnRails
[14:28:47] chrissonar: Remote host closed the connection

2015-10-12

[05:11:02] chrissonar: has joined #RubyOnRails
[05:11:02] chrissonar: has joined #ruby
[14:19:54] chrissonar: Remote host closed the connection
[19:21:36] chrissonar: has joined #RubyOnRails
[19:23:19] chrissonar: I use githubs redcarpet gem for markdown. I expected to return an HTML wit pr tag having several span tags inside, but it only returns a code tag (without any spans). Any idea, what this issue is about?
[20:28:17] chrissonar: Remote host closed the connection

2015-10-10

[05:34:04] chrissonar: Remote host closed the connection

2015-10-09

[05:51:11] chrissonar: has joined #RubyOnRails

2015-10-08

[05:22:54] chrissonar: has joined #RubyOnRails
[05:22:54] chrissonar: has joined #ruby
[14:19:42] chrissonar: Remote host closed the connection
[18:28:27] chrissonar: has joined #RubyOnRails
[18:29:10] chrissonar: which syntax highlightning gem do you advise for Heroku hosted application?
[18:30:01] chrissonar: I think I don't want to rely on externals like python then.
[18:30:20] chrissonar: is codera the best option?
[18:32:58] chrissonar: elaptics, I think I want backend parsing.
[18:35:42] chrissonar: what about rouge? coderay does not seem to be maintained anymore
[20:26:43] chrissonar: Remote host closed the connection

2015-10-07

[05:12:35] chrissonar: has joined #RubyOnRails
[05:12:35] chrissonar: has joined #ruby
[14:20:52] chrissonar: Remote host closed the connection

2015-10-06

[14:23:38] chrissonar: Remote host closed the connection

2015-10-01

[05:02:59] chrissonar: has joined #RubyOnRails
[13:46:32] chrissonar: Do you test, if there is an association like has_many set in a model?
[14:32:26] chrissonar: Remote host closed the connection
[17:40:53] chrissonar: has joined #RubyOnRails
[19:24:28] chrissonar: Remote host closed the connection

2015-09-29

[06:13:28] chrissonar: has joined #RubyOnRails
[15:18:36] chrissonar: Remote host closed the connection

2015-09-28

[08:20:15] chrissonar: has joined #RubyOnRails
[08:20:15] chrissonar: has joined #ruby
[10:34:35] chrissonar: Ping timeout: 250 seconds
[10:40:44] chrissonar: has joined #ruby
[10:40:44] chrissonar: has joined #RubyOnRails
[14:23:03] chrissonar: Remote host closed the connection

2015-09-11

[11:30:38] chrissonar: has joined #RubyOnRails
[12:07:00] chrissonar: Remote host closed the connection

2015-09-04

[19:32:49] chrissonar: has joined #RubyOnRails
[19:32:49] chrissonar: has joined #ruby
[20:20:50] chrissonar: Remote host closed the connection

2015-08-28

[09:29:44] chrissonar: has joined #RubyOnRails
[09:51:34] chrissonar: Remote host closed the connection
[11:28:35] chrissonar: has joined #RubyOnRails
[12:16:51] chrissonar: Remote host closed the connection
[20:21:10] chrissonar: has joined #RubyOnRails
[20:21:32] chrissonar: has joined #RubyOnRails
[20:21:48] chrissonar: has joined #ruby
[20:22:09] chrissonar: has joined #RubyOnRails
[20:23:00] chrissonar: has joined #RubyOnRails
[20:25:08] chrissonar: has joined #RubyOnRails
[20:25:08] chrissonar: has joined #ruby

2015-08-26

[07:03:07] chrissonar: has joined #RubyOnRails
[20:17:15] chrissonar: Remote host closed the connection

2015-08-25

[05:47:28] chrissonar: has joined #RubyOnRails
[09:23:11] chrissonar: Ping timeout: 240 seconds
[09:35:29] chrissonar: has joined #RubyOnRails
[15:21:58] chrissonar: Remote host closed the connection

2015-08-24

[05:12:42] chrissonar: has joined #RubyOnRails
[05:12:42] chrissonar: has joined #ruby
[14:19:03] chrissonar: Remote host closed the connection

2015-08-20

[05:39:40] chrissonar: has joined #RubyOnRails
[19:57:29] chrissonar: Remote host closed the connection

2015-08-19

[05:11:24] chrissonar: has joined #RubyOnRails
[05:11:24] chrissonar: has joined #ruby
[14:15:54] chrissonar: Remote host closed the connection

2015-08-18

[05:09:10] chrissonar: has joined #RubyOnRails
[05:09:10] chrissonar: has joined #ruby
[14:22:47] chrissonar: Remote host closed the connection

2015-08-17

[06:17:28] chrissonar: has joined #RubyOnRails
[15:32:32] chrissonar: Remote host closed the connection

2015-08-13

[06:02:04] chrissonar: has joined #RubyOnRails
[16:09:59] chrissonar: Remote host closed the connection

2015-08-12

[05:37:18] chrissonar: has joined #ruby
[05:37:19] chrissonar: has joined #RubyOnRails
[16:05:40] chrissonar: Remote host closed the connection

2015-08-11

[06:11:39] chrissonar: has joined #RubyOnRails
[16:07:16] chrissonar: Remote host closed the connection

2015-08-10

[05:12:59] chrissonar: has joined #ruby
[05:13:00] chrissonar: has joined #RubyOnRails
[14:20:22] chrissonar: Remote host closed the connection

2015-08-06

[05:11:24] chrissonar: has joined #RubyOnRails
[05:11:24] chrissonar: has joined #ruby
[14:18:04] chrissonar: Remote host closed the connection

2015-08-05

[06:07:17] chrissonar: has joined #RubyOnRails
[06:32:04] chrissonar: Read error: Permission denied
[06:32:29] chrissonar: has joined #RubyOnRails
[16:01:14] chrissonar: Remote host closed the connection

2015-08-04

[06:11:10] chrissonar: has joined #RubyOnRails
[14:53:00] chrissonar: Remote host closed the connection