Cameron Vessey wrote: > Marnen Laibow-Koser wrote: >> Cameron Vessey 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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

