Questions tagged as 'ruby'

0
answers

select2 ruby on rails 5 does not work

application.css.scss *= require toastr *= require jquery-ui *= require select2 *= require select2-bootstrap *= require_tree . *= require_self */ @import 'bootstrap-sprockets'; @import 'bootstrap'; @im...
asked by 05.10.2017 / 00:27
1
answer

no implicit conversion of Symbol into Integer (RAILS)

I'm collecting data from a cinema web services and I want to get the movies, but I get an error:    no implicit conversion of Symbol into Integer This is the function in controller : def set_movies prepare_client_soap @re...
asked by 03.02.2017 / 15:45
1
answer

Application rails with remote database

I'm starting in ruby on rails and I want to make an application connected to mysql , but the database is on a remote server. I have to create the database beforehand or I do it later from the console with rake db: create? Here's my datab...
asked by 19.01.2017 / 12:59
1
answer

How to make a vertical menu in rails?

The truth is I have a problem that I think is noob. It turns out that I am creating a panel for my users and I want to create a vertical menu, the problem is that I want it to be loaded in a part of the page. I leave an image so that they und...
asked by 16.12.2016 / 13:36
0
answers

Sidekiq processes some records and others do not. (Ruby on Rails)

The problem is as follows, the loading of a csv file into the portal and the evaluation of the file data is done in a thread with Sidekiq. The detail is that it processes a number of records of that file correctly and the last records do not pro...
asked by 06.12.2016 / 16:59
0
answers

Change attribute in link_to by a select

I have a select that a provider takes. <%= form_for @claim do |f| %> <%= f.select :provider_id, {}, {include_blank: "Seleccione opción"}, {id: "provider_selector_resend", style: "width:100%;"} %>    Then on the same page...
asked by 01.12.2016 / 15:53
1
answer

Problems with Heroku-Ruby

yesterday trying to push my project to heroku and to enter the domain, I realize that my application was not working, everything worked perfectly until I pushie a branch that had private_pub gem that uses faye for real-time chat, then I got to d...
asked by 25.02.2017 / 21:12
1
answer

Ransack search results

I am new to rails and I have the problem that when I submit, it shows me all, as if I did not search, it gives me everything from the BD. My code is: Controller: class WelcomeController < ApplicationController def index @q = Co...
asked by 13.12.2016 / 20:46
1
answer

How do I remove the white background from a table? Foundation Rails

Well, my problem is that I added foundation rails to my project that is created in ruby on rails and I wanted to create a small table, but when creating this table it gives me a white background, what I want to do is that my table be transparent...
asked by 20.12.2016 / 17:09
0
answers

Pundit does not make mistakes but does not do what it should

I have read in several forums the way in which I can use pundit to create an ACL module and everyone says it is easy to use but it is the date that I can not solve my problem. Basically I have this 1.- Add the gem gem 'pundit' 2....
asked by 28.09.2016 / 19:52