Have this working now. Allows user to chose their own 'home' path eg www.site.com/ mychosenpath points to your profile
Validation of 'mychosenpath' against alphanumeric, uniqueness and controller names. There are some 500 errors thrown randomly but I think it's cased by something else. If someone want to look at or try it look at. http://github.com/raavin/lovd-by-less/commit/ f940974c4c28028d6c685402454315ea5a90f535 Cheers, Jason On 27/09/2008, at 8:56 AM, Jason Keenan wrote: > I've implemented just a basic home address but any sort of > validation in profile.rb is breaking signup throwing a > 'NoMethodError (You have a nil object when you didn't expect it! > The error occurred while evaluating nil.email)' ??? > > Jason > > > > > > On 26/09/2008, at 1:36 AM, Steven A Bristol wrote: > >> >> On Tue, Sep 2, 2008 at 7:20 AM, Raavin <[EMAIL PROTECTED]> >> wrote: >>> >>> Bring on the pain :) I modified insoshi to use mysite.com/steve >>> but I >>> can't remember exactly what I did. I'll try to lovdize it and see if >>> it fits. I think I added a column with a sanitized version of the >>> name. (Actually I just had a quick look and I didn't get around to >>> managing name clashes but it's not insurmountable.) I don't >>> reckon you >>> can go on forever with addresses like mysite.com/profile/8765839-my- >>> name-is-this, when you could have mysite.com/mynameisthis or >>> mysite.com/mynameisthis2008 or whatever do get over name >>> clashes...for >>> what it's worth. I'll be workin' on it personally anyway as a high >>> priority. >>> >>> Jason :) >> >> >> Did you ever get a chance to look into this? Do you want some help >> from me? Find me in #lovdbyless if you want to talk this through. >> >> steve >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lovd by Less" 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/lovdbyless?hl=en Who loves ya baby? -~----------~----~----~----~------~----~------~--~---
