Questions tagged as 'ruby-on-rails'

0
answers

I can not make payments with my marketplace account

We are trying to make payments by means of a link following the steps indicated here: link We are implementing a 'marketplace type' system where 'common' users can pay 'seller' users. Initially, payments were made correctly. We are using...
asked by 30.07.2018 / 15:25
0
answers

Ruby On Rails - Update becomes very slow when updating

When I load the parameters that are in another table update one by one This is the code, in the parameters I have an arrangement: @ordenes_servicio.update(ordenes_servicio_params)    parameters def ordenes_servicio_params params....
asked by 01.08.2018 / 00:01
1
answer

Running Tests in Ruby

I need to run some tests on ruby, and although I have followed the steps of the documentation I always get the same mistakes. I followed these steps: -rake db:test:load -rake db:test:preparate I already have my "test" folder and in models t...
asked by 28.07.2018 / 23:17
0
answers

Ruby on Rails Nested Resources

Good day, I am very new in this of rails and I am following a facilitated code course, I am in the part of nested resources and I get the following error. Can someone give me a hand? From Ya thousand thanks ActiveModel::MissingAttributeError i...
asked by 27.07.2018 / 16:54
1
answer

Duplicate a row of a table in my database - Ruby on rails

When creating a new event I have an option that is enabled with a checkbox that is to duplicate a quote already made of another event already created, I display the list of which event I need to duplicate that quote, I have several tables where...
asked by 24.07.2018 / 18:26
1
answer

Convert to hash or upload to database - Ruby on rails

I have this that I took out of my database with: nombre_secciones = Section.where(quotation_id: quotation_id_event) I got this out: #<Section id: 12, name: "Seccion 1", created_at: "2018-07-24 15:06:34", updated_at: "2018-07-24 15:06:3...
asked by 25.07.2018 / 17:50
1
answer

Why can not I load this Boostrap4 template into Rails?

It turns out that I can not load a boostrap4 template and rails throws me the following problem Showing /Users/Brian/Desktop/nuevo/final_proyect/app/views/layouts/application.html.erb where line #10 raised: couldn't find file 'main' with type...
asked by 17.07.2018 / 08:01
0
answers

Rails relationships between odels

HELP: Hello I have a question to create a model, it turns out that I have a table of drivers (drivers) that have many fields of data, ranging from personal data, date of discharge, date of withdrawal, in addition to data as no license , expir...
asked by 08.07.2018 / 00:31
0
answers

I can not deploy an eh heroku application

In local works well, but when trying to upload heroku I get the following error: ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/portalm80ve.git' This is the er...
asked by 12.07.2018 / 18:43
1
answer

Problems in rails with non-existent validations

Well the problem that I present is that when adding the gem carrierwave-google-storage I am presenting problems throughout the app executing validations (which do not exist) throughout the application and are incongruent Example: {...
asked by 12.07.2018 / 17:16