Acompanhar o material na sequência.
Entenda sempre o CONCEITO!
Object-oriented Programming in 7 minutes | Mosh
6 - (POO - INTERFACE, ABSTRAÇÃO E SINGLETON) - RUBY ON RAILS - TORNE-SE UM PROGRAMADOR
Acompanhar o material na sequência.
Entenda sempre o CONCEITO!
Object-oriented Programming in 7 minutes | Mosh
6 - (POO - INTERFACE, ABSTRAÇÃO E SINGLETON) - RUBY ON RAILS - TORNE-SE UM PROGRAMADOR
| # Version 19.11.0.0.0 | |
| # Instalar a biblioteca | |
| sudo apt-get install libaio1 | |
| # Criar a pasta | |
| sudo mkdir /opt/oracle | |
| # Mover para /opt/oracle | |
| instantclient-basic-linux.x64-19.11.0.0.0dbru.zip | |
| instantclient-sdk-linux.x64-19.11.0.0.0dbru.zip |
| #!/bin/bash | |
| #--------------------------------------------------------------------------------------- | |
| # Script to update rbenv, Ruby and Ruby on Rails versions | |
| # Source: https://gist.github.com/alexishida/015b074ae54e1c7101335a2a63518924 | |
| # | |
| # Author: Alex Ishida <alexishida@gmail.com> | |
| # Version: 1.7.2 - 17/10/2025 | |
| #--------------------------------------------------------------------------------------- | |
| # | |
| # If you want install rbenv for the first time |
| # Artigo ogirinal por JORGE VILAÇA | |
| # https://jorgevilaca.wordpress.com/2012/03/06/nacionalizando-rails-para-pt-br/ | |
| # config/application.rb | |
| config.i18n.default_locale = :'pt-BR' # Define o locale padrão como pt-BR | |
| config.i18n.available_locales = ['en', :'pt-BR'] # Adiciona pt-BR aos locais disponíveis | |
| config.time_zone = 'La Paz' | |
| config.active_record.default_timezone = :local |
| # Removendo o carregamento onhover de links | |
| <meta name="turbo-prefetch" content="false"> | |
| # Method Delete link_to no turbo | |
| <%= link_to logout_path, class: "nav-link", data: { turbo_method: :delete, turbo: true } do %> | |
| # COMANDOS | |
| rails new appname -d postgresql | |
| rails new appname --api |
| #!/bin/bash | |
| #--------------------------------------------------------------------------------------- | |
| # Script to install rbenv, Ruby, nodejs and yarn | |
| # Source: https://gist.github.com/alexishida/655fb139c759393ae5fe47dacd163f99 | |
| # | |
| # Author: Alex Ishida <alexishida@gmail.com> | |
| # Version: 1.7.3 - 21/10/2025 | |
| #--------------------------------------------------------------------------------------- | |
| # | |
| # HOW TO INSTALL A SCRIPT |