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
- put flash message inside div with id ( e.g #notice ) and make it partial ( shared/flash_message )
- give form_with a local:false