Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

khcr's Profile

GitHub User: khcr

Comments by

Avatar

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 ?

Avatar

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:
params[:content][:page_title][:value]

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

Thank you