« Back to channel list

#RubyOnRails - 13 July 2018

« Back 1 day Forward 1 day »
[00:00:37] hazulu: I made a scaffold and I implemented active storage to have a set of images. I need to be able to reorder them so I made a class with a relationship that has a position and an attached image. i was wondering if I could take a bunch of images from the form and still save them as blobs with active storage but attach them to new objects instead of the object the form is for
[00:00:45] duderonomy: has joined #RubyOnRails
[00:14:40] quazimodo: has joined #RubyOnRails
[00:14:46] havenwood: hazulu: http://api.rubyonrails.org/v5.2.0/classes/ActionView/Helpers/FormHelper.html#method-i-fields_for
[00:14:55] quazimod2: has joined #RubyOnRails
[00:32:24] hazulu: thanks for the link havenwood, the only thing is that I have one field that attaches multiple images, and I have to dynamically make a nested object for each one would I still be able to do this with the fields_for?
[00:32:57] Alec: hazulu: forgive the off topic but every channel I'm in has gone super quiet, I'm just going to test a command on you can you tell me how it looks please?
[00:33:15] Alec: I've done it.
[00:34:06] hazulu: uhh it looks like: [20:33] -Alec- This is the test I mentioned.
[00:34:40] Alec: Did it come up in a PM
[00:34:58] hazulu: oh it did
[00:35:05] Alec: I've just sent you a "PM" style one - that *should* have opened a chat window with me
[00:35:22] Alec: hazulu: what channel did: "[20:33] -Alec- This is the test I mentioned." appear in?
[00:35:34] Alec: Oh you said nope in PM
[00:36:53] Alec: Okay that confirms that, sorry for the off topic there ( havenwood was AFK anyway - FWIW - so it wasn't *that* evil of me!)
[00:38:08] hazulu: haha no problem x)
[00:47:15] cagomez: has joined #RubyOnRails
[00:47:18] garyserj: I notice that in the case of 1-M you put has_many in one model, and belongs_to in the other one. The one with the foreign key has the belongs_to. Whereas in the M-M case, you put has_and_belongs_to_many in both of them, even though neither has a foreign key. And you do a create_join_table :blahA, :blahB line in the migration file, and that table will have the foreign keys. So what's the
[00:47:18] garyserj: rule for when you put .....belongs_to?
[00:49:15] Alec: garyserj: what's that in reference to? I'd like to see it but I can't see anything that it might be?
[01:15:35] sevenseacat: has joined #RubyOnRails
[01:17:04] jhack: has joined #RubyOnRails
[01:21:47] vedu_: has joined #RubyOnRails
[01:23:35] garyserj: Alec: like the many to many relationship between Car and Driver
[01:24:01] garyserj: where a car can have many different drivers (man, wife, son). And a driver could have many different cars.
[01:24:57] jhack: has joined #RubyOnRails
[01:25:15] garyserj: you write has_and_belongs_to_many in both Car and Driver. Even though Car doesn't have a foreign key to driver and Driver doesn't have a foreign key to Car. I guess it's because there is a foreign key somewhere (in this case, in a linking table)
[01:32:15] Technodrome: has joined #RubyOnRails
[01:47:08] alfiemax: has joined #RubyOnRails
[01:53:49] tdy: has joined #RubyOnRails
[01:57:54] ephemer0l: has joined #RubyOnRails
[02:15:36] pharma_joe: has joined #RubyOnRails
[02:15:53] andrewray: has joined #RubyOnRails
[02:18:21] dviola: has joined #RubyOnRails
[03:11:00] braincrash: has joined #RubyOnRails
[03:23:06] andrewray: has joined #RubyOnRails
[03:23:56] andrewray: has joined #RubyOnRails
[03:24:48] unreal: has joined #RubyOnRails
[03:28:10] Technodrome: has joined #RubyOnRails
[03:34:30] GodFather: has joined #RubyOnRails
[03:37:31] dviola: has joined #RubyOnRails
[03:41:06] jnollette: has joined #RubyOnRails
[03:51:24] pharma_joe: has joined #RubyOnRails
[03:59:35] sirensari2: has joined #RubyOnRails
[04:00:25] darkhanb: has joined #RubyOnRails
[04:02:39] akaiiro: has joined #RubyOnRails
[04:11:25] akaiiro: has joined #RubyOnRails
[04:19:57] akaiiro: has joined #RubyOnRails
[04:26:25] akaiiro: has joined #RubyOnRails
[04:34:30] apeiros: has joined #RubyOnRails
[04:48:39] Saukk: has joined #RubyOnRails
[05:04:33] ur5us: has joined #RubyOnRails
[05:31:03] timdotrb: has joined #RubyOnRails
[06:17:52] dionysus69: has joined #RubyOnRails
[06:19:21] dionysus69: still on the topic of sidekiq, I am reading that in order to use sidekiq full app needs to be thread safe, does it mean literally the whole app or the code that the sidekiq is processing?
[06:19:37] dionysus69: or should I just use resque instead?
[06:21:06] mikecmpbll: has joined #RubyOnRails
[06:22:01] Alec: dionysus69: to be thread safe means "the entire thing"
[06:22:10] Alec: The question makes no sense
[06:22:14] Alec: It's either safe or it isn't
[06:22:37] dionysus69: ugh, resque I guess, thanks Alec :D
[06:23:35] Alec: dionysus69: whatever you are using will say what it guarantees your job is to meet the requirements so it can meet it's own
[06:23:50] Alec: bits that don't need "protecting" - well they don't need protecting!
[06:24:46] srinidhi: has joined #RubyOnRails
[06:24:57] dionysus69: thing is I am not sure, to be honest I don't have any jobs atm, just the email part
[06:25:38] dionysus69: full thread safety of the app is scary part of sidekiq notices, so I am not fully sure what may or may not go wrong
[06:25:48] DoubleMalt: has joined #RubyOnRails
[06:26:00] Alec: dionysus69: time to get a paper and pen and plan it out
[06:26:13] Alec: There's some shit you never ever want to be trying to fix when it's "written"
[06:26:16] Alec: It's impossible.
[06:26:23] Alec: Or it's a nightmare to find all the locations
[06:26:55] Alec: I call this "grepability" because I'd litter my code with // COMMAND_LOCATION_STYLE_WHATEVER
[06:26:58] dionysus69: thing is that I don't know where to start, I am protecting critical parts of the application with with_lock, so db handles data integrity with deadlocks
[06:27:29] sevenseacat: time to hire a consultant?
[06:27:55] syndikate: Not sure if it's the right way to do it but is it possible to lazy load in rails console?
[06:27:55] dionysus69: would be great, but there are no rails consultants in my country, like at all :D
[06:27:58] Alec: So say you want to add an undo system to a generic application, you can mark everywhere you do an "action" with some comment like I said - and pray (which is useless) you didn't miss any, then go through systematically replacing them and hopefully not have problems with undo/redo using grep to find them
[06:28:16] sevenseacat: do they need to be in your country?
[06:28:18] Alec: but until you've found them all you're just going to piss off users "what do you mean only 30% of stuff randomly can be undone/redone the rest can't at all!"
[06:28:47] Alec: dionysus69: ^
[06:28:47] dionysus69: the job I am working for is not remote friendly :) old school I guess
[06:29:06] syndikate: So what am trying to do is, calling an enumerator method on an eager loaded association, if that association is not eager loaded ( i.e lazy loading) then what would happen when that enumerator method is called?
[06:29:13] Alec: BTW this is the ONLY FUCKING MERIT of PHP style things, because the pages are independent and live/die in a fraction of a second, you can't fuck up concurrency.
[06:29:28] Alec: But of course it's vastly offset by PHP causing people to self harm, or in my case harm others.
[06:30:04] Alec: Never before have I wanted to feel the car with bricks where-ever I can fit them thudding over bodies so much as when I'm working with PHP
[06:30:15] Alec: But that's very much my issue.
[06:30:28] srinidhi: has joined #RubyOnRails
[06:30:30] dionysus69: well as I said, I had some race conditions and I am protecting critical parts with db locks, the other parts that aren't, pretty vague on what else may go wrong
[06:30:51] syndikate: Oh wait I think I got it all wrong
[06:30:55] Alec: dionysus69: hope this helped. grepability is a good thing, I hope you see how "going back to fix that" is impossible even for the undo system - now you're in a place where you don't know threads are going to interact! You can't even mark them!
[06:31:46] dionysus69: yea, I don't have undos at all, either transaction works or it waits for the lock, if I understand your meaning of undo correctly
[06:31:55] Alec: That wasn't ...
[06:32:08] Alec: "I wish you luck in your future endevours"
[06:32:35] dionysus69: Live long and prosper kind of thing ?:D
[06:33:26] dionysus69: so by undo you didn't mean rollback?
[06:34:54] apeiros: has joined #RubyOnRails
[06:35:29] Alec: dionysus69: you missed the point completely
[06:35:42] Alec: I may have assumed you have more experience than you do and I've got to go sorry
[06:35:52] dionysus69: yea, I fell off the bike on the way to work so, maybe I am bit disoriented :D
[06:36:04] Alec: Not what I meant
[06:36:04] dionysus69: no prob, thanks anyway :)
[06:36:19] Alec: It's the experience part that comes with "learning how to make code you can maintain" and talking about it with others
[06:37:52] dionysus69: I have all parts of this covered https://github.com/mperham/sidekiq/wiki/Problems-and-Troubleshooting#writing-thread-safe-code, I don't use globals or class variables anywhere
[06:38:26] dionysus69: if that's all what it takes
[06:40:37] za1b1tsu: has joined #RubyOnRails
[06:43:09] Alec: dionysus69: the only thing you need to be careful of is copy-on-write then. But yeah that's why worker-threads and promises are so common, you pass it it's own copy of the data - it can fuck that up and you wouldn't even noticed - and then you leave it running and there's absolutely no way it can do any harm
[06:43:15] Alec: Then you just wait for the future.
[06:43:26] Alec: But concurrent applications can't do that, but when you can get away with it it's great.
[06:43:38] Alec: Always good to try and do all the data sharing first then just fire and forget into a worker thread.
[06:45:15] dionysus69: so let's say I am using sidekiq to just send emails and do some simple jobs that don't even touch db, can you make one example scenario what potentially could go wrong? like any scenario (if you have time)
[06:45:23] snickers: has joined #RubyOnRails
[06:48:10] Alec: "I leave that as an exercise for the reader"
[06:48:44] Alec: But remember the existence of such a situation is proof it is not safe, unless you can show it DOESN'T hold (ie for all stituations ... ) via proof - not being able to think of one doesn't mean anything
[06:49:02] dionysus69: ok I ll continue with my research :P
[06:49:12] Alec: See the statement exists x [ Q(x) ] is logically identical to forall x [ ¬Q(X) ]
[06:49:38] Alec: For ALL not "for what I could think of in 3 minutes"
[06:50:28] quazimodo: has joined #RubyOnRails
[06:52:49] Alec: dionysus69: there is one bit of advice I can imbue that you can apply BTW (this goes to all! *hype* yes it is an amazing rule!)
[06:53:53] Alec: It is not enough to have the program work for correct inputs, it must also work correct (as in "correct be defined") for incorrect inputs
[06:54:59] dionysus69: yes, I always keep that in mind in all cases where there is input
[06:59:12] Alec: Good - don't let rollback lull you into complacency
[06:59:18] Alec: That can still lead to DoS attacks
[07:00:11] pharma_joe: has joined #RubyOnRails
[07:00:16] Alec: Just hours ago I DoSed a bot with a porn mp4 link where it expected an RSS feed - to get it to accept it I just had to put a ? at the end (so it wans't ".mp4" any more) and the parser was so badly written it ballooned memory wise and would crash
[07:00:50] Alec: If it bailed quickly it wouldn't have happened
[07:01:20] Alec: Gone for real
[07:01:25] alfiemax: has joined #RubyOnRails
[07:01:54] Alec: [Arguably the case of sending it a large TEXT link would be difficult but yes binary data and it kept trying to parse!
[07:03:06] Alec: Alright cya
[07:12:09] conta: has joined #RubyOnRails
[07:20:03] bonhoeffer: has joined #RubyOnRails
[07:20:31] dblessing: has joined #RubyOnRails
[07:20:49] bonhoeffer: i’m struggling with a csrf after logging in — i’m worried my upgraded 5.2 app doesn’t handle state properly — are there some things I should check — the error is only in production
[07:21:30] bonhoeffer: i’ve tried to read http://guides.rubyonrails.org/security.html and other guides like that
[07:27:52] bonhoeffer: I wish I could test this
[07:34:09] bonhoeffer: this room used to be alive, what happened?
[07:36:25] Alec: It's 9 am on a friday, what do you expect?
[07:36:31] Alec: Come back same time on Monday :P
[07:37:12] sevenseacat: heh yeah almost beer o'clock in these parts
[07:38:13] bonhoeffer: ha — yes fair enough
[07:38:51] bonhoeffer: i’m stuck in csrf hell with 5.2 — good link would be awesome
[07:40:55] akaiiro: has joined #RubyOnRails
[07:41:55] bonhoeffer: it is so hard to troubleshoot because I can’t figure out how to make a test for it that fails
[07:42:23] bonhoeffer: i’m pretty sure it is due to 5.2 encryption around the state — i think i’ve updated everything to work properly in the 5.2 way
[07:49:47] cabotto: has joined #RubyOnRails
[07:52:34] akaiiro: has joined #RubyOnRails
[07:53:10] andywww: has joined #RubyOnRails
[07:54:37] jottr: has joined #RubyOnRails
[07:55:30] bonhoeffer: has joined #RubyOnRails
[07:56:44] cabotto: has joined #RubyOnRails
[08:10:43] bonhoeffer: has joined #RubyOnRails
[08:19:08] za1b1tsu: Hello, from what I'm reading is not possible to insert multiple active records with a single query? Is this correct?
[08:29:20] GodFather: has joined #RubyOnRails
[08:36:00] Sylario: has joined #RubyOnRails
[08:37:56] timdotrb: has joined #RubyOnRails
[08:38:49] Alec: you know ruby[bot] thing - is it possible to break it?
[08:38:53] timdotrb: has joined #RubyOnRails
[08:38:54] Alec: Or is it shunning me or something?
[08:39:30] timdotrb: has joined #RubyOnRails
[08:40:14] timdotrb: has joined #RubyOnRails
[08:41:12] timdotrb: has joined #RubyOnRails
[08:54:48] lessless: has joined #RubyOnRails
[08:55:59] lessless: is it possible to set response.headers with redirect_to? response.headers['X-PJAX-URL'] = "..." && redirect_to(...) doesn't seem to play nice together
[09:12:30] fragamus: has joined #RubyOnRails
[09:16:42] fragamus: has joined #RubyOnRails
[09:25:39] Ergo: has joined #RubyOnRails
[09:28:12] Dbugger: has joined #RubyOnRails
[09:34:26] ur5us: has joined #RubyOnRails
[09:34:59] za1b1tsu: bonhoeffer, it automatically makes multiple sql queries
[09:35:14] za1b1tsu: anyone managed to load_resouce :collection in cancancan?
[09:37:41] drale2k_: has joined #RubyOnRails
[09:59:50] za1b1tsu: I have: load_resource :promo_code, collection: [:create], through: :discount
[10:00:27] za1b1tsu: It loads @promo_code in #create and @promo_codes in #index, but no @promo_codes in #create
[10:01:23] za1b1tsu: I don't understand the problem, in the cancancan documentantion it says I can use collection: [:action] to 'Specify which actions are resource collection actions in addition to :index.'
[10:04:28] megan1993: has joined #RubyOnRails
[10:04:37] j0bk: has joined #RubyOnRails
[10:19:19] braincrash: has joined #RubyOnRails
[10:19:53] fragamus: has joined #RubyOnRails
[10:23:28] megan1993: has joined #RubyOnRails
[10:23:33] megan1993: Hi! How can I prevent this from a possible SQL injection, the SQL "FIELD" requires a comma separated value (so something like FIELD(attribute=?) isn't really possible I think). Model.where(attribute: some_array).order("FIELD(attribute, #{some_array.join ', '}) DESC").first
[10:29:01] apeiros: has joined #RubyOnRails
[10:35:29] tbuehlmann: megan1993, there's a sanitizer for that: http://api.rubyonrails.org/classes/ActiveRecord/Sanitization/ClassMethods.html#method-i-sanitize_sql_for_order
[10:40:55] megan1993: @tbuehlmann I'm getting a undefined method for ActiveRecordRelation. Model.where(attribute: some_array).sanitize_sql_for_order("FIELD(attribute, ?)", my_array).first
[10:41:31] tbuehlmann: it's something like .order(sanitize_sql_for_order(…))
[10:41:32] megan1993: Or can't I chain this on a ActiveRecord::Relation
[10:55:05] za1b1tsu_: has joined #RubyOnRails
[10:57:47] ltd: has joined #RubyOnRails
[10:57:56] quazimodo: has joined #RubyOnRails
[10:58:40] megan1993: It looks like the sanitize_* methods are all protected, so I'm not sure you are intended to use them.
[11:07:24] tbuehlmann: sanitize_sql_for_order is a public method, but if it weren't, that wouldn't be bad since you're using it from inside the class, right?
[11:13:38] fot: has joined #RubyOnRails
[11:22:06] conta: has joined #RubyOnRails
[11:29:55] Terens: has joined #RubyOnRails
[11:30:05] Alec: Hi there
[11:32:47] Terens: is it ok to pass controller request object to another object ?
[11:35:12] Alec: has left #RubyOnRails: ("Leaving")
[11:35:41] tbuehlmann: terens: if you need that object, sure. if you only need an attribute off of it, just pass that attribute
[11:39:29] Saukk: has joined #RubyOnRails
[11:53:04] za1b1tsu_: So I have this in a spec: post :create, { count: 10, restaurant_id: restaurant.permalink, discount_id: discount.id, limit: 5 }
[11:53:42] za1b1tsu_: I'm not modifying any attribute, nothing and it gives me an error: unknown attribute 'count' for PromoCode.
[11:53:55] za1b1tsu_: if I change 'count' for anything else, it works
[12:01:13] alfiemax_: has joined #RubyOnRails
[12:33:33] lupine: has joined #RubyOnRails
[12:37:09] lexileo: has joined #RubyOnRails
[12:38:36] lupine: has joined #RubyOnRails
[12:50:07] cheeti: has joined #RubyOnRails
[12:50:28] cheeti: hi how to change devise sign_out as post?
[12:51:36] deathwishdave: has joined #RubyOnRails
[12:52:13] tbuehlmann: cheeti, probably in your config file: https://github.com/plataformatec/devise/blob/v4.4.3/lib/generators/templates/devise.rb#L254
[12:53:17] cheeti: tbuehlmann No route matches [GET] "/users/sign_out"
[12:53:41] cheeti: tbuehlmann any problem if we use get method for signout?
[12:54:09] tbuehlmann: I'd use delete, but get should work as well
[12:55:41] IanMalcolm: has joined #RubyOnRails
[12:56:14] sagax: has joined #RubyOnRails
[12:56:15] lexileo: has joined #RubyOnRails
[12:57:54] cheeti: tbuehlmann delete in get method
[13:02:06] srinidhi: has joined #RubyOnRails
[13:05:19] MalcolmReynolds: has joined #RubyOnRails
[13:06:54] MalcolmReynolds: has joined #RubyOnRails
[13:13:54] fmcgeough: has joined #RubyOnRails
[13:20:54] za1b1tsu_: has joined #RubyOnRails
[13:36:06] za1b1tsu_: has joined #RubyOnRails
[13:36:26] FCser: has joined #RubyOnRails
[13:38:51] FCser: Is there a simple way to search query based on an association value / array? Example Product.where(colors: [list,of,color,objects]) would find all products with any colors searched for...?
[13:39:31] reber: has joined #RubyOnRails
[13:39:33] reber__: has joined #RubyOnRails
[13:43:06] uksio: has joined #RubyOnRails
[13:54:29] Sylario: fcser: # Find the clients with primary keys 1 and 10.
[13:54:29] Sylario: clients = Client.find([1, 10])
[13:54:51] Sylario: from here : http://guides.rubyonrails.org/active_record_querying.html#retrieving-a-single-object
[13:55:21] Cavallari: has joined #RubyOnRails
[13:55:23] Sylario: also Client.where(orders_count: [1,3,5]) on the same page
[13:55:41] Cavallari: I have this line:
[13:55:58] Cavallari: = render partial: 'user', collection: @users, as: :user, locals: { limit: 7.days }
[13:56:27] Cavallari: I need to use the limit variable inside the partial "user"... but this variable is not being injected, any idea anyone??
[13:58:04] Sylario: @cavallari post the partial on gist
[13:59:27] hazulu: has joined #RubyOnRails
[14:01:58] FCser: thanks sylario knew there had to be some simple way
[14:02:41] FCser: so that should work on association collections too I'm guessing - will test
[14:08:28] rikkipitt: has joined #RubyOnRails
[14:22:01] dblessing: has joined #RubyOnRails
[14:22:18] apparition: has joined #RubyOnRails
[14:22:54] FCser: maybe I'm not understanding but it does not seem to work with associations example Product has_many Categories - query products within categories does not work Product.where(categories: [1,2,5])
[14:30:09] troys: has joined #RubyOnRails
[14:31:57] agent_white: has joined #RubyOnRails
[14:40:13] Technodrome: has joined #RubyOnRails
[14:42:40] srinidhi: has joined #RubyOnRails
[14:49:17] za1b1tsu_: I want to add created_at in a csv file, but I'm getting &quot The date &quot. Can I do something about the &qout?
[14:51:29] timdotrb: has joined #RubyOnRails
[14:51:54] reber__: has joined #RubyOnRails
[15:01:50] SteenJobs: has joined #RubyOnRails
[15:09:24] Puffball: has joined #RubyOnRails
[15:24:46] ivanskie: has joined #RubyOnRails
[15:25:25] tcopeland: has joined #RubyOnRails
[15:31:47] snowy: has joined #RubyOnRails
[15:36:11] snowy: Hi all. Just wondering how you're all testing that the correct fields are being permitted via strong parameters? I have just run into an issue whereby the name of a form field (mapped to a form object) had been updated but the permitted values in strong parameters had not. This was not picked up by our test suite as the model was technically valid but the field data was getting lost.
[15:37:58] mikecmpbll: has joined #RubyOnRails
[15:38:03] Dbugger: has joined #RubyOnRails
[15:39:02] molloy: has left #RubyOnRails: ("WeeChat 1.0.1")
[15:50:19] jcarl43: has joined #RubyOnRails
[15:53:32] cagomez: has joined #RubyOnRails
[15:57:26] lxsameer: has joined #RubyOnRails
[15:59:35] cagomez: has joined #RubyOnRails
[16:02:19] planigan: has joined #RubyOnRails
[16:05:05] Caerus: has joined #RubyOnRails
[16:14:12] MalcolmReynolds: has joined #RubyOnRails
[16:16:56] sagax: has joined #RubyOnRails
[16:21:19] Saukk: has joined #RubyOnRails
[16:23:02] lexileo: has joined #RubyOnRails
[16:25:00] DysonReturns: has joined #RubyOnRails
[16:25:09] andrewray: has joined #RubyOnRails
[16:26:10] vpereira: has joined #RubyOnRails
[16:26:47] DysonReturns: hey guys. I'm struggling to change the cookie name when using cache_store for session. My cache store is the new redis engine in 5.2. setting 'key' option, doesn't have an effect. it's always _appname_session
[16:27:18] vpereira: hey, a question: I see some controllers, that for security reason, try to match the object being routed in the url and the object being actually updated via PUT payload
[16:27:47] vpereira: there isn't a "rails way to do it" instead of check the raw request manually?
[16:28:22] fot: has joined #RubyOnRails
[16:29:56] lxsameer: has joined #RubyOnRails
[16:30:47] DysonReturns: if your url has an identifier and your put doesn't then it will always match? /object/:id { payload: { field: "updated", otherfield:"updated too" } }
[16:31:11] DysonReturns: if your payload has an ID too, then that's probably redundant
[16:31:24] vpereira: dysonreturns: hm interesting
[16:31:33] DysonReturns: unless i'm confusing the issue.
[16:31:42] vpereira: no it makes sense
[16:32:45] vpereira: but i kind of saw it time to time.. and now im working in a project where I see this control being done manually
[16:33:25] vpereira: everywhere in the controllers
[16:33:51] vpereira: but i remember some years ago some way to exploit
[16:36:41] darkhanb: has joined #RubyOnRails
[16:40:00] lxsameer: has joined #RubyOnRails
[16:42:13] eckhardt_: has joined #RubyOnRails
[16:44:22] mikecmpbll: has joined #RubyOnRails
[16:47:25] timdotrb_: has joined #RubyOnRails
[16:47:40] cloudiver: has joined #RubyOnRails
[16:48:08] vpereira: dysonreturns: hmmm when the payload is a XML maybe you cannot controll that
[16:49:18] mikecmpbll: has joined #RubyOnRails
[16:50:09] lxsameer: has joined #RubyOnRails
[16:55:28] mikecmpbll: has joined #RubyOnRails
[16:57:42] timdotrb: has joined #RubyOnRails
[16:59:01] bga57: has joined #RubyOnRails
[17:00:05] lxsameer: has joined #RubyOnRails
[17:10:09] lxsameer: has joined #RubyOnRails
[17:14:40] sameerynho: has joined #RubyOnRails
[17:20:01] lxsameer: has joined #RubyOnRails
[17:29:17] IanMalcolm: has joined #RubyOnRails
[17:30:13] lxsameer: has joined #RubyOnRails
[17:30:14] IanMalcolm: has joined #RubyOnRails
[17:30:17] za1b1tsu_: has joined #RubyOnRails
[17:31:19] jottr: has joined #RubyOnRails
[17:32:19] bonhoeffer: has joined #RubyOnRails
[17:39:56] lxsameer: has joined #RubyOnRails
[17:41:29] za1b1tsu_: has joined #RubyOnRails
[17:42:41] hammer065: has joined #RubyOnRails
[17:48:09] Technodrome: has joined #RubyOnRails
[17:49:59] lxsameer: has joined #RubyOnRails
[18:00:06] lxsameer: has joined #RubyOnRails
[18:02:55] DysonReturns: there we go. i lost hours. the cutesy new 'caching-dev.txt' in development environment screws you over if your session store is also your cache store, i.e. redis. all the while my caches and sessions were not writing and here I am deep diving the inner workings of csrf tokens.
[18:03:01] johndunn: has joined #RubyOnRails
[18:03:14] DysonReturns: someone HAS to fix that.
[18:04:14] DysonReturns: maybe dupe the session_store when setting it, so that the assignment of null_store later on in example config doesn't null that too.
[18:06:13] johndunn: has left #RubyOnRails: ()
[18:06:15] DysonReturns: i can't think of a use-case for not having a session store. maybe a more verbose warning can come up and :null_store is incompatible with session store. :null_cache_store and :null_session_store could be explicitly defined seperate.
[18:09:59] lxsameer: has joined #RubyOnRails
[18:20:00] lxsameer: has joined #RubyOnRails
[18:26:27] desnudopenguino: has joined #RubyOnRails
[18:30:00] lxsameer: has joined #RubyOnRails
[18:38:18] Dbugger: has joined #RubyOnRails
[18:39:18] SteenJobs: has joined #RubyOnRails
[18:40:00] lxsameer: has joined #RubyOnRails
[18:40:39] apeiros: has joined #RubyOnRails
[18:43:43] nzst: has joined #RubyOnRails
[18:46:53] fragamus: has joined #RubyOnRails
[18:48:24] IanMalcolm: has joined #RubyOnRails
[18:50:12] lxsameer: has joined #RubyOnRails
[18:58:54] apeiros__: has joined #RubyOnRails
[19:00:06] lxsameer: has joined #RubyOnRails
[19:00:18] dviola: has joined #RubyOnRails
[19:05:24] apeiros: has joined #RubyOnRails
[19:09:59] lxsameer: has joined #RubyOnRails
[19:17:30] lemonpaul: has joined #RubyOnRails
[19:20:01] lxsameer: has joined #RubyOnRails
[19:30:00] lxsameer: has joined #RubyOnRails
[19:32:56] reber: has joined #RubyOnRails
[19:40:10] lxsameer: has joined #RubyOnRails
[19:50:10] lxsameer: has joined #RubyOnRails
[19:55:22] dblessing: has joined #RubyOnRails
[19:59:05] snickers: has joined #RubyOnRails
[20:00:10] lxsameer: has joined #RubyOnRails
[20:02:35] mikecmpbll: has joined #RubyOnRails
[20:05:35] bonhoeffer: has joined #RubyOnRails
[20:10:10] lxsameer: has joined #RubyOnRails
[20:20:02] lxsameer: has joined #RubyOnRails
[20:27:13] ebsen: has joined #RubyOnRails
[20:29:57] lxsameer: has joined #RubyOnRails
[20:36:19] Technodrome: has joined #RubyOnRails
[20:39:58] lxsameer: has joined #RubyOnRails
[20:41:36] NoGodDamnIdea: has joined #RubyOnRails
[20:47:46] Ergo: has joined #RubyOnRails
[20:50:07] lxsameer: has joined #RubyOnRails
[20:59:58] lxsameer: has joined #RubyOnRails
[21:10:07] lxsameer: has joined #RubyOnRails
[21:16:49] dnewkerk: has joined #RubyOnRails
[21:17:39] za1b1tsu_: has joined #RubyOnRails
[21:20:12] lxsameer: has joined #RubyOnRails
[21:21:49] bonhoeffer: has joined #RubyOnRails
[21:27:29] eckhardt_: has joined #RubyOnRails
[21:29:57] lxsameer: has joined #RubyOnRails
[21:32:51] akaiiro: has joined #RubyOnRails
[21:36:19] Puffball: has joined #RubyOnRails
[21:40:01] lxsameer: has joined #RubyOnRails
[21:41:39] bonhoeffer: has joined #RubyOnRails
[21:47:17] ur5us: has joined #RubyOnRails
[21:47:55] apeiros_: has joined #RubyOnRails
[21:50:18] lxsameer: has joined #RubyOnRails
[21:54:17] bonhoeffer: has joined #RubyOnRails
[21:55:51] moei: has joined #RubyOnRails
[21:57:29] nertzy: has joined #RubyOnRails
[21:57:32] ur5us: has joined #RubyOnRails
[21:59:59] lxsameer: has joined #RubyOnRails
[22:10:12] lxsameer: has joined #RubyOnRails
[22:19:12] tdy: has joined #RubyOnRails
[22:20:02] lxsameer: has joined #RubyOnRails
[22:21:51] GodFather: has joined #RubyOnRails
[22:45:02] Dbugger: has joined #RubyOnRails
[22:45:38] ebsen: has joined #RubyOnRails
[22:47:52] schneider: has joined #RubyOnRails
[22:49:06] roring: has joined #RubyOnRails
[22:49:55] roring: I’m trying to configure vuejs but it’s not working. Can anyone help?
[22:51:40] Dbugger: roring, with such a description... :D
[22:52:49] roring: I just felt with react it was much easier
[22:53:00] roring: I’m getting an action view error
[22:53:10] Dbugger: roring, probably better in #vue
[22:59:40] Technodrome: has joined #RubyOnRails
[23:00:08] lxsameer: has joined #RubyOnRails
[23:00:42] roring: has joined #RubyOnRails
[23:00:47] roring: I’m back
[23:09:56] lxsameer: has joined #RubyOnRails
[23:14:09] jottr: has joined #RubyOnRails
[23:19:06] bonhoeffer: has joined #RubyOnRails
[23:20:02] lxsameer: has joined #RubyOnRails
[23:24:08] dbugger_: has joined #RubyOnRails
[23:29:58] lxsameer: has joined #RubyOnRails
[23:30:05] ellcs: has joined #RubyOnRails
[23:34:56] lxsameer: has joined #RubyOnRails
[23:43:31] roring: has joined #RubyOnRails
[23:44:26] roring: I’m back
[23:44:59] lxsameer: has joined #RubyOnRails
[23:58:33] ur5us: has joined #RubyOnRails