Skip to content

Instantly share code, notes, and snippets.

@tomtt
tomtt / gist:953415
Created May 3, 2011 14:24
index.html.erb
% @pacients.each do |pacient| %>
<tr>
<td><%= pacient.nume %></td>
<td><%= pacient.prenume %></td>
<td><%= pacient.cnp %></td>
<td><%= pacient.protocolu %></td>
<td><%= pacient.data_integrarii %></td>
<td>
<%- if last_protocol = pacient.protocols.last %>
<%= last_protocol.data %>
When starting a project that includes refinerycms-blog:
$ rake refinery:override view=refinery/pages/*
$ rake refinery:override view=layouts/*
$ rake refinery:override view=refinery/blog/shared/*
$ rake refinery:override view=refinery/blog/posts/*
$ rake refinery:override view=refinery/*
$ rake refinery:override controller=refinery/blog/*
$ rake refinery:override controller=refinery/*
Some people say a man is made outta mud
A poor man's made outta muscle and blood
Muscle and blood and skin and bones
A mind that's weak and a back that's strong
You load sixteen tons, what do you get
Another day older and deeper in debt
Saint Peter don't you call me 'cause I can't go
I owe my soul to the company store
[chorus:]
Because you know I'm all about that bass
'Bout that bass, no treble
I'm all about that bass
'Bout that bass, no treble
I'm all about that bass
'Bout that bass, no treble
I'm all about that bass
'Bout that bass... bass... bass... bass
April, comes she will,
When streams are ripe and swelled with rain.
May, she will stay,
Resting in my arms again.
June, she'll change her tune.
In restless walks she'll prowl the night.
July, she will fly,
And give no warning to her flight.
Dm Gm Dm
Can't stop shakin' The room has a groove and the floor
Dm Gm Dm
It's almost earthquakin' Uhuh
Dm Gm Dm
Look what we're makin' History out on the floor
Dm Gm Dm
And it's just awakin' Uhuh
Sunny, yesterday my life was filled with rain
Sunny, you smiled at me and really eased the pain
The dark days are gone, and the bright days are here
My Sunny one shines so sincere
Sunny one so true, I love you
Sunny, thank you for the sunshine bouquet
Sunny, thank you for the love you brought my way
You gave to me your all and all
Now I feel ten feet tall
It takes a crane to build a crane
It takes two floors to make a story
It takes an egg to make a hen
It takes a hen to make an egg
There is no end to what I'm saying
It takes a thought to make a word
And it takes some words to make an action
It takes some work to make it work
It takes some good to make it hurt
Mama don't allow no music played in here
Mama don't allow no music played in here
We don't care what mama don't allow
We'll play our music anyhow
My Mama don't allow no music played in here
Now Mama don't allow no piano playin' in here
She don't allow no piano playin' in here
But what we care what she don't allow
I'll play my piano anyhow
Hang me oh hang me and I'll be dead and gone
Hang me oh hang me and I'll be dead and gone
Wouldn't mind the hanging, but the laying in the grave so long
Poor boy, I've been all around this world
I've been all around Cape Girardeau, parts of Arkansas
All around Cape Girardeau, parts of Arkansas
Got so goddamn hungry, I could hide behind a straw
I've been all around this world