The Merb philosophy is of granular opt-out. You should always be able to out of the small part of a component that you don't like without having to roll the entire thing yourself. -- Yehuda
On Tue, Oct 28, 2008 at 10:35 AM, Julian Leviston <[EMAIL PROTECTED]>wrote: > Ah. > What is it? > > Julian. > > > On 29/10/2008, at 4:33 AM, Yehuda Katz wrote: > > Whoa whoa whoa. > The Merb philosophy is *not* that if a little part of a component doesn't > work you should "roll your own". If that's truly the case, it's a mistake on > our part that requires a correction. > > -- Yehuda > > On Tue, Oct 28, 2008 at 10:27 AM, Ahsan Ali <[EMAIL PROTECTED]> wrote: > >> Simply, don't use merb-auth-password-slice. Refer the READMEs inside >> merb-auth-core and -more directories to implement your own stuff. -auth-more >> and -auth-password-slice are optional. >> >> - highandwild >> >> >> On Tue, Oct 28, 2008 at 9:13 PM, Jon Hancock <[EMAIL PROTECTED]>wrote: >> >>> >>> I have studied the latest 0.9.10 merb-auth, merb-auth-core, merb-auth- >>> more, and merb-auth-password-slice. >>> >>> I'm still confused as to how to get this to work for me. >>> >>> The docs tell me that this new auth structure only authenticates >>> sessions and has not preference to how I write the auth logic. >>> However, the auth-password-slice goes forward and adds salt and >>> crypt_password fields to my User model. Its even so presumptuous as >>> to see that I have datamapper running and use the dm form of injecting >>> properties. I absolutely do not want this kind of magic going on in >>> my app. >>> >>> So the first question is: >>> >>> 1 - How do I get the slice to keep its hands off my User model? What >>> I want is a simple list of methods that my User should implement and I >>> will implement those. The docs indicate that this is what I should be >>> able to do, but the real world default behavior is different. >>> >>> 2 - How do I tell this auth framework which erb file I want to use for >>> my login form? The slice has its own forms. I do not want to pass >>> lots of config directives to get the form to look almost correct. I >>> want to completely replace the form and I want to do so without >>> monkeypatching the slice. How do I do this? >>> >>> thanks, Jon >>> >>> >> >> >> > > > -- > Yehuda Katz > Developer | Engine Yard > (ph) 718.877.1325 > > > > > > > > -- Yehuda Katz Developer | Engine Yard (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
