RailsCasts Pro episodes are now free!

Learn more or hide this

Keran Kocher's Profile

GitHub User: khcr

Comments by Keran Kocher

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