Skip to content

Instantly share code, notes, and snippets.

View lolgolflol's full-sized avatar

Watcharapon Sarnsanit lolgolflol

View GitHub Profile
@lolgolflol
lolgolflol / a.html
Last active August 9, 2018 16:46
exmaple
<form>
<a href="" class="logo">
<img src="dist/images/30297ffca03d300a30b7590b978e0a8c-six-wallet-logo.png" alt="">
</a>
<article class="description">
<h3>Create your new wallet</h3>
</article>
<dl>
<dd>
<label class="txtfield icon">
### Keybase proof
I hereby claim:
* I am lolgolflol on github.
* I am watcharapon (https://keybase.io/watcharapon) on keybase.
* I have a public key ASAf4hPt2E_Q4BGeyEJyKHmm69DXJdcGQyUmJXU05nZeAwo
To claim this, I am signing this object:
@lolgolflol
lolgolflol / update all child one save
Last active December 21, 2015 17:18
I would like update all object that was child of User
class User
has_many :users_notes
has_many :notes, :through => :users_notes
end
class UsersNote
belongs_to :user
bolongs_to :notes
end