centrx

Activity Graph

Page 1 of 95 | Next »

2017-12-21

[18:30:18] centrx: has joined #ruby
[18:30:18] centrx: has joined #RubyonRails-offtopic
[18:30:18] centrx: Changing host
[18:30:18] centrx: has joined #RubyonRails-offtopic
[18:30:18] centrx: has joined #ruby
[18:32:03] centrx: has joined #RubyOnRails

2017-11-30

[18:45:17] centrx: has joined #RubyonRails-offtopic
[18:45:17] centrx: has joined #ruby
[18:45:51] centrx: has joined #RubyOnRails

2017-11-20

[22:22:21] centrx: has joined #ruby
[22:22:21] centrx: has joined #RubyonRails-offtopic
[22:22:21] centrx: Changing host
[22:22:21] centrx: has joined #RubyonRails-offtopic
[22:22:21] centrx: has joined #ruby
[22:22:31] centrx: has joined #RubyOnRails

2017-11-16

[16:19:54] centrx: has joined #ruby
[16:19:54] centrx: has joined #RubyonRails-offtopic
[16:19:54] centrx: Changing host
[16:19:54] centrx: has joined #RubyonRails-offtopic
[16:19:54] centrx: has joined #ruby
[16:20:04] centrx: has joined #RubyOnRails
[17:13:40] centrx: https://medium.com/feature-creep/the-software-engineer-s-guide-to-asserting-office-dominance-ddea7b598df7
[17:24:17] centrx: same as regular if, except the condition is after the statement (postfix)
[17:24:31] centrx: and on the samel ine
[17:35:27] centrx: all math operators are methods in Ruby

2017-11-15

[00:37:34] centrx: nymous: interesting
[01:23:20] centrx: You're running for Congress?
[02:37:34] centrx: Remote host closed the connection
[02:38:11] centrx: has joined #ruby
[02:38:12] centrx: has joined #RubyonRails-offtopic

2017-11-14

[19:56:49] centrx: has joined #ruby
[19:56:49] centrx: has joined #RubyonRails-offtopic
[19:56:49] centrx: Changing host
[19:56:49] centrx: has joined #RubyonRails-offtopic
[19:56:49] centrx: has joined #ruby
[20:16:53] centrx: has joined #RubyOnRails
[21:43:02] centrx: Remote host closed the connection
[22:24:21] centrx: has joined #ruby
[22:24:22] centrx: has joined #ruby
[22:24:22] centrx: has joined #RubyonRails-offtopic
[22:24:22] centrx: Changing host
[22:24:22] centrx: has joined #RubyonRails-offtopic
[22:25:07] centrx: Read error: Connection reset by peer
[22:25:21] centrx: has joined #ruby
[22:25:21] centrx: has joined #RubyonRails-offtopic
[22:25:21] centrx: Changing host
[22:25:21] centrx: has joined #RubyonRails-offtopic
[22:25:21] centrx: has joined #ruby
[22:54:26] centrx: Remote host closed the connection
[23:15:06] centrx: has joined #RubyonRails-offtopic
[23:15:06] centrx: has joined #ruby
[23:16:11] centrx: Client Quit
[23:16:26] centrx: has joined #ruby
[23:16:26] centrx: has joined #RubyonRails-offtopic
[23:16:26] centrx: Changing host
[23:16:26] centrx: has joined #RubyonRails-offtopic
[23:16:26] centrx: has joined #ruby
[23:16:59] centrx: has joined #RubyOnRails

2017-10-25

[00:04:42] centrx: has joined #ruby
[00:04:42] centrx: has joined #RubyonRails-offtopic
[00:04:42] centrx: Changing host
[00:04:42] centrx: has joined #RubyonRails-offtopic
[00:04:42] centrx: has joined #ruby
[00:09:47] centrx: has joined #RubyOnRails

2017-10-04

[16:04:39] centrx: has joined #RubyonRails-offtopic
[16:04:39] centrx: has joined #ruby
[16:04:40] centrx: has joined #RubyonRails-offtopic
[16:04:40] centrx: Changing host
[16:04:41] centrx: has joined #ruby
[16:05:22] centrx: has joined #RubyOnRails

2017-10-03

[15:57:12] centrx: has joined #ruby
[15:57:12] centrx: has joined #RubyonRails-offtopic
[15:57:12] centrx: Changing host
[15:57:12] centrx: has joined #RubyonRails-offtopic
[15:57:12] centrx: has joined #ruby
[15:59:32] centrx: has joined #RubyOnRails
[15:59:48] centrx: has joined #ruby-offtopic
[16:01:00] centrx: soyeomul: Need more info, but first of all Ruby 1.8 is extremely old
[16:01:12] centrx: Handled Unicode differently among other things
[16:12:17] centrx: soyeomul: Ruby 1.8.7 was released 2008, crazy to use it
[17:40:50] centrx: Remote host closed the connection

2017-10-02

[16:58:47] centrx: Changing host
[16:58:47] centrx: has joined #RubyonRails-offtopic
[16:58:47] centrx: has joined #ruby
[16:58:48] centrx: has joined #ruby
[16:58:48] centrx: has joined #RubyonRails-offtopic
[17:20:55] centrx: has joined #RubyOnRails
[17:49:24] centrx: FrostCandy: you're using brackets instead of parens for the push method
[19:00:20] centrx: Remote host closed the connection
[19:17:31] centrx: has joined #ruby
[19:17:31] centrx: has joined #RubyonRails-offtopic
[19:17:31] centrx: Changing host
[19:17:31] centrx: has joined #RubyonRails-offtopic
[19:17:31] centrx: has joined #ruby
[19:20:53] centrx: Client Quit

2017-09-26

[15:02:53] centrx: has joined #RubyonRails-offtopic
[15:02:53] centrx: has joined #ruby
[15:18:57] centrx: has joined #RubyOnRails

2017-09-08

[15:02:39] centrx: has joined #ruby
[15:02:39] centrx: has joined #RubyonRails-offtopic
[15:02:39] centrx: Changing host
[15:02:39] centrx: has joined #RubyonRails-offtopic
[15:02:39] centrx: has joined #ruby
[15:18:54] centrx: has joined #RubyOnRails
[15:35:41] centrx: has joined #ruby-offtopic
[15:42:03] centrx: sekmo: What are you getting?
[15:48:01] centrx: sekmo: style is not set
[15:48:41] centrx: sekmo: and nothing is done with the front_shock, is that supposed to be merged as well?
[15:59:58] centrx: sekmo: That's fine, I mean style is never set
[16:00:20] centrx: sekmo: Based on what the gist says the book example should be, it looks like you should be passing in style: :road to MountainBike.new
[16:02:09] centrx: francuz: You can add .first or .last to the end of that chain of query methods
[16:04:27] centrx: yeah could just be a mistake in the book
[16:33:49] centrx: zmo: you could use https://ruby-doc.org/core-2.2.0/Binding.html
[16:34:00] centrx: zmo: https://www.google.com/search?q=ruby+exception+binding shows some promising results

2017-09-01

[18:08:25] centrx: has joined #ruby
[18:08:25] centrx: has joined #RubyonRails-offtopic
[18:08:25] centrx: Changing host
[18:08:25] centrx: has joined #RubyonRails-offtopic
[18:08:25] centrx: has joined #ruby
[18:12:27] centrx: has joined #RubyOnRails

2017-07-18

[00:56:28] centrx: has joined #RubyonRails-offtopic
[00:56:28] centrx: has joined #ruby
[01:09:48] centrx: Last year sometime
[01:09:50] centrx: has joined #RubyOnRails
[01:10:12] centrx: has joined #ruby-offtopic

2017-07-17

[14:41:07] centrx: has joined #ruby
[14:41:07] centrx: has joined #RubyonRails-offtopic
[14:41:07] centrx: Changing host
[14:41:07] centrx: has joined #RubyonRails-offtopic
[14:41:07] centrx: has joined #ruby
[14:43:03] centrx: has joined #RubyOnRails
[14:43:05] centrx: has joined #ruby-offtopic
[15:07:27] centrx: Easy solution is don't use spring
[15:17:43] centrx: SQLite has fewer features
[15:17:51] centrx: SQLite only supports single-user
[15:35:28] centrx: That's how it's designed
[15:35:38] centrx: Has no concurrent user model
[15:35:55] centrx: SQLite is only good for specific kinds of applications, or for testing
[15:36:09] centrx: e.g. Android phones use SQLite
[15:36:18] centrx: it's very light-weight
[16:01:28] centrx: Remote host closed the connection

2017-07-15

[18:39:46] centrx: has joined #ruby
[18:39:46] centrx: has joined #RubyonRails-offtopic
[18:39:46] centrx: Changing host
[18:39:46] centrx: has joined #RubyonRails-offtopic
[18:39:46] centrx: has joined #ruby
[18:51:37] centrx: has joined #RubyOnRails
[18:51:48] centrx: has joined #ruby-offtopic

2017-07-14

[18:03:25] centrx: has joined #RubyonRails-offtopic
[18:03:25] centrx: has joined #ruby
[18:22:19] centrx: has joined #RubyOnRails

2017-07-13

[17:23:47] centrx: has joined #RubyonRails-offtopic
[17:23:47] centrx: has joined #ruby
[17:32:27] centrx: has joined #RubyOnRails
[18:51:10] centrx: define a method on a method?
[18:56:12] centrx: Harzilein: I think the Method object returned by #method is just a copy, a representation
[18:56:30] centrx: Harzilein: it wouldn't make sense to add a method to a method itself
[18:57:07] centrx: Harzilein: I would set it up differently, have a #method_description(:my_method_name) method
[18:57:36] centrx: Harzilein: sounds like some meta-meta documentation though, are you writing a tutorial example or something?
[18:58:37] centrx: Harzilein: the descriptions need to be stored somewhere, and there isn't a place inherently in Ruby to store method meta-information, as far as I know
[18:59:12] centrx: googleplex: What's the site? Are you with a company?
[18:59:51] centrx: Harzilein: You could add a method to Method for descr
[18:59:54] centrx: Harzilein: and have that access your hash
[19:00:15] centrx: Harzilein: To the user it would be transparent, just doing method(:user_facing_method).descr
[19:00:24] centrx: Harzilein: behind the scenes, descr would look at the method name, look it up in the hash
[19:08:06] centrx: stormbytes: That's the format for Ruby keyword arguments, it's a Ruby method with Ruby arguments
[19:17:09] centrx: Jason: stormbytes: Right the Hash symbol syntax came in Ruby 1.9, and the keyword argument syntax came in 2.0
[19:17:30] centrx: Jason: stormbytes: The keyword argument syntax is technically a different implementation, e.g. it handles things like default values
[19:18:27] centrx: stormbytes: Both use "key: value", but { key: value } defines a Hash, while my_method(key: value) is the keyword arguments
[19:18:58] centrx: Jason: You can define a method: my_method(my_param: default_value), if that parameter is not passed into the method when calling it, the default is used
[19:25:12] centrx: Jason: The name= doesn't do anything in that
[19:27:23] centrx: Jason: the two differences from kw args with that would be: when calling the method, you don't specify the argument name
[19:27:42] centrx: Jason: and you can't specify a required argument
[19:27:58] centrx: Jason: You can do: def say_hi(name:); puts name; end to require the kw arg
[19:40:46] centrx: Jason: It's clearer when calling a method, if the arguments have names
[19:41:01] centrx: Jason: Often that's done with an options hash (see e.g. the Rails code base)
[19:43:23] centrx: has joined #ruby-offtopic
[19:51:17] centrx: yeah keyword arguments work so much like hashes, but they are technically different

2017-07-11

[15:07:59] centrx: has joined #RubyonRails-offtopic
[15:07:59] centrx: Changing host
[15:07:59] centrx: has joined #RubyonRails-offtopic
[15:07:59] centrx: has joined #ruby
[15:08:00] centrx: has joined #ruby
[15:20:16] centrx: has joined #RubyOnRails
[16:25:57] centrx: xco: I suspect render nothing: true returns a blank page
[16:26:06] centrx: xco: whereas head ok just sends an HTTP status
[16:29:00] centrx: xco: I guess
[16:29:01] centrx: xco: https://www.reddit.com/r/rails/comments/3yn9cv/head_ok_vs_render_nothing_true_status_ok/
[16:29:08] centrx: xco: head :ok is better syntax anyway
[16:29:15] centrx: xco: render nothing: true is deprecated in Rails 5.1
[16:46:43] centrx: Remote host closed the connection
[16:51:33] centrx: has joined #RubyonRails-offtopic
[16:51:33] centrx: has joined #ruby
[17:19:46] centrx: has joined #ruby
[17:19:47] centrx: has joined #ruby
[17:19:47] centrx: has joined #RubyonRails-offtopic
[17:19:47] centrx: Changing host
[17:19:47] centrx: has joined #RubyonRails-offtopic
[17:20:44] centrx: has joined #RubyOnRails

2017-07-10

[18:09:05] centrx: has joined #ruby
[18:09:05] centrx: has joined #RubyonRails-offtopic
[18:09:05] centrx: Changing host
[18:09:05] centrx: has joined #RubyonRails-offtopic
[18:09:05] centrx: has joined #ruby

2017-07-06

[16:13:52] centrx: has joined #ruby
[16:13:52] centrx: has joined #RubyonRails-offtopic
[16:13:52] centrx: Changing host
[16:13:52] centrx: has joined #RubyonRails-offtopic
[16:13:52] centrx: has joined #ruby
[16:19:54] centrx: has joined #RubyOnRails
[16:30:55] centrx: Help you we can if a question you ask

2017-06-29

[15:12:41] centrx: has joined #ruby
[15:12:42] centrx: has joined #ruby
[15:12:42] centrx: has joined #RubyonRails-offtopic
[15:12:42] centrx: Changing host
[15:12:42] centrx: has joined #RubyonRails-offtopic
[15:28:50] centrx: has joined #RubyOnRails
[15:50:46] centrx: xco: Normally you do if @x.save
[15:51:28] centrx: xco: What is TrainingCollectionGenerator, why is its method #valid? returning false?
[15:51:54] centrx: I guess it's just a regular model, but normally use save
[15:52:44] centrx: xco: Then the question becomes what is schedule! and what is valid?
[15:52:54] centrx: xco: Sure, but that means the record is not valid?
[15:53:06] centrx: xco: So maybe you don't want to check if valid?
[17:43:17] centrx: Remote host closed the connection
[17:56:13] centrx: has joined #RubyonRails-offtopic
[17:56:13] centrx: has joined #ruby

2017-06-28

[16:00:36] centrx: lbrewington: You don't need to use pluck. pluck is an optimization
[16:03:03] centrx: lbrewington: stores.map(&:name)