« Back to channel list

#RubyOnRails - 13 January 2019

« Back 1 day Forward 1 day »
[00:22:24] Dreamer3_: has joined #RubyOnRails
[00:27:30] ericboehs: has joined #RubyOnRails
[01:34:36] Linuus: has joined #RubyOnRails
[02:03:12] gambl0r3: has joined #RubyOnRails
[02:03:12] gambl0re: has joined #RubyOnRails
[02:37:09] tdy: has joined #RubyOnRails
[02:43:49] gambl0r3: has joined #RubyOnRails
[02:43:49] gambl0re: has joined #RubyOnRails
[02:50:59] Technodrome: has joined #RubyOnRails
[02:56:38] sarink: has joined #RubyOnRails
[02:57:23] sarink: how can i write a migration to rollback a previous (committed and ran) migration? is there a way to do this, or am i better off just copying/pasting it and reversing it
[03:33:11] Technodrome: has joined #RubyOnRails
[03:33:50] Xiti: has joined #RubyOnRails
[03:48:46] sarink: has joined #RubyOnRails
[04:04:46] Linuus: has joined #RubyOnRails
[04:09:13] braincrash: has joined #RubyOnRails
[04:20:25] tdy: has joined #RubyOnRails
[05:04:03] elcontrastador: has joined #RubyOnRails
[05:11:20] Saukk: has joined #RubyOnRails
[05:21:24] mostlybadfly: has joined #RubyOnRails
[05:33:16] cschneid: has joined #RubyOnRails
[05:40:06] gambl0re: has joined #RubyOnRails
[05:40:06] gambl0r3: has joined #RubyOnRails
[05:41:41] sarink: has joined #RubyOnRails
[05:42:57] sarink: got disconnected, did anyone happen to answer above^? (also, are there logs of this channel anywhere?"
[05:53:28] havenwood: sarink: It's nice to make sure your migrations' down works so you can: rails db:rollback
[05:53:50] sarink: @havenwood i want to do it _inside_ another migration, not via the cli
[05:54:07] havenwood: sarink: You want one migration to rollback another?
[05:54:14] sarink: i need to write a migration that rolls back a previously committed/executed migration.
[05:55:05] sarink: (bc we had a bad idea, and it's already been pushed)
[05:56:10] havenwood: sarink: And it's not a reversible migration?
[05:56:55] sarink: it is reversible, i'm trying to figure out if there's a way to say "reverse migration 1234" rather than copying/pasting the code and writing the reversal myself
[05:57:54] sarink: can i write `db:migrate:down VERSION=1234` inside of a migration file somehow?
[06:05:55] cschneid: has joined #RubyOnRails
[06:06:59] havenwood: sarink: https://guides.rubyonrails.org/active_record_migrations.html#reverting-previous-migrations
[06:07:30] havenwood: sarink: Better to use #revert, I think.
[06:07:48] sarink: exactly what i was searching for, thanks @havenwood!
[06:07:54] havenwood: sarink: you're welcome!
[06:08:58] havenwood: sarink: Best to use ^, but just for general reference, you can: ENV['VERSION'] = '1234'; Rake::Task['db:migrate:down'].invoke
[06:09:03] DukeDave: has joined #RubyOnRails
[06:09:32] tdy: has joined #RubyOnRails
[06:09:49] havenwood: sarink: Logs: http://logs.ryanbigg.com/RubyOnRails
[06:10:47] sarink: double internet points for you :)
[06:15:08] uplime: has joined #RubyOnRails
[06:34:14] Linuus: has joined #RubyOnRails
[06:34:55] orbyt_: has joined #RubyOnRails
[06:49:11] Technodrome: has joined #RubyOnRails
[07:11:24] cschneid: has joined #RubyOnRails
[07:17:45] Xiti: has joined #RubyOnRails
[07:21:37] wethu: has joined #RubyOnRails
[07:36:42] wethu: has joined #RubyOnRails
[08:13:05] cschneid: has joined #RubyOnRails
[08:49:41] Dbugger: has joined #RubyOnRails
[09:03:28] Technodrome: has joined #RubyOnRails
[09:04:36] Linuus: has joined #RubyOnRails
[09:14:34] cschneid: has joined #RubyOnRails
[09:26:47] mikecmpbll: has joined #RubyOnRails
[09:34:26] sevenseacat: has joined #RubyOnRails
[10:16:53] cschneid: has joined #RubyOnRails
[10:20:31] mat_bug: has joined #RubyOnRails
[10:38:26] Dbugger: has joined #RubyOnRails
[10:42:46] srinidhi: has joined #RubyOnRails
[11:21:07] reber: has joined #RubyOnRails
[11:21:27] Fernando-Basso: has joined #RubyOnRails
[11:25:05] cschneid: has joined #RubyOnRails
[11:26:08] fugee: has joined #RubyOnRails
[11:26:38] fugee: i'm getting 404 not found for all my sites running passenger-nginx-module https://gist.github.com/mices/ed1ee0d21eccaf2e629ad3434c58ea22
[11:33:41] kapil____: has joined #RubyOnRails
[11:52:50] mat_bug: has joined #RubyOnRails
[11:55:22] ariedler: has joined #RubyOnRails
[11:59:20] uplime: has joined #RubyOnRails
[12:27:14] cschneid: has joined #RubyOnRails
[12:42:01] mostlybadfly: has joined #RubyOnRails
[13:01:47] Linuus: has joined #RubyOnRails
[13:05:15] Technodrome: has joined #RubyOnRails
[13:27:45] cschneid: has joined #RubyOnRails
[13:30:42] Technodrome: has joined #RubyOnRails
[13:46:53] apparition: has joined #RubyOnRails
[14:29:31] uplime: has joined #RubyOnRails
[14:39:17] conta: has joined #RubyOnRails
[14:49:41] fugee: has left #RubyOnRails: ("Leaving")
[14:57:58] conta1: has joined #RubyOnRails
[15:11:14] PCiobanita: has joined #RubyOnRails
[15:13:49] PCiobanita: hi there. I am new here but I need some help with ruby sinatra. Been stuck here for the past few days. I need to solve this in the next few hours. It shoulnt take to long if somone can and is willing to help let me know.
[15:14:01] mostlybadfly: has joined #RubyOnRails
[15:21:14] cschneid: has joined #RubyOnRails
[15:25:06] uplime: has joined #RubyOnRails
[15:25:29] drale2k_: has joined #RubyOnRails
[15:29:53] PCiobanita: hi there. I am new here but I need some help with ruby sinatra. Been stuck here for the past few days. I need to solve this in the next few hours. It shoulnt take to long if somone can and is willing to help let me know. also new to the platform.
[15:33:09] Linuus: has joined #RubyOnRails
[15:34:13] LightStalker: has joined #RubyOnRails
[16:04:51] Saukk: has joined #RubyOnRails
[16:06:39] cschneid: has joined #RubyOnRails
[16:10:15] havenwood: PCiobanita: Say what your issue is and someone who can help might!
[16:10:31] havenwood: PCiobanita: If it's not Rails, you might try the #ruby channel.
[16:17:56] PCiobanita: i need to post from textarea into database.. i can post harcoded messege but cannot from params. i cant figure out. if somone can give me 5 min overdiscord to hsare my code would be great
[16:26:40] segy: has joined #RubyOnRails
[16:38:35] kapil____: has joined #RubyOnRails
[17:03:07] drale2k_: has joined #RubyOnRails
[17:14:01] uksio: has joined #RubyOnRails
[17:15:11] NoGodDamnIdea: has joined #RubyOnRails
[17:22:25] gambl0r3: has joined #RubyOnRails
[17:22:25] gambl0re: has joined #RubyOnRails
[17:25:30] uplime: has joined #RubyOnRails
[17:40:07] tdy: has joined #RubyOnRails
[17:42:15] orbyt_: has joined #RubyOnRails
[18:02:13] Linuus: has joined #RubyOnRails
[18:03:00] NeXTSUN: has joined #RubyOnRails
[18:05:19] Technodrome: has joined #RubyOnRails
[18:16:10] orbyt_: has joined #RubyOnRails
[18:34:45] conta: has joined #RubyOnRails
[18:39:05] Puffball: has joined #RubyOnRails
[18:45:35] tdy: has joined #RubyOnRails
[18:48:55] Saukk: has joined #RubyOnRails
[18:50:04] NeXTSUN: has joined #RubyOnRails
[19:00:42] duderonomy: has joined #RubyOnRails
[19:01:31] orbyt_: has joined #RubyOnRails
[19:16:11] dviola: has joined #RubyOnRails
[19:30:18] ellcs: has joined #RubyOnRails
[19:38:15] benlieb: has joined #RubyOnRails
[19:51:30] tdy1: has joined #RubyOnRails
[19:57:34] sagax: has joined #RubyOnRails
[20:10:42] reber: has joined #RubyOnRails
[20:34:09] benlieb: has joined #RubyOnRails
[20:38:11] mostlybadfly: has joined #RubyOnRails
[20:44:47] tdy2: has joined #RubyOnRails
[20:46:38] Linuus: has joined #RubyOnRails
[21:07:31] benlieb: has joined #RubyOnRails
[21:11:21] wethu: has joined #RubyOnRails
[22:19:09] benlieb: has joined #RubyOnRails
[22:22:24] DTZUZO: has joined #RubyOnRails
[22:27:59] orbyt_: has joined #RubyOnRails
[22:41:14] Technodrome: has joined #RubyOnRails
[22:41:16] borodin: has joined #RubyOnRails
[22:43:09] gambl0re: has joined #RubyOnRails
[22:43:09] gambl0r3: has joined #RubyOnRails
[22:43:57] uplime: has joined #RubyOnRails
[23:46:29] Linuus: has joined #RubyOnRails