“What do you mean by ‘there are no relative paths in rails’ ?”
As I understand the difference, there is some point in the computer
directory tree, where is said I’m working, for example
now if I want to link something inside of that directory, you just type
of the file, because some kind of magic or more than human power will
it should first look there.
On the other hand the absolute path is recognized by starting with the
root of the whole computer filesystem, like “/” or “C:”
…so if I have to use “/” in the pseudo-relative path like this, then I
guess I’m using absolute path from the relative point described above,
I absolutely don’t get.
And if it really is either of those, I can’t imagine usage of the other
Sir, I may be an idiot, but it doesn’t work.
I have pictures in public/pic
the picture filename is darkKnight_wide.jpg
and I’m reffering to it like this:
and I know nothing abou html, but there is no way that the 'higher
translating that ruby babbling into html can know which subdirectory in
public directory it should try.
I’m trying to follow this tutorial to create a password checker in my
I followed until like two thirds of article and crashed on this one:
"Create an entry in the users table, start the server, and you’ll find
you can log in from http://localhost:3000/user/login, and view your
account information from http:// localhost:3000/user/my_account. "
a created a login name and password in the correct database table, but,
I type in to my browser myIP:3000/user/login it’s giving an error
saying that it cant apply something on .
I almost completely don’t know what exactly am I doing, but I looked
the database and found the password there…the exact password, which is
would say lame, isn’t it? There should be hash or something (not
but you probably know).
Because of that I’d say that this tutorial is kind of crapy and I wanted
ask anyone if you know about any better, I’d love to read it.
2010/7/24 cageface [email protected]