Page 1 of 11 | Next »
[20:39:17] skyjumper: when I call a class method on an AR relation, I lose the scope/relation: https://gist.github.com/anonymous/3827ad4b56ff32afb7b01211f3ac854b
[18:54:21] skyjumper: so I'm trying to use strong_parameters to permit only certain values. the docs suggest this is possible: https://github.com/rails/strong_parameters#permitted-scalar-values
[18:54:32] skyjumper: but in practice, it no worky: https://gist.github.com/anonymous/ed2c48bafe7e7b9fcc12d46fa625c039
[20:02:26] skyjumper: https://github.com/zdennis/activerecord-import looks like the solution but isn't playing nice with grpc
[21:46:19] skyjumper: anyone ever see Honeybadger's context show up empty on app.honeybadger.io when it shouldn't be?
[23:43:28] skyjumper: hey all, i'm trying to do this - https://gist.github.com/anonymous/f6742bafa588d5a7d46b
[21:43:45] skyjumper: i was told that `expect_any_instance_of` is to be avoided, but aren't there times when you have no choice?
[21:48:26] skyjumper: Papierkorb: in my case, i was testing how the app handled a 3rd party push notification
[21:51:21] skyjumper: Papierkorb: i also had to stub out a method that checks the 3rd party's signature
[21:56:07] skyjumper: yeah, that's a better approach. mine was a method on an instance created in the controller
[16:52:37] skyjumper: I'm not seeing a whole lot of this in use - https://relishapp.com/rspec/rspec-expectations/docs/customized-message
[17:52:35] skyjumper: anyone know why options[:include_blank] gets forced to 'true' when a <select> has required=true? it's on https://github.com/rails/rails/blob/4-2-stable/actionview/lib/action_view/helpers/tags/base.rb#L128
[00:27:36] skyjumper: i'm trying to test an enqueued ActiveJob in a request spec, but the proper way of performing the job isn't making sense
[00:27:47] skyjumper: i'd expect "perform_enqueued_jobs" to do exactly that - but for some reason it takes a block where you're adding new jobs?
[05:49:39] skyjumper: it make-a no sense. nginx has "passenger_rolling_restarts on;" in the http section
[16:45:45] skyjumper: jhass: with n>1 transitions, where do you put the logic for deciding which state?
[03:54:52] skyjumper: sevenseacat: i think we've discussed linux before... what do you say to coworkers/employers who pressure you into using OSX?
[03:56:34] skyjumper: lots of "Ugh... we can't use $COMMERCIAL_APP because of course skyjumper refuses to move on from linux"
[04:00:14] skyjumper: sevenseacat: if you come up with any responses to "why not just use Apple already, like everyone else?" i'd love to hera them
[06:16:45] skyjumper: tubbo: are you sure that 3rd argument is for the session? looks like it sets http headers
[06:22:57] skyjumper: yeah i'm looking at that. doesn't seem like you can (or should) mess with the controller's session from the test
[00:29:21] skyjumper: anyone know how to detect (within a controller) if the controller is being tested via rspec?
[00:30:26] skyjumper: more generally, i'm testing a controller method that acts as a callback for a 3rd party service
[00:31:13] skyjumper: the 3rd party service signs their params, and the controller only accepts them if signed
[01:21:19] skyjumper: anyone know offhand how to specify an "action" param to a controller via rspec, without having rails overwrite it? https://gist.github.com/anonymous/0ebd04303ce34c7f7918
[01:22:35] skyjumper: well, this 3rd party service uses it, and in real world use request.request_parameters['action'] gets me their value of it
[01:39:18] skyjumper: possible to get around the reserved 'action' param in controller tests, without diving into Rack internals?
[01:40:46] skyjumper: need to pass a different value for "action" to a controller via a test, and it no worky
[20:25:45] skyjumper: full integration test would involve mocking the 3rd party's site for the initial handshake
[19:05:41] skyjumper: this look familiar to anyone else? http://pastie.org/pastes/10525029/text?key=fucc8jt6vrz1uzalabawba
[17:18:57] skyjumper: is there a way to get the actual POST value of params['action'], rather than the rails controller method name?
[17:32:55] skyjumper: someone's sending a POST to me with a value for 'action', and rails is overwriting it
[19:27:44] skyjumper: anyone know of a way to use gems (ex: in rails console) that aren't in the Gemfile?
[20:05:57] skyjumper: does this make sense to anyone... somehow my config is being cached? https://gist.github.com/anonymous/325261ea6407548e0658
[20:06:19] skyjumper: removed everything except routes.rb and the console still loads, can still access the DB
[18:31:24] skyjumper: hate_freelancing: as long as you're aware of that, you can start doing something about it
[20:26:25] skyjumper: axilla: hmm. i applied for 2 remote jobs from there, got no response. both seemed like a perfect fit
[20:28:25] skyjumper: if you're not building your skills all day every day, it seems like you'll never get there
[20:33:15] skyjumper: so i got a high paying rails job a few months ago but all they have me do is fix regression tests... for months
[20:36:50] skyjumper: axilla: nobody has time to dig through your github. they hardly ever read all of the resume either...
[20:38:59] skyjumper: how do you spot companies who actually want talent, rather than "are you familiar with XYZ tech that we use?"
[20:44:53] skyjumper: axilla: or they just think adding "full stack" to the requirements will get better candidates
[20:50:06] skyjumper: did mongo/couchdb/etc really end up the SQL killer that people said it would be?
[21:08:20] skyjumper: diegoviola: i prefer full desktop keyboard+mouse, but that's a rarity these days
[21:11:53] skyjumper: diegoviola: did you see this / take the surveys? http://blog.lenovo.com/en/blog/retro-thinkpad-time-to-think/
[21:16:40] skyjumper: FailBit: that's superfish which diegoviola just mentioned... and fwiw it was only on the lower-end consumer grade machines
[21:17:08] skyjumper: probably some manager of that product line thought they were cutting costs in a clever way
[21:34:42] skyjumper: skyjumper: talked the manager into letting me install it, then 2 other devs followed suit and we became a mixed-OS shop
[17:48:25] skyjumper: i'm looking to get into the business... wondering where to start finding clients
[18:03:48] skyjumper: smathy: i'm in a full-time corporate job and feeling very restless. really miss the freedom of being independent
[18:04:16] skyjumper: joining a corporate team means you use what they use... whether it's outdated or not
[18:05:41] skyjumper: they enticed me with boatloads of $, so going freelance would be a rough transition
[18:21:15] skyjumper: smathy: those are still good industries to work for... willing and able to pay for things
[18:50:13] skyjumper: i removed sqlite3 from the Gemfile but it still wants config/database.yml to exist and define an actual database
[16:15:18] skyjumper: this make sense to anyone else? capybara can't find an element, but it's clearly on the page - https://gist.github.com/anonymous/22bf00989fbb6063db14