chrisarcand

Activity Graph

Page 1 of 1

2018-09-06

[15:53:10] chrisarcand: has joined #ruby
[15:57:07] chrisarcand: Remote host closed the connection
[17:08:36] chrisarcand: has joined #ruby
[17:08:50] chrisarcand: has joined #RubyOnRails

2018-08-03

[15:35:48] chrisarcand: Ping timeout: 256 seconds

2018-07-20

[00:07:23] chrisarcand: *.net *.split
[00:15:52] chrisarcand: has joined #ruby
[15:57:02] chrisarcand: has joined #RubyOnRails
[15:59:00] chrisarcand: Hi! I'm looking to take an svg, base64 encoded in a data uri in a JSON request, and give that svg to ActiveStorage. I note I need to give a file object to AS's `attach`; is there a way to just provide a string (which I've cut out and decoded from the data uri?) Do I really need to write my own temp file just to hand it off?

2018-05-29

[02:47:12] chrisarcand: *.net *.split
[02:48:13] chrisarcand: has joined #ruby

2018-04-25

[12:25:52] chrisarcand: *.net *.split
[12:27:26] chrisarcand: has joined #ruby
[15:01:23] chrisarcand: *.net *.split
[15:03:10] chrisarcand: has joined #ruby

2018-02-25

[09:34:48] chrisarcand: *.net *.split
[09:36:30] chrisarcand: has joined #ruby

2018-02-20

[15:06:15] chrisarcand: Remote host closed the connection
[15:37:27] chrisarcand: has joined #ruby

2017-12-28

[03:05:05] chrisarcand: Ping timeout: 248 seconds
[03:05:11] chrisarcand: has joined #ruby

2017-12-09

[05:06:26] chrisarcand: *.net *.split
[05:14:00] chrisarcand: has joined #ruby

2017-12-07

[14:48:36] chrisarcand: *.net *.split
[14:55:09] chrisarcand: has joined #ruby

2017-12-01

[02:28:59] chrisarcand: has joined #ruby

2017-11-06

[19:34:51] chrisarcand: ...wrong window ;)

2017-11-02

[03:46:34] chrisarcand: Radar: Surprised to see you here, thought you had permanently moved to Elixirland :)
[03:46:49] chrisarcand: A good place to be

2017-10-31

[04:25:06] chrisarcand: Remote host closed the connection
[04:25:13] chrisarcand: has joined #ruby
[16:39:27] chrisarcand: toomer: Out of curiosity, do you use Software Collections to manage your Rubies or just what ships with RHEL?
[16:43:16] chrisarcand: Hence my asking ;)
[16:43:56] chrisarcand: They do (disclaimer, I work for Red Hat). That's what SCL is for.
[16:44:10] chrisarcand: matthewd: ^_^
[16:44:23] chrisarcand: https://www.softwarecollections.org/en/
[16:45:41] chrisarcand: eam: Yeah; The project I work on currently uses SCL and we're considering that, because the backporting of things in SCL is...complicated.
[16:46:33] chrisarcand: The point of SCL is to fix what eam is describing though. To have more up-to-date things like Ruby, etc, which get CVEs backported and auto updated on customers' machines.
[16:47:15] chrisarcand: eam: ^_^ Yup for sure

2017-09-11

[22:14:28] chrisarcand: Ping timeout: 240 seconds
[22:14:35] chrisarcand: has joined #ruby

2017-08-25

[12:32:46] chrisarcand: *.net *.split

2017-08-24

[21:40:15] chrisarcand: has joined #ruby
[21:41:11] chrisarcand: has joined #ruby
[21:41:37] chrisarcand: has joined #RubyOnRails

2017-08-09

[08:47:16] chrisarcand: *.net *.split
[09:31:09] chrisarcand: has joined #ruby

2017-08-08

[02:18:50] chrisarcand: Ping timeout: 255 seconds
[02:19:27] chrisarcand: has joined #ruby

2017-07-27

[22:42:43] chrisarcand: Write error: Broken pipe

2017-07-26

[02:19:33] chrisarcand: Remote host closed the connection

2017-07-25

[16:06:12] chrisarcand: Ping timeout: 260 seconds
[16:07:50] chrisarcand: has joined #ruby

2017-06-28

[02:35:27] chrisarcand: Ping timeout: 240 seconds
[02:42:56] chrisarcand: has joined #ruby

2017-06-20

[00:17:09] chrisarcand: *.net *.split
[00:23:01] chrisarcand: has joined #ruby

2017-06-17

[15:34:16] chrisarcand: Ping timeout: 260 seconds
[15:36:07] chrisarcand: has joined #ruby

2017-05-05

[15:45:30] chrisarcand: has joined #RubyOnRails

2017-05-02

[14:47:04] chrisarcand: Ping timeout: 255 seconds
[14:48:20] chrisarcand: has joined #ruby

2017-04-27

[18:38:56] chrisarcand: Write error: Broken pipe

2017-03-30

[06:32:27] chrisarcand: Ping timeout: 240 seconds
[06:33:03] chrisarcand: has joined #RubyOnRails
[06:33:03] chrisarcand: has joined #ruby

2016-07-18

[19:09:23] chrisarcand: matthewd: Are you trapping people into reading MiqExpression again? ;)

2016-07-11

[18:19:24] chrisarcand: cyource: Are you using Bundler? (did you 'bundle install' and get that message?)
[18:20:57] chrisarcand: If so, ensure you have 'source "http://rubygems.org"' at the top of your Gemfile

2016-07-06

[13:37:42] chrisarcand: dionysus69: So what exactly did you put to give you such an error? Seems like your syntax is just wrong.
[13:55:41] chrisarcand: dionysus69: Your error is unrelated to strong parameters, that's correct.

2016-06-22

[07:04:44] chrisarcand: *.net *.split

2016-06-20

[12:19:05] chrisarcand: Ping timeout: 260 seconds
[12:19:46] chrisarcand: has joined #RubyOnRails
[12:19:46] chrisarcand: has joined #ruby

2016-06-17

[08:43:43] chrisarcand: has joined #RubyOnRails
[08:43:43] chrisarcand: has joined #ruby

2016-06-15

[23:12:57] chrisarcand: *.net *.split

2016-04-18

[15:47:30] chrisarcand: Same reasoning. reduce is the higher order function, inject is from smalltalk.
[15:48:14] chrisarcand: Wherein Ruby tries to make everyone happy and welcomed from other languages and honestly just makes it more confusing for newcomers, IMO.
[15:48:51] chrisarcand: You and most people, I think ;)

2016-04-17

[08:12:12] chrisarcand: *.net *.split

2016-04-06

[17:34:15] chrisarcand: c355e3b: Like, how YARV works, etc?
[17:34:48] chrisarcand: I highly reccommend Pat Shaughnessy's book "Ruby Under a Microscope"

2016-03-14

[07:15:31] chrisarcand: *.net *.split
[07:16:12] chrisarcand: has joined #ruby
[07:16:13] chrisarcand: has joined #RubyOnRails

2016-02-29

[13:17:10] chrisarcand: has joined #RubyOnRails

2016-02-25

[14:53:56] chrisarcand: silverdust: Note that testing frameworks != test data paradigms. You could use fixtures with RSpec easily (you don't need to use factory girl...) just like you could use factory girl easily with minitest...

2016-02-22

[20:20:38] chrisarcand: *.net *.split

2016-02-19

[13:38:08] chrisarcand: chrissonar: https://github.com/thoughtbot/suspenders is a popular one.
[13:39:24] chrisarcand: Hah, TIL. I don't use any such things, so my knowledge is limited but I thought I'd mention :D Good luck!

2016-02-16

[14:45:41] chrisarcand: mwlang: Do you not get any indication from the format given by the SOAP client as to its offset?

2016-02-09

[16:59:30] chrisarcand: alexis: 'Adding to a bundle' is just bundler adding it to its lock file. The gem can already be installed with whatever path you have set.
[17:00:02] chrisarcand: ie if you installed the gem and add it to your bundle, you'll notice Bundler outputs 'Using 'the_gem' (version)' instead of Installing...
[17:07:26] chrisarcand: alexis: I'm not the most familiar with how bundler/rubygems pathing works, especially with ruby via apt, but you'll want to look at `gem environment`, `which ruby`, `which gem` etc and make sure all looks correct.

2016-02-05

[15:14:04] chrisarcand: sheperson: You could define a helper method https://www.relishapp.com/rspec/rspec-core/docs/helper-methods/define-helper-methods-in-a-module
[15:18:36] chrisarcand: sheperson: This answer should assist you: http://stackoverflow.com/questions/8447944/how-can-you-universally-override-the-get-and-post-methods-in-rspec
[20:57:18] chrisarcand: benlieb: I would venture to guess that's because it's only associated with :controller metadata being loaded. Try scoping it to specs with only that tag set.
[20:59:22] chrisarcand: benlieb: Actually wait, I know. Instance variables are not supported in before(:suite). You can't do that as you have it.
[21:02:32] chrisarcand: benlieb: I think you can do what you want with Filters => https://www.relishapp.com/rspec/rspec-core/docs/hooks/filters
[21:03:10] chrisarcand: Just do the same thing, scoped only to controllers. That's more proper even if before(:suite) worked.

2016-02-04

[11:14:59] chrisarcand: atmosx: No; it means >= 10.4.2 and < 10.5.0
[11:16:13] chrisarcand: atmosx: For more, http://guides.rubygems.org/patterns/#pessimistic-version-constraint

2016-01-31

[12:25:11] chrisarcand: *.net *.split
[12:29:46] chrisarcand: has joined #RubyOnRails
[12:29:48] chrisarcand: has joined #ruby
[12:35:49] chrisarcand: Remote host closed the connection
[21:11:03] chrisarcand: has joined #RubyOnRails
[21:11:03] chrisarcand: has joined #ruby
[23:27:50] chrisarcand: Ping timeout: 250 seconds
[23:28:42] chrisarcand: has joined #RubyOnRails
[23:28:42] chrisarcand: has joined #ruby

2016-01-29

[15:33:04] chrisarcand: arup_r: He means `rspec ./spec` if you're in the directory (or just `rspec spec`). He meant just a generic path.
[15:35:08] chrisarcand: [Essentially] nothing. That's a shell concern, not rspec's.
[17:54:28] chrisarcand: arup_r: Catching up... "rspec ./spec will give stacktrace which other command does not." He made the distinction of using the rspec bin (rspec spec) instead of the rake task (rake spec), ./spec vs spec won't matter.

2016-01-28

[20:10:03] chrisarcand: Radar: :wave:

2016-01-25

[13:19:17] chrisarcand: serard: What is the version assigned to in your .gemspec file?
[13:20:23] chrisarcand: Ok, what's VERSION then?
[13:20:58] chrisarcand: I believe any version with a letter in it will have 'pre' appended to it by Bundler.
[14:55:22] chrisarcand: silverdust: Yes. Just add the id and it will update instead of create.
[14:55:43] chrisarcand: http://api.rubyonrails.org/classes/ActiveRecord/NestedAttributes/ClassMethods.html
[19:01:03] chrisarcand: Scriptonaut: Since you're using rvm, try a new terminal window before you do anything else.
[19:02:21] chrisarcand: Did you follow the path instructions for RVM?

2016-01-20

[13:36:24] chrisarcand: Can someone help me understand the reasoning behind the path used for gem installations using rbenv? This config output confuses me: https://gist.github.com/chrisarcand/bbf593c745fda3ee3a02
[13:48:09] chrisarcand: shevy: Yeah; why extra version number there/why is it different/etc?
[13:52:46] chrisarcand: havenwood: TIL ABI, looks like I have some reading to do :) Thanks!
[14:04:58] chrisarcand: havenwood: So the point of ABI versioning in Ruby's case is that gems compiled in different Ruby versions using the same C api (same ABI) could be shared? (But are not shared in my rbenv case, they are in separate rubies that all happen to have the same ABI number)
[14:13:49] chrisarcand: havenwood: Awesome, thanks for all the clarification :) Appreciate it.

2016-01-17

[22:54:57] chrisarcand: Ping timeout: 250 seconds
[22:56:48] chrisarcand: has joined #RubyOnRails
[22:56:48] chrisarcand: has joined #ruby

2016-01-15

[12:09:51] chrisarcand: voidDotClass: You've asked a ton of very broad questions in multiple channels; I'm not saying 'don't ask questions', but my advice is that you should look up some resources on Ruby and RSpec a bit more before you start asking here. Many of the questions you have are easily found in the READMEs for the various tools you're using and/or very common stackoverflow answers for your error messages.
[12:10:27] chrisarcand: I think you'd find it would serve you better and faster, really.
[12:12:19] chrisarcand: voidDotClass: http://stackoverflow.com/questions/4229756/adding-controller-macros-in-rspec
[12:12:43] chrisarcand: voidDotClass: http://stackoverflow.com/questions/15479924/rspec-controller-macro-not-working
[12:13:14] chrisarcand: tldr: Make a method that logs in your user. Call that method in appropriate tests
[12:14:26] chrisarcand: voidDotClass: You're welcome. Good luck!
[12:15:32] chrisarcand: voidDotClass: And yes, note that when I said 'make a method', if you're using something common like devise that method should use helpers that devise provides +1 Papierkorb
[12:20:05] chrisarcand: avril14th: I don't recall exactly but after_commit might be in LIFO order? Are you sure they just aren't in the order you expect? Might try adding prepend: true to the second one and seeing what happens.
[12:23:56] chrisarcand: I just remember having some ordering issue in the past, quite a while ago. It might have been changed since then, but thought I'd mention anyway. Good!
[21:20:14] chrisarcand: dtordable: the model generator creates a migration by default.

2016-01-14

[12:33:14] chrisarcand: Quit: leaving
[12:33:23] chrisarcand: has joined #ruby
[12:33:24] chrisarcand: has joined #RubyOnRails
[13:33:21] chrisarcand: umdstu: Different versions of Ruby?
[17:43:19] chrisarcand: sharkman: http://guides.rubyonrails.org/active_record_querying.html#joining-tables and http://guides.rubyonrails.org/active_record_querying.html#ordering

2016-01-13

[10:51:13] chrisarcand: has joined #ruby
[10:51:14] chrisarcand: has joined #RubyOnRails
[12:03:02] chrisarcand: Quit: leaving
[12:03:47] chrisarcand: has joined #RubyOnRails
[12:03:47] chrisarcand: has joined #ruby
[12:14:00] chrisarcand: Ping timeout: 264 seconds
[12:24:57] chrisarcand: has joined #ruby
[12:24:58] chrisarcand: has joined #RubyOnRails
[15:55:25] chrisarcand: Ping timeout: 260 seconds
[17:30:55] chrisarcand: has joined #RubyOnRails
[17:30:55] chrisarcand: has joined #ruby
[18:35:53] chrisarcand: bronson: You can read all about the reasoning and people's opinions on it here: https://github.com/rails/rails/pull/12136#issuecomment-50216483
[18:37:48] chrisarcand: bronson: FWIW I don't think you should be too worried about using the gem as 'doing it the wrong way'
[18:41:02] chrisarcand: This comment is also good: https://github.com/rails/rails/pull/12136#issuecomment-106371204
[18:44:42] chrisarcand: bronson: And yet I also wouldn't like single-format controllers in my own app (assuming they are the same content, just different formats). I'd rather explicitly do as what Rails still supports with respond_to _or_ use the responders gem. See? Can't go wrong :D
[18:46:40] chrisarcand: Sounds solid to me
[18:56:26] chrisarcand: Quit: leaving
[18:56:35] chrisarcand: has joined #RubyOnRails
[18:56:35] chrisarcand: has joined #ruby
[19:26:28] chrisarcand: Quit: leaving
[19:26:39] chrisarcand: has joined #RubyOnRails
[19:26:39] chrisarcand: has joined #ruby

2016-01-12

[20:21:28] chrisarcand: Quit: leaving
[20:28:51] chrisarcand: has joined #RubyOnRails
[20:28:51] chrisarcand: has joined #ruby
[21:12:39] chrisarcand: Quit: leaving
[21:24:18] chrisarcand: has joined #RubyOnRails
[21:24:18] chrisarcand: has joined #ruby
[22:36:36] chrisarcand: Quit: leaving

2016-01-09

[20:52:03] chrisarcand: I think this page needs plenty of updating: http://rubyonrails.org/core/ :/
[21:03:53] chrisarcand: pontiki: I don't think I'll be making a PR writing details on people I don't know personally, nor do I know who is exactly on the team at this point :) (hence my looking at the page...)

2016-01-08

[21:30:28] chrisarcand: stevenxl: did you write validates, or validate?

2015-12-15

[14:09:40] chrisarcand: has left #ruby-offtopic: ()
[14:17:17] chrisarcand: Ping timeout: 276 seconds
[14:35:38] chrisarcand: has joined #ruby
[14:35:47] chrisarcand: has joined #RubyOnRails

2015-12-14

[16:26:58] chrisarcand: has joined #ruby-offtopic
[16:27:19] chrisarcand: TIL #ruby-offtopic ??\_(???)_/??
[16:57:18] chrisarcand: [k-: The influx is from this channel being mentioned in #ruby :)

2015-12-08

[14:24:58] chrisarcand: Is there any cleaner way to keeping a railtie from loading rake tasks besides just clearing all of them afterward?

2015-12-03

[16:58:13] chrisarcand: has joined #ruby
[16:58:31] chrisarcand: has joined #RubyOnRails

2015-11-14

[05:51:06] chrisarcand: Ping timeout: 250 seconds

2015-11-13

[02:14:42] chrisarcand: Anyone have some experience with the internals of the intridea/omniauth gem?
[02:15:16] chrisarcand: Thanks, I guess I'll look elsewhere... ;)
[02:15:43] chrisarcand: I'm trying to figure out where exactly the /auth/:provider route(s) are added by it
[02:17:21] chrisarcand: It surely does... https://github.com/intridea/omniauth/wiki "By default, OmniAuth will configure the path /auth/:provider. It is created by OmniAuth automatically for you, and you will start the auth process by going to that path."
[02:17:44] chrisarcand: I just can't figure out where :/
[02:23:04] chrisarcand: sevenseacat: Seems right to me. Thanks!
[02:24:40] chrisarcand: It's a lot closer than I was before. With this I should be able to just get a trace and go from there. Thanks again

2015-11-05

[14:45:11] chrisarcand: Ping timeout: 250 seconds
[14:46:47] chrisarcand: has joined #RubyOnRails
[14:46:47] chrisarcand: has joined #ruby

2015-10-18

[03:06:14] chrisarcand: Ping timeout: 244 seconds
[03:06:56] chrisarcand: has joined #RubyOnRails
[03:06:56] chrisarcand: has joined #ruby

2015-10-16

[00:08:50] chrisarcand: has joined #RubyOnRails
[00:09:00] chrisarcand: has joined #ruby

2015-10-08

[04:07:11] chrisarcand: Ping timeout: 268 seconds
[04:07:18] chrisarcand: has joined #RubyOnRails
[04:07:18] chrisarcand: has joined #ruby

2015-09-22

[00:15:58] chrisarcand: Ping timeout: 252 seconds
[00:17:43] chrisarcand: has joined #RubyOnRails
[00:17:43] chrisarcand: has joined #ruby

2015-09-03

[03:30:45] chrisarcand: Ping timeout: 244 seconds
[03:32:29] chrisarcand: has joined #ruby
[03:32:30] chrisarcand: has joined #RubyOnRails

2015-08-28

[02:35:11] chrisarcand: Ping timeout: 246 seconds
[02:42:44] chrisarcand: has joined #ruby
[02:42:45] chrisarcand: has joined #RubyOnRails
[10:27:03] chrisarcand: *.net *.split
[10:30:05] chrisarcand: has joined #ruby
[10:30:07] chrisarcand: has joined #RubyOnRails
[10:30:41] chrisarcand: *.net *.split
[10:33:02] chrisarcand: has joined #ruby
[10:33:03] chrisarcand: has joined #RubyOnRails

2015-08-19

[03:17:32] chrisarcand: Ping timeout: 244 seconds
[03:31:07] chrisarcand: has joined #RubyOnRails
[03:31:07] chrisarcand: has joined #ruby

2015-07-18

[00:02:41] chrisarcand: Remote host closed the connection
[00:25:49] chrisarcand: has joined #ruby
[00:25:50] chrisarcand: has joined #RubyOnRails

2015-07-17

[23:35:15] chrisarcand: Ping timeout: 256 seconds
[23:43:51] chrisarcand: has joined #RubyOnRails
[23:43:51] chrisarcand: has joined #ruby
[23:48:19] chrisarcand: Ping timeout: 244 seconds
[23:57:41] chrisarcand: has joined #RubyOnRails
[23:57:41] chrisarcand: has joined #ruby

2015-06-20

[20:30:01] chrisarcand: *.net *.split
[20:38:10] chrisarcand: has joined #RubyOnRails
[20:38:10] chrisarcand: has joined #ruby