Posts by Pedro Vinícius • 1,870 points
71 posts
-
0
votes1
answer67
viewsQ: Dynamic fields using Sinatra
In Rails this is a relatively simple task. But I couldn’t find anything in the Sinatra documentation that said it was possible. I want to add fields to a form dynamically. User clicks on a link and…
-
2
votes3
answers255
viewsQ: Insert input only if it does not yet exist
I am working on a form with dynamically inserted fields. But I want the fields to be inserted only if they don’t exist yet. My html: <!DOCTYPE html> <html lang="pt-br"> <head>…
-
3
votes1
answer233
viewsQ: UML Questions for Rails System
My question is this. Rails controllers, for basic CRUD operations, require various methods that are repeated throughout the application’s controllers. I’m drawing the diagrams for a TCC application…
-
0
votes1
answer280
viewsQ: Dynamic Field Forms in Rails?
For my TCC project, I have the following specification: A user, to register a production item, must inform all its ingredients. To facilitate interaction, I thought of, list all ingredients…
-
1
votes1
answer751
viewsQ: Request AJAX Wordpress with problems
I am developing a form template within a wordpress theme. I need the form data to be sent via e-mail to a certain address via AJAX. Here is the processing of the form in JS: var FormData =…
-
6
votes2
answers2655
viewsQ: Dependencies in the same table
A funeral home asked me to do a simple customer registration scheme for them. A client may have several dependents who benefit from their contracted plan if they die. I am in doubt about the data…
-
0
votes1
answer1222
viewsQ: Get item data in Listview
I’m developing a college project that consists of an agenda that works with Sqlite database. It may seem trivial, but the way I’m proceeding makes things a little more complex. I want that, when…
-
0
votes6
answers19014
viewsA: I want to align my menu to the center
That usually works for me: ul{ text-align: center; } Take a look at this: http://jsfiddle.net/7hjPe/…
-
0
votes1
answer102
viewsQ: Strange problem with footer
I’m developing this site: http://conscienciaestelar.filosofiaesoterica.com.br And I’m encountering problems with footer positioning. I’m using twitter bootstrap(just the grid) and SASS as tools. If…
-
0
votes3
answers757
viewsQ: Problem with Return false in Javascript
I need to develop an accordion menu and am having problems with the click event. My script: $(document).ready(function(){ $('.dropdown').click( function(){ $(this).find("ul").slideToggle(); return…
-
3
votes3
answers1247
viewsQ: Is there a payment gateway that accepts mobile credits?
Often, in games for example, I see people paying for extra resources through mobile credits. UOL owns Boa Compra, which accepts this type of payment, but is not open to developers. Would anyone know…
integrationasked Pedro Vinícius 1,870 -
3
votes3
answers216
viewsQ: Is it wiser to use client-side validations in Rails?
According to your own experience it is best to use validations on client-side? Because if we analyze, Rails, in the standard validations, sends the request, does the validation and then returns the…
-
0
votes1
answer409
viewsQ: How to open a form within a modal with Rails 4 and Foundation?
I have a product register in Rails. I am using Zurb-Foundation 5 as a lib in the Front-End. How do I call an inclusion form within a Modal Window in the Foundation. I created a partial with the form…
-
6
votes2
answers1559
viewsQ: Image distortion with CSS?
I am in a project where the responsible designer gave me the following layout to pass to HTML + CSS: Can anyone tell me if there’s a way to do this with CSS3? I initially thought of a box-shadow,…
-
1
votes4
answers32009
viewsA: What is the most complete linux for programmers?
I particularly prefer Ubuntu. Use since I started in the course of Systems Analysis and Development.
linuxanswered Pedro Vinícius 1,870 -
0
votes1
answer665
viewsQ: Relationship in Rails, how to declare in Active Record?
I have a list of commercial establishments. Users, at first, are not registered in any of them. When he (the user) decides to register, a relationship is created between him and the establishment.…
-
8
votes4
answers47574
viewsQ: Capture screen size at time of request
I wonder if there is any way in Javascript to execute methods at the time of the request that the client makes to the server. I have a project where I use several large images in the occupied memory…
javascriptasked Pedro Vinícius 1,870 -
3
votes3
answers171
viewsQ: Is it possible for two applications to communicate in an Ad-Hoc network?
For example, I have a database on a PC and I want an application located on another PC to access this database. Is it possible to do this via Ad-Hoc network? If so, how?
databaseasked Pedro Vinícius 1,870 -
1
votes1
answer149
viewsQ: Does the use of Engines in Rails 4 work the same way as in Rails 3.x?
Through several searches in the last few days regarding modularization of applications with Rails, I found vast material regarding Engines in Rails 3.x, but practically nothing referring to Rails 4.…
-
4
votes2
answers132
viewsQ: Hybrid Android Apps. Is the performance loss that big?
Someone there has developed hybrid apps for Android and can you tell me if the loss of performance is great? I have read in various articles on this web that there are problems such as delay in the…
-
8
votes2
answers780
viewsQ: setTimeout attached to an onload does not work
I have a PHP page that confirms or does not send the user’s email through the contact page. I want after 10 seconds (long enough for the confirmation notice to be read), window.location be the home…
javascriptasked Pedro Vinícius 1,870