I am struggling with the use of Javascript in Rails, specifically with CoffeeScript that does not load it into the application; in no internet tutorial I have seen clearly how to schedule events, I have only read that it is handled differently b...
Hi look, I gave an example what I should do, the photos are in this link link but it does not work I recharge the page every time I give it to add another one or if I am going to delete it, I always recharge the page thanks for the attention g...
I have a select that a provider takes.
<%= form_for @claim do |f| %>
<%= f.select :provider_id, {}, {include_blank: "Seleccione opción"}, {id: "provider_selector_resend", style: "width:100%;"} %>
Then on the same page...
How can I print ternary operators together with string templates using coffescript?
If I execute the code as:
peopleWithAgeDrink = (old)->
"drink "+"#{'old<14?'toddy':old<18?'coke':old<21?'beer':'whisky''}"
I get the desi...