Posts by Douglas Silva • 11 points
3 posts
-
0
votes1
answer507
viewsA: Pass date by Ruby on Rails parameter
Simply assign the value to the parameter that will be used in the controller. <%= link_to day.strftime('%d/%m/%Y'),reservas_search_path(:data => day.strftime('%d-%m/%Y')) %>…
-
1
votes1
answer507
viewsQ: Pass date by Ruby on Rails parameter
I’m trying to pass a date clicked as a parameter in order to load another view and I can’t. The idea is to list all bookings made on the selected day. Controller class ReservasController <…
-
0
votes1
answer115
viewsQ: Fill in an Association from another - ruby on Rails
I have an application for scheduling services and I’m not able to preempt a selectbox from the selection made in another. Explaining better: I have a selectbox with the services available and when I…