Questions tagged as 'ruby-on-rails'

1
answer

Error trying to install ruby with rbenv install 2.3.3

I'm trying to install ruby on rails on ubuntu 16.10 by using the rails go guide but by placing the rbenv command install 2.3.3 I get the following error: Downloading ruby-2.3.3.tar.bz2... -> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2...
asked by 14.05.2017 / 02:55
1
answer

Ruby on Rails - Create calendar from scratch

As part of my project, I would need to create a calendar that would show the weeks in pairs, instead of monthly. Any clue? The user should not be able to create events. Only be able to select an available slot or not. Thanks in advan...
asked by 15.05.2017 / 13:05
1
answer

Save data to a csv file

I need to save my data from the Rails database in a CSV file. I followed the steps in this post: link But when you do everything as you put it there, when opening in the browser I see this error: 500 Internal Server Error If you are t...
asked by 17.05.2017 / 10:00
1
answer

The action 'report' could not be found for MedicalRecordsController

The following happens, I have this in the routes: resources :professionals do #... resources :medical_records, controller: 'medical_records', only: [] do collection do get :report end end end And the...
asked by 17.04.2017 / 21:22
2
answers

Error when bundling rails

This is what the console throws at me: The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw...
asked by 04.04.2017 / 00:05
1
answer

Error executing 'rails s'

At the moment of wanting to raise the server service, it gives me this: rails s => Booting WEBrick => Rails 4.2.6 application starting in development on http://localhost:3000 => Run 'rails server -h' for more startup options => Ctr...
asked by 04.04.2017 / 01:18
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 04.10.2017 / 22:27
0
answers

Error running Rails g, either with controller or model or any other

When running Rails g sends me this:    In addition to those commands, there are:   /var/lib/gems/2.3.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:293:in require': cannot load such file -- puppet (LoadError) from /var...
asked by 20.03.2017 / 21:30
1
answer

Integrate a theme into rails

Nice to meet you. I do not know if this topic qualifies but I have a question. I'm new to rails. I bought a theme that I liked in Themeforest and I want to put it in my app rails. It has all .JS and .CSS (It does not come in scss). I would like...
asked by 10.05.2017 / 14:20
0
answers

Obtain structure of simple form in c #

I am currently in a project in c # where I have to migrate a rails application to c #. In the rails project we create the forms with simple form and with the property nested_attributes to modify. I would like to know if there exists, in c #,...
asked by 14.03.2017 / 17:56