Posts by Cleber Reizen • 193 points
10 posts
-
0
votes1
answer74
viewsA: Redirect google Chrome to localhost when offline
It seems to me that he lacked only a little logic in his script, as he takes the test only once. Place inside a loop with a true condition to continue endlessly checking. Example to rotate every 3…
-
0
votes1
answer57
viewsA: Rails project deploy on AWS, port-free access
If using Rails 5 change the port inside the file config/puma.rb. But it seems to me that you are wanting to put in production an application made in Rails, and are confusing the environment of…
-
0
votes1
answer83
viewsA: Install Redmine Debian 9
Mysql2::Error: Table 'wiki_pages' already exists: The error message informs that the "wiki_pages" table already exists.
-
2
votes1
answer14054
viewsA: Weekly planner Rails 5
A quick search found this: Gem fullcalendar, this Gem also allows integration with Google Calendar Railscasts #313 and #313 Revised…
-
1
votes1
answer2430
viewsQ: Rails 5 validate CPF
Hello, I’m a beginner in Ror. I have a form with field for CPF and need to validate whether it is valid or not before saving the record. I tried different Gems like: Gem'cpf_cnpj', Gem 'brcpfcnpj'…
-
1
votes1
answer210
viewsA: Filter the result of a collection_select based on the selection of another
Yes it is possible. I use a code similar to grouped_collection_select If the list is too long, it is still possible to add a jquery for example, to change the list according to the first selection.…
-
1
votes1
answer81
viewsA: Can modifying the default Rails primary keys cause any problems?
You can change the primary key to another column: class Project < ActiveRecord::Base self.primary_key = 'nomecoluna' end…
-
1
votes2
answers287
viewsA: Change Login [Gem Devise Ruby On Rails]
Create a Migration to add the user name: $ rails generate migration add_username_to_users username:string Run the Migration: $ rake db:migrate Change the file /config/initializers/Devise.Rb by…
-
1
votes2
answers29
viewsA: How can I access already modified table data?
One way would be to have a model to record customer payments. Then do a custom query. Dai in SQL query you do and sum the total values with a Where passing the month.
ruby-on-railsanswered Cleber Reizen 193 -
2
votes2
answers73
viewsA: Registration in the form that repeats every month
I’ve never implemented anything like this but this ice_cube seems to be widely used. Link to article and video of how to use on gorails I hope I’ve helped.…
ruby-on-railsanswered Cleber Reizen 193