Posts by Felipe Bergamo • 368 points
12 posts
-
3
votes1
answer543
viewsA: How to perform actions at a given time using Ruby on Rails
You have some alternatives to running a scheduled task. Remembering that to do this I recommend isolating what you want to run on a rake task, so the call is accessible more easily by the console.…
-
0
votes1
answer105
viewsA: Search using Solr in Rails
For the type of search you want I see two alternatives 1) Make in query time an add-on in your search with the * on both sides so SOLR should search using the string: @clients = Client.search do…
-
1
votes1
answer241
viewsA: start Vagrant server in windows using git bash
The problem is in the route.Rb file. The Ruby interpreter is analyzing your code and on line 63 he came across a end that shouldn’t be there as he doesn’t have the treatment for that command he…
-
0
votes2
answers220
viewsA: How to use a Rails cron job to run a program in Java?
You must use the call Gem Whenever There will keep your crontab in ruby code, the idea is to write all the rules and together with the deploy do the crontab update. 1st In your Gemfile enter gem…
-
4
votes1
answer201
viewsQ: Problems running only one unit test on Rails 4
When I run all the tests or just tests a file is working normally, but when I try to run just one test, it just doesn’t run. I have this test require 'test_helper' class UserTest <…
-
2
votes1
answer84
viewsA: Sending Records from a new View
Better you split that question, you have several questions together in one question. But, answering the Routes error if you included in your route.Rb the following line resources :responsabilities…
-
1
votes1
answer640
viewsA: Is it possible to pick the color of a pixel on a gradient element?
With a query on some topics, I did not find any way to do this using css + javascript only, but I saw some examples using canvas. Follow an example on FIDDLE Sources:…
-
3
votes2
answers403
viewsA: Asynchronous Process in Ruby on Rails
There are several alternatives to back-end processes. Take a look at https://github.com/mperham/sidekiq believe q must solve and while the user waits you make calls in ajax to know if the thread has…
-
0
votes3
answers1247
viewsA: Is there a payment gateway that accepts mobile credits?
http://movile.com/payments/faq/ It seems that this gateway solves, but I’ve never used and I don’t know the sdk Hugs.…
integrationanswered Felipe Bergamo 368 -
3
votes2
answers465
viewsA: Windows Phone does not load . font in CSS
Just to top it off, maybe it was your problem or it could be someone else with IE and Fonts. IE and Firefox block sources coming from CDN or another domain because of same-origin policy, I’ve had…
-
3
votes1
answer1767
viewsA: How to download automatically on a site that calls Javascript?
Although it is giving the form Submit by javascript at some point an HTTP request is sent with the request data for the server to return the right file, I suggest you analyze the http request head…
-
1
votes5
answers9733
viewsA: How to get the index of a javascript object searching for the value?
If you are going to use the underscore library suggest doing so. _.each({ aifuw : 7, hsjwo : 5, hsgqk : 137, jskwe : 9483, NNNNN... : N... }, function(element, key) { element == 137 ? alert(key) :…