[Rails] Re: populate text area field with anything?

2019-12-16 Thread John Ivanoff
Is your form using GET or POST? Normally when forms use GET all the fields are passed in the URL and are URI encoded. so "this is my text" turn into "this+is+my+text" On Sunday, December 15, 2019 at 7:55:03 PM UTC-5, fugee ohu wrote: > > My form has a text_area field but whether or not it passes

[Rails] Re: Question about system tests and thread-safety

2019-12-16 Thread ZmncPe
To provide a bit of background: until now, we used Unicorn in production so our thread-safe issues weren't a problem for us (we don't use threads in our code, even though some gems may do). And we tested with RSpec and Capybara, but without `js: true` (so without a server thread). Now with syst

[Rails] Question about system tests and thread-safety

2019-12-16 Thread San Ji
If you are running your Ruby code on MRI (the official implementation) there is no way to make your Ruby code any threadsafer. They have global interpreter lock in place. Segfaults generally don't cause by Ruby code, and when it does it is a bug of the interpreter itself. -- You received this

[Rails] Question about system tests and thread-safety

2019-12-16 Thread ZmncPe
Hi all, We have a Rails 5.1 app and we recently wanted to use system tests. However, upon adding them I noticed various weird-behaving issues like segfaults and stuff. I suspect that this has to do with the fact that in system tests, a Ruby server (i.e. puma) is spawned in a thread, that has a

[Rails] Re: 7ff5

2019-12-16 Thread Manuel Korfmann
Hey, I’m also able to create an autoresponder How awesome am I? Wooo I got rid of jobs, give me millions of USD On 26. Nov 2019, at 20:31, 'Marian G' via Ruby on Rails: Talk wrote: > Hello, > > after following 2 tutorials on Rails and getting those nice looking apps up > and

[Rails] Re: Re: 7ff5

2019-12-16 Thread Manuel Korfmann
Hey, I’m also able to create an autoresponder How awesome am I? Wooo I got rid of jobs, give me millions of USD On 30. Nov 2019, at 21:39, 'Marian G' via Ruby on Rails: Talk wrote: > I solved my problem by disabling the CSRF check on the public endpoint > (according to this >