Posts by Elias • 51 points
5 posts
-
0
votes1
answer75
viewsA: Coffeescript on Rails - select items from a table
Ok, so let’s create the possibility of selecting table items by changing the line of HTML code as follows: <td><input type="checkbox"value=<%= produto.preco %>><%= produto.preco…
-
0
votes1
answer123
viewsA: Create a list of ruby on Rails features
Maybe you can solve your problem by studying this section of the Rails Tutorial, whose approach is shown in the figure below:…
-
1
votes2
answers204
viewsA: open modal with link_to
I think the best option is to use bootstrap, take a look at this article:http://www.devmedia.com.br/bootstrap-modal-como-utilizar-em-seus-projetos/37426…
-
0
votes2
answers421
viewsA: How to send form_tag variables to javascript function? Rails
If I understood your question correctly, I was able to do something similar using the Gems simple_form and Cocoon (for nested Forms). The latter generates serialized names according to the amount of…
-
1
votes2
answers176
viewsA: How to select record by position
With the proposed record sample, Person.third would return the record 'maria'.