redondo

Activity Graph

Page 1 of 1

2016-05-26

[15:18:22] redondo: has joined #RubyOnRails
[15:20:43] redondo: Hi all. Thanks for being there. Question: generators usage produce typical output: "create path/to/file", "insert ...", "gsub ..."... What does mean "gsub"?
[21:08:57] redondo: Remote host closed the connection

2015-11-26

[07:56:11] redondo: *.net *.split
[07:58:47] redondo: has joined #RubyOnRails
[19:01:44] redondo: *.net *.split

2015-11-25

[21:49:50] redondo: Ping timeout: 260 seconds
[22:52:16] redondo: has joined #RubyOnRails

2015-11-13

[16:31:49] redondo: has joined #RubyOnRails

2015-09-29

[01:23:11] redondo: Ping timeout: 246 seconds
[01:25:48] redondo: has joined #RubyOnRails
[01:25:50] redondo: has joined #ruby
[03:22:05] redondo: Ping timeout: 250 seconds

2015-09-28

[01:38:49] redondo: Ping timeout: 250 seconds
[18:14:50] redondo: has joined #RubyOnRails
[18:14:52] redondo: has joined #ruby

2015-09-25

[01:08:19] redondo: Ping timeout: 250 seconds
[01:10:24] redondo: has joined #RubyOnRails
[01:10:26] redondo: has joined #ruby
[03:11:00] redondo: Ping timeout: 240 seconds
[03:11:19] redondo: has joined #RubyOnRails
[03:11:21] redondo: has joined #ruby
[18:39:48] redondo: Ping timeout: 264 seconds
[18:40:57] redondo: has joined #RubyOnRails
[18:40:59] redondo: has joined #ruby
[21:01:13] redondo: Ping timeout: 265 seconds
[21:02:41] redondo: has joined #RubyOnRails
[21:02:43] redondo: has joined #ruby

2015-09-24

[13:49:17] redondo: Ping timeout: 250 seconds
[13:53:35] redondo: has joined #RubyOnRails
[13:53:36] redondo: has joined #ruby
[14:04:48] redondo: Ping timeout: 246 seconds
[14:06:33] redondo: has joined #RubyOnRails
[14:06:35] redondo: has joined #ruby

2015-09-23

[00:41:49] redondo: Ping timeout: 264 seconds
[02:43:16] redondo: has joined #RubyOnRails
[02:43:18] redondo: has joined #ruby

2015-09-18

[20:05:40] redondo: Ping timeout: 240 seconds
[20:26:13] redondo: has joined #ruby
[20:26:13] redondo: has joined #RubyOnRails
[20:34:40] redondo: Ping timeout: 240 seconds
[20:46:36] redondo: has joined #RubyOnRails
[20:46:37] redondo: has joined #ruby

2015-09-17

[05:36:55] redondo: Ping timeout: 272 seconds
[12:40:54] redondo: has joined #RubyOnRails
[12:40:56] redondo: has joined #ruby
[13:27:22] redondo: Ping timeout: 256 seconds
[15:51:44] redondo: has joined #RubyOnRails
[15:51:46] redondo: has joined #ruby
[21:02:16] redondo: Ping timeout: 260 seconds
[21:02:45] redondo: has joined #RubyOnRails
[21:02:47] redondo: has joined #ruby

2015-09-16

[14:47:50] redondo: Quit: redondo
[14:48:34] redondo: has joined #RubyOnRails
[14:48:35] redondo: has joined #ruby

2015-09-15

[19:19:05] redondo: has joined #ruby
[19:44:24] redondo: Why this returns false? --> "asd" != "asd ".strip
[19:45:31] redondo: jhass: oh, sorry!

2015-09-14

[14:56:14] redondo: has joined #RubyOnRails
[15:00:27] redondo: Hi all. A question about concerns and hope it makes sense: If I include a concern in my model/controller which has the method MyConcern::mymethod! and the model/controller has already a method called "mymethod!", which of the two remains: the concern's method or the model/controller' method?
[15:05:23] redondo: centrx: thanks!
[16:15:07] redondo: Ping timeout: 240 seconds
[16:24:21] redondo: has joined #RubyOnRails
[21:11:12] redondo: Ping timeout: 256 seconds
[21:28:27] redondo: has joined #RubyOnRails

2015-09-10

[01:37:13] redondo: Ping timeout: 244 seconds
[01:38:37] redondo: has joined #RubyOnRails
[14:18:40] redondo: Remote host closed the connection

2015-09-08

[00:25:42] redondo: Ping timeout: 256 seconds
[00:26:46] redondo: has joined #RubyOnRails
[02:30:11] redondo: Ping timeout: 240 seconds
[02:30:49] redondo: has joined #RubyOnRails
[12:48:14] redondo: Ping timeout: 268 seconds
[12:54:44] redondo: has joined #RubyOnRails
[14:40:05] redondo: Ping timeout: 250 seconds
[14:44:40] redondo: has joined #RubyOnRails

2015-09-05

[20:24:59] redondo: Ping timeout: 272 seconds
[21:25:44] redondo: has joined #RubyOnRails

2015-09-01

[14:34:47] redondo: About devise: where could I find the differences between strategies and models?

2015-08-31

[00:33:09] redondo: Ping timeout: 244 seconds
[00:45:33] redondo: has joined #RubyOnRails
[13:29:11] redondo: Ping timeout: 260 seconds
[13:29:55] redondo: has joined #RubyOnRails

2015-08-29

[13:24:58] redondo: *.net *.split
[13:25:17] redondo: has joined #RubyOnRails

2015-08-28

[15:07:29] redondo: Ping timeout: 244 seconds
[15:16:25] redondo: has joined #RubyOnRails
[18:54:47] redondo: Ping timeout: 240 seconds
[18:55:35] redondo: has joined #RubyOnRails

2015-08-27

[16:27:21] redondo: how could I know what modules are in fact being loaded when I start my app server?
[16:28:10] redondo: (btw, sorry: what does mean that "Matz is nice and so we are nice"?)
[16:29:48] redondo: centrx: what it means?
[16:30:23] redondo: ok, get it, thanks.
[16:30:44] redondo: the first question?
[16:30:56] redondo: thanks tubbo
[16:34:05] redondo: I've write a "module MyModule.... end" and want to know if it is being known for my app. So I'm not talking about gems, I think.
[16:36:33] redondo: tubbo: no. The complete story: I'm trying to build an engine following the devise integration pattern, being inspired by this: http://www.toptal.com/ruby-on-rails/rails-engines-in-the-wild-real-world-examples-of-rails-engines-in-action
[16:38:54] redondo: I think it is being required by config/initializers/mymodule.rb
[16:39:02] redondo: but not sure, that's the point

2015-08-26

[20:54:56] redondo: has joined #RubyOnRails
[21:02:36] redondo: Hi all. I'm learning about engines (and rails itself) and how to integrate them within the main app. I've found that using decorators you can override engine's controllers, views, etc??tera, as you want. But I would like to write an engine that, conversely, override main app's controllers, views, etc??tera. Does that make sense?
[21:11:51] redondo: Thanks, let me try: the main app have a controller that do something I would like to do in a different way. Also, this doing things differently implies also differences in views and models.

2015-05-21

[20:38:54] redondo: Quit: redondo

2015-05-20

[19:54:50] redondo: has joined #ruby
[19:55:17] redondo: hi all, what does mean when the irb shows '?' in the prompt?
[19:56:50] redondo: I did something
[19:57:00] redondo: I tried to do a for loop
[19:59:42] redondo: http://pastie.org/10199264
[20:01:30] redondo: bootstrappm: ^^^
[20:04:28] redondo: bootstrappm: so what should be the right syntax in that case?
[20:05:39] redondo: bootstrappm: thanks
[23:37:37] redondo: Ping timeout: 265 seconds
[23:38:34] redondo: has joined #ruby

2015-02-05

[22:25:57] redondo: I have an app that uses devise_ldap_authenticatable. This piece of code: Devise::LDAP::Adapter.get_ldap_param(username,'cn') is taking almost a minute to get answered. I have created an index for the cn field in the ldap without changes in the responde time. Suggentions? Thanks in advance.
[22:30:54] redondo: workmad3: that actually makes a ldap query, which is taken too long, so I created an index in the ldap server for the field queried.
[22:34:13] redondo: workmad3: yeah, the index seems to have no impact. Yes, it takes so using devise. ldapsearch answers inmediately
[22:36:06] redondo: workmad3: not sure how to see if the index is being used.
[22:36:35] redondo: workmad3: almost sure it is not.
[22:38:23] redondo: workmad3: becuase there are a lot of "hdb_search: 11392 does not match filter" entries in the ldap server logs.

2014-08-05

[16:21:46] redondo: In python I do: 1 in [1,2] => True ... How could I do it in ruby?
[16:22:48] redondo: banister_, thanks

2014-08-01

[13:52:24] redondo: what does mean the '!' in a method call, say: method!(args)?
[13:54:04] redondo: so if a method is called method! it is soppused to be succeptible to throw exceptions?
[13:55:33] redondo: wasamasa, thanks
[21:15:13] redondo: how could I know where an objects comes from (its class) when the class have the same name but in fact are different classes?
[21:16:38] redondo: centrx, "the proper name" is object.class?
[21:20:38] redondo: centrx: one posibility is: "class RegistrationsController < Devise::RegistrationsController", and the other is: "class Devise::RegistrationsController < DeviseController"... In the IRB: >> RegistrationsController.class => Class
[21:22:37] redondo: centrx, their content is different, not sure if get you
[21:37:47] redondo: is it the same self.member as @member?
[21:42:29] redondo: centrx, sorry, does that (attr_accessor/attr_reader) has something to do with my last question?
[21:43:29] redondo: Mon_Ouie, thanks
[21:43:45] redondo: centrx, ok
[21:44:14] redondo: and what comes after self. is always a method call?
[21:46:12] redondo: centrx, thanks

2014-05-22

[15:32:06] redondo: in ruby classes, is '@' equivalent to python's 'self', or 'this' in others?
[15:33:27] redondo: hoelzro, what are the differences between them (@ and self)?
[15:34:18] redondo: so I could use this.instance_var and algo @instance_var?
[15:36:39] redondo: in general, it is not good idea to have public accessors, right?
[15:39:19] redondo: segfalt, sorry, dont get it, still starting to know ruby syntax
[15:41:23] redondo: segfalt, ok, thanks.
[15:43:08] redondo: hoelzro, shevy, ok, get it.
[15:43:42] redondo: segfalt, what do you mean by private accesors?
[15:44:58] redondo: segfalt, ok.
[19:18:04] redondo: must always a class name start with uppercase?
[19:21:57] redondo: apeiros, that means that names starting with uppercase are "constant names"? not sure if I get it.
[19:25:38] redondo: apeiros, Why would you want a class not being assigned to a constant?
[19:29:30] redondo: get it, thanks
[20:35:19] redondo: how do you define the ':' operator, as in 'attr_accessor :name'?
[20:37:56] redondo: not sure what it is, sorry
[20:39:16] redondo: shevy, sorry, dont get you
[20:40:42] redondo: shevy, now I do :)
[20:41:11] redondo: so attr_accessor :name is the same as attr_accessor(name) ?
[20:41:39] redondo: attr_accessor :name is the same as attr_accessor(:name)
[20:45:06] redondo: Mon_Ouie, it exists: the ':'?
[20:46:32] redondo: centrx, what does ':'?
[20:46:39] redondo: Mon_Ouie, ok.
[20:48:25] redondo: apeiros, centrx, shevy, get it. thanks, now reading the link centrx posted.
[20:52:13] redondo: why are symbols useful?
[21:59:55] redondo: join @rubyonrails
[22:01:57] redondo: wich is the recomended way to log in development.log from controllers?
[22:07:23] redondo: logger.debug!
[22:12:12] redondo: tubbo, thanks.