- Code Editor / IDE
- VSCode ( recommended )
- SublimText 3
- Notepad ++
- Vim
- Text Editor lain
- Alur Belajar
# Installation | |
* install uru | |
* Install ruby ( for first time ) using ruby installer for windows | |
* get the version with devkit | |
* install ruby, don't add to path | |
* uru admin add rubypath/bin | |
* uru thehashfromadminadd | |
* ruby -v | |
* copy msy64 folder to top level folder , eg: c:\mysys64 |
this gist contain my notes from developing apps with ruby on rails framework correction / suggestion are welcome, thank you
rails using technique called 'unobtrusive javascript' for handling most of their javascript unobstrusive is just a way to remove inline javascript trigger event ( like click ) to separate js using data- attribute Notes on flash message
$('#notice').html("<%= j render 'shared/flash', flash: flash %>"); | |
var tombol_pengganti = `<button class= 'btn btn-primary d-inline-flex align-items-center toggle-active' disabled> | |
Usulan Diajukan | |
<i class='fas fa-check-circle text-success icon icon-xs ms-2'></i> | |
</button>`; | |
$(".action-<%= dom_id(@musrenbang) %>").html(tombol_pengganti); |
$('#notice').html("<%= j render 'shared/flash', flash: flash %>"); | |
var tombol_pengganti = `<button class= 'btn btn-primary d-inline-flex align-items-center toggle-active' disabled> | |
Usulan Diajukan | |
<i class='fas fa-check-circle text-success icon icon-xs ms-2'></i> | |
</button>`; | |
$(".action-<%= dom_id(@musrenbang) %>").html(tombol_pengganti); |