You don’t get it.
I never asked for any ones advice on naming conventions, proper spelling
, Restful vs url or any of the other usless things you felt compelled to
comment on. I asked why I could not put the url address into the browser
and get the page to return with out an error.
Thats the question
No I did not post my question to get free lectures.
I posted my question hoping some one might know the specific answer.
I posted the code I thought might be relavant to the routing problem
I did not expose it so you can go threw it with a fine tooth comb and
critisize all its failings
and your a lier to boot! the following is your reply to my question of
how to down load a plug in called restful_authentication… No were!
not in one place does it go threw the steps of getting a plugin from the
repository on to my system…You answered nothing! Your awnser about use
install instead of source and be at the root of were your program
is…although correct fixed nothing
If I followed your advice I would have simple thrown my computer out a
window and spent the next 2 years trying to learn some totally Alein
crap.
YOUR NOT A HELP!
Cameron V. wrote:
I’m a fairly new programmer, and I jump back and forth between PHP C#
and Ruby.
I’m trying to install a restful-authentication plugin
Stop trying. restful-authentication is garbage due to its overreliance
on unmaintainable generated code. Use Authlogic or something reasonable
instead.
but I can’t get it
to install into my ruby directory. I have looked it up and folowed the
tutorials but no luck.
I’ve tried
C:\ruby>script/plugin source
http://svn.techno-weenie.net/projects/plugins/
‘script’ is not recognized as an internal or external command,
operable program or batch file.
Of course it isn’t. The script directory lives inside your Rails app.
You need to be at the root directory of your Rails application to run
that. Your prompt implies that you are not in that directory.
And you just want script/plugin install, not script/plugin source.
[…]
I’m working from windowsXP 64 platform also using Netbeans as my ide.
I would recommend that you drop NetBeans. Rails works best without an
IDE in my opinion. Just use a good editor (I like KomodoEdit, but there
are many others).
I’d also recommend dropping Windows; too much of Rails relies on a *nix
toolset. There are some ready-to-go Rails *nix VMs out there; I’ve been
hearing good things about VirtualRails.
I know it’s simple …but i’m stuck lol
Best,
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Marnen Laibow-Koser wrote:
Cameron V. wrote:
Marnen Laibow-Koser wrote:
Cameron V. wrote:
ok so the first problem was I had
map.resources :user_loggin
which is a RESTful type routing???
That’s normally what you want. Use RESTful routes unless there’s a good
reason not to n
Heres a good reason …they wern’t working
Not a good reason. If you’re going to learn to use Rails, learn to
use it, not kludge around it. Rails’ routing is a bit complex, but
well worth learning how to use.
and it messes with URL routing or some thing …
No, it’s just a shorthand for defining certain routes. Read the docs
for details.
I read the docs for 3 hours and 2 diferent reference books… not one
told me that adding a map.resource :(controller) to routes would make it
so you couldn’t use the URL to navigate.
Because that isn’t the case as such. You have to understand routing a
little better, I’d say.
Why would I use restful if I have no clue how to use restful?
Because you want to learn, maybe? If you don’t want to learn, why are
you asking questions?
Deleted it from routes file and can navigate manually threw views…
Particularly since you seem to be a beginner, I’d advise starting with
Way to call out the obvous , what a nice thing to do
I wanted to check, not assume. Sorry for trying to be nice.
RESTful routes and naming your controller actions accordingly. Judging
from your earlier post, your controller actions have strange names.
Who asked for your opinion on naming conventions?
Routing is about naming conventions. If you don’t want advice, don’t
ask for it.
Change them to use RESTful style as much as possible.
Telling some one to change them to restful style; when its apparent
they don’t know what restful is, isn’t saying any thing at all.
It was not clear to me that you didn’t know. Anyway, this is a perfect
opportunity to ask more questions or do independent research. It is not
a perfect opportunity to insult those who are trying to help.
(Oh, and you misspelled “login”…)
No I spelt user_loggin exactly the way I wanted to, but you just had
to point it out yes?
I thought you might not want spelling errors in your code. Silly me.
… wierd
Not weird at all. Read the Rails routing guide and docs.
I really don’t understand why you responded to my post at all,
Because I saw you going down the wrong path and I thought I could help.
Now ask yourself: I gave you some advice that was apparently not clear
to you. Why did you bother to respond at all if it was just to
complain that I didn’t spell everything out for you? Do you really
think people on this list will want to help you out if you come here
with that kind of attitude?
you
never have any thing positive to say on any of your forum replies and
you constantly interject your own opinion on matters that were never
asked to be addressed.
I give answers and point out problems as I see them. That’s what a
forum like this is for.
And it seems to me that you rarley provide any one with any actual
useful information…Go read the manual??? Go read the book!? who
needs that type of advice?..
People who don’t read the manual before posting. And on the evidence,
there are lots of them.
For example earlyer this week I asked about downloading
rest_authentication becuase I could not get the process to work … did
you reply with some useful help on how to grab plugins on a windows OS?
No! you told me don’t bother with restful_authentication it sucks…and
windows sucks… which whether correct or not has nothing to do with how
to properly down load restful_aunthentication on a windows xp platform.
I told you you were making bad decisions, because you were. I also told
you how to fix the problem you were having. If you chose to ignore my
solution, don’t blame me.
And thats what I asked for help with if I can’t figure out how to
download restful_authentication, you think I can just go and magicly
download what ever alternitive plugin you suggested.
Because you can! The Rails plugin installation process is uniform. If
you can install one plugin, you can install them all.
Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Sent from my iPhone
Look dude …no one helped me with this problem…I did figure it out on
my own, by googling and reading and googling and reading … books and
doc’s and I replied to my own question incase some one else accidently
messed with the routing file like I did.
All your response was, was a snobish trashing of my question and my own
response…
I wasn’t trashing anything. I was trying to explain how to do things
better. I assumed that since you were trying to learn Rails, you
actually wanted to learn to do things right. Was I mistaken? Did you
just want your ego stroked? Or something else? I really don’t get it.
do me a favor …ignore my questions…
That wouldn’t be doing you a favor. But I might do it anyway if you
don’t lose that attitude.
thanks
Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Sent from my iPhone