<<2009-01-06 2009-01-08>>
    Jan 07 00:01
    Booster joined #datamapper
    Fullmoon joined #datamapper
    Jan 07 00:16
    BrianTheCoder_ joined #datamapper
    StyleWarz
    hey guys, any ideas why before :create doesn't do any good in 0.9.9?
    Jan 07 00:22
    dkubb
    StyleWarz: it should still work. What problem are you seeing?
    StyleWarz
    dkubb: it doesn't get called
    dkubb: before :create do <somefunction> end
    or should i before :create, :myfunction ?
    dkubb
    StyleWarz: dm-core barely changed between this and the last release.. you can check it out if you want. I think there was 2 or maybe 3 tiny commits
    Jan 07 00:27
    StyleWarz
    ah i found the problem
    i need something like before :validation
    since i set calculate some values
    or should i skip validation for those fields?
    dkubb
    StyleWarz: it's up to you. are the values only calculated if something isn't provided?
    StyleWarz
    they are always calculated
    dkubb: therefore there would usually be no need for a validation, i was just to careful when i wrote the model ;)
    Jan 07 00:32
    StyleWarz
    s/careful/overprotective/
    dkubb
    StyleWarz: ahh yeah. I would probably set auto_validation to false, and think about setting the writer so it is private/protected too
    d2dchat joined #datamapper
    dkubb
    StyleWarz: if you are calculating the values you can likely use the :default option too if you wanted
    dbussink joined #datamapper
    StyleWarz
    naah, i am just doing some random login/password data
    dkubb
    StyleWarz: ahh I see. stuff like salting, etc
    StyleWarz
    dkubb: i am writing a very small radius user-manager for a hotel, therefore i just generate a MD5 of the full visitorname and get myself some portions of the md5-hash for user and password genereation ;)
    dkubb
    StyleWarz: if that's the case you should check out the Bcrypt column for storing password info. Bcrypt is a far nicer algo than doing the standard salt/hash stuff
    StyleWarz
    dkubb: freeradius still needs to be able to "dehash" the field, best way atm is plain password
    dkubb
    StyleWarz: oh I see.. you're integrating with an external radius system. nevermind then :)
    StyleWarz
    dkubb: altho it's not critical data, it's just for wifi access
    data will be purged when the customer leaves
    Jan 07 00:53
    m7d joined #datamapper
    m7d
    i have been out of the loop working on a project for a bit, anyone know if datamapper and sphinx can play together yet and use MVAs? i checked out dm-sphinx-adapter but it doesn't support MVAs and thinking-sphinx still doesn't support datamapper i don't think
    dkubb
    m7d: what does MVA stand for?
    m7d
    multi value associations
    QaDeS joined #datamapper
    dkubb
    m7d: sorry, I'm not sure about that
    m7d
    dkubb: no worries, thanks
    dkubb
    m7d: if you find out please let me know. I am curious about the status of the sphinx adapter. there doesn't seem to be a ton of people using it compared to the ferret adapter, but you always hear how sphinx is so good
    m7d
    dkubb: sure, i will report back
    dkubb
    m7d: thanks
    Jan 07 00:58
    * dkubb
    has almost no experience with text indexers in production
    dkubb
    I just play around with them, so I really don't know what's better than the other, and in what cases
    m7d
    dkubb: i have used them all, literally, and i like sphinx the best, but it has forcedrawn me into active record use, which i do not prefer
    Jan 07 01:07
    tmak85 joined #datamapper
    MitkOK joined #datamapper
    Jan 07 01:29
    tooky joined #datamapper
    Jan 07 01:38
    xilef
    dkubb: remember the utf8 issues i was having before? i just loaded dm-serializer and things work. will just play around and narrow it down now...
    dkubb
    xilef: hmm.. interesting
    xilef
    but don't quote me on that!!
    BrianTheCoder joined #datamapper
    inspired joined #datamapper
    myabc joined #datamapper
    Jan 07 01:51
    loob2 joined #datamapper
    Jan 07 02:06
    pietia joined #datamapper
    Jan 07 02:16
    hipertracker joined #datamapper
    quik__ joined #datamapper
    Jan 07 02:27
    postmodern
    i have a strange data-mapper issue
    i have a couple of convenience modules which when included add various properties to a model
    when including multiple modules
    it seems as if the second one fails to register it's properties
    i put a simple puts inside of one of the self.included methods
    and it definitely ran
    so it seems to be something about how DataMapper loads in models
    Jan 07 02:39
    ubii joined #datamapper
    Fullmoon joined #datamapper
    Jan 07 03:02
    foca joined #datamapper
    Jan 07 03:10
    splattael joined #datamapper
    Jan 07 03:19
    mikex2 joined #datamapper
    Jan 07 03:33
    gustin joined #datamapper
    RichGuk joined #datamapper
    Jan 07 03:38
    ior3k joined #datamapper
    vaclavt joined #datamapper
    giom joined #datamapper
    Jan 07 04:23
    copawaves joined #datamapper
    Jan 07 04:29
    wycats_ joined #datamapper
    zond_hme0 joined #datamapper
    gcampbell joined #datamapper
    hassox joined #datamapper
    webs joined #datamapper
    Jan 07 04:40
    Fullmoon joined #datamapper
    Jan 07 04:45
    smoofles joined #datamapper
    vladsharp joined #datamapper
    Jan 07 05:45
    GitHub164 joined #datamapper
    GitHub164
    do: Alex Coles master SHA1-0e832cf
    Remove JAR files from Manifests for multi-platform Gems
    GitHub164 left #datamapper
    Jan 07 05:57
    tizianobis joined #datamapper