- Class names: Use PascalCase for class names:
class ThisIsTheNameOfAClass
end
class Profile
end
/* Array o Arreglo | |
Es una estructura de datos similares a una lista que nos proporciona métodos para efectuar operaciones de recorrido y mutación. | |
La longitud y los tipos de elementos de un arreglo son dinámicos. Los arreglos tienen índices que empiezan en 0 y no pueden ser negativos. | |
*/ | |
// Declaración de un arreglo | |
let nombres = ['Juan', 'Pedro', 'Maria', 'Jose']; | |
// Acceder a un elemento del arreglo | |
// Si queremos acceder al primer elemento del arreglo, debemos hacerlo con el índice 0 |
How to reopen a pull-request from github? | |
Precodinitions | |
You need the rights to reopen pull requests on the repository. | |
The pull request hasn't been merged, just closed. | |
Go to Pull requests add filter `is:closed` choose PR you want to reopen. Select from checkbox and mark as Open. | |
Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.
You can get all of this information on the command line.
rails generate
with no generator name will output a list of all available generators and some information about global options.
rails generate GENERATOR --help
will list the options that can be passed to the specified generator.