I'm looking for a way to add a variable with increment to add to the id of a div, could anyone tell me the most recommended way to do this?
My difficulty in making this increment is due to cocoon that is used to call this render
<%= li...
I'm having trouble with methods with parameter passing, the code runs, but it buga when I step to var within one method and receive as parameter in another. I'm new to Ruby.
def player_welcome
puts "Seja bem vindo ao Jogo de Adivinhação !!...
I have a handful of doubts in an interesting scenario, I hope you can give me a little help.
I'm using the ng-token-auth package for authentication, for permissions control the package angular-permission , my Rails backend is configured wi...
I have this relationship
.
How do I query on ActiveRecord to return data for Works , WorkZei and Wi_schools ?
I've tried it like this:
r = Responsible.find(1)
students = r.students
students.each {|s| s.scho...
I want to download a pdf file to process on my controller and then return it as it gets rendered in the backend , I would like a loading bar or circle to appear. However, I'm having trouble sending the file asynchronously. How do I send an asyn...
I have a question that has already been broken for a while, next, I have a Person model, which is the generic person and the Customer model, which belongs to Person, like this:
class Person < ActiveRecord::Base
has_one :customer
has_on...
Well, I'm starting in Ruby on rails, I'd like to understand the following error when generating the
rake db:create so I can fix it.
/home/jefferson/.rvm/gems/ruby-2.2.3@catalo/gems/activesupport-4.0.0/lib/active_support/values/time_zone.rb:2...
I know there is a way to edit the location, to move it to the Brazilian format. But I do not know the syntax for changing the format in the form:
<div class="field">
<p> Garantia </p>
<%= f.date_select :guarantee...
When I push the server (I'm using jenkis and gitlab) when I check the address it shows several errors.
www.scti.uenf.br this is the site that has a problem.
Ruby 1.8.2
Rails 3.2
Jenkins
Gitlab
Problem Scree...