Posts by Amystherdam • 69 points
7 posts
-
0
votes1
answer102
viewsQ: How to import file to Ruby on Rails system without receiving "No sunch file or directory @ rb_sysopen - file.txt
My program reads a file . txt for example, iterates over the internal information and store in the database. But at the time the file is sent he gives an error saying he does not know the file…
-
1
votes1
answer1088
viewsQ: Error using Javascript removeChild function
I am using javascript to make a label and an input type text appear after selecting one of the radioButtons of my code, which in case are two, and if one is selected, the other automatically…
javascriptasked Amystherdam 69 -
0
votes2
answers43
viewsQ: Has_one association error
Error : Undefined method 'address' for #Contact:object memory code I’m running a Rails test. I want to check a table address for an instantiated contact object: contact has_one address. I am using…
ruby-on-railsasked Amystherdam 69 -
-1
votes1
answer846
viewsQ: Cannot read Property 'Join' of Undefined
I want to consult the array of an element that is within a array through a for..of and I want to unite the elements of array with the function join, but I’m getting the error below and I don’t know…
javascriptasked Amystherdam 69 -
0
votes1
answer55
viewsQ: Queries of records in the bank through date
I’m developing a Ruby sales management system with Rails and the customer needs to consult sales through two calendar dates, which together make up the range of data he wants to be pulled from the…
-
0
votes1
answer41
viewsQ: Display only results that satisfy the condition within the loop
I’m building a little algorithm that runs through a ArrayList and compares the value found with a value typed by the user. But I want to print on the screen only the value that satisfies the…
-
4
votes3
answers354
viewsQ: Close() method in Try and catch blocks is necessary?
I am studying Java with database and after seeing a little more about this method close() and this protected block, I was a little confused, because in some codes and articles I see that was not…