skroon

Activity Graph

Page 1 of 4 | Next »

2018-04-30

[10:13:38] skroon: has joined #RubyOnRails
[10:14:14] skroon: I'm running Rails 5.0.2 and I would like to upgrade to Rails 5.0.7 can I just update the Gemfile, and that's it? or is there additional steps to be taken?
[10:15:06] skroon: tbuehlmann: right, thanks
[10:18:37] skroon: Radar: awesome, thanks for that info... where could I figure out if there were a api change?
[19:35:24] skroon: Ping timeout: 260 seconds

2018-04-16

[14:03:52] skroon: has joined #RubyOnRails
[14:04:24] skroon: I would like to upgrade a gem to the latest possible, should I modify the Gemfile with that specific version and call bundle, or is there a bunlder way of doing this?
[14:04:44] skroon: running bunlde update mygem doesn't upgrade it to the latest, i'm wondering what is preventing it
[16:39:42] skroon: Quit: leaving

2017-10-31

[07:12:31] skroon: Quit: leaving

2017-10-30

[13:51:39] skroon: has joined #RubyOnRails
[13:53:36] skroon: I'm using Auth0 gem, which has a runtime dependancy on rest-client ~> 1.8.0 , I'm running ruby-2.4.1 , now I another dependacy also requires rest-client, but i'm getting an error saying: key not found: :ciphers which I read is fixed with rest-client 2.x
[13:53:44] skroon: woudl there be a way to go around this gem conflict?

2017-09-02

[07:54:36] skroon: has joined #RubyOnRails
[07:54:39] skroon: i'm using ruby-2.4.1, rest-client 1.8.0 and auth0 4.1.0 (which is dependant on rest-client 1.8.0) but while running my test i'm getting the error: "key not found: :ciphers" now I read this is a rest-client 1.8.0 known issue, however my CI server is using the same ruby and gem versions, but it's not getting these issues
[07:54:51] skroon: anyone that could have some ideas to try on my dev machine to get it working?
[09:07:41] skroon: Ping timeout: 240 seconds

2017-07-03

[12:44:30] skroon: has joined #RubyOnRails
[14:34:22] skroon: has left #RubyOnRails: ()

2017-05-17

[16:12:45] skroon: Quit: leaving

2017-05-16

[10:16:50] skroon: has joined #RubyOnRails
[10:17:26] skroon: seems that Rails 5 now default shows the name of an Enum , is it possible to render the Enum value instead? Because my API depends on this at the moment
[10:18:06] skroon: puts Person.first
[10:18:21] skroon: when there is an enum on Person like: enum gender: { male: 0, female: 1, not_sure: 2, prefer_not_to_disclose: 3 }
[10:18:47] skroon: in Rails 4 you would get for example gender: 0 , but in Rails 5 I see: gender: male
[10:24:49] skroon: thanks, but that requires me to already know what the result of gender is, when I do a AR query a list of People will be returned, each with different genders, and I want to give to to my API as enum values rather then names

2016-07-19

[08:59:27] skroon: has joined #RubyOnRails
[13:18:52] skroon: i've got a hardware device which is doing a HTTP POST as content-type text, but the data it's posted is formencoded, is there a way to force rails to read that incoming data as formencoded data? This way my params will get filled with data
[19:12:34] skroon: Quit: leaving

2016-07-10

[10:43:02] skroon: has joined #RubyOnRails
[13:43:35] skroon: Ping timeout: 250 seconds
[18:30:28] skroon: has joined #RubyOnRails
[18:35:37] skroon: Read error: Connection reset by peer

2016-07-09

[12:37:47] skroon: has joined #RubyOnRails
[12:38:05] skroon: is there a way to disable paperclip to do url/file checking on remote host? it slows down my site a lot
[12:54:18] skroon: durexlw: paperclip, is doing a check if the file exists before rendering the URL, but if you have images not on local filesystem but on S3 of Google Cloud, this because a *really* slow process for large collection of files
[13:48:31] skroon: Ping timeout: 240 seconds
[14:37:36] skroon: has joined #RubyOnRails
[14:45:11] skroon: Ping timeout: 250 seconds
[14:51:31] skroon: has joined #RubyOnRails
[15:11:36] skroon: Ping timeout: 276 seconds
[15:48:02] skroon: has joined #RubyOnRails
[16:13:12] skroon: Ping timeout: 260 seconds

2016-06-30

[07:04:33] skroon: Quit: leaving

2016-06-29

[12:56:13] skroon: with Rake.application[:hello].invoke i'm trying to execute a rake task... which is going fine, but only the first invocation... the second time i'm just getting nil. Anyone that might know what i'm doing wrong here?
[14:24:37] skroon: i'm using paperclip with fog, but the url generation is so slow... is there a way to speed up the URL lookup?

2016-06-28

[17:52:23] skroon: is there away to both log to STDOUT but also to logfile?

2016-06-27

[06:47:00] skroon: Read error: Connection reset by peer
[06:51:44] skroon: has joined #RubyOnRails
[17:51:33] skroon: I need to check if an image url exist, and if not fallback to default image in .haml file... can I do a block of ruby in haml?
[17:57:44] skroon: pontiki: thanks
[17:59:46] skroon: is there a way with capistrano to have specific environment variables on the remote, just like heroku does?

2016-06-26

[08:39:51] skroon: Ping timeout: 246 seconds
[08:41:28] skroon: has joined #RubyOnRails
[08:51:55] skroon: Read error: Connection reset by peer
[08:53:02] skroon: has joined #RubyOnRails
[09:37:58] skroon: Read error: Connection reset by peer
[09:39:04] skroon: has joined #RubyOnRails
[10:05:33] skroon: Ping timeout: 240 seconds
[10:53:28] skroon: has joined #RubyOnRails
[11:02:16] skroon: Ping timeout: 264 seconds
[11:41:19] skroon: has joined #RubyOnRails
[11:54:30] skroon: Read error: Connection reset by peer
[11:55:37] skroon: has joined #RubyOnRails
[12:24:52] skroon: Read error: Connection reset by peer
[12:25:35] skroon: has joined #RubyOnRails
[12:58:51] skroon: Ping timeout: 240 seconds
[12:59:36] skroon: has joined #RubyOnRails

2016-06-25

[14:48:57] skroon: Ping timeout: 244 seconds
[14:56:03] skroon: has joined #RubyOnRails
[15:24:12] skroon: Ping timeout: 276 seconds
[15:54:54] skroon: has joined #RubyOnRails
[15:59:11] skroon: Ping timeout: 240 seconds
[16:49:33] skroon: has joined #RubyOnRails
[16:53:31] skroon: Ping timeout: 240 seconds
[16:54:36] skroon: has joined #RubyOnRails
[16:58:51] skroon: Ping timeout: 240 seconds
[18:52:51] skroon: has joined #RubyOnRails

2016-06-24

[08:49:34] skroon: how can I directly write some javascript code in view.html.erb ?
[08:52:42] skroon: oystersauce8: oke I thought it perhaps needed to be in a .js file it self, and then load it in via the layouts or application.js
[08:54:34] skroon: oystersauce8: so do I need to make a script tag with text/javascript and then put js in there?
[09:29:17] skroon: Ping timeout: 260 seconds
[09:39:10] skroon: has joined #RubyOnRails
[09:49:21] skroon: Ping timeout: 246 seconds
[10:02:19] skroon: has joined #RubyOnRails
[10:37:25] skroon: Ping timeout: 252 seconds
[14:39:16] skroon: has joined #RubyOnRails

2016-06-22

[07:59:33] skroon: should the device secret key and device pepper, be outside of the repository? or isn't it too harmfull to have in the repo?

2016-06-21

[10:16:20] skroon: anyone know how I could combined multiples images (image/png data so not files on local drive) into a .pdf file? where each image is a page in the pdf?
[12:07:28] skroon: anyone know if a RMagick::ImageList can also read png data directly? else I need to temporarily save it to disk, which I was hoping to omit
[13:43:28] skroon: i'm using Tempfile, but it looks like the file doesn't exist anymore, even though i'm not using Tempfile.unlink, anyone know if Tempfile also removes a file in different circumstances?
[13:48:37] skroon: mikecmpbll: thanks
[18:16:20] skroon: in my production env: Rails.cache is returning nil
[18:16:58] skroon: Rails.cache.fetch('foo') is giving back "undefined method `fetch' for nil:NilClass" anyone that might have a clue what i'm doing wrong?
[18:18:34] skroon: fox_mulder_cp: well i'm using Rails.cache.fetch() in one of my initializers, and i'm thinking Rails hasn't fully booted up yet
[18:19:27] skroon: fox_mulder_cp: no, 'fetc' for nil:NilClass
[18:21:58] skroon: adam12: oke, figuring out how to use that in my initializers, thanks!

2016-06-20

[13:44:38] skroon: has joined #RubyOnRails
[15:21:40] skroon: I would like to have a glocal "application configuration" object, as an abstraction above ENV variables, because in production we want to get configuration settings from memcached for example... how would I best make this abstarction, inside the initializers?
[15:21:47] skroon: or perhaps there is already a
[18:41:21] skroon: is there a way to keep configuration keys global somewhere in rails app?
[18:43:28] skroon: lalalaaa: ahh cool config/secrets.rb so then I can make it executable code that checks for the settings... I want to check database (key/value) for config settings first, if that doesn't exist then ENV var, and if that fails have a default
[18:45:49] skroon: chintanparikh: because I can't use ENV vars in my production env
[18:46:18] skroon: lalalaaa: .apikeys is that a gem, or some kind of standard?
[18:48:32] skroon: lalalaaa: is there a way to figure out when config/secrets.rb is getting loaded? because I also want to set my mysql database password this way
[18:51:16] skroon: lalalaaa: do you perhaps know if it's possible for the password in database.yml to be executable ruby code?
[18:58:50] skroon: smathy: oke great, than this can probably use my AppConfiguration library
[19:16:13] skroon: in production mode, do I have to restart the server, when I change the database password? or is there perhaps a way to store the database password somewhere else (not in the database.yml) so it will be read again when it fails to connect?
[19:49:55] skroon: Rails.cache is that only for activerecord stuff, or can I also use it to lookup keys in memcahed? or perhaps use dalli.get it self?
[21:22:22] skroon: is it possible for rails not to cache the mysql database password, and just recheck it everytime ?
[21:22:53] skroon: adam12: yeah thanks, that was I was indeed wondering :)
[21:29:09] skroon: adaedra: ow thanks, I didn't know
[21:30:38] skroon: in my database.yml i'm using a ruby object that is loaded in config/initializers/app_config.rb everything works when I run the rails server, however when doing a database migration it complains about uninitialized constant... how can I make sure my db migrations also require 'app_config' that is in lib/app_config.rb
[21:40:09] skroon: arup_r: I really have to such files, in the initializers one, I do a: require 'app_config'
[21:50:36] skroon: adaedra: i'm storing my configuration in memcache, so I would like to force a reload whenever I change the settings in memcache
[21:50:40] skroon: without having to restart rails

2016-06-03

[09:02:30] skroon: Quit: leaving

2016-06-01

[15:12:31] skroon: Ping timeout: 252 seconds
[17:35:19] skroon: has joined #RubyOnRails

2016-05-31

[19:38:20] skroon: has joined #RubyOnRails
[19:38:54] skroon: does config.logger use the format of config.log_formatter ? or are the two completely seperate things?
[19:41:48] skroon: tubbo: oke, because when an error/exception happens I would like to write the exception to disk in .json format... but if I make my own log_formatter, then everything will be json?
[19:43:27] skroon: tubbo: right, I wanted to use it for somethingl ike Airbrake, Google Stackdriver Error Reporting
[19:43:34] skroon: norc_: ah right

2016-05-29

[10:03:43] skroon: Ping timeout: 252 seconds

2016-05-28

[09:42:55] skroon: Ping timeout: 252 seconds
[09:46:13] skroon: has joined #RubyOnRails

2016-05-27

[14:42:43] skroon: is it possible to have rails server (puma) log everything to stdout instead of a logfile?
[14:43:37] skroon: alfiemax: in production mode I mean :-)

2016-05-26

[11:50:49] skroon: has joined #RubyOnRails
[12:41:03] skroon: can I use an encryption method that uses the rails secret key?
[12:41:29] skroon: universa1: like how are cookies at the moment encrypted inr ails?
[12:42:19] skroon: universa1: I want to encrypted some "json hash" and use that encrypted string as a URL param
[12:42:33] skroon: universa1: so when the request comes in, I can decrypt that string again, to figure out the params that are there
[12:44:39] skroon: universa1: because I need some cron job, which screenshots a page on the same rails side
[12:49:06] skroon: GarethAdams: indeed ;-)
[12:49:46] skroon: GarethAdams: I only use it for a single controller, to generate a "secret url" so they have access to just that report page
[12:50:02] skroon: universa1: I would have to login with thousands of users and do that
[17:31:03] skroon: anyone using google cloud storage to serve static files?
[17:31:18] skroon: are you using a gem to sync those assets to the bucket?
[19:05:24] skroon: i'm using assets precompile, but the assets_url('image.png') doesn't use the image.fingerprint.png , what am I forgetting todo?
[19:09:40] skroon: tubbo: yes in development it's working, but in the css file that get's generated in production (assets:precompile) just doesn't have the fingerprint attached
[20:26:45] skroon: i'm trying to load fonts from google cloud storage, but i'm getting CORS blocked in my browser, where should I configure cors, on my rails side to allow fetching from other origins? or at the google cloud storage bucket side?
[20:41:36] skroon: mrichman: ah oke! :-) thanks
[20:49:25] skroon: mrichman: btw those headres, should be on the response from google cloud storage right?
[20:50:24] skroon: mrichman: yes, but sorry I wans't clear if I need to send that header as the request object to google
[20:51:37] skroon: mrichman: yeah I did, but still get the same issue, so I'm checking the headers now, but don't see that Access-Control-Allow-Origin:*
[20:52:06] skroon: mrichman: thanks

2016-05-02

[07:06:10] skroon: Quit: leaving

2016-05-01

[08:45:23] skroon: has joined #RubyOnRails
[09:02:13] skroon: Ping timeout: 250 seconds
[09:36:37] skroon: has joined #RubyOnRails
[09:53:39] skroon: Ping timeout: 276 seconds
[11:10:55] skroon: has joined #RubyOnRails
[11:54:21] skroon: Ping timeout: 276 seconds
[14:49:29] skroon: has joined #RubyOnRails
[16:51:19] skroon: Ping timeout: 252 seconds
[17:01:14] skroon: has joined #RubyOnRails
[19:56:48] skroon: Read error: Connection reset by peer
[19:57:38] skroon: has joined #RubyOnRails

2016-04-30

[08:34:33] skroon: Ping timeout: 240 seconds
[08:36:18] skroon: has joined #RubyOnRails
[13:18:39] skroon: Ping timeout: 276 seconds

2016-04-29

[08:37:30] skroon: is there a way to runder a web page on the backend to a png image? do I need a headless browser for this?
[08:44:34] skroon: rvanlieshout: thanks

2016-04-28

[07:41:11] skroon: has joined #RubyOnRails

2016-04-26

[06:39:22] skroon: Ping timeout: 260 seconds
[08:33:21] skroon: has joined #RubyOnRails
[16:52:32] skroon: Ping timeout: 244 seconds

2016-04-25

[09:58:12] skroon: Ping timeout: 276 seconds
[12:10:55] skroon: has joined #RubyOnRails
[13:21:07] skroon: Ping timeout: 250 seconds

2016-04-24

[17:00:12] skroon: has joined #RubyOnRails
[17:00:25] skroon: anyone know of a nice plugin to block certain countries from accessing rails site?
[17:04:05] skroon: sevenseacat: atleast work for 80% :-)

2016-02-03

[15:38:39] skroon: has joined #RubyOnRails
[15:45:48] skroon: what is a good way to create a cross platform mobile app these days?
[19:03:56] skroon: Ping timeout: 240 seconds

2015-10-11

[08:10:14] skroon: has joined #RubyOnRails
[09:35:13] skroon: Ping timeout: 264 seconds
[11:52:13] skroon: has joined #RubyOnRails
[13:28:01] skroon: Ping timeout: 264 seconds
[15:12:52] skroon: has joined #RubyOnRails
[15:20:24] skroon: Ping timeout: 268 seconds
[16:58:26] skroon: has joined #RubyOnRails
[17:05:13] skroon: Ping timeout: 264 seconds
[17:14:04] skroon: has joined #RubyOnRails
[17:18:20] skroon: Ping timeout: 240 seconds
[17:18:47] skroon: has joined #RubyOnRails
[17:27:25] skroon: Ping timeout: 264 seconds
[17:40:27] skroon: has joined #RubyOnRails
[17:41:50] skroon: Client Quit

2015-10-08

[10:52:01] skroon: Ping timeout: 250 seconds

2015-10-07

[11:42:43] skroon: has joined #RubyOnRails
[11:42:51] skroon: anyone here that is using google pubsub?
[12:16:58] skroon: how does one create a daemon process to listen for google pubsub incoming messages?

2015-10-06

[08:36:44] skroon: has joined #RubyOnRails
[20:40:20] skroon: Ping timeout: 240 seconds

2015-10-05

[07:30:25] skroon: Ping timeout: 264 seconds
[08:19:35] skroon: has joined #RubyOnRails
[08:25:10] skroon: Ping timeout: 244 seconds
[08:25:26] skroon: has joined #RubyOnRails
[09:09:34] skroon: Ping timeout: 255 seconds
[09:22:42] skroon: has joined #RubyOnRails
[09:45:25] skroon: Read error: Connection reset by peer
[09:49:27] skroon: has joined #RubyOnRails
[09:57:49] skroon: Read error: No route to host
[11:39:52] skroon: has joined #RubyOnRails
[11:56:47] skroon: Ping timeout: 246 seconds
[12:05:07] skroon: has joined #RubyOnRails
[13:05:23] skroon: Ping timeout: 246 seconds

2015-10-02

[07:11:49] skroon: has joined #RubyOnRails

2015-10-01

[05:31:28] skroon: Ping timeout: 268 seconds
[08:40:21] skroon: has joined #RubyOnRails
[08:44:38] skroon: Read error: Connection reset by peer
[16:44:19] skroon: has joined #RubyOnRails
[16:47:37] skroon: Read error: Connection reset by peer

2015-09-29

[09:06:03] skroon: has joined #RubyOnRails

2015-09-27

[11:59:14] skroon: Ping timeout: 250 seconds

2015-09-25

[07:02:24] skroon: has joined #RubyOnRails
[09:49:10] skroon: Ping timeout: 255 seconds
[10:36:04] skroon: has joined #RubyOnRails
[10:48:37] skroon: Read error: Connection reset by peer
[11:11:16] skroon: has joined #RubyOnRails
[11:24:37] skroon: Read error: Connection reset by peer
[15:10:51] skroon: has joined #RubyOnRails
[15:26:51] skroon: Ping timeout: 240 seconds
[16:00:39] skroon: has joined #RubyOnRails

2015-09-24

[06:25:49] skroon: Ping timeout: 272 seconds
[09:32:24] skroon: has joined #RubyOnRails
[09:44:53] skroon: Ping timeout: 240 seconds
[11:03:25] skroon: has joined #RubyOnRails
[11:08:00] skroon: Ping timeout: 264 seconds
[13:46:34] skroon: has joined #RubyOnRails
[13:51:25] skroon: Ping timeout: 264 seconds
[15:54:38] skroon: has joined #RubyOnRails
[16:09:32] skroon: Ping timeout: 268 seconds
[16:11:43] skroon: has joined #RubyOnRails
[18:23:51] skroon: has joined #RubyOnRails
[19:35:32] skroon: Ping timeout: 246 seconds

2015-09-23

[15:23:20] skroon: Ping timeout: 268 seconds
[16:54:21] skroon: has joined #RubyOnRails

2015-09-22

[08:03:58] skroon: has joined #RubyOnRails

2015-09-17

[06:49:09] skroon: has joined #RubyOnRails
[11:18:16] skroon: Ping timeout: 255 seconds
[11:22:55] skroon: has joined #RubyOnRails
[12:59:20] skroon: Read error: Connection reset by peer