Ruby on Rails - Unable to add "".jpg" file -
i new ruby on rails.
i want add ".jpg" file under /public/images folder.
can me? when navigate add new page, don't see picture format in menu.
please asap.
if working rails3.1 or next of that, there app/assets/images folder in application directory. , there default image rails.png available. add images on there , use them follows:
<%= image_tag "/assets/rails.png"%>
Comments
Post a Comment