« Back to channel list

#RubyOnRails - 27 July 2018

« Back 1 day Forward 1 day »
[00:05:14] apeiros: has joined #RubyOnRails
[00:19:23] Kamuela: has joined #RubyOnRails
[00:24:55] alfiemax_: has joined #RubyOnRails
[00:26:07] ivanskie: has joined #RubyOnRails
[00:26:58] cagomez: has joined #RubyOnRails
[00:35:16] apeiros: has joined #RubyOnRails
[00:46:50] chouhoulis: has joined #RubyOnRails
[00:52:00] sevenseacat: has joined #RubyOnRails
[00:56:11] bonhoeffer: has joined #RubyOnRails
[00:56:37] bonhoeffer: anyone find they can't update records on production -- all with no exception or negative log entry
[00:56:50] apeiros: has joined #RubyOnRails
[00:57:27] sevenseacat: thats a bit vague
[01:01:49] Radar: bonhoeffer: I see that problem, but only on your production system strangely
[01:03:14] chouhoulis: has joined #RubyOnRails
[01:07:01] apeiros: has joined #RubyOnRails
[01:07:33] amincd: has joined #RubyOnRails
[01:10:20] amincd: Hi, I'm trying to add custom fields to the OAuth login flow. Right now, the Devise gem automatically pulls the email address from the OAuth provider. But I also want the user to input their username and location id. Any suggestions on how I can go about this?
[01:10:58] amincd: The user should only be prompted to provide their username and location when their account is being created. Subsequent logins obviously wouldn't need these inputs
[01:12:53] Radar: amincd: complete the oauth login, check in a before_action if the username + location is set and if it's not, redirect to a separate page?
[01:15:17] amincd: Radar, thanks let me think how I can make that work
[01:28:21] apeiros: has joined #RubyOnRails
[01:38:49] mojtaba: has joined #RubyOnRails
[01:39:06] mojtaba: Hello, Does anybody know why there is no session_store.rb in Rails 5.2?
[01:50:52] agent_white: has joined #RubyOnRails
[01:52:23] apeiros: has joined #RubyOnRails
[01:54:30] Puffball: has joined #RubyOnRails
[02:02:14] diego1: has joined #RubyOnRails
[02:02:26] timdotrb: has joined #RubyOnRails
[02:04:25] prettybTech: has joined #RubyOnRails
[02:11:06] bonhoeffer: has joined #RubyOnRails
[02:12:16] bonhoeffer: Radar: sorry, I wasn't more clear on the update issue -- I have a model, JournalEntry, I can create and delete entries with no problem, but if I /edit and change properties, the changes don't persist and logs don't show any errors
[02:12:28] bonhoeffer: postgres database
[02:12:55] sevenseacat: does it work in dev?
[02:15:38] bonhoeffer: yes -- code does work in dev
[02:16:23] bonhoeffer: I'm mostly looking for the next troubleshooting steps -- thinking I write a test at the model level and run that in prod on dev computer and see if I can get the test to fail
[02:27:34] apeiros: has joined #RubyOnRails
[02:33:33] bonhoeffer: sevenseacat: does that approach make sense -- is there something easy i might be missing?
[02:34:39] sevenseacat: I'd be looking at a lower level - comparing your dev env to your prod env, seeing whats different - is the codebase the same, etc.
[02:47:06] krawchyk: has joined #RubyOnRails
[02:49:09] bonhoeffer: sevenseacat: ok -- any guess on what might be causing this -- i'm thinking about some postgress setting -- testing if anything can edit to it
[02:50:00] sevenseacat: code change, postgres version mismatch....
[02:50:48] sevenseacat: like what happens when you try to submit changes? what code handles that? do you get the happy path in your browser?
[02:54:29] Tempesta: has joined #RubyOnRails
[02:56:10] wethu: has joined #RubyOnRails
[02:56:44] apeiros: has joined #RubyOnRails
[02:58:25] mojtaba: Hello, Does anybody know why there is no session_store.rb in Rails 5.2?
[03:03:55] Radar: mojtaba: where exactly are you expecting to see that file? Within your Rails application?
[03:04:38] mojtaba: Radar: in config/initializers.
[03:04:45] Radar: mojtaba: and why are you expecting to see that file there?
[03:05:02] mojtaba: Radar: I am following a tutorial, which is in rails 5, mine is 5.2.
[03:05:12] Radar: mojtaba: which tutorial?
[03:05:25] mojtaba: Radar: Ruby on Rails in Lynda.
[03:05:58] mojtaba: Radar: Any idea?
[03:06:13] Radar: mojtaba: !rule10
[03:06:13] helpa: mojtaba: Do not beg / plead with people to help you. This includes asking questions like "Any ideas?" after posting your original question.
[03:06:18] Radar: Patience.
[03:06:58] Radar: Seems like there has been a change between 5-0-stable and 5-2-stable at least.
[03:07:05] Radar: Rails.application.config.session_store <- this line doesn't appear in a Rails 5.2 app.
[03:08:10] sevenseacat: its still configurable, just the file isnt present by default
[03:08:19] sevenseacat: defaults to a cookie store
[03:08:19] Radar: Seems that way.
[03:08:36] mojtaba: sevenseacat: Why is that? The newer approach is better?
[03:08:49] Radar: mojtaba: https://guides.rubyonrails.org/action_controller_overview.html#session
[03:08:51] sevenseacat: because 99% of people don't change it most probably
[03:09:02] Radar: "Rails sets up a session key (the name of the cookie) when signing the session data. These can also be changed in an initializer:"
[03:09:02] sevenseacat: so why bother providing a file that has just the default in it
[03:09:17] Radar: _an initializer_ whereas earlier versions of the guide said config/initializers/session_store.rb
[03:09:44] Radar: https://guides.rubyonrails.org/v5.0/action_controller_overview.html <- for instance: If you need a different session storage mechanism, you can change it in the config/initializers/session_store.rb file:
[03:10:33] braincrash: has joined #RubyOnRails
[03:11:44] za1b1tsu: has joined #RubyOnRails
[03:13:46] Radar: bonhoeffer: you might want to check if the controller in production is receiving parameters at all. Does the request actually happen, or do you _think_ it happens? And make sure that you're receiving _exactly_ the parameters you expect.
[03:14:28] Radar: bonhoeffer: Second: you then want to make sure that the parameters are being _permitted_ correctly by your `journal_entry_params` strong parameters dohickey thingamajig. Output these parameters to a log? If they're aren't reaching the model, then the model is going to assume that nothing has changed and therefore nothing _will_ change.
[03:15:14] sevenseacat: this is assuming the code is different in prod and dev, unless youve mistaken something about it working in dev.
[03:15:15] Radar: bonhoeffer: THIRD: Output some logging information when the save is supposed to be successful. Something like "Rails.logger.info 'Journal Entry #{id} was updated with #{new_attributes.inspect}"
[03:16:37] bonhoeffer: Radar: excellent -- i'll use that as my roadmap to figure this out and thanks sevenseacat as well for the vector
[03:16:50] sevenseacat: "use this URL to oauth with our servers" *uses that URL* "we're sorry something went wrong"
[03:17:13] sevenseacat: ^ story of my friday
[03:17:49] Radar: sevenseacat: fridays mean that you get a two day break from dealing with it! :D
[03:19:33] apeiros: has joined #RubyOnRails
[03:21:27] Radar: sevenseacat: in those cases I usually just inform people via the trello card that I'm blocked... but before that would lodge a request with oauth provider's support people
[03:21:44] Radar: sometimes shit is actually just broekn
[03:22:18] sevenseacat: yeah am typing up an email to send to them now. seems their response to a callback URL not matching is to just implode
[03:27:07] Radar: If the callback URL doesn't match what the OAuth provider expects then... yeah, that explosion is supposed to happen.
[03:27:21] Radar: Otherwise the oauth provider may send valid credentials to a nefarious callback URL
[03:27:52] Radar: It's not like it's HTTP vs HTTPS right? Where the oauth provider's expected callback URL is HTTP/HTTPS and the one you're providing is the opposite?
[03:28:10] sevenseacat: fair call. I'm too used to working with providers like facebook where they have a dedicated test mode where they give you more info when stuff doesnt work
[03:28:11] Caerus: gotta love yak shaving only to find out you been blindsided by something that´s completely out of your control
[03:28:25] Caerus: *have been*
[03:28:37] Technodrome: has joined #RubyOnRails
[03:42:39] apeiros: has joined #RubyOnRails
[04:02:14] tdy: has joined #RubyOnRails
[04:03:53] timdotrb: has joined #RubyOnRails
[04:06:56] Technodrome: has joined #RubyOnRails
[04:07:11] syndikate: tycoon177, as in if I use `probations` it will be come `...probations_path` but if I use `probation` it will become `...probation_index_path`
[04:07:58] scrptktty: has joined #RubyOnRails
[04:11:34] Saukk: has joined #RubyOnRails
[04:17:40] apeiros: has joined #RubyOnRails
[04:31:12] srinidhi: has joined #RubyOnRails
[04:38:53] apeiros: has joined #RubyOnRails
[04:55:36] reber: has joined #RubyOnRails
[05:01:41] apeiros: has joined #RubyOnRails
[05:09:45] mojtaba: has joined #RubyOnRails
[05:10:48] apeiros: has joined #RubyOnRails
[05:19:26] wethu: has joined #RubyOnRails
[05:31:09] srinidhi: has joined #RubyOnRails
[05:45:18] conta: has joined #RubyOnRails
[05:55:05] DylanJ: has joined #RubyOnRails
[06:13:14] apeiros: has joined #RubyOnRails
[06:15:49] snickers: has joined #RubyOnRails
[06:21:22] mojtaba: has joined #RubyOnRails
[06:23:11] tomaz_b: has joined #RubyOnRails
[06:29:32] srinidhi: has joined #RubyOnRails
[06:30:21] za1b1tsu: has joined #RubyOnRails
[06:40:08] za1b1tsu: has joined #RubyOnRails
[06:40:18] moei: has joined #RubyOnRails
[06:41:51] alfiemax: has joined #RubyOnRails
[06:48:52] brt: has joined #RubyOnRails
[06:55:15] brt: Hi, so the `rails g` command is causing a strange error with my setup, it seems to load `config/application.rb` in which I try to set up an API with some credentials that I load from the environment, except these environment variables aren’t passed to `rails g` for some reason so the command fails spectacularly with a `400 Bad Request (RestClient::BadRequest)` error
[06:56:52] brt: I’m guessing I configured something wrong (is the `config/application.rb` supposed to be run like this?)
[06:58:10] cagomez: has joined #RubyOnRails
[06:58:16] brt: Hmm, I pretty much just followed instructions and stuck the authentication bit directly in `config/application.rb` and I’m honestly kind of stumped as for why this is happening
[06:58:40] sevenseacat: how are you loading env vars in your app?
[06:58:56] brt: Just a lookup in ENV
[07:00:17] sevenseacat: are you sure those variables are set? also, pinging an external API anytime you spin up your app seems... off
[07:00:41] brt: The environment vars are set alright
[07:01:17] brt: Running just `rails` works fine unless I unset the environment vars in which case it fails with the same error as before
[07:01:22] brt: I mean that’s what I thought
[07:01:42] brt: This is the gem I’m trying to use https://github.com/guilhermesad/rspotify#rails--oauth
[07:03:01] brt: It says to stick the authentication code right in `config/application.rb`, but if that is run anytime you interact with the `rails` command then I don’t know
[07:03:17] sevenseacat: the application.rb part looks wrong to me, thats not how oauth works
[07:03:56] sevenseacat: can you remove that part
[07:04:09] brt: I mean that’s not really the OAuth bit, that’s for authenticating the backend
[07:04:33] brt: If I remove that part it obviously runs ok but I need to authenticate at some point
[07:04:52] brt: Tried sticking it in an initializer as well but that did the same
[07:05:19] brt: Under `config/initializers`
[07:05:44] sevenseacat: no, why does your app need to authenticate
[07:06:43] brt: An app gets a client id and secret that is used to authenticate it server-side
[07:06:45] crankharder: has joined #RubyOnRails
[07:06:52] brt: That’s how I understood it at least
[07:07:17] brt: Then OAuth is handled through OmniAuth
[07:08:11] sevenseacat: this gem must be doing something I don't understand then
[07:09:13] sevenseacat: so if you remove that application.rb part, start up a rails console, you can access your env vars?
[07:13:13] brt: Where would I even do the authentication so that it gets run when the actual server starts and not when I run `rails generate`?
[07:13:31] sevenseacat: you wouldn't. like i said, it doesnt seem like a great thing to do.
[07:13:41] brt: I don’t get why the maintainers would want you to place it in application.rb
[07:14:24] brt: Well what about usual setup/initialization code?
[07:15:02] sevenseacat: would typically go in an initializer, thats what they're for
[07:15:25] brt: Yea but those get run when you run `rails g` and the like, right?
[07:15:59] schneider: has joined #RubyOnRails
[07:24:48] akaiiro: has joined #RubyOnRails
[07:40:13] apeiros_: has joined #RubyOnRails
[07:48:12] dblessing: has joined #RubyOnRails
[07:48:53] lxsameer: has joined #RubyOnRails
[07:53:14] deathwishdave: has joined #RubyOnRails
[07:57:50] mikecmpbll: has joined #RubyOnRails
[08:01:57] MrCrackPotBuilde: has joined #RubyOnRails
[08:03:36] apeiros_: has joined #RubyOnRails
[08:05:08] conta: has joined #RubyOnRails
[08:05:22] nertzy: has joined #RubyOnRails
[08:06:33] timdotrb: has joined #RubyOnRails
[08:07:21] timdotrb: has joined #RubyOnRails
[08:07:58] timdotrb: has joined #RubyOnRails
[08:08:54] timdotrb: has joined #RubyOnRails
[08:10:56] wethu: has joined #RubyOnRails
[08:27:26] sameerynho: has joined #RubyOnRails
[08:43:04] za1b1tsu: has joined #RubyOnRails
[08:54:48] mojtaba: has joined #RubyOnRails
[09:04:12] brt: has joined #RubyOnRails
[09:11:44] brt: has joined #RubyOnRails
[09:22:49] deathwishdave: has joined #RubyOnRails
[09:25:44] psychoslave: has joined #RubyOnRails
[09:33:50] alfiemax: has joined #RubyOnRails
[09:47:28] lxsameer: has joined #RubyOnRails
[10:10:26] xuyuheng: has joined #RubyOnRails
[10:33:10] jottr: has joined #RubyOnRails
[10:36:14] za1b1tsu: has joined #RubyOnRails
[10:36:34] apeiros_: has joined #RubyOnRails
[10:47:39] lexileo_: has joined #RubyOnRails
[10:52:16] mojtaba: has joined #RubyOnRails
[10:53:05] Dbugger: has joined #RubyOnRails
[10:56:16] xuyuheng: has joined #RubyOnRails
[11:18:02] mojtaba: has joined #RubyOnRails
[12:04:53] jackrandom: has joined #RubyOnRails
[12:10:03] jackrandom: has joined #RubyOnRails
[12:12:28] DoubleMalt: has joined #RubyOnRails
[12:17:12] mojtaba: has joined #RubyOnRails
[13:08:45] DTZUZO: has joined #RubyOnRails
[13:12:48] srinidhi: has joined #RubyOnRails
[13:13:59] crankharder: has joined #RubyOnRails
[13:26:05] spohnz: has joined #RubyOnRails
[13:38:32] IanMalcolm: has joined #RubyOnRails
[13:39:08] AzaToth: has joined #RubyOnRails
[13:41:53] spohnz: has joined #RubyOnRails
[13:43:38] uksio: has joined #RubyOnRails
[13:46:10] Technodrome: has joined #RubyOnRails
[13:47:04] conta1: has joined #RubyOnRails
[13:47:13] sameerynho: has joined #RubyOnRails
[14:07:08] Puffball: has joined #RubyOnRails
[14:10:43] akaiiro: has joined #RubyOnRails
[14:17:29] krawchyk: has joined #RubyOnRails
[14:19:55] jackrandom: has joined #RubyOnRails
[14:33:51] fragamus: has joined #RubyOnRails
[14:39:27] NoGodDamnIdea: has joined #RubyOnRails
[14:40:05] chouhoulis: has joined #RubyOnRails
[14:47:03] mrbubbles: has joined #RubyOnRails
[14:47:38] Technodrome: has joined #RubyOnRails
[14:47:43] mrbubbles: hey folks, I've confused myself a bit about polymorphism. if I've got a model called user, which has_many :degrees, has_many :cerficiates, can I group these somehow so I can do user.achievements ?
[14:52:36] keegnotrub: has joined #RubyOnRails
[14:55:49] krawchyk: has joined #RubyOnRails
[15:00:57] apeiros_: has joined #RubyOnRails
[15:01:18] cagomez: has joined #RubyOnRails
[15:02:01] timdotrb: has joined #RubyOnRails
[15:03:33] troys: has joined #RubyOnRails
[15:06:46] sameerynho: has joined #RubyOnRails
[15:07:38] lxsameer: has joined #RubyOnRails
[15:10:28] fragamus: has joined #RubyOnRails
[15:13:43] lxsameer: has joined #RubyOnRails
[15:15:18] lxsameer: has joined #RubyOnRails
[15:17:33] xuyuheng: has joined #RubyOnRails
[15:21:38] Tempesta: has joined #RubyOnRails
[15:25:31] NoGodDamnIdea: has joined #RubyOnRails
[15:37:29] xuyuheng: has joined #RubyOnRails
[15:49:00] ivanskie: has joined #RubyOnRails
[15:49:28] alfiemax: has joined #RubyOnRails
[15:57:15] xuyuheng: has joined #RubyOnRails
[15:59:04] skryking: has joined #RubyOnRails
[16:15:32] lxsameer: has joined #RubyOnRails
[16:17:07] xuyuheng: has joined #RubyOnRails
[16:21:08] lxsameer: has joined #RubyOnRails
[16:22:49] Technodrome: has joined #RubyOnRails
[16:26:40] Xiti: has joined #RubyOnRails
[16:38:38] xuyuheng: has joined #RubyOnRails
[16:47:25] s2013: has joined #RubyOnRails
[16:53:26] fragamus: has joined #RubyOnRails
[16:56:29] ams__: has joined #RubyOnRails
[16:58:47] xuyuheng: has joined #RubyOnRails
[17:04:56] iamdevnul: has joined #RubyOnRails
[17:10:10] Guest56528: has joined #RubyOnRails
[17:17:55] snickers: has joined #RubyOnRails
[17:19:22] Guest56528: has joined #RubyOnRails
[17:21:42] _aeris_: has joined #RubyOnRails
[17:25:18] mikecmpbll: has joined #RubyOnRails
[17:27:55] scrptktty: has joined #RubyOnRails
[17:28:11] johndunn: has joined #RubyOnRails
[17:29:37] Guest56528: has joined #RubyOnRails
[17:33:06] s2013: has joined #RubyOnRails
[17:38:00] hays: has joined #RubyOnRails
[17:39:01] xuyuheng: has joined #RubyOnRails
[17:39:30] Guest56528: has joined #RubyOnRails
[17:44:40] hays: has joined #RubyOnRails
[17:46:19] lxsameer: has joined #RubyOnRails
[17:49:22] Guest56528: has joined #RubyOnRails
[17:52:05] snuz: has joined #RubyOnRails
[17:55:27] fragamus: has joined #RubyOnRails
[17:55:34] beowuff: has joined #RubyOnRails
[17:59:08] xuyuheng: has joined #RubyOnRails
[17:59:39] Guest56528: has joined #RubyOnRails
[18:01:17] lxsameer: has joined #RubyOnRails
[18:01:19] agent_white: has joined #RubyOnRails
[18:02:25] nertzy: has joined #RubyOnRails
[18:19:29] xuyuheng: has joined #RubyOnRails
[18:19:30] Guest56528: has joined #RubyOnRails
[18:19:30] Ergo: has joined #RubyOnRails
[18:19:34] tomaz_b: has joined #RubyOnRails
[18:19:50] fragamus: has joined #RubyOnRails
[18:20:28] deathwishdave: has joined #RubyOnRails
[18:24:21] hays: has joined #RubyOnRails
[18:27:16] tfitts: has joined #RubyOnRails
[18:29:19] Guest56528: has joined #RubyOnRails
[18:39:23] xuyuheng: has joined #RubyOnRails
[18:39:33] Guest56528: has joined #RubyOnRails
[18:41:30] jottr: has joined #RubyOnRails
[18:43:01] Technodrome: has joined #RubyOnRails
[18:47:59] dblessing: has joined #RubyOnRails
[18:49:16] Guest56528: has joined #RubyOnRails
[18:56:32] chouhoulis: has joined #RubyOnRails
[18:59:37] Guest56528: has joined #RubyOnRails
[19:01:14] regedit: has joined #RubyOnRails
[19:03:17] regedit: anyone use carrierwave + aws/s3? why is calling uploader.remove! not actually deleting the file from s3?
[19:08:09] s2013: has joined #RubyOnRails
[19:22:42] Technodrome: has joined #RubyOnRails
[19:29:37] xuyuheng: has joined #RubyOnRails
[19:49:37] xuyuheng: has joined #RubyOnRails
[19:53:43] s2013: has joined #RubyOnRails
[20:01:43] dblessing: has joined #RubyOnRails
[20:09:41] xuyuheng: has joined #RubyOnRails
[20:10:51] FastJack: has joined #RubyOnRails
[20:23:44] dviola: has joined #RubyOnRails
[20:29:53] xuyuheng: has joined #RubyOnRails
[20:29:58] AntU: has joined #RubyOnRails
[20:31:26] IanMalcolm: has joined #RubyOnRails
[20:31:27] spohnz: has joined #RubyOnRails
[20:34:45] chouhoulis: has joined #RubyOnRails
[20:35:07] spohnz: has joined #RubyOnRails
[20:35:07] Inside: has joined #RubyOnRails
[20:35:16] Inside: Hello all
[20:40:00] eckhardt: has joined #RubyOnRails
[20:49:58] xuyuheng: has joined #RubyOnRails
[20:51:13] IanMalcolm: has joined #RubyOnRails
[20:56:09] crankharder: has joined #RubyOnRails
[20:57:01] desperek: has joined #RubyOnRails
[20:58:57] IanMalcolm: has joined #RubyOnRails
[21:06:39] IanMalcolm: has joined #RubyOnRails
[21:10:07] xuyuheng: has joined #RubyOnRails
[21:14:54] guacamole: has joined #RubyOnRails
[21:16:30] guacamole: has anyone tried using active storage to upload excel documents to s3 using the io method? For some reason when I try and do this all my documents in s3 end up as zipped folders with the excel workbook hidden somewhere inside
[21:16:33] lexileo: has joined #RubyOnRails
[21:26:53] za1b1tsu: has joined #RubyOnRails
[21:28:03] IanMalcolm: has joined #RubyOnRails
[21:30:08] xuyuheng: has joined #RubyOnRails
[21:32:07] spohnz: has joined #RubyOnRails
[21:37:36] crankharder: has joined #RubyOnRails
[21:45:51] darkhanb: has joined #RubyOnRails
[21:47:12] darkhanb: How to produce this kind of query with Rails activerecord? UPDATE `foo` SET `bar` = `bar` + 123.45
[21:50:18] xuyuheng: has joined #RubyOnRails
[21:52:14] Inside: darkhanb: for every record?
[21:52:38] darkhanb: Inside no, optionally also pass WHERE
[21:53:11] darkhanb: let's say: UPDATE `foo` SET `bar` = `bar` + 123.45 WHERE `baz` = 1;
[21:53:18] Inside: Foo.all.each { |row| row.bar += 123.45; row.save() }
[21:53:34] Inside: Foo.where(baz: 1).each { |row| row.bar += 123.45; row.save() }
[21:53:44] darkhanb: I was looking for just one query
[21:53:57] darkhanb: with pre-SELECT-ing them first
[21:54:19] Inside: ActiveRecord::Base.connection.exec_query("<your exact query here>")
[21:55:09] darkhanb: So far, this works for me: Foo.where(baz: 1).update_all("bar = bar + #{123.45}")
[21:55:27] Inside: Sounds good to me
[21:55:50] darkhanb: but unfortunately I cannot do: .update_all("bar = bar + ?", 123.45)
[21:57:39] Inside: is the ? a user supplied value?
[21:58:19] darkhanb: Inside Fortunately not, so I guess I'll just settle for passing it directly
[21:58:29] darkhanb: Inside thanks
[21:59:11] Inside: Glad to be of no help at all :)
[22:01:04] mlt-: darkhanb: this might be helpful https://stackoverflow.com/q/28604626/673826
[22:01:59] mlt-: essentially .update_all(["bar = bar + ?", 123.45])
[22:04:02] darkhanb: mlt- oh wow, that's exactly what I was looking for, thanks!
[22:10:24] xuyuheng: has joined #RubyOnRails
[22:22:37] spohnz: has joined #RubyOnRails
[22:25:10] DTZUZO: has joined #RubyOnRails
[22:30:29] xuyuheng: has joined #RubyOnRails
[22:33:11] tdy: has joined #RubyOnRails
[22:50:33] xuyuheng: has joined #RubyOnRails
[22:59:04] garyserj: has joined #RubyOnRails
[23:00:06] garyserj: hi. i am on macos, my rails version is 5.1.6 How do I update it?
[23:00:58] havenwood: garyserj: bundle update rails --conservative
[23:01:24] havenwood: garyserj: https://guides.rubyonrails.org/5_2_release_notes.html#upgrading-to-rails-5-2
[23:02:33] garyserj: thanks. is there a good way of doing this so that I can still go back to 5.1 if need be?
[23:04:38] johndunn: has left #RubyOnRails: ()
[23:11:51] ArTiSTiX: has joined #RubyOnRails
[23:24:20] spohnz: has joined #RubyOnRails