I hereby claim:
- I am batdevis on github.
- I am batdevis (https://keybase.io/batdevis) on keybase.
- I have a public key whose fingerprint is 5008 6A6F 82EA 56D4 6667 441E 4832 8B8B 95D1 8BFF
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| $ psql -U postgres | |
| psql (9.4.1) | |
| Type "help" for help. | |
| postgres=# \l | |
| List of databases | |
| Name | Owner | Encoding | Collate | Ctype | Access privileges | |
| -----------+----------+----------+---------+-------+----------------------- | |
| postgres | postgres | LATIN1 | en_US | en_US | | |
| template0 | postgres | LATIN1 | en_US | en_US | =c/postgres + |
| it: | |
| admin: | |
| home: | |
| name: Home | |
| pagination: | |
| previous: "« Precedente" | |
| next: "Successivo »" | |
| truncate: "…" | |
| misc: | |
| search: "Cercare" |
| _properties.html.erb: | |
| <dd class="edit_bpm editable"><%= song.try(:bpm) || '---' %></dd> | |
| songs_controller.rb: | |
| def pupdate | |
| #update only one attribute | |
| #used for inplace edit | |
| a = params[:song].first | |
| @song.update_attribute a[0], a[1] | |
| respond_with @song, location: band_song_url(@band, @song) do |format| |