I am a newbie in developing in Ruby on Rails.
so like i.e. in general HTML I use this
You can certainly do it that way if you want to (after all, by the
time it gets to the browser it is just html so anything you could do
without rails you can do with rails). What error did you get when you
tried it? As you have coded it the file would be expected in
but that is up to you.
include them, it saves typing and avoids having to remember the html
it seems like I couldn't do this directly, so I need to put the
so how do direct to the file?
also, how about a href and img src?
Look at link_to and image_tag
Perhaps also work through some tutorials that will introduce you to
all these things. railstutorial.org is good and is free to use
online. Make sure that any tutorial you use matches the rails version
you are using (the first two digits anyway, eg 3.0)