Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Keran Kocher's Profile

GitHub User: khcr

Comments by Keran Kocher


I'm running a VPS on Ubuntu 12.04, the deployment works fine but i need to restart of the server to update the code !
Why ?


I don't know how to get the link of an image I upload in a page, with a data-mercury="image".

For example, i have this:
<div> id="page_content" data_mercury="full"></div>

I get it in the controller like this:

How to do with ?:
<img id="article_image" data-mercury="image">

Thank you