Posts by Carlos Andre • 111 points
19 posts
-
0
votes1
answer33
viewsQ: facebook authentication mongodb Rails
Hello, I am developing an authentication system with facebook, ruby use on Rails and mongodb. I need to integrate the device with the facebook api (understand like any other social network, too),…
-
1
votes1
answer168
viewsQ: How to make google search find my site
I am following the steps for SEO and make my site appear in google searches. The settings of google search I’ve done, including the site is already analyzed by google Analytics but is not being…
-
0
votes1
answer70
viewsQ: import a mongodb tuple
Hello, I’m importing a collection of documents from mongodb, I’m importing from a csv file, I’m having trouble importing key pairs:value, mongodb is recognizing everything as string, example: I want…
mongodbasked Carlos Andre 111 -
0
votes1
answer42
viewsQ: App name error in Django
In my views, Django 1.10, I have the code: from django.shortcuts import * from appcrud.forms import * def inicial(request): if request.method == "POST": form = FormCrud(request.POST) if…
-
0
votes0
answers64
viewsQ: Insert address in my website form and return the address position on the map automatically
Hello, I’m with a map, google maps, that marks positions of various places. In a general way I would like that, when entering the address in the form of my site, the location is marked on the map…
-
0
votes0
answers19
viewsQ: Search and order of the elements
If I have a data set containing 50 elements, of those 50 I need there to be an iteration to show 10 out of 10, the first 10 and then successively. If within this same set with 50 elements I need to…
-
3
votes1
answer874
viewsQ: Ascending and descending order Angularjs
I have a set of data that I organize through a choice, increasing or decreasing, or I can leave in the order that is already. The system works normally with the order of the elements, the problem is…
-
1
votes1
answer1274
viewsQ: Search function in an Angularjs list
Hi, I am have a function that searches in a list the occurrence of some string typed in the field that is passed as its parameter, it works well to fetch these strings: $scope.$watch('q',…
-
2
votes1
answer881
viewsQ: Javascript search
I have a search system that presents the problem: - Returns all values of a list, when deleted element from the search field, expected to return only the initial elements, not all. This is the…
-
1
votes0
answers277
viewsQ: Dynamic python Python Dashboard
I am developing a project that requires a form to be created by the size of the amount of item that is created in another form. The initial form is the Formrota: class FormRota(forms.ModelForm):…
-
1
votes0
answers161
viewsQ: Search for nested json Rails files
I have some files that are services, organs, units. The agencies have services and units. I, in the jsons I have, can return to the part where, for example: localhost/api/organs/.json. that it…
-
0
votes1
answer51
viewsA: tidy up contents in the views and delete the white spaces that are appearing
Unfortunately I had no help here, grateful for the correction made in formatting the code I exposed. So that the same case that I asked is with solution I will post the solution that I found.…
-
0
votes1
answer51
viewsQ: tidy up contents in the views and delete the white spaces that are appearing
I have the problem of listing elements in my views, these elemntos should appear together with no white spaces that separate them. To solve this question I tried to use masonry, unsuccessfully, and…
-
1
votes1
answer304
viewsQ: Sort html with grid Angularjs
I need a hint on how to sort elements in my home without appearing blank spaces. The problem is: I have a page that lists all the registered services, this page is with pagination that lists the…
-
1
votes0
answers233
viewsQ: How to get the value of a field from another table with ruby on Rails
Hello, the question is this: I have classes that use data from other classes, I need you to load the values registered in these other classes, show this in an html page. This is the structure of a…
-
1
votes2
answers4909
viewsQ: Limit texts by placing reticence at the end, use of Angularjs
I have a text that describes a certain product, this description will serve as a preview, the ellipsis mark that the text continues, I am using angular <p ng-bind-html="service.description |…
-
0
votes1
answer265
viewsQ: How to edit the simple_form to customize the fields
I would like to know how to edit the fields of Forms with simple_form, edit such with bootstrap, I read some tutorials but I did not understand well how to edit, how to use the class: form-control,…
-
-2
votes1
answer398
viewsQ: Create system access levels
Guys, this question starts from scratch. I want to know how to determine system access rules where there are 3 types of profiles: general administrator, local administrator and maintainer, where…
-
2
votes1
answer1493
viewsQ: How to return a selected value in a select?
I have this checkbox: <select id="valores_confinamento" class ="form-control"> <option value="ceu" >Ceu aberto</option> <option value="galpao" selected>Galpão…