Cameron Vessey wrote: > You don't get it. > Sorry dude, but you are the one who doesn't get it. Your posts 'smelled' a great deal like a total newbie post, and as such elicited a response directed at a total newbie.
It may not have occurred to you that your spelling of user_loggin didn't strike Marnen (or I) as a "Say, he's a right smart bloke, and I bet he's not spelling the word correctly on purpose." type of posting... Right or wrong, there are tons and tons of ESL posts on this board that probably colored the response to your post. My initial thought was "Oh crap, another person trying to code php in Rails..." Your subsequent comment that "and it messes with URL routing or some thing ..." in your second post also sent up red flags for me that 'Why this bloke seems to have no clue what he's talking about." >From your fourth post: "Why would I use restful if I have no clue how to use restful?" Umm... perhaps because long-time readers and posters on the forum assume that you come to this forum to learn from people who have already traveled the road you seem to be on... perhaps because restful routes is a big thing in Rails, which happens to prefer convention over configuration, and you seem to be thinking configuration, so perhaps a redirect was in order... A great place for information is api.rubyonrails.org; another great place is your own machine in the console window, and your development log. Look in the dev log to see what the parameters are that your app is receiving. Read the api (particularly the routing part) to better understand that piece. When you used scaffold, did you just scaffold the full deal (something like: script/generate scaffold person last_name:string first_name:string ). That'll generate the controller, model, views, routing - rake that migration then play with that basic app - read through the generated code to learn how it all fits - it is amazingly educational about the Rails conventions. Generally, if it is hard to do, you're doing it wrong. Simple as that. I don't always agree with Marnen's opinions, and he does tend to state things a bit strongly for my taste, but I do always read his posts. Why? Because he knows more than I, and a hell of a lot more than you. But as your later posts have indicated, you are not interested in learning from anyone more knowledgeable than you in Ruby and Rails, you just want an answer to your 'user_loggin' question so you can write the code your way, however against the conventions of Ruby and/or Rails it might be. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.