Questions tagged as 'ruby-on-rails'

0
answers

Error executing rails s -e production rails 5 help

rails s -e production the page is blocked => Booting Puma => Rails 5.1.4 application starting in production => Run 'rails server -h' for more startup options Puma starting in single mode... * Version 3.10.0 (rub...
asked by 17.11.2017 / 15:10
0
answers

link_to ruby on rails

Hi, I want to save with link_to since I keep more attributes with this one. input t.string: provecancela show.html.erb <%= simple_form_for(@reunion) do |f| %> <%= f.input :provecancela, label: "Por que cancela",...
asked by 08.11.2017 / 23:04
1
answer

Will not let me authenticate with facebook

Perform all the configuration following a video tutorial, as url of the site explain that it should be: link . However, trying to authenticate generates the following error.     
asked by 13.11.2017 / 08:02
1
answer

Error in the route of a form

I have the following error in rails when generating a form:    No route matches {: action = > "elec_config",: controller = > "atoms"}   missing required keys: [: query_val] I have a model called Atom with 3 fields in the database an...
asked by 05.11.2017 / 16:18
1
answer

Is there a way to change the form structure of the form without affecting its functionality?

I'm handling the error messages using the gem toastr and a function in javascript that works with the gem. One of the parameters is resource and in the partial form _comments it does not have it, and is defined as follows: <...
asked by 02.11.2017 / 02:39
1
answer

How can you put a recaptcha with devise controller in ROR

I have this code: In app / views / devise / registrations I have the following code: <div class="row"> <div class="col-md-4 col-md-offset-4"> <h2 class="text-center">Sign up</h2> <br/>...
asked by 16.11.2017 / 21:43
1
answer

errors in the url rails 5

The project is already in production, I would like to know how to revert every time an error of the url comes up, like the example below, that an image or something appears that this url does not exist. thanks     
asked by 16.11.2017 / 23:18
1
answer

ActionController :: UrlGenerationError in Theme # new

I have this error when trying to pass parameters by link_to to another controller: Models class Theme < ApplicationRecord belongs_to :category end class Category < ApplicationRecord has_many :themes end Controller...
asked by 14.10.2017 / 20:53
1
answer

show shows error datatime ruby on rails

I have a datetime field and the normal save but render to the show I get this error This is the error: .to_s ("% d-% m-% Y") show.html.erb <%= @snack.fecha_entrega.to_s("%d-%m-%Y")%> form <div class="form-group"&...
asked by 09.10.2017 / 22:21
1
answer

Unpermitte do not save me the parameters ruby on rails 5.1.1

hello is that they are not keeping me the parameters charge, management and locality and I do not know why who helps me thanks Unpermitted parameters:: position,: management,: locality schema.rb create_table "users", force: :cascade...
asked by 23.10.2017 / 06:35