add index to nested forms
Seems strange to me. In the meantime, I found a workaround using CSS. this is the top of my sub-form: `<%= f.label :label, class:'info col-md-4 col-form-label'%>` and this...
Stan X replied • SolvedSeems strange to me. In the meantime, I found a workaround using CSS. this is the top of my sub-form: `<%= f.label :label, class:'info col-md-4 col-form-label'%>` and this...
Stan X replied • SolvedHello Chris I am looking to monitor nginx and passenger
Sanjay Nair replied • SolvedThanks Jacob, definitely will pay it forward to help anyone in need. Preferably ops or ruby :) You're right there's something else going on since I had to put this fix in. Will continue to inve...
jaems replied • SolvedYeah, Vagrant is probably what you'd want in this case. Docker is more for you to containerize your app so it could run anywhere, not necessarily for mimicking your existing production host. You'd...
Chris Oliver replied • SolvedEnded up removing the stripe_event gem and set up webhooks manually. Was very easy... created a webhooks_controller.rb and new post route ``` begin payload = JSON.parse(request.body.read) ...
josh edgar replied • SolvedI didn't understand the problem once you change the iterator. Are you having any issue with `<% user_stock.symbol %>` or anything similar?
Ohad Dahan replied • SolvedAwesome guys, thank you. It's a great start. Might have to start brushing up on my Javascript.
josh edgar replied • SolvedThanks, Chris. This is what I suspected. Redis on the same machine seems like a good easy solution. And although it would be a nice problem to need to process hundreds of thousands of jobs, realist...
Craig DesBrisay replied • SolvedThanks to [Jancko-m](https://github.com/janko-m) at github, he provided the following solution: ``` MiniMagick::Tool::Convert.new do |cmd| convert << "input.png" convert.bordercolor("whi...
W.M. replied • SolvedThanks That Routing page is on my reading list already!!
Simon P replied • SolvedJust an FYI, you don't have the use the Heroku addon. You can go straight to bugsnag and set it up yourself if you want. The addons are just there to make it slightly easier to setup.
Chris Oliver replied • SolvedOne thing you can try is to run these two commands on your server: ``` sudo apt-get clean sudo apt-get update ```
Chris Oliver replied • Solvedof course it is Gourav.
Tabish Iqbal replied • SolvedMinor bits and pieces can get out of date but to be honest, Stripe's documentation is really good and their engineering team is great about helping users fix issues like you've had. I don't think ...
Stephen Swann replied • SolvedSubtle one! Good catch. Sometimes I have done virtual attributes on the User (like `"user[card_"+field+"]")`) and other times just directly accessing the param. It doesn't really make a differenc...
Chris Oliver replied • SolvedOk, that makes sense.
Gary Traffanstedt replied • SolvedFound the correct way that worked, leaving the code below in case anyone else needs help with it. **Index.html.erb** ``` Search for a User: ...
Omar Khedr replied • Solved@Alexander Kostadinov: yep, same result. you only need `require rails_ujs`, otherwise if you are doing any type of submission from client (for example), an alert will process twice.
Robert Motion replied • SolvedFresh start to a new days and nailed this myself: <%= link_to "Search Term", articles_path(search: "Search Term")
Simon P replied • SolvedWithin your create `@contact.save?` method in your contact controller. You can call `ContactMailer.new_request(@contact.id).deliver_later` The mailer can be easily generated with `rails generate m...
eelcoj replied • Solved