Posts by ERossi • 45 points
6 posts
-
4
votes1
answer3950
viewsQ: Change figures numbering in Latex
Is there any way to change the numbering of figures in Latex? For example it starts the figure as: Figure 01: Legend I would like it to be in this format starting in 2.1 Figure 2.1: Legend…
-
0
votes1
answer197
viewsQ: Mysql Connector problem in Rails
Talk personal, I’m not getting create a database for my Rails application it informs the following message : Error C: Ruby21-x64 Devkit Project>rake db:create DL is deprecated, Please use Fiddle…
-
0
votes2
answers571
viewsA: Sort array in Rails
Correct method: <%@vendas = Vendas.find(:all,:order=>"id DESC")%>
-
0
votes2
answers571
viewsQ: Sort array in Rails
I cannot sort my array in descending id order. <%@vendas = Vendas.find(:all,:order=>"id, DESC")%>
-
0
votes2
answers155
viewsA: Storing data in a Rails array
I was able to identify the error, I was creating a new array all the time. I only solved by taking the creation of each structure’s array. @busca=…
-
0
votes2
answers155
viewsQ: Storing data in a Rails array
I need to store data coming from a database search in an array, but with the code below it only stores a value in the array. @busca= Item.find(:all,:conditions=>{:codigo=>params[:codigo]})…