Questions tagged as 'ruby'

1
answer

Error with bcrypt in Rails 5.1

In a new project, after installing Gemfile gems, how much do I try to start the server with rails s the following error and displayed in the console: LoadError: cannot load such file -- 2.3/bcrypt_ext     
asked by 14.12.2017 / 12:57
0
answers

How can I make an access control visually in ruby on rails?

I've already managed to do the gráfica(FRONT) part, however I'm having problems in the code part. Access control works as follows: if the new group (or profile) is created, I can decide what permissions it will have inside the system, i...
asked by 04.12.2017 / 20:18
1
answer

Help with Heroku, does not it show pages with the Ruby language?

Hello, I need the help of the noble knowledge holders. I'm studying Ruby on Rails through the Codecademy website. I got some things I learned there, and I tried to put it online at Heroku. Everything went right at the beginning, everything perfe...
asked by 10.12.2017 / 06:10
1
answer

Deploy a ruby app in Heroku

I'm trying to deploy a ruby app on Heroku. The entire log is this link . I thought it was the error below (which appears part of the log), but even after installing Yarn (included in gem and gave a bundle install), I still have problems....
asked by 13.12.2017 / 02:05
0
answers

programming in Ruby on Rails

I have a form and I include a médicos table, and in this table there is a enum field where you can choose the cooperativa option, but I have to check in another cooperativa table if this doctor has a cooperativa...
asked by 14.11.2017 / 15:50
1
answer

WARNING: You must use ANSICON 1.31 or higher

I'm trying to run my automated tests but this error related to ANSICON happens. I have already tried to install on my Windows 10, but it does not allow it.     
asked by 22.10.2017 / 02:58
1
answer

Pass parameter of selected line to another RUBY view

I am a beginner in ruby. I have a table in a view, which when I click on the line / item it should pick up the ID of the selected line and move to the other view that will be triggered, I am 3 days searching about and can not implement. The vi...
asked by 01.09.2017 / 00:25
1
answer

How to pass parameter for validation / treatment in the RUBY view

I have a great doubt, I accept tips if they see a better option to do what I want. I have a layout that links to two items in the same view > > <ul class="nav nav-second-level"> <li> <%= link_to backoffice_pedidos_pat...
asked by 26.08.2017 / 22:40
1
answer

Special character function: '=' in the method name

Good afternoon guys. I know Ruby accepts three special characters in the method name: '!', '?' and '='. I need to know what the "=" indicates and what it does.     
asked by 25.08.2017 / 19:53
1
answer

Mechanize with Nokogiri: trying to fetch information in divs

Hello I am setting up a crawler to get product information, for this I am using the mechanize and consequently the nokogiri, I have a URL ( link ) that returns only one product, but I can not hit the regular expression to get the price of tha...
asked by 26.07.2017 / 23:02