« Back to channel list

#RubyOnRails - 15 August 2017

« Back 1 day Forward 1 day »
[00:03:35] FastJack: has joined #RubyOnRails
[00:03:35] Cork: has joined #RubyOnRails
[00:03:35] mr-spoon: has joined #RubyOnRails
[00:03:35] tomaw: has joined #RubyOnRails
[00:03:35] drcapulet: has joined #RubyOnRails
[00:04:05] AntiSpamMeta: has joined #RubyOnRails
[00:04:22] armyriad: has joined #RubyOnRails
[00:04:24] mtkd: has joined #RubyOnRails
[00:04:54] jphase: has joined #RubyOnRails
[00:04:54] duderonomy: has joined #RubyOnRails
[00:06:16] ahrs: has joined #RubyOnRails
[00:06:45] hahuang65: has joined #RubyOnRails
[00:06:55] kanzure: has joined #RubyOnRails
[00:13:00] brent__: has joined #RubyOnRails
[00:15:38] SteenJobs: has joined #RubyOnRails
[00:17:21] hahuang65: has joined #RubyOnRails
[00:23:51] elcontrastador: has joined #RubyOnRails
[00:24:17] jmay: has joined #RubyOnRails
[00:38:11] jmay: has joined #RubyOnRails
[00:50:38] sevenseacat: has joined #RubyOnRails
[00:55:48] jphase: has joined #RubyOnRails
[00:58:20] mtkd: has joined #RubyOnRails
[01:00:46] jmay: has joined #RubyOnRails
[01:08:22] alfiemax: has joined #RubyOnRails
[01:12:17] Derperperd: has joined #RubyOnRails
[01:20:13] quazimodo: has joined #RubyOnRails
[01:29:43] jtperreault: has joined #RubyOnRails
[01:40:41] jmay: has joined #RubyOnRails
[01:43:30] dionysus69: has joined #RubyOnRails
[01:43:42] duderonomy: has joined #RubyOnRails
[02:17:09] beilabs: has joined #RubyOnRails
[02:19:10] umaaji: has joined #RubyOnRails
[02:35:00] creature: has joined #RubyOnRails
[02:42:08] jmay: has joined #RubyOnRails
[02:54:20] lessless: has joined #RubyOnRails
[02:54:50] elcontrastador: has joined #RubyOnRails
[02:58:13] cagomez: has joined #RubyOnRails
[03:11:41] kn-928: has joined #RubyOnRails
[03:20:56] arBmind: has joined #RubyOnRails
[03:42:48] alfiemax: has joined #RubyOnRails
[03:49:31] DTZUZO: has joined #RubyOnRails
[03:54:24] DTZUZO: has joined #RubyOnRails
[03:58:27] irishfromua: has joined #RubyOnRails
[04:35:10] jhfisc: has joined #RubyOnRails
[04:40:22] jhfisc: has joined #RubyOnRails
[04:43:45] jhfisc: has joined #RubyOnRails
[04:52:04] jmay: has joined #RubyOnRails
[05:09:58] jhfisc: has joined #RubyOnRails
[05:14:44] jhfisc: has joined #RubyOnRails
[05:21:32] Michaela: has joined #RubyOnRails
[05:22:01] Mikaela: has joined #RubyOnRails
[05:22:14] hahuang65: has joined #RubyOnRails
[05:26:14] Michaela: has left #RubyOnRails: ("User left")
[05:26:44] Michaela: has joined #RubyOnRails
[05:26:49] Michaela: has left #RubyOnRails: ("User left")
[05:27:23] Michaela: has joined #RubyOnRails
[05:28:12] Michaela: has left #RubyOnRails: ("User left")
[05:28:26] Michaela: has joined #RubyOnRails
[05:28:39] jhfisc: has joined #RubyOnRails
[05:28:52] Michaela: has left #RubyOnRails: ("User left")
[05:28:53] Michaela: has joined #RubyOnRails
[05:29:30] Michaela: has left #RubyOnRails: ("User left")
[05:29:54] Michaela: has joined #RubyOnRails
[05:33:44] jhfisc: has joined #RubyOnRails
[05:39:38] jhfisc: has joined #RubyOnRails
[05:40:15] watzon: has joined #RubyOnRails
[05:45:20] ur5us: has joined #RubyOnRails
[06:01:56] jhfisc: has joined #RubyOnRails
[06:13:32] kies: has joined #RubyOnRails
[06:13:35] ur5us: has joined #RubyOnRails
[06:15:02] ur5us: has joined #RubyOnRails
[06:18:12] jhfisc: has joined #RubyOnRails
[06:18:56] high_fiver: has joined #RubyOnRails
[06:24:57] defsdoor: has joined #RubyOnRails
[06:27:56] elcontrastador: has joined #RubyOnRails
[06:29:57] jhfisc: has joined #RubyOnRails
[06:41:16] jhfisc: has joined #RubyOnRails
[06:42:27] Fenhl: has joined #RubyOnRails
[06:44:18] jhfisc: has joined #RubyOnRails
[06:49:46] jhfisc: has joined #RubyOnRails
[06:53:23] beilabs: has joined #RubyOnRails
[06:57:29] conta: has joined #RubyOnRails
[06:57:32] workmad3: has joined #RubyOnRails
[07:03:14] dionysus69: has joined #RubyOnRails
[07:07:29] dionysus69: has joined #RubyOnRails
[07:12:15] jhfisc: has joined #RubyOnRails
[07:14:29] cagomez: has joined #RubyOnRails
[07:21:39] marchi: has joined #RubyOnRails
[07:23:22] hahuang65: has joined #RubyOnRails
[07:35:43] arup_r: has joined #RubyOnRails
[07:38:20] KeyJoo: has joined #RubyOnRails
[07:43:31] jhfisc: has joined #RubyOnRails
[07:44:11] srinidhi: has joined #RubyOnRails
[07:45:25] cagomez: has joined #RubyOnRails
[07:53:44] jhfisc: has joined #RubyOnRails
[07:57:11] ams__: has joined #RubyOnRails
[07:57:11] SteenJobs: has joined #RubyOnRails
[08:01:20] cagomez: has joined #RubyOnRails
[08:05:45] jhfisc: has joined #RubyOnRails
[08:09:08] rgr: has joined #RubyOnRails
[08:11:16] mikecmpbll: has joined #RubyOnRails
[08:11:45] jhfisc: has joined #RubyOnRails
[08:17:21] harfangk: has joined #RubyOnRails
[08:18:57] kapil___: has joined #RubyOnRails
[08:24:00] hahuang65: has joined #RubyOnRails
[08:24:07] jhfisc: has joined #RubyOnRails
[08:29:12] Hates_: has joined #RubyOnRails
[08:32:07] marchi: has joined #RubyOnRails
[08:52:02] jhfisc: has joined #RubyOnRails
[09:03:05] cagomez: has joined #RubyOnRails
[09:03:23] mtkd: has joined #RubyOnRails
[09:04:01] jhfisc: has joined #RubyOnRails
[09:04:11] Ergo: has joined #RubyOnRails
[09:04:49] SteenJobs: has joined #RubyOnRails
[09:10:11] jhfisc: has joined #RubyOnRails
[09:16:20] jhfisc: has joined #RubyOnRails
[09:18:23] marchi: has joined #RubyOnRails
[09:19:04] cagomez: has joined #RubyOnRails
[09:19:46] marchi: has joined #RubyOnRails
[09:30:37] dionysus69: I am getting a weird behavior
[09:30:50] dionysus69: I have two application.js files one in admin namespace one in user
[09:31:06] dionysus69: I have require rails-ujs in both of them but it only gets loaded in admin side
[09:32:26] dionysus69: here are my application.js files https://gist.github.com/anonymous/110d330d2905089b489afa40ceaabea0
[09:39:45] srinidhi: has joined #RubyOnRails
[09:40:49] rgr_: has joined #RubyOnRails
[09:47:29] jhfisc: has joined #RubyOnRails
[09:49:58] cagomez: has joined #RubyOnRails
[09:53:45] jhfisc: has joined #RubyOnRails
[10:00:31] jhfisc: has joined #RubyOnRails
[10:09:56] kitsuneyo: has joined #RubyOnRails
[10:10:23] kitsuneyo: in minitest, is there an easy way for me to get the class name of the current test? like `this_test.class' ?
[10:10:58] kitsuneyo: the output of which would be something like UsersControllerTest
[10:11:45] kitsuneyo: ok, it's just `self.class`
[10:19:57] kitsuneyo: has joined #RubyOnRails
[10:20:08] jhfisc: has joined #RubyOnRails
[10:24:54] hahuang65: has joined #RubyOnRails
[10:25:14] jhfisc: has joined #RubyOnRails
[10:27:45] kitsuneyo: has joined #RubyOnRails
[10:31:45] jhfisc: has joined #RubyOnRails
[10:34:48] jhfisc: has joined #RubyOnRails
[10:39:24] Takumo: (Might not be the best place to ask but...) I'm having trouble with nested attributes in activeadmin, namely that newly created nested records aren't being saved. I've got `accepts_nested_attributes_for` in the model and I've allowed the nested records in activeadmin. Existing records update fine but new records do not get created
[10:39:40] kitsuneyo: has joined #RubyOnRails
[10:40:21] Takumo: ok nvm existing records don't update...
[10:47:26] jhfisc: has joined #RubyOnRails
[10:52:22] apparition: has joined #RubyOnRails
[10:53:38] tbuehlmann_: Takumo: what version of rails?
[10:54:15] Takumo: 4.2 , ruby 2.3.0
[10:55:08] tbuehlmann_: try adding the inverse_of option on both sides of the association then
[10:55:48] Takumo: i.e. ensuring the child record has the correct belongs_to ?
[10:56:14] Takumo: or is there an inverse of accepts_nested_attributes_for ?
[10:56:49] kitsuneyo: has joined #RubyOnRails
[10:57:22] tbuehlmann_: see http://guides.rubyonrails.org/v4.2/association_basics.html#bi-directional-associations
[10:59:35] jhfisc: has joined #RubyOnRails
[11:00:11] Takumo: oh I think I see now, I'm being a moron
[11:00:23] Takumo: need to permit :foos_attributes , not :foos
[11:01:01] ahrs: has joined #RubyOnRails
[11:02:04] Takumo: ok that's weird, I added :foos_attributes to ActiveAdmin's permit_params, but rails is still logging it as an unpermitted parameter
[11:05:48] Takumo: ah, sorted it, I had to write my own strong params function rather than rely on AA
[11:07:37] jhfisc: has joined #RubyOnRails
[11:21:29] dustinm`: has joined #RubyOnRails
[11:21:55] jhfisc: has joined #RubyOnRails
[11:29:39] ahrs: has joined #RubyOnRails
[11:35:33] ldnunes: has joined #RubyOnRails
[11:37:54] jhfisc: has joined #RubyOnRails
[11:43:49] jhfisc: has joined #RubyOnRails
[11:45:37] chouhoulis: has joined #RubyOnRails
[11:54:15] cagomez: has joined #RubyOnRails
[11:58:11] guardianx: has joined #RubyOnRails
[12:02:58] xcesariox: has joined #RubyOnRails
[12:08:46] laekur: has joined #RubyOnRails
[12:11:49] quazimodo: has joined #RubyOnRails
[12:13:19] jhfisc: has joined #RubyOnRails
[12:15:49] jsrn: has joined #RubyOnRails
[12:17:02] bladdezz: has joined #RubyOnRails
[12:20:37] hammer065: has joined #RubyOnRails
[12:20:49] Dbugger: has joined #RubyOnRails
[12:20:51] Dbugger: Hello everyone
[12:21:51] Dbugger: Can you guys give me a hand? When I run tests I get this output (https://hastebin.com/ocuyefeyan.bash). I have no idea what my tests do not seem to be working well with Devise. This is my repo: https://bitbucket.org/enmotent/foretale
[12:22:42] Dbugger: I added "Devise::TestHelpers" in the "test_helper.rb", and even so, I cannot seem to get them working. No idea why...
[12:23:01] hammer065: Hey, I have a weird issue with ActionCable:
[12:23:01] hammer065: I set it up as usual, but for some reason ActionCable.server.broadcast returns nil instead of the number of clients who received it
[12:23:45] hammer065: I already changed config/cable.yml to also use redis in development
[12:24:06] guardianx: has left #RubyOnRails: ()
[12:24:23] hammer065: Also: The Client is successfully connecting to the channel according to the rails log
[12:24:33] jhfisc: has joined #RubyOnRails
[12:24:57] hammer065: Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2017-08-15 14:19:01 +0200
[12:24:57] hammer065: Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
[12:24:58] hammer065: FooChannel is transmitting the subscription confirmation
[12:24:58] hammer065: FooChannel is streaming from foo_channel
[12:25:43] hammer065: 2.4.0 :003 > ActionCable.server.broadcast "foo_channel", type:"bar"
[12:25:43] hammer065: [ActionCable] Broadcasting to foo_channel: {:type=>"bar"}
[12:25:46] hahuang65: has joined #RubyOnRails
[12:27:12] DTZUZO: has joined #RubyOnRails
[12:29:58] chouhoulis: has joined #RubyOnRails
[12:37:12] jhfisc: has joined #RubyOnRails
[12:39:28] Dbugger: Does someone here has experience with Devise and testing?
[12:44:55] jhfisc: has joined #RubyOnRails
[12:48:07] jhfisc: has joined #RubyOnRails
[12:48:25] s2013: has joined #RubyOnRails
[12:50:19] K3rber0s: has joined #RubyOnRails
[13:03:11] muzik: has joined #RubyOnRails
[13:04:04] jhfisc: has joined #RubyOnRails
[13:08:09] DTZUZO: has joined #RubyOnRails
[13:13:26] banisterfiend: has joined #RubyOnRails
[13:17:25] hammer065: Okay I found the error
[13:18:27] keegnotrub: has joined #RubyOnRails
[13:18:52] hammer065: Apparently spring was opened in background so it didn't apply the config
[13:22:20] jphase: has joined #RubyOnRails
[13:35:24] jhfisc: has joined #RubyOnRails
[13:38:11] aajjbb: has joined #RubyOnRails
[13:38:50] kitsuneyo: has joined #RubyOnRails
[13:41:45] jhfisc: has joined #RubyOnRails
[13:46:25] Dbugger: has joined #RubyOnRails
[13:48:24] jhfisc: has joined #RubyOnRails
[13:52:28] jhfisc: has joined #RubyOnRails
[14:00:39] ahrs: has joined #RubyOnRails
[14:20:13] ResidentBiscuit: has joined #RubyOnRails
[14:23:43] Or1on: has joined #RubyOnRails
[14:27:19] hahuang65: has joined #RubyOnRails
[14:30:45] kitsuneyo: has joined #RubyOnRails
[14:32:29] kitsuneyo: has joined #RubyOnRails
[14:43:41] Caerus: has joined #RubyOnRails
[14:45:27] jhfisc: has joined #RubyOnRails
[14:47:02] kitsuneyo: has joined #RubyOnRails
[14:48:59] theunraveler: has joined #RubyOnRails
[14:51:46] xall: has joined #RubyOnRails
[14:56:12] dionysus69: has joined #RubyOnRails
[15:01:00] jmay: has joined #RubyOnRails
[15:02:47] jhfisc: has joined #RubyOnRails
[15:04:45] kitsuneyo: has joined #RubyOnRails
[15:09:26] universa1: has joined #RubyOnRails
[15:11:22] jhfisc: has joined #RubyOnRails
[15:13:05] ArTiSTiX: has joined #RubyOnRails
[15:18:06] mikecmpbll: has joined #RubyOnRails
[15:23:49] jhfisc: has joined #RubyOnRails
[15:30:34] cagomez: has joined #RubyOnRails
[15:30:45] jhfisc: has joined #RubyOnRails
[15:34:48] fox_mulder_cp: has joined #RubyOnRails
[15:35:54] jhfisc: has joined #RubyOnRails
[15:40:35] quazimodo: has joined #RubyOnRails
[15:41:48] jmay: has joined #RubyOnRails
[15:47:45] jhfisc: has joined #RubyOnRails
[15:48:32] AzaToth: has joined #RubyOnRails
[15:54:38] jhfisc: has joined #RubyOnRails
[15:59:48] jhfisc: has joined #RubyOnRails
[16:00:23] gusrub: has joined #RubyOnRails
[16:01:48] username: has joined #RubyOnRails
[16:03:27] Mikaela: has left #RubyOnRails: ("https://mikaela.info/")
[16:06:03] et09: has joined #RubyOnRails
[16:06:23] et09: i have a huge query with aliased subselects and joined columns and other crap, and of course rails is trying to jam it into the model attributes...how can i get the raw sql tuples?
[16:06:30] et09: or the raw sql result
[16:09:59] jhfisc: has joined #RubyOnRails
[16:11:10] et09: do i have to do .to_sql and then go around and do ActiveRecord::Base.connection.execute [...]
[16:12:04] et09: alternate phrasing of my question...is there an equivalent to "pluck" that returns hashes?
[16:12:07] matthewd: et09: pluck?
[16:12:43] et09: well...can i get the column names?
[16:12:58] et09: this is actually nauseating
[16:14:45] et09: i'm OK doing .to_sql and grabbing the results, if there's no better way.
[16:15:13] jhfisc: has joined #RubyOnRails
[16:16:14] matthewd: Yeah, if you need exactly that, it's probably best to go with to_sql
[16:21:38] et09: can i chain .select methods?
[16:22:49] Caerus: hello, I created new app with react and wepack enabled, will I have problems if I use bootstrap4 along react? I want to use boostrap to style most of the static content. Rails -v 5.2.1
[16:23:42] lessless: has joined #RubyOnRails
[16:24:04] matthewd: et09: You can.. they'll be appended
[16:24:19] beilabs: has joined #RubyOnRails
[16:26:32] jhfisc: has joined #RubyOnRails
[16:32:47] jhfisc: has joined #RubyOnRails
[16:42:33] one_zero: has joined #RubyOnRails
[16:43:39] jhfisc: has joined #RubyOnRails
[16:46:09] beilabs: has joined #RubyOnRails
[16:52:37] hahuang65: has joined #RubyOnRails
[16:53:13] andywww: has joined #RubyOnRails
[16:55:35] jhfisc: has joined #RubyOnRails
[16:56:24] [Butch]: has joined #RubyOnRails
[17:00:41] SteenJobs: has joined #RubyOnRails
[17:01:40] jhfisc: has joined #RubyOnRails
[17:02:03] daveomcd: has joined #RubyOnRails
[17:02:43] daveomcd: I'm getting an error when trying to do 'gem install json -v '1.8.3', error: https://gist.github.com/daveomcd/43cfef11a237226751274c8effa79132 -- Anyone know how i can correct this?
[17:05:21] matthewd: daveomcd: Use a newer version of the json gem, or an older version of ruby
[17:06:55] daveomcd: ahhh ok thanks!
[17:07:55] jhfisc: has joined #RubyOnRails
[17:10:01] okdas: has joined #RubyOnRails
[17:15:25] jmay: has joined #RubyOnRails
[17:15:50] jhfisc: has joined #RubyOnRails
[17:19:27] dviola: has joined #RubyOnRails
[17:20:36] NoGodDamnIdea: has joined #RubyOnRails
[17:22:20] jhfisc: has joined #RubyOnRails
[17:27:07] conta2: has joined #RubyOnRails
[17:31:34] jhfisc: has joined #RubyOnRails
[17:34:45] jphase: has joined #RubyOnRails
[17:37:06] jhfisc: has joined #RubyOnRails
[17:38:33] Chernobuk: has joined #RubyOnRails
[17:44:13] brent__: has joined #RubyOnRails
[17:45:00] Aherin: has joined #RubyOnRails
[17:50:13] jhfisc: has joined #RubyOnRails
[17:56:32] jhfisc: has joined #RubyOnRails
[18:00:01] aarkerio: has joined #RubyOnRails
[18:03:25] mtkd: has joined #RubyOnRails
[18:28:13] kies: has joined #RubyOnRails
[18:37:19] SteenJobs: has joined #RubyOnRails
[18:39:31] SteenJobs: has joined #RubyOnRails
[18:40:16] SteenJobs: has joined #RubyOnRails
[18:41:35] SteenJobs: has joined #RubyOnRails
[18:45:12] mlt-: has joined #RubyOnRails
[18:46:37] jhfisc: has joined #RubyOnRails
[18:47:30] NoGodDamnIdea: has joined #RubyOnRails
[18:49:02] ruby_railroad02: has joined #RubyOnRails
[18:50:51] moei: has joined #RubyOnRails
[18:52:11] jhfisc: has joined #RubyOnRails
[18:52:46] ruby_railroad02: Hello, Im running an application on AWS EC2. DB is an RDS instance. When I inspect the db models via rails c on the EC2, I get the correct data, however, when I access through the browser I don't see the data. Using the same exact db connected to my dev envirmonent I see the correct data in rails c and in the browser when running rails s. Any thoughts as to what may be causing this? Caching? How would I troubleshoot
[18:53:11] andywww: has joined #RubyOnRails
[18:54:38] DTZUZO: has joined #RubyOnRails
[19:02:20] gambl0re: has joined #RubyOnRails
[19:03:25] one_zero: has joined #RubyOnRails
[19:03:25] mlt-: has joined #RubyOnRails
[19:03:47] jphase: has joined #RubyOnRails
[19:03:53] chouhoulis: has joined #RubyOnRails
[19:03:55] jtperreault: has joined #RubyOnRails
[19:04:03] defsdoor: has joined #RubyOnRails
[19:06:18] dustinm`: has joined #RubyOnRails
[19:08:00] mlt-: Uhm...how would I go about transaction isolation and rake test? It seems testing wraps everything in begin/rollback thus resulting in ActiveRecord::TransactionIsolationError because of joining existing open trasnaction
[19:08:17] mlt-: Am I doing something wrong?
[19:08:26] jhfisc: has joined #RubyOnRails
[19:08:27] mtkd: has joined #RubyOnRails
[19:10:58] matthewd: mlt-: You'd probably need to disable transactional tests for those tests, and handle the setup/cleanup yourself
[19:12:05] mikecmpbll: has joined #RubyOnRails
[19:13:41] dionysus69: has joined #RubyOnRails
[19:14:00] S007: has joined #RubyOnRails
[19:14:29] jhfisc: has joined #RubyOnRails
[19:14:39] ur5us: has joined #RubyOnRails
[19:15:18] mlt-: matthewd: this sounds promising. Can I do it per test method? Or per entire subclass of integration test?
[19:16:07] matthewd: The latter, because it affects the setup and teardown methods. Just split your test class in two as needed.
[19:17:01] mlt-: ic... thanks!
[19:18:54] mtkd: has joined #RubyOnRails
[19:19:50] jhfisc: has joined #RubyOnRails
[19:19:57] mlt-: Also I noticed that fixture_file_upload searches for a file from rails root and not from fixture_path :( I'm using Rails 4.2.7 . I thought it should look at the same location I have other fixtures for the test class
[19:22:07] matthewd: That sounds familiar.. might've been fixed in 5.0 or 5.1?
[19:22:35] ResidentBiscuit: has joined #RubyOnRails
[19:23:49] mlt-: Yeah... I was not sure if it was version specific as it didn't do what documentation says:-) Oh well...
[19:31:17] gusrub: has joined #RubyOnRails
[19:32:58] Inoperable: has joined #RubyOnRails
[19:34:00] SteenJobs: has joined #RubyOnRails
[19:34:43] mlt-: Speaking of Rails 4 vs 5, do I use xhr :get and alike in 4 while get ..., xhr: true in 5, right?
[19:34:47] SteenJobs_: has joined #RubyOnRails
[19:38:25] jhfisc: has joined #RubyOnRails
[19:41:31] jmay: has joined #RubyOnRails
[19:44:27] jhfisc: has joined #RubyOnRails
[19:45:30] weaksauce: has joined #RubyOnRails
[19:48:17] jphase: has joined #RubyOnRails
[19:50:18] SteenJobs_: has joined #RubyOnRails
[19:50:48] matthewd: mlt-: Don't remember, sorry. 4.2 was a long time ago 😅
[19:52:08] brent__: has joined #RubyOnRails
[19:56:28] SteenJobs_: has joined #RubyOnRails
[20:02:57] jhfisc: has joined #RubyOnRails
[20:02:59] mustmodify: has joined #RubyOnRails
[20:05:36] mustmodify: I have an Address model. I have two other models, Customer and Appointment. I want to ensure only US locations are attached to Appointment, but I need to allow non-US addresses for Customer. So I'm thinking that validation should be on Customer, but I don't typically do remote validations. Any thoughts?
[20:05:48] mustmodify: and by remote I just mean not in the same model / table.
[20:06:12] jphase: has joined #RubyOnRails
[20:07:46] andywww: has joined #RubyOnRails
[20:08:24] p8m: has joined #RubyOnRails
[20:08:37] jhfisc: has joined #RubyOnRails
[20:08:48] guacamole: has joined #RubyOnRails
[20:09:26] matthewd: mustmodify: You'll need to consider what happens if a customer changes address after they have an appointment, for example
[20:13:01] username: has joined #RubyOnRails
[20:14:07] SteenJobs_: has joined #RubyOnRails
[20:15:10] jhfisc: has joined #RubyOnRails
[20:21:02] jhfisc: has joined #RubyOnRails
[20:21:51] andywww: has joined #RubyOnRails
[20:24:34] SteenJobs_: has joined #RubyOnRails
[20:25:07] jhfisc: has joined #RubyOnRails
[20:32:12] emers2n: has joined #RubyOnRails
[20:35:04] Ergo: has joined #RubyOnRails
[20:35:23] andywww: has joined #RubyOnRails
[20:43:26] jhfisc: has joined #RubyOnRails
[20:48:22] dviola: has joined #RubyOnRails
[20:49:38] mlt-: Is there anything wrong with huge single method for integration testing (for one specific case) with lots of actions and asserts?
[20:50:16] mlt-: Otherwise I'll end up needing ordered test execution and common cleanup...
[20:57:17] et09: has joined #RubyOnRails
[21:02:22] ur5us: has joined #RubyOnRails
[21:03:06] alfiemax: has joined #RubyOnRails
[21:04:59] jhfisc: has joined #RubyOnRails
[21:08:03] mustmodify: matthewd: right, that's already handled. I just need to figure out how to validate whether it's in or out of the US.
[21:08:26] jhfisc: has joined #RubyOnRails
[21:09:52] mlt-: mustmodify: Why wouldn't you just fail attachment if address is non-US?
[21:10:51] mlt-: matthewd: Somehow with `self.use_transactional_fixtures = false`, I see stuff left in DB, but I still get issue with `con.transaction(isolation: :serializable) do`...
[21:11:11] mustmodify: that's what I'm thinking. I just don't typically have validations that check other models. I'm wondering if there are any gotchas that I'm not considering.
[21:14:05] mlt-: mustmodify: also https://stackoverflow.com/q/25591712/673826
[21:14:08] kitsuneyo: has joined #RubyOnRails
[21:14:27] jhfisc: has joined #RubyOnRails
[21:14:27] mustmodify: I love an SO post that opens with "Here's the thing."
[21:14:49] mustmodify: wait, the user model validates the email address of the address model?
[21:14:56] mlt-: mustmodify: not everybody likes to make things clear )
[21:15:27] mlt-: It just makes user invalid if address is off
[21:15:34] mustmodify: mlt-: I'll read it, though, thanks.
[21:15:35] mlt-: I think you need something alike
[21:15:44] mustmodify: sure, not far off from that.
[21:16:13] mlt-: ACTION tempted to ditch transactions...
[21:17:01] ruby_railroad02: has joined #RubyOnRails
[21:18:47] mlt-: Can someone comment what is going on https://github.com/aamine/activerecord4-redshift-adapter/blob/master/test/cases/transaction_isolation_test.rb#L16 ? They turn off transactional fixtures and do expect serialized xact to fail
[21:24:59] SteenJobs: has joined #RubyOnRails
[21:28:28] andywww: has joined #RubyOnRails
[21:32:04] jhfisc: has joined #RubyOnRails
[21:36:48] FastJack: has joined #RubyOnRails
[21:38:24] jhfisc: has joined #RubyOnRails
[21:49:17] mlt-: Uhm....is controller's before_update filter is wrapped into its own transaction (for update)?
[21:49:30] andywww: has joined #RubyOnRails
[21:53:31] jhfisc: has joined #RubyOnRails
[21:53:53] workmad3: has joined #RubyOnRails
[21:53:55] kn-928: has joined #RubyOnRails
[21:58:47] sinequanon: has joined #RubyOnRails
[21:59:45] jhfisc: has joined #RubyOnRails
[22:01:56] kitsuneyo: has joined #RubyOnRails
[22:04:41] alfiemax: has joined #RubyOnRails
[22:05:21] jhfisc: has joined #RubyOnRails
[22:09:06] mustmodify: has left #RubyOnRails: ()
[22:11:03] kitsuneyo: has joined #RubyOnRails
[22:16:37] alfiemax: has joined #RubyOnRails
[22:19:02] alfiemax: has joined #RubyOnRails
[22:20:50] gusrub: has joined #RubyOnRails
[22:21:21] alfiemax: has joined #RubyOnRails
[22:21:31] arthurnn: has joined #RubyOnRails
[22:21:41] jhfisc: has joined #RubyOnRails
[22:23:40] TessaM: has joined #RubyOnRails
[22:25:26] jaegerca: has joined #RubyOnRails
[22:25:28] jaegerca: If I have action cable running on two servers, and a user is connected on server A, but server B broadcasts the event, how does the user get notified?
[22:26:34] jhfisc: has joined #RubyOnRails
[22:28:39] SteenJobs: has joined #RubyOnRails
[22:30:14] Radar: GOOD MORNING
[22:32:15] jhfisc: has joined #RubyOnRails
[22:33:59] AntiSpamMeta: has joined #RubyOnRails
[22:35:22] alfiemax: has joined #RubyOnRails
[22:36:56] jmay: has joined #RubyOnRails
[22:38:41] jhfisc: has joined #RubyOnRails
[22:41:37] jhfisc: has joined #RubyOnRails
[22:42:28] alfiemax: has joined #RubyOnRails
[22:47:36] jhfisc: has joined #RubyOnRails
[22:48:57] alfiemax: has joined #RubyOnRails
[22:55:42] jaegerca: Ah - looks like redis
[22:55:44] jhfisc: has joined #RubyOnRails
[22:55:47] jaegerca: Good ole redis
[23:01:42] jhfisc: has joined #RubyOnRails
[23:02:03] elnner: has joined #RubyOnRails
[23:04:58] hahuang65: has joined #RubyOnRails
[23:06:36] quazimodo: has joined #RubyOnRails
[23:09:35] jhfisc: has joined #RubyOnRails
[23:15:01] jhfisc: has joined #RubyOnRails
[23:15:47] andywww: has joined #RubyOnRails
[23:17:11] jphase: has joined #RubyOnRails
[23:22:53] mattwithoos: has joined #RubyOnRails
[23:25:27] jphase: has joined #RubyOnRails
[23:27:49] jhfisc: has joined #RubyOnRails
[23:29:09] jphase: has joined #RubyOnRails
[23:33:07] jhfisc: has joined #RubyOnRails
[23:36:48] guacamole: has joined #RubyOnRails
[23:39:45] jhfisc: has joined #RubyOnRails
[23:43:20] jhfisc: has joined #RubyOnRails
[23:53:13] tweaks: has left #RubyOnRails: ()
[23:55:02] jhfisc: has joined #RubyOnRails