Questions tagged as 'ruby-on-rails'

0
answers

Multiply one field and add it to another Ruby on rails

I have a form which has a total_balance which shows the number of points I am getting at the time of loading the quantity "quantity" (kg, mtrs, liters, unit, etc.). To this the material is multiplied with a corresponding value Aluminum-kg...
asked by 02.12.2018 / 09:43
0
answers

Do I need to connect a rails app to access?

I need to open an access database with rails, in order to work with the tables in that database, if someone has worked with access db can help me. Greetings     
asked by 15.11.2018 / 21:16
1
answer

Excel filter - Ruby on Rails

I have a product form, created with scaffold , I export my records normally to my excel with the current configuration of csv and excel in Ruby on Rails; I want to know if there is a way to export only the products that I want or determined b...
asked by 16.11.2018 / 17:36
1
answer

Login facebook rails

I am developing an app in Rails that will be integrated with facebook at the beginning of the session, but as I test the code I get the following error. uninitialized constant Users I'm using Devise and omniauth-facebook devise.rb c...
asked by 29.10.2018 / 21:02
0
answers

'require': can not modify frozen SystemStackError (FrozenError) :: Ruby

When I run my app that I cloned from Heroku, it marks me the following: C:\Sites\salty-depths-42099>rails s => Booting WEBrick => Rails 4.2.4 application starting in development on http://localhost:3000 => Run 'rails server -h' for...
asked by 18.10.2018 / 19:06
0
answers

Rails: Update a record from link_to

I have the following problem, I need to update the estado of a record, for that I want to link it to a link , my código is the following: <%= link_to prescription_path(pres.id), method: :patch do %> <i class="m...
asked by 27.09.2018 / 23:23
0
answers

AbstractController :: Helpers :: MissingHelperError

I'm starting on ruby on rails and trying to run the localhost:3000 I get this error:    Missing helper file   helpers / c: /users/al_car/documents/carlosandradehdez/appsweb/facilito_social/app/helpers/application_helper.rb_helper.rb  ...
asked by 28.09.2018 / 02:03
2
answers

Copy image from one model to another

I have a question I am currently using carrierwave and google storage to store images, but I wanted to know if there is a way to take the image of the model to and assign it to another model so that it stores that same image. currently try th...
asked by 26.09.2018 / 21:44
1
answer

Error creating Feed with Ruby on Rails

I'm creating a Microposts Feed , with Ruby on Rails and MongoID. When accessing the user's profile, I get the following error, which I think derives from feed in the user.rb file. The error that shows me is the following undefined...
asked by 21.09.2018 / 11:52
0
answers

Mongoid :: Errors :: NoClientConfig:

Database error when trying to make a migration from this, to production. I am using minitest , instead of rspec . I have already reviewed the configuration of the file   no_client_config.rb and is set as it should be. I do...
asked by 17.09.2018 / 14:13